<!--

function openDisclaimer(URL){
	win = window.open('http://disney.go.com/disneyvideos/javascript/disclaimer/disclaimer.html?'+ URL, 'intermediate', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=370,height=210');
}

function launchOrder(orderPage, hb) {
	// alert (orderPage+", "+exitLinkArray[hb])
	//hitbox.Set_hbLink(exitLinkArray[hb]);
	handymannyWin = window.open(orderPage,'handymannypop');
	handymannyWin.window.focus();
}

function buildHitboxPageView (titleTag, pageString, contentString) {
	pageTag = (titleTag+"+"+pageString);
	// alert (pageTag);
	hitbox.Set_hbPageView(pageTag, contentString);
}


// POPUP SCRIPT
function popup( url, w, h, windowName, r, st, s, l, m, t) {
	try {
		win.close();
	}catch(e){		
	}
	win = window.open(url, windowName, 'height=' +h+ ', width=' +w+ ', resizable=' +r+ ', status= ' +st+ ', scrollbars=' +s+ ', location=' +l+ ', menubar=' +m+  ', toolbar= ' +t+ ', left=5, top=5');
	win.focus();		
}

// set the street date for pre/post street read

streetDate=[2008,8,5];
function checkAvailability() {
	var year=streetDate[0];
	var month=streetDate[1]-1;
	var date=streetDate[2];
	var today=new Date();
	var todaysYear=today.getFullYear();
	var todaysMonth=today.getMonth();
	var todaysDate=today.getDate();
	todayDateTime = today.getTime();
	var availableDate = new Date();
	availableDate.setFullYear(year);
	availableDate.setMonth(month);
	availableDate.setDate(date);
	availableDateTime = availableDate.getTime();
	if(todayDateTime >= availableDateTime){
		nowAvailable=true;
	}else{
		nowAvailable=false;
	}
}
checkAvailability();


function textonlyStreet() {
	if (nowAvailable) {
		var streetImg = "textonly_poststreet.jpg";
	} else {
		var streetImg = "textonly_prestreet.jpg";
	}
	document.write("<img src='images/"+streetImg+"' alt='Handy Manny' width='994' height='190' hspace='0' vspace='1' border='0'>");
}

function noflashStreet() {
	if (nowAvailable) {
		var streetImg = "noflash_poststreet.jpg";
	} else {
		var streetImg = "noflash_prestreet.jpg";
	}
	document.write("<img src='images/"+streetImg+"' alt='Handy Manny no Flash' width='994' height='560' hspace='0' vspace='0' border='0' usemap='#hm_map'>");
}




//-->