function initMenu(){var a=document.getElementById("dropmenu_login").getElementsByTagName("li");for(var b=0;b<a.length;b++){a[b].onmouseover=function(){this.className+=" hover"};a[b].onmouseout=function(){this.className=this.className.replace(" hover","")}}}if(document.all&&!window.opera){attachEvent("onload",initMenu)}$(document).ready(function(){$(".functional a.open-tab").click(function(){$(this).parent().find(".appear-box").css("zIndex","1");$(this).parent().find(".main-appear").slideDown()});$(".functional span.title-appear").click(function(){$(this).parent().parent().find(".main-appear").slideUp(function(){$(this).parent().parent().find(".appear-box").css("zIndex","-1")})});$(".article-post .arrow").each(function(){$(this).click(function(){$(this).parent().find(".post-content-c div").slideToggle("normal",function(){$(this).parent().parent().find(".post-content-c a").toggleClass("active")});$(this).toggleClass("active");return false})});$(".functional span.title-appear_close").click(function(){$(this).parent().parent().find(".main-appear").slideUp(function(){$(this).parent().parent().find(".appear-box").css("zIndex","-1")})});$(".tab-holder").tabs({select:function(a,b){$(".tab-holder ul li a").find("span").each(function(){$(this).css("backgroundImage","none")});$(b.tab).parent().prev().find("span").css("backgroundImage","url(images/bg-shadow-up.png)");$(b.tab).parent().next().find("span").css("backgroundImage","url(images/bg-shadow-down.png)")}}).tabs("select",0)});
