// JavaScript Document
function initpic()                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
		{                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
	    scrollPic_02.scrollContId   = "ISL_Cont_1"; //内容容器ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.arrLeftId      = "LeftArr";//左箭头ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.arrRightId     = "RightArr"; //右箭头ID                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.frameWidth     = 908;//显示框宽度                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.pageWidth      = 152; //翻页宽度                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.speed          = 10; //移动速度(单位毫秒，越小越快)                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.space          = 10; //每次移动像素(单位px，越大越快)                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.autoPlay       = false; //自动播放                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.autoPlayTime   = 3; //自动播放间隔时间(秒)                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
		scrollPic_02.initialize(); //初始化                                                                                                                                                                                                                                                                                                                                                                                                                                                                      
	                                                                                                                                                                                                                                                                                                                                                                                                                                                                     
		}   



function changecolor(a,b)    
		{    
var color="000000";
for (i=1;i<=3;i++){
$('#Class'+i+'_0').Fontcolor=000000;
$('#Class'+i+'_0').css('font-size', 12);
$('#Class'+i+'_0').css("color",color); 
}
for (i=1;i<=6;i++){
$('#Class0_'+i).Fontcolor=000000;
$('#Class0_'+i).css('font-size', 12);
$('#Class0_'+i).css("color",color); 
}

$('#Class'+a+'_'+b).css('font-size', 20);
var color="FF0000";
$('#Class'+a+'_'+b).css("color",color); 

		}   
		
    function SubmitData(a,b) {
        changecolor(a,b);        
url= "../showClass.asp";         
$("#ISL_Cont_1").html("<img src='../images/loading.gif' alt='loading...'>如果长时间没显示，请点<a href='javascript:void(0)' onclick='SubmitData("+a+","+b+")'><u>刷新网页</u></a>");
			var xmlhttp;
			try{
				xmlhttp=new XMLHttpRequest();
				}
			catch(e){
				xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
				}
			xmlhttp.onreadystatechange=function(){
			if (xmlhttp.readyState==4){
				if (xmlhttp.status==200){
					var data=xmlhttp.responseText;
					$("#ISL_Cont_1").html(data);
					}
				}
			}
			xmlhttp.open("post", url, true);
			xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded');
			xmlhttp.send("Ptype="+a+"&Stype="+b);			
    }
  function loading()
    {
    setTimeout('closeslide()',3000);
    showindex("home",0,'');  
    SubmitData(1,0);    
	setTimeout("changetitle()",300);   			        
    }
    
//window.open('newwin02.htm','TZ','toolbar=no,menuber=0,width=406,height=350,top=0,left=0');
window.open('../newwin03.htm','../TZ2','toolbar=no,menuber=0,width=700,height=430,top=0,left=0');
                     
   function showindex(a,id,Viewtype) {
url= a+Viewtype+'.asp';                              
$("#container").html("<img src='../images/loading.gif' alt='loading...'>如果长时间没显示，请点<a href='javascript:void(0)' onclick='showindex(&quot;"+a+"&quot;,"+id+",&quot;"+Viewtype+"&quot;)'><u>刷新网页</u></a>");                      

			var xmlhttp;        
			try{        
				xmlhttp=new XMLHttpRequest();        
				}        
			catch(e){        
				xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");        
				}        
			xmlhttp.onreadystatechange=function(){        
			if (xmlhttp.readyState==4){        
				if (xmlhttp.status==200){        
					var data=xmlhttp.responseText;        
					$("#container").html(data);        
					}        
				}        
			}        
			xmlhttp.open("post", url, true);        
			xmlhttp.setRequestHeader('Content-type','application/x-www-form-urlencoded');        
			xmlhttp.send("id="+id);		                    
    }                   
isclose=0;           
$("div#panel").slideDown("slow");            
$("#toggle a").toggle();               
function changetitle(){       
document.title='老人电话-乳腺增生预防检查英国进口-直销购物平台-厦门兴拓科技有限公司';    
setTimeout("changetitle()",300);            
}             
	var scrollPic_02 = new ScrollPic();               
	changecolor(1,0)                                    


