		///////////////////////////
		function mov(mu)
		{
		switch(mu.name)
		{
		case "t1":
		document.all("l1").style.color="#ffffff";
		mu.background="/img/a1.gif";
		break;
		case "t2":
		document.all("l2").style.color="#ffffff";
		mu.background="/img/a2.gif";
		break;
		case "t3":
		document.all("l3").style.color="#ffffff";
		mu.background="/img/a3.gif";
		break;
		case "t4":
		document.all("l4").style.color="#ffffff";
		mu.background="/img/a4.gif";
		break;
		case "t5":
		document.all("l5").style.color="#ffffff";
		mu.background="/img/a5.gif";
		break;
		}
		}
		//////////////////////////////////////////////////
		function mot(mu)
		{
		mu.background="/img/a0.gif";
		switch(mu.name)
		{
		case "t1":
		document.all("l1").style.color="#000000";
		break;
		case "t2":
		document.all("l2").style.color="#000000";
		break;
		case "t3":
		document.all("l3").style.color="#000000";
		break;
		case "t4":
		document.all("l4").style.color="#000000";
		break;
		case "t5":
		document.all("l5").style.color="#000000";
		break;
		}
		}
		/////////////////////////////////////////////////////
		function openFav()
		{
		iStr=top.document.location 
		if (iStr=="http://www.haoyee.com/NetFav.aspx")
		{
		if (top.document.all.fs1.cols=="0,*")
			top.document.all.fs1.cols="220,*";
		else
			top.document.all.fs1.cols="0,*";
		}
		else
		top.document.location="http://www.haoyee.com/NetFav.aspx";		
		}
		////////////////////////////////////////////////////////
		function changeImg(obj,width,height) {
        if ( obj.width > width || obj.height > height ) {
        var scale;
        var scale1 = obj.width / width;
        var scale2 = obj.height / height;
        if(scale1 > scale2){
        scale = scale1;}
        else{scale = scale2;}
            obj.width = obj.width / scale;
        }
        }