function newpage(htmlurl){
var newwin=window.open(htmlurl,"newWin","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,top=322,left=280,width=310,height=66");
newwin.focus();
return false;
}

function set_it_now(id,csnum,shname,Mpth){
	for(i=1;i<=csnum;i++){
		var a=shname+i;
		var b=shname+'b'+i;
		if(i==id){
			document.getElementById(b).style.display = '';
			document.getElementById(a).src=Mpth+"images/jt2.gif";
		}
		else{
			
			document.getElementById(b).style.display = 'none'
			document.getElementById(a).src=Mpth+"images/jt1.gif";
		}
	}
}
function set_it_now_Css(id,csnum,shname,cs1,cs2){
	for(i=1;i<=csnum;i++){
		var a=shname+i;
		var b=shname+'b'+i;
		if(i==id){
			document.getElementById(a).className=cs1;
			document.getElementById(b).style.display = '';
		}
		else{
			document.getElementById(a).className=cs2;
			document.getElementById(b).style.display = 'none'
			
		}
	}
}

function set_it_now_Pic(id,csnum,shname,Mpth)  //id,×ÜÊý,Ãû³Æ,Í¼Æ¬
	{ 
	for(i=1;i<=csnum;i++){		
		if(i==id){			
			document.getElementById(shname+i).src=Mpth+"images/"+shname+i+"b.gif";
			document.getElementById(shname+'b'+i).style.display = '';
		}
		else{	
			document.getElementById(shname+i).src=Mpth+"images/"+shname+i+".gif";
			document.getElementById(shname+'b'+i).style.display = 'none';			
		}
	}
}
