<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function MM_displayStatusMsg(msgStr) { //v1.0
  status=msgStr;
  document.MM_returnValue = true;
}

function openCtrWindow(theURL,winName,attributes,w,h) { //v2.0
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
coords = attributes+',width='+w+',height='+h+',top='+wint+',left='+winl;
win = window.open(theURL,winName,coords);
win.window.focus();
}

function launchSsaverTemp() { //v2.0
var w = 540;
var h = 400;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
coords = 'toolbar=no,location=no,menubar=no,status=no,scrollbars=no,resizable=no,width='+w+',height='+h+',top='+wint+',left='+winl;
win = window.open("screensaver/screensaver.html","ssaverwin",coords);
win.window.focus();
}

function launchTowntour() { //v2.0
var w = 610;
var h = 430;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
coords = 'toolbar=no,location=no,menubar=no,status=no,scrollbars=no,resizable=no,width='+w+',height='+h+',top='+wint+',left='+winl;
win = window.open("towntour/towntour.html","gamewin",coords);
win.window.focus();
}

function launchStorybook() { //v2.0
var w = 610;
var h = 430;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
coords = 'toolbar=no,location=no,menubar=no,status=no,scrollbars=no,resizable=false,width='+w+',height='+h+',top='+wint+',left='+winl;
win = window.open("storybook/storybook.html","gamewin",coords);
win.window.focus();
}

function launchRecipe() { //v2.0
var w = 700;
var h = 460;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
coords = 'toolbar=no,location=no,menubar=no,status=no,scrollbars=no,resizable=false,width='+w+',height='+h+',top='+wint+',left='+winl;
win = window.open("popups/healthyharvest.html","recipewin",coords);
win.window.focus();
}

function launchSsaver(platform,size) { //v2.0
var w = 280;
var h = 250;
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
coords = 'toolbar=no,location=no,menubar=no,status=no,scrollbars=no,resizable=no,width='+w+',height='+h+',top='+wint+',left='+winl;
// alert ("platform="+platform+", size="+size)
saverURL="screensaver/ssaver_download.html?platform="+platform;
// saverURL="popups/ssaver_download.html";
win = window.open(saverURL,"saverwin",coords);
win.window.focus();
}

function openOrder() { //v2.0
	try {
		win.close();
	}catch(e){		
	}
	win = window.open("http://disneyshopping.go.com/DSSectionPage.process?Section_Id=13687&Product_Id=194459","lady2pop");
	win.focus();
}

function popScreenSaver(url, windowName) {
	try {
		win.close();
	}catch(e){		
	}
	win = window.open(url, windowName, 'height=290, width=310, resizable=no, status= no, scrollbars=no, location=no, menubar=no, toolbar= no, left=5, top=5');
	win.focus();		
}

// DISCLAIMER POPUP SCRIPT
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 openPage(targURL) { //v2.0
win = window.open(targURL,"lady2pop");
win.window.focus();
}

function openOrderNoflash() { //v2.0
win = window.open("http://disneyshopping.go.com/DSSectionPage.process?Section_Id=13687&Product_Id=194459","lady2pop");
win.focus();
}

function getFlash() { //v2.0
win = window.open("http://www.macromedia.com/go/getflashplayer/","lady2pop");
win.window.focus();
}

// Store the query string, if any, in a variable.
var pageLoc = String(parent.location);
var questionPos = pageLoc.indexOf("?");
var queryString = (questionPos < 0) ? "" : pageLoc.substring(questionPos);

function launchTrailer(clipCode) {
var w = 360;
var h = 480;
var winl = (screen.width - w) / 3;
var wint = (screen.height - h) / 3;
coords = 'width='+w+',height='+h+',top='+wint+',left='+winl;
trailerURL = 'http://www.totaleclips.com/player/splash.aspx?custid=3&playerid=2&clipid='+clipCode;
win = window.open(trailerURL,'trailerwin', coords,'scrollbars=yes,resizable=yes');
win.window.focus();
}
//-->