var chromeColor="#003399";
if((location.href.match(/register.go.com/i))||(location.href.match(/doh.go.com/i))){var chromeWidth=770;}else{var chromeWidth=994;}

if(location.host.match(/register.go.com/)){var chromeWidth=770;}
var bCrumbLevel_1="Entertainment";
var bCrumbLevel_2_text="Walt Disney Pictures";
var bCrumbLevel_2_url = "http://disney.go.com/disneypictures/index.html";
var bCrumbLevel_3_text=null;
var bCrumbLevel_3_url=null;
var legalFooterColor="#000000";
if(location.href.match(/showtimes.disneypictures.com/)){var legalFooterColor="#FFFFFF";}
if(location.href.match(/showtimes.touchstonepictures.com/)){var legalFooterColor="#FFFFFF";}

window.status=bCrumbLevel_2_text+" -- The Official Homepage"
window.focus();

var legalFtrOpts=["Register","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=https://register.go.com/wdpictures/chooseAge&name=g_legalFooter_register","Guest Services","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=https://register.go.com/wdpictures/lists&name=g_legalFooter_guestservices","Help","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=http://home.disney.go.com/guestservices/faqs"]

function params(qp){try{r=unescape(location.search.match(new RegExp(qp+"=+([^&]*)"))[1]);}catch(e){r='';} return r;}

//	POP WINDOWS
function popup(pop_url, winname, windowWidth, windowHeight, scrollbars, toolbar, location) {       window.open(pop_url,winname,"scrollbars="+scrollbars+",width="+windowWidth+",height="+windowHeight+",toolbar="+toolbar+",location="+location);}

function popupFull(pop_url) {window.open(pop_url,"full_pop");}

// DISCLAIMER POPUP SCRIPT
function openDisclaimer(URL){
	win = window.open('http://disney.go.com/disneypictures/javascript/disclaimer/index.html?http://'+URL, 'intermediate', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=370,height=210');
}

// mobile faq popup
if(location.search=="?mobilefaq"){setTimeout("popFAQ()", 3000);}
function popFAQ(){window.open('html/mobilefaq.html','faq','resizable=no,scrollbars=yes,menu=no,directories=no,status=no,width=400,height=520,toolbar=0,location=0');}

// RESIZE POPUP WHEN COMING FROM DISNEY PICTURES HOMEPAGE
// DOCTYPE NEEDS TO BE HTML FOR THIS TO WORK
function resizeMe(width,height) {
	if (window.innerWidth){popWidth=window.innerWidth;popHeight=window.innerHeight;}else{popWidth=document.body.clientWidth;popHeight=document.body.clientHeight;}
	var left=(screen.width-width)/2;var top=(screen.height-height)/2;//FIGURE THE CENTER OF THE SCREEN
	self.window.moveTo(left,top)//MOVE THE POPUP TO THE CENTER
	popWidth=width-popWidth;popHeight=height-popHeight;window.resizeBy(popWidth, popHeight);//MAKE THE POPUP THE RIGHT SIZE
}

// DEFAULT DISCLAIMER COLORS
ratingsDisclaimerFont="#000";
ratingsDisclaimerBackground="#FFF";
ratingsDisclaimerBorder="#000";