var chromeColor="#18416C";
var chromeWidth=994;
var bCrumbLevel_1="Entertainment";
var bCrumbLevel_2_text="Walt Disney Pictures";
var bCrumbLevel_2_url="http://disney.go.com/disneypictures/";
var bCrumbLevel_3_text="Meet The Robinsons";
var bCrumbLevel_3_url="http://disney.go.com/disneypictures/meettherobinsons/";
var legalFooterColor="#FFFFFF";

var legalFtrCpyRgt="&copy; Disney. All rights reserved.";
window.status=bCrumbLevel_3_text + ' -- The Official Website'
window.focus();

var legalFtrOpts = ["Register","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=https://register.go.com/wdpictures/meettherobinsons/chooseAge&name=g_legalFooter_register","Guest Services","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=https://register.go.com/wdpictures/meettherobinsons/lists&name=g_legalFooter_guestservices","Help","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=http://psc.disney.go.com/guestservices/index.html&name=g_legalFooter_help"]

// JOE'S QUERY SEARCH
function params(qp){ try{r=unescape(location.search.match(new RegExp(qp+"=+([^&]*)"))[1]);}catch(e){r='';} return r; }

// 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
}

function openDisclaimer(URL){
win = window.open('http://disney.go.com/disneypictures/javascript/disclaimer/disclaimer.html?'+ URL, 'intermediate', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=370,height=210');}
ratingsDisclaimerFont="#000";
ratingsDisclaimerBackground="#FFF";
ratingsDisclaimerBorder="#000";

function setHBX(){}

//sweeps rules
function openRules(){window.open('http://disney.go.com/disneypictures/meettherobinsons/rules.html','rules','width=500,height=600,scrollbars=1');}

function openSurvey(doh){
	if(screen.height==768){
		window.open(doh,'survey','width=713,height=680,scrollbars=1');
	}else if(screen.height<768){
		window.open(doh,'survey','width=713,height=520,scrollbars=1');
	}else{window.open(doh,'survey','width=700,height=700');}
}

if(location.search=="?sudoku"){window.open('sudoku/','sudoku','width=740,height=650');}
if(location.search=="?quiz"){window.open('quiz/','quiz','width=805,height=445');}
if(location.search=="?valentine"){window.open('ecards/vday/','vday','width=890,height=600');}

/*
http://disney.go.com/disneypictures/meettherobinsons/index.html?deepLink=1,0 
will deeplink ito the synopsis subsection of the about section...  
where 1 represents the about section (which is section 1 in the xml) and 0 represents the synopsis subsection (which is subsection 0 for the about section in the xml)

http://disney.go.com/disneypictures/meettherobinsons/index.html?deepLink=4,0,1  
will deeplink into Policy trailer of the the trailers tab of the video section... where 4 represents the video section (which is section 4 in the xml) and 0 represents the trailer subsection (which is subsection 0 for the video section in the xml) and 1 represents the frog trailer (which is item 1 for the trailer subsection n the video section)

when the superbowl tvspot launches, you'll deeplink to it like this:
http://disney.go.com/disneypictures/meettherobinsons/index.html?deepLink=4,1,0

Time traveler
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,0
 
Mural mania
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,1
 
Uncle art's pizza delivery
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,2
 
BVG Console Games
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,3
 
Tallulah's fashion mix
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,4
 
Dinosaur Dance Rhythm
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,5
 
Sudoku
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,6
 
Frankie's Music Mashup
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,7
 
Robinson Family Quiz
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,8
 
Dash For Doris
http://disney.go.com/disneypictures/meettherobinsons/?deepLink=3,9
*/