<!--Start IE WMODE Sniffer Code-->
<!--Use This To Browser Sniff and Determine Whether To Use A wmode=transparent Tag In The Swf Embed Source --> <
var ua = navigator.userAgent.toLowerCase(); 
var pcIE = (ua.indexOf("windows") != -1 && ua.indexOf("msie") != -1)?true:false;
var swfMode = "";
var pcIE = (ua.indexOf("windows") != -1 && ua.indexOf("msie") != -1)?true:false;
	if(pcIE) {
		swfMode = "wmode=transparent";
	} else {
		swfMode = "";
	}

var d = document;
function over(imgName, img_src) {
	d[imgName].src=img_src;
}

function out(imgName, img_src) {
	d[imgName].src=img_src;
}
<!--End IE WMODE Sniffer Code-->



//Ad Refresh Function
/*function refresh() {
	frames['frameContent'].location.href = "/ads/right_ad.html";
	frames['frameContent2'].location.href = "/ads/top_ad.html";
}
function mobile() {
	var url = "/hannabarbera/mobile.html";
	var name= "mobile";
	var features = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,width=500,height=300";
	window.open(url, name, features);
}
function sweeps() {
	var url = "http://www2.warnerbros.com/web/all/us/sweepstakes/enter.jsp?sid=wacky_wobbler&show=SWEEPSTAKES";
	var name= "sweeps";
	var features = "toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=yes,resizable=0,width=780,height=700";
	window.open(url, name, features);
}
var query = location.search;
query = this.query.substring(this.query.indexOf("?section=")+9, this.query.length);

function chgBG(section) {
	frames['rightAd'].location.href = "/hannabarbera/ads/right_ad.html?section="+section;
	frames['rightAdBG'].location.href = "/hannabarbera/ads/right_ad_bg.html?section="+section;
	frames['topAd'].location.href = "/hannabarbera/ads/top_ad.html?section="+section;
	frames['topAdBG'].location.href = "/hannabarbera/ads/top_ad_bg.html?section="+section;
	frames['footer'].location.href = "/hannabarbera/footer.html?section="+section;
	//frames['background'].location.href = "/hannabarbera/background.html?section="+section;
}*/