function highlightActiveChannel(channel) {
	// Active channel class
	active_channel = 'highlight_on_hover_active';
	// Featured Premium Channels
	active_hbo = "highlight_on_hover";
	active_cinemax = "highlight_on_hover";
	active_starz = "highlight_on_hover";
	active_encore = "highlight_on_hover";
	active_showtime = "highlight_on_hover";
	active_tmc = "highlight_on_hover";
	active_flix = "highlight_on_hover";
	// Featured Base Channels
	active_abc_family = "highlight_on_hover";
	active_amc = "highlight_on_hover";
	active_animal = "highlight_on_hover";
	active_current = "highlight_on_hover";
	active_disney = "highlight_on_hover";
	active_espn = "highlight_on_hover";
	active_fcs = "highlight_on_hover";
	active_fox = "highlight_on_hover";
	active_fx = "highlight_on_hover";
	active_hallmark = "highlight_on_hover";
	active_geo = "highlight_on_hover";
	active_lifetime = "highlight_on_hover";
	active_sitv = "highlight_on_hover";
	active_soapnet = "highlight_on_hover";
	active_speed = "highlight_on_hover";
	active_sundance = "highlight_on_hover";
	active_wetv = "highlight_on_hover";
	active_wealth_tv = "highlight_on_hover";
	// Featured International Channels
	active_corussia = "highlight_on_hover";
	active_filipino = "highlight_on_hover";
	active_goltv = "highlight_on_hover";
	active_setanta = "highlight_on_hover";
	active_sur = "highlight_on_hover";
	active_dpelicula = "highlight_on_hover";
	active_dpeliclasico = "highlight_on_hover";
	active_starindia = "highlight_on_hover";
	active_telehit = "highlight_on_hover";
	active_tvbv = "highlight_on_hover";
	active_vme = "highlight_on_hover";
	// More Videos
	active_hdnet = "highlight_on_hover";;
	active_full_moon = "highlight_on_hover";
	active_smithsonian = "highlight_on_hover";
	active_sportsman = "highlight_on_hover";
	
	// Called from body of U-verse tv page
	switch (channel) {
		case "hbo":
			active_hbo = active_channel;
			writeChannels();
			break;
		case "cinemax":
			active_cinemax = active_channel;
			writeChannels();
			break;
		case "starz":
			active_starz = active_channel;
			writeChannels();
			break;
		case "encore":
			active_encore = active_channel;
			writeChannels();
			break;
		case "showtime":
			active_showtime = active_channel;
			writeChannels();
			break;
		case "tmc":
			active_tmc = active_channel;
			writeChannels();
			break;
		case "flix":
			active_flix = active_channel;
			writeChannels();
			break;
		case "abc_family":
			active_abc_family = active_channel;
			writeChannels();
			break;
		case "amc":
			active_amc = active_channel;
			writeChannels();
			break;
		case "animal":
			active_animal = active_channel;
			writeChannels();
			break;
		case "current":
			active_current = active_channel;
			writeChannels();
			break;
		case "disney":
			active_disney = active_channel;
			writeChannels();
			break;
		case "espn":
			active_espn = active_channel;
			writeChannels();
			break;
		case "fcs":
			active_fcs = active_channel;
			writeChannels();
			break;
		case "fox":
			active_fox = active_channel;
			writeChannels();
			break;
		case "filipino":
			active_filipino = active_channel;
			writeChannels();
			break;
		case "fx":
			active_fx = active_channel;
			writeChannels();
			break;
		case "hallmark":
			active_hallmark = active_channel;
			writeChannels();
			break;
		case "geo":
			active_geo = active_channel;
			writeChannels();
			break;
		case "hdnet":
			active_hdnet = active_channel;
			writeChannels();
			break;
		case "sitv":
			active_sitv = active_channel;
			writeChannels();
			break;
		case "soapnet":
			active_soapnet = active_channel;
			writeChannels();
			break;
		case "speed":
			active_speed = active_channel;
			writeChannels();
			break;
		case "starindia":
			active_starindia = active_channel;
			writeChannels();
			break;
		case "wetv":
			active_wetv = active_channel;
			writeChannels();
			break;
		case "wealth_tv":
			active_wealth_tv = active_channel;
			writeChannels();
			break;
		case "goltv":
			active_goltv = active_channel;
			writeChannels();
			break;
		case "lifetime":
			active_lifetime = active_channel;
			writeChannels();
			break;
		case "setanta":
			active_setanta = active_channel;
			writeChannels();
			break;
		case "smithsonian":
			active_smithsonian = active_channel;
			writeChannels();
			break;
		case "sportsman":
			active_sportsman = active_channel;
			writeChannels();
			break;
		case "sundance":
			active_sundance = active_channel;
			writeChannels();
			break;
		case "corussia":
			active_corussia = active_channel;
			writeChannels();
			break;
		case "sur":
			active_sur = active_channel;
			writeChannels();
			break;
		case "dpelicula":
			active_dpelicula = active_channel;
			writeChannels();
			break;
		case "dpeliclasico":
			active_dpeliclasico = active_channel;
			writeChannels();
			break;
		case "telehit":
			active_telehit = active_channel;
			writeChannels();
			break;
		case "tvbv":
			active_tvbv = active_channel;
			writeChannels();
			break;
		case "vme":
			active_vme = active_channel;
			writeChannels();
			break;
		case "full_moon":
			active_full_moon = active_channel;
			writeChannels();
			break;
			
		default:
			writeChannels();
	}
}
	
function writeChannels() {
	document.write('<h2>Featured Premium Channels</h2>')
	document.write('<div class="' + active_hbo + '">')
		document.write('<a href="/gen/sites/iptv?pid=12600">HBO</a>')
	document.write('</div>')
	document.write('<div class="' + active_cinemax + '">')
		document.write('<a href="/gen/sites/iptv?pid=12841">Cinemax</a>')
	document.write('</div>')
	document.write('<div class="' + active_starz + '">')
		document.write('<a href="/gen/sites/iptv?pid=12607">Starz</a>')
	document.write('</div>')
	document.write('<div class="' + active_encore + '">')
		document.write('<a href="/gen/sites/iptv?pid=12614">Encore</a>')
	document.write('</div>')
	document.write('<div class="' + active_showtime + '">')
		document.write('<a href="/gen/sites/iptv?pid=12621">SHOWTIME</a>')
	document.write('</div>')
	document.write('<div class="' + active_tmc + '">')
		document.write('<a href="/gen/sites/iptv?pid=12753">THE MOVIE CHANNEL</a>')
	document.write('</div>')
	document.write('<div class="' + active_flix + '">')
		document.write('<a href="/gen/sites/iptv?pid=12848">FLIX</a>')
	document.write('</div>')
	document.write('<h2>Featured Base Channels</h2>')
	document.write('<div class="' + active_abc_family + '">')
		document.write('<a href="/gen/sites/iptv?pid=12730">ABC Family</a>')
	document.write('</div>')
	document.write('<div class="' + active_amc + '">')
		document.write('<a href="/gen/sites/iptv?pid=13077">AMC</a>')
	document.write('</div>')
	document.write('<div class="' + active_current + '">')
		document.write('<a href="/gen/sites/iptv?pid=12737">Current</a>')
	document.write('</div>')
	document.write('<div class="' + active_disney + '">')
		document.write('<a href="/gen/sites/iptv?pid=13066">Disney XD</a>')
	document.write('</div>')
	document.write('<div class="' + active_espn + '">')
		document.write('<a href="/gen/sites/iptv?pid=12733">ESPN</a>')
	document.write('</div>')
	document.write('<div class="' + active_fcs + '">')
		document.write('<a href="/gen/sites/iptv?pid=13751">FCS</a>')
	document.write('</div>')
	document.write('<div class="' + active_fx + '">')
		document.write('<a href="/gen/sites/iptv?pid=12874">FX</a>')
	document.write('</div>')
	document.write('<div class="' + active_hallmark + '">')
		document.write('<a href="/gen/sites/iptv?pid=13713">Hallmark Channel</a>')
	document.write('</div>')
	document.write('<div class="' + active_lifetime + '">')
		document.write('<a href="/gen/sites/iptv?pid=13449">Lifetime</a>')
	document.write('</div>')
	document.write('<div class="' + active_geo + '">')
		document.write('<a href="/gen/sites/iptv?pid=13070">National Geographic Channel</a>')
	document.write('</div>')
	document.write('<div class="' + active_sitv + '">')
		document.write('<a href="/gen/sites/iptv?pid=12829">SiTV</a>')
	document.write('</div>')
	document.write('<div class="' + active_soapnet + '">')
		document.write('<a href="/gen/sites/iptv?pid=12751">SOAPnet</a>')
	document.write('</div>')
	document.write('<div class="' + active_speed + '">')
		document.write('<a href="/gen/sites/iptv?pid=13068">SPEED</a>')
	document.write('</div>')
	document.write('<div class="' + active_wetv + '">')
		document.write('<a href="/gen/sites/iptv?pid=12811">WE tv</a>')
	document.write('</div>')
	document.write('<div class="' + active_wealth_tv + '">')
		document.write('<a href="/gen/sites/iptv?pid=12659">Wealth TV</a>')
	document.write('</div>')
	document.write('<h2>Featured International Channels</h2>')
	document.write('<div class="' + active_corussia + '">')
		document.write('<a href="/gen/sites/iptv?pid=13397">Channel One Russia</a>')
	document.write('</div>')
	document.write('<div class="' + active_dpelicula + '">')
		document.write('<a href="/gen/sites/iptv?pid=13280">De Pelicula</a>')
	document.write('</div>')
	document.write('<div class="' + active_dpeliclasico + '">')
		document.write('<a href="/gen/sites/iptv?pid=13281">De Pelicula Clasico</a>')
	document.write('</div>')
	document.write('<div class="' + active_filipino + '">')
		document.write('<a href="/gen/sites/iptv?pid=13408">The Filipino Channel</a>')
	document.write('</div>')
	document.write('<div class="' + active_goltv + '">')
		document.write('<a href="/gen/sites/iptv?pid=12822">GolTV</a>')
	document.write('</div>')
	document.write('<div class="' + active_setanta + '">')
		document.write('<a href="/gen/sites/iptv?pid=12994">Setanta Sports</a>')
	document.write('</div>')
	document.write('<div class="' + active_starindia + '">')
		document.write('<a href="/gen/sites/iptv?pid=13455">STAR India PLUS</a>')
	document.write('</div>')
	document.write('<div class="' + active_sur + '">')
		document.write('<a href="/gen/sites/iptv?pid=12852">SUR</a>')
	document.write('</div>')
	document.write('<div class="' + active_telehit + '">')
		document.write('<a href="/gen/sites/iptv?pid=12833">Telehit</a>')
	document.write('</div>')
	document.write('<div class="' + active_tvbv + '">')
		document.write('<a href="/gen/sites/iptv?pid=14095">TVBV</a>')
	document.write('</div>')
	document.write('<div class="' + active_vme + '">')
		document.write('<a href="/gen/sites/iptv?pid=12997">V-me</a>')
	document.write('</div>')
	document.write('<h2>More Videos</h2>')
	document.write('<div class="' + active_full_moon + '">')
		document.write('<a href="/gen/sites/iptv?pid=13063">Full Moon Horror</a>')
	document.write('</div>')
	document.write('<div class="' + active_hdnet + '">')
		document.write('<a href="/gen/sites/iptv?pid=12758">HDNet</a>')
	document.write('</div>')
	document.write('<div class="' + active_smithsonian + '">')
		document.write('<a href="/gen/sites/iptv?pid=13087">Smithsonian Channel HD</a>')
	document.write('</div>')
	document.write('<div class="' + active_sportsman + '">')
		document.write('<a href="/gen/sites/iptv?pid=13072">Sportsman Channel</a>')
	document.write('</div>')
}