//script for tab
		
        function setTab(name,cursel,n,hover,normal){
          for(i=1;i<=n;i++){
             var menu=document.getElementById(name+i);
             var cnt=document.getElementById("cnt_"+name+"_"+i);
             menu.className=i==cursel?hover:normal;
             cnt.style.display=i==cursel?"block":"none";
          }
        }		
		
		//add tabe content
$("#tabs").ready(function(){		
		$("#newpost1").mouseover(function(){
		     setTab('newpost',1,3,"hover","")
		})
		$("#newpost2").mouseover(function(){
		     setTab('newpost',2,3,"hover","")
		})
		$("#newpost3").mouseover(function(){
		     setTab('newpost',3,3,"hover","")
		})
		
		
        //fold content
		$(".f_arrow").click(function(){ 
		$(".Contentbox").slideToggle({duration: 1000, easing: "easeInOutCubic"});
		})
});