<!--

// below is the function to popup the DVDs Dstore link
function storeLinkDalm2(){
	win = window.open("http://transfer.go.com/cgi/transfer.dll?name=23303&SOURCE=23303&srvc=store&goto=http://disneyshopping.go.com/webapp/wcs/stores/servlet/DSIProductDisplay?catalogId=10002&storeId=10051&productId=1233003&langId=-1&categoryId=13690&CMP=OTL-TWDC_BVHE&att=BVHE","orderwindow");
}

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 gamePopup(URL){
	win = window.open(URL, 'game', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=670,height=560');
}

// below is the function to popup the call-in window prior to a DVDs store link being available
function storeLinkDalm3(){
var w = 390;
var h = 270;
var winl = (screen.width - w) / 3;
var wint = (screen.height - h) / 3;
coords = 'width='+w+',height='+h+',top='+wint+',left='+winl;
orderWin = window.open('http://disneyvideos.disney.go.com/moviefinder/calltoorder.html','orderwin', coords,'scrollbars=no,resizable=no');
if (parseInt(navigator.appVersion) >= 4) { orderWin.window.focus(); }
}


function launchOrder(orderPage, hb) {
	// alert (orderPage+", "+exitLinkArray[hb])
	hitbox.Set_hbLink(exitLinkArray[hb]);
	handymannyWin = window.open(orderPage,'sitspop');
	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,9,16];
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='101 Dalmatians 2' 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='101 Dalmatians 2 no Flash' width='994' height='576' hspace='0' vspace='0' border='0' usemap='#hm_map'>");
}




//-->