function NavStep(obj,obj1){
	  this.PicarrayN=[];
	  var Picarray=[]
	  Picarray=this.PicarrayN;
	  this.picTit=obj1;
	  var picTitStr=obj1
	  this.SelectWitch=0;
	 
	 var steep=80;
	 var stepCount=0
	 this.obj=obj;
	 var Issteep;
	 var objser=obj
	 var opacity=0;
	 var State=1//1¼Ó2¼õ 
	 var Parse=true
	 var ParseLog=3000
	 var ParseTime=0;
	
	
	this.initPic=function(){
		  Picarray=this.PicarrayN;
		 // stepCount=this.SelectWitch

		  var varContent;
		  varContent=""
		
		if (this.PicarrayN.length>0){
			  for (i=0;i<this.PicarrayN.length;i++){
				 varContent+='<div   name="TitAll" rel="'+i+'" id="advertInof'+i+'" class="baaerTit"  >'; 
				 varContent+='<a href="'+this.PicarrayN[i][3]+'"><img border="0" style="float:left; width:45px; height:45px; margin:15px 2px 0px 5px;" src="'+this.PicarrayN[i][1]+'"/></a>'; 
			     varContent+='<div style="float:left; width:93px; height:65px; margin-top:10px; overflow:hidden; ">'+this.PicarrayN[i][2]+'</div>'; 
			      varContent+='</div>'; 
			  }
			
			  $("#"+this.picTit).html(varContent);
			$("#"+this.obj).attr("src",this.PicarrayN[stepCount][0]);
			 $("#ImgAdertHref").attr("href",Picarray[stepCount][3]);
			  $("div[name='TitAll']").attr("class","baaerTit");
			$("#advertInof"+stepCount).attr("class","baaerTitFocus")
			//$("#advertInof"+stepCount).attr("class","baaerTitFocus")
			

			
			
			stepCount+=1
			if (stepCount>=this.PicarrayN.length){
				  stepCount=0;
			}
			  Issteep=setInterval(PlayNav, steep)
			
	    }
    }
	
	
	var PlayNav=function (){
		
     
			
       if (opacity<100 && State==1){
			 opacity=opacity+20
			 $("#"+objser).css("filter","alpha(opacity="+ opacity+")")
			 
			 if (opacity>=100){
				 
				  State=2 
			}
			
	   }
	   if ( State==2 && Parse==true){
		     opacity=100
		   $("#"+objser).css("filter","alpha(opacity="+ opacity+")")
		      ParseTime=ParseTime+steep;
			  if (ParseTime>=ParseLog){
				   Parse=false
				  
				  
			   }
			   
		}
		  if ( State==2 && Parse==false){
			
			  
			 opacity=opacity-20
			 $("#"+objser).css("filter","alpha(opacity="+ opacity+")")
			 
			 if (opacity<=0){
				 ParseTime=0
				  State=1;
				  Parse=true;
				  $("#"+objser).attr("src",Picarray[stepCount][0]);
				  $("#ImgAdertHref").attr("href",Picarray[stepCount][3]);
				 
			      $("#"+objser).css("filter","alpha(opacity="+opacity+")")
				  	  $("div[name='TitAll']").attr("class","baaerTit");
					$("#advertInof"+stepCount).attr("class","baaerTitFocus")
			      stepCount+=1
				  
					if (stepCount>=Picarray.length){
						  stepCount=0;
						  
					}				  
				  
				  
				  
			}
	
		  }

			 
			
		
	
	}
	
	 this.InitPicCount=function(){
		 clearInterval(Issteep);
		   	stepCount=this.SelectWitch
			State=1;
			Parse=true;
			opacity=0
			ParseTime=0;
			$("div[name='TitAll']").attr("class","baaerTit");
			$("#advertInof"+stepCount).attr("class","baaerTitFocus")
			$("#"+this.obj).attr("src",this.PicarrayN[stepCount][0]);
			 $("#ImgAdertHref").attr("href",Picarray[stepCount][3]);
						stepCount+=1
			if (stepCount>=this.PicarrayN.length){
				  stepCount=0;
			}
			Issteep=setInterval(PlayNav, steep)
			

		 }
	  

	
	
	
	



}