
function msisdnValidate1(val)
{
	
	var url = val.name;
	document.frmHome.url.value = url;
	document.frmHome.submit();
}
function checkMessage()
{
   var message = document.frmLogin.message.value;
   if(message != "" )
   {
	   alert(message);
	   document.frmLogin.message.value = "";
   }   
}

f
function goContent(val)
{
	 var show = val.name;
	 
	 window.location.href = "realC.jsp?show="+show;
}
function goUnContent(val)
{
	var show = val.name;
	 
	 window.location = "uncutC.jsp?show="+show;
}
function networkChange(val)
{
	var network = val.id;
	
	 window.location = "networkC.jsp?network="+network;
}
function playUrl()
{
	
	var url = document.frmHome.url.value;
    	
	if(url.indexOf(',')<0)
	{
	   if(url != "" )
	   {
		   document.frmHome.url.value="";
		   var value = document.frmHome.clipIndex.value;
		   if(value == 1)
//			   window.location = "rtsp://175.41.152.85:1935/prevod/mp4:Micromax-Van-goah-20sec-English-2g.mp4";
		  		   
		   setTimeout(function (){window.location = url;}, 1000,true);
	   }
	   else
	   {
		   var message = document.frmHome.message.value;
		   if(message != "" )
		   {
			   alert(message);
			   document.frmHome.message.value = "";
		   }   
	   }
	}
	else
	{
		document.frmHome.url.value="";
	}
		
}

