function sContent(obj,id)
{
	var cid=-1;
	$(".ileft_sort a").each(function(){
									   cid++;									   
									   if($(this).attr("id")==obj)
									   {
										   $(this).addClass("selectA");
										   $(".iselect:eq("+cid+")").css("display","block");
										   }
										else
										{
											$(this).removeClass("selectA");
											$(".iselect:eq("+cid+")").css("display","none");
											}
									   })
	
	}
function scroll_top(){
var speed2=50
htdivID2.innerHTML=htdivID1.innerHTML
function Marquee2(){
if(htdivID2.offsetTop-htdivID0.scrollTop<=0)
htdivID0.scrollTop-=htdivID1.offsetHeight
else{
htdivID0.scrollTop++
}
}
var MyMar2=setInterval(Marquee2,speed2)
htdivID0.onmouseover=function() {clearInterval(MyMar2)}
htdivID0.onmouseout=function() {MyMar2=setInterval(Marquee2,speed2)}
	}
function focusImg()
{
var imgUrl=new Array();
var imgtext=new Array();
var imgLink=new Array();
var pics="";
var links="";
var texts="";

 imgUrl[1]="/Images/image001.jpg";
 imgtext[1]="";
 imgLink[1]="#";
 imgUrl[2]="/Images/image002.jpg";
 imgtext[2]="";
 imgLink[2]="#";
 imgUrl[3]="/Images/image003.jpg";
 imgtext[3]="";
 imgLink[3]="#";
 imgUrl[4]="/Images/image004.jpg";
 imgtext[4]="";
 imgLink[4]="#";


 var focus_width=999
 var focus_height=278
 var text_height=0
 var swf_height = focus_height+text_height
 for(var i=1;i<imgLink.length;i++)
 {
     pics=pics+"|"+imgUrl[i];
	 links=links+"|"+imgLink[i];
	 texts=texts+"|"+imgtext[i];
 }
 pics=pics.substring(1);
 links=links.substring(1);
 texts=texts.substring(1);

 
 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="/focus2.swf"><param name="quality" value="high"><param name="bgcolor" value="#F0F0F0">');
 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
 document.write('<param name="FlashVars" value="pics='+pics+'&links='+links+'&texts='+texts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
 document.write('</object>');
	}

