function disclaimer(){
awaymsg = window.open('http://disneyvideos.disney.go.com/disclaimer.html','disclaimer','width=225,height=225,screenX=100,screenY=100,left=100,top=100');
setTimeout('awaymsg.close()',60000)
}
// here are support functions for the rollovers and popup

// two simple rollover scripts
function globalnavRightOn() {
	if (document.images)
		document.images["globalnavright"].src = ("http://disney.go.com/disneyvideos/globalnav/pieces/righton770_"+siteflavor+".gif");
	}
function globalnavRightOff() {
	if (document.images)
		document.images["globalnavright"].src = ("http://disney.go.com/disneyvideos/globalnav/pieces/rightoff770_"+siteflavor+".gif");
	}

// this function prints the Disney Videos navbar that appears below the chrome.
function globalnav(sitename) {
	if (sitename) {
		// select the appropriate variables for the site specified
		sitearray = eval('adlist_'+sitename);
		siteflavor = eval('flavor_'+sitename);
	} else {
		// if no sitename is specified, use the "generic" set.
		// these settings will be defined in the last section.
		sitearray = eval('adlist_generic');
		siteflavor = eval('flavor_generic');
	}
	
	if (sitearray.length > 0) {
		// select a random ad, if the array is defined
		var currentdate = 0;
		var core = 0;
		var currentdate = new Date();
		var core = currentdate.getSeconds() % sitearray.length;
		//alert(core);
		var ranlink  = advert_link[sitearray[core]];
		//alert(ranlink);
		var ranimage = advert_image[sitearray[core]];
		//alert(ranimage);
		var rantext  = advert_alt[sitearray[core]];
		//alert(rantext);
	} else {
		// the ad to use, if the array is empty.
		var ranlink  = "#";
		var ranimage = "ad_blank.gif";
		var rantext  = "Walt Disney Home Video";
	}
	
	// write the code that comes before the ad
	document.write('<table width="770" border="0" cellspacing="0" cellpadding="0" align="center">');
	document.write('<TR><TD><A HREF="http://disney.go.com/disneyvideos/" TARGET="_top"><IMG SRC="http://disney.go.com/disneyvideos/globalnav/pieces/left770_'+siteflavor+'.gif" BORDER="0" ALT="Back to Disney DVD + Video"></A></TD>');
	document.write('<TD><IMG SRC="http://disney.go.com/disneyvideos/globalnav/pieces/top_'+siteflavor+'.gif" BORDER="0" ALT=""><BR>');
	
// write the code for the ad	
	document.write('<iframe src="http://view.atdmt.com/AVE/iview/tstrsmbr0010000001ave/direct;wi.468;hi.60/01?click=" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" topmargin="0" leftmargin="0" allowtransparency="true" width="468" height="60">');
		
			document.write('<a href="http://clk.atdmt.com/AVE/go/tstrsmbr0010000001ave/direct;wi.468;hi.60/01/" target="_blank"><img src="http://view.atdmt.com/AVE/view/tstrsmbr0010000001ave/direct;wi.468;hi.60/01/"/></a>');
		
		document.write('<noscript><a href="http://clk.atdmt.com/AVE/go/tstrsmbr0010000001ave/direct;wi.468;hi.60/01/" target="_blank"><img border="0" src="http://view.atdmt.com/AVE/view/tstrsmbr0010000001ave/direct;wi.468;hi.60/01/" /></a></noscript>');
	document.write('</iframe>');
	
	// write the code that follows the ad
	document.write('<br><IMG SRC="http://disney.go.com/disneyvideos/globalnav/pieces/bottom_'+siteflavor+'.gif" BORDER="0" ALT=""></TD><TD>');
	document.write('<A HREF="http://disney.go.com/disneyvideos/moviefinder" onMouseOver="globalnavRightOn()" onMouseOut="globalnavRightOff()" TARGET="_top"><IMG SRC="http://disney.go.com/disneyvideos/globalnav/pieces/rightoff770_'+siteflavor+'.gif" BORDER="0" ALT="Movie Finder" NAME="globalnavright"></A></TD></TR></TABLE>');

}


// a useful function for initializing arrays
function initArray() {
this.length = initArray.arguments.length;
 for (var i = 0; i < this.length; i++) {
 this[i] = initArray.arguments[i];
 }
}

//	THE REST OF THIS STUFF HAS MOVED TO _BANNERS.JS
document.write('<script language="JavaScript" src="http://disney.go.com/disneyvideos/globalnav/_banners.js" type="text/javascript"></script>');

