var chromeColor="#333";
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="Bridge to Terabithia";
var bCrumbLevel_3_url="http://disney.go.com/disneypictures/terabithia";
var legalFooterColor="#C0C0C0";
if(location.href.match(/email/)){var legalFooterColor="#808080";}

var legalFtrCpyRgt="&copy; Buena Vista Pictures Marketing and Walden Media, LLC";
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/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://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
}
// DISCLAIMER COLORS
ratingsDisclaimerFont="#000";
ratingsDisclaimerBackground="#FFF";
ratingsDisclaimerBorder="#000";

/*
http://disney.go.com/disneypictures/terabithia/index.html?deeplink=bridgetrailers
http://disney.go.com/disneypictures/terabithia/index.html?deeplink=bridgegames
*/