// flash

function controlMovie(x){
	
	if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
		
		 if (document.embeds && document.embeds['myFlash'])
	      
	      if(x=='play'){
	       document.embeds['myFlash'].Play(); 
			}else if(x=='stop'){
	     document.embeds['myFlash'].StopPlay();
			}
	
		}
	 else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
	 
		 if(x=='play'){
		 document.getElementById('myFlash').Play();
	      }else if(x=='stop'){
	       document.getElementById('myFlash').StopPlay();
	   	}
	     
	  }
	  
		
}

function controlSound(z){
//alert(z);
//if(window.sample) window.document["sample"].SetVariable("myText", str);
//	if(document.sample) document.sample.SetVariable("myText", str);
//myFlash.SetVariable("setSound", z);


	if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
		
		 if (document.embeds && document.embeds['myFlash'])
	              document.embeds['myFlash'].SetVariable('setSound',z);
	}
	
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
	 
		myFlash.SetVariable("setSound", z);
	   
	     
	  }




}

function sendName(Name)
{
	
	if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
		
		 if (document.embeds && document.embeds['myFlash'])
	             document.embeds['myFlash'].Movie='images/flashVideo/'+Name; 
	}
	
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
	 
		 document.getElementById('myFlash').Movie='images/flashVideo/'+Name; 
	   
	     
	  }

//myFlash.Movie='images/flashVideo/'+Name
//myFlash.Play ()
return

}

function sendName_2(Name)
{
	if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
		
		 if (document.embeds && document.embeds['myFlash']){
	             document.embeds['myFlash'].Movie='images/flashVideo/'+Name;
	              //document.embeds['myFlash'].StopPlay(); 
	             }
	}
	
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
	 
		 document.getElementById('myFlash').Movie='images/flashVideo/'+Name; 
		   //document.getElementById('myFlash').StopPlay();
	   
	     
	  }
	  
//alert(myFlash)
//myFlash.Movie='images/flashVideo/'+Name
//myFlash.StopPlay()
return
}

function showNews2(News2)
{
alert(News2)
return

}

function letter(lt)
{
	

frmData.letter.value = lt

frmData.submit ()
}
function sendserch()
{
	if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
		
	         elm1= document.getElementById("letter") ;
	         elm1.value ='';
	            elm2= document.getElementById('sendit') ; 
	             elm2.value =2 ;   
	             
	}			
	
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
		
		 document.frmData.letter.value ='' ; 
	    document.frmData.sendit.value =2 ;
	     
	  }
	
//frmData.letter.value =''
//frmData.sendit .value =2
//frmData.submit ()
document.forms['frmData'].submit(); 
}
function More(Tid,CurrentPage)
{

if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
			 elm0= document.getElementById("Page") ;
	         elm0.value =CurrentPage;
	         elm1= document.getElementById("Movie_id") ;
	         elm1.value =Tid;
	            elm2= document.getElementById('sendit') ; 
	             elm2.value =1 ;   
	             
	}			
	
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
		 document.frmData.Page.value =CurrentPage;
		 document.frmData.Movie_id.value =Tid ; 
	    document.frmData.sendit.value =1 ;
	     
	  }

//frmData.submit ()
document.forms['frmData'].submit(); 
}
function MoreNew(Tid,CurrentPage,Movie_name)
{

if (navigator.appName.indexOf("Microsoft Internet")==-1)
		
	  {
			 elm0= document.getElementById("Page") ;
	         elm0.value =CurrentPage;
	         elm1= document.getElementById("Movie_id") ;
	         elm1.value =Tid;
	         elm2= document.getElementById('sendit') ; 
	         elm2.value =1 ;   
	         elm3= document.getElementById('Movie_name') ; 
	         elm3.value = Movie_name ;   
	             
	}			
	
	else // if (navigator.appName.indexOf("Microsoft Internet")!=-1)
	  {
		 document.frmData.Page.value =CurrentPage;
		 document.frmData.Movie_id.value =Tid ; 
	    document.frmData.sendit.value =1 ;
	     document.frmData.Movie_name.value =Movie_name ;
	     
	  }

//frmData.submit ()
document.forms['frmData'].submit(); 
}


	
	
	



