
function showRSS(str)
{
if (str.length==0)
  { 
  document.getElementById("rssoutput").innerHTML=""; 
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("rssoutput").innerHTML=xmlhttp.responseText;
	rsslab('LAB');
    }
  }
xmlhttp.open("GET","http://www.kdoctv.net/wp-content/themes/kdoctv/xls/rssclass.php?q="+str,false);
xmlhttp.send();
}
function jump(){
	window.location = "http://www.kdoctv.net/channel-finder/"
}


function channelselect(str)
{
if (str.length==0)
  { 
  document.getElementById("channeldisplay").innerHTML=""; 
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("channeldisplay").innerHTML=xmlhttp.responseText;
    }
  }
xmlhttp.open("GET","http://www.kdoctv.net/wp-content/themes/kdoctv/channels.php?checkchannel="+str,true);
xmlhttp.send();
}

function showchannelpane(){
	document.getElementById('channeldisplay').style.display = "block";
}
function hidepane(){
	document.getElementById('channeldisplay').style.display = "none";
	 document.getElementById("channeldisplay").innerHTML="";
}
function prevent(){
}

function rsslab(str)
{
if (str.length==0)
  { 
  document.getElementById("rsscnn").innerHTML=""; 
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("LAB").innerHTML=xmlhttp.responseText;
	rssocreg('OCREG');
    }
  }
xmlhttp.open("GET","http://www.kdoctv.net/wp-content/themes/kdoctv/xls/rssclass.php?q="+str,true);
xmlhttp.send();
}


function rssocreg(str)
{
if (str.length==0)
  { 
  document.getElementById("rssespn").innerHTML=""; 
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("OCREG").innerHTML=xmlhttp.responseText;
    }
  }
xmlhttp.open("GET","http://www.kdoctv.net/wp-content/themes/kdoctv/xls/rssclass.php?q="+str,true);
xmlhttp.send();
}

function rssyahoo(str)
{
if (str.length==0)
  { 
  document.getElementById("rssyahoo").innerHTML=""; 
  return;
  }
if (window.XMLHttpRequest)
  {// code for IE7+, Firefox, Chrome, Opera, Safari
  xmlhttp=new XMLHttpRequest();
  }
else
  {// code for IE6, IE5
  xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");
  }
xmlhttp.onreadystatechange=function()
  {
  if (xmlhttp.readyState==4 && xmlhttp.status==200)
    {
    document.getElementById("OCREG").innerHTML=xmlhttp.responseText;
	
    }
  }
xmlhttp.open("GET","http://www.kdoctv.net/wp-content/themes/kdoctv/xls/rssclass.php?q="+str,true);
xmlhttp.send();
}





