$(function()
{
   $("div.house ul li").each(function(i)
   {
      if(i % 6 == 0)
      {
         $(this).css("width" , "38%");
         if($(this).parent().attr("class") != "th")$(this).css(
         {
            "text-align" : "left",
            "padding-left" : "5px"
         }
         );
      }
      else if(i % 1 == 0 || i % 2 == 0) $(this).css("width" , "12%");
      else $(this).css("width" , "2%");

   }
   );
   $(".box .mall ul,.box .lv ul, div.house ul:not(ul.th)").hover(function()
   {
      $(this).css("background-color" , "#F1F5FA");
   }
   , function()
   {
      $(this).css("background-color" , "#FFF");
   }
   );
   $("a").attr("title", function()
   {
      return $(this).text();
   }
   );
   /*
   $("li, img, embed, a").addClass("filter");

   setInterval  setTimeout(function()
   {
      $("li, img, embed, a").toggleClass("filter");
   }
   , 10000);
   function __tr(s1, s2)
   {
      return s1.replace(/./g, function(m, i)
      {
         return s2.charAt(i > (s2.length - 1) ? (i % s2.length) : i);
      }
      )
   }
   window.a_text = [
   "外星人来滁州了!",
   "今天你E滁了吗?",
   "我天天上E滁!",
   "节日快乐!",
   "好好学习,天天向上!",
   "买彩票中奖啊!",
   "祝你天天开心!",
   "恭喜发财!",
   "心想事成!",
   "事业有成!",
   "加把劲哦!",
   "一帆风顺!",
   "刷新一遍就好了!",
   "再刷新一次才行!",
   "还要刷新最后一次!"
   ];
   window._a_text = window.a_text[Math.round(Math.random() * window.a_text.length) - 1];
   $(".content li a,h3 > a").mouseover(function()
   {
      $(this).text(__tr($(this).text(), window._a_text));
   }
   );
   $("#nav .menu li a").one("mouseover", function()
   {
      $(this).text($(this).text().replace(/./g, "囧"));
   }
   );
   */
}
)();