// JavaScript Document

/*function togglediv(divid,lnkid){
if(document.getElementById(divid).style.display == 'none'){
	document.getElementById(divid).style.display = 'block';
	document.getElementById(lnkid).style.color = '#D58F59';
}else{
	document.getElementById(divid).style.display = 'none';
	document.getElementById(lnkid).style.color = '#296DC1';
}
}*/

function showhide(num){
 var rows = 10; // Number of rows to show/hide //;
 for(i=1; i<=rows; i++){
  which = document.getElementById('detail'+i);
  highlight = document.getElementById('lnk'+i);
  if(num == i){
   
   which.style.display = (which.style.display=='') ? 'none':'';
   //alert(highlight.style.value);
   highlight.style.color = (highlight.style.color == 'brown') ? '' : 'brown';
  }
  else{
   which.style.display = 'none';
   //highlight.style.color = '';
  };
 }
}

function telecast(num){
 var rows = 3; // Number of rows to show/hide //;
 for(i=1; i<=rows; i++){
which = document.getElementById('channel'+i);
  highlight = document.getElementById('title'+i);
  if(num == i){
   
   which.style.display = (which.style.display=='') ? 'none':'';
   //alert(highlight.style.value);
   highlight.style.color = (highlight.style.color == 'brown') ? '' : 'brown';
  }
  else{
which.style.display = 'none';
   highlight.style.color = '';
  };
 }
}

