// JavaScript Document

function overfn(id)
{
	var ele=document.getElementById(id);
	ele.className="over"
}

function outfn(id)
{
	var ele=document.getElementById(id);
	ele.className="etvRowFill"
}

function progdetails(cname,cat)
{
	 window.open('program_details.php?cname='+cname+'&cat='+cat,'Details','scrollbars=1,width=600,height=450')
}

function press(pressid)
{
	 window.open('press_details.php?pressid='+pressid,'Details','scrollbars=1,width=600,height=450')
}

function privacydetails()
{
	 window.open('privacy.htm','Details','scrollbars=1,width=590,height=550')
}


function selectchannel(x)
{
	 document.frm.channelname.value=x
	 document.frm.action="usaindex1.php" 
	 document.frm.submit()
}

function homelink(x)
{
      location.href="index.php?channelname="+x
	 
}
function csmoredetails(csid,y,z)
{
	window.open('csmore_details.php?csid='+csid+'&tname='+y+'&cat='+z,'Details','scrollbars=1,width=420,height=450') 
}

function getpoll(x)
{
var mypoll;

	if(document.frm.Poll[0].checked==false && document.frm.Poll[1].checked==false)
	{
  		//alert(document.frm.Poll[2].value)
		mypoll=document.frm.Poll[2].value
	}
	if(document.frm.Poll[1].checked==false && document.frm.Poll[2].checked==false)
	{
  		//alert(document.frm.Poll[0].value)
		mypoll=document.frm.Poll[0].value
	}
	if(document.frm.Poll[0].checked==false && document.frm.Poll[2].checked==false)
	{
  		//alert(document.frm.Poll[1].value)
		mypoll=document.frm.Poll[1].value		
	}
				
	if(document.frm.Poll[0].checked==false && document.frm.Poll[1].checked==false && document.frm.Poll[2].checked==false)
	{
	  alert("Please select atleast One Option")
	  //return false;
	}
	else
	{
	// alert(mypoll)
	 //alert(x)
	  window.open('usagetpollval.php?val='+mypoll+'&pollchname='+x,'Srate','scrollbars=1,width=500,height=325')
	}
		
}