function IEhovers() {
	for (i=0; i<$('one').childNodes.length; i++) {
		if ($('one').childNodes[i].className == "progchbox") {
			$('one').childNodes[i].childNodes[0].onclick=function() {return false;}
			var targ = $('one').childNodes[i].childNodes[0].href;
			targ=targ.replace(".html", "");
			targ=targ.replace("http://www.dishpronto.com/programming/americastop/","");
			targ=targ.replace("/","");
			targ=targ.replace("http://intranet.inctools.com/servlet/ImageServer/anonymous_dcx_4/@dishcmsbackup/CUST100ChannelCard.pdf","atcomp");
			targ=targ.replace(".gif","");
			$('one').childNodes[i].targi = targ;
			$('one').childNodes[i].onclick = shch;
			if (document.all&&document.getElementById) {
				$('one').childNodes[i].onmouseover=function() {this.className+=" over";}
				$('one').childNodes[i].onmouseout=function() {this.className=this.className.replace(" over", "");}
			}
		}
	}
}

function shch() {
	if (window.targi) {
		var content = window.targi
		window.targi = null
	} else {
		var content = this.targi
	}

	if (content=="100") {
		pknm = "America's Top 100";
	} else if (content=="200") {
		pknm = "America's Top 200";
	} else if (content=="250") {
		pknm = "America's Top 250";
	} else if (content=="pak") {
		pknm = "America's Everything Pak";
	} else {
		content="atcomp"
		pknm = "Comparison chart";
	}

	var url = '/pulldishchannels.at.asp?pkg='+content;
	<!--var url = '/programming/'+content+'.str.html';-->

	$('packagename').setHTML(pknm);

	new Ajax(url, {method:'get',onComplete: function(){ urchinTracker(url); },update:'chcontent'}).request();
	
	if ($('chcontent').style.display != "block") {
		$('chcontent').style.display = "block";
		$('chcontent').style.height = 360+"px";
		$('chcontent').style.border = "1px #999 solid";
		$('packagename').style.padding = 10+"px";
	}
}

window.onload=function() {startList();IEhovers();}