var chromeColor = "#000000";
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 = "The Chronicles of Narnia";
var bCrumbLevel_3_url = "http://disney.go.com/disneypictures/narnia";

//	REGISTRATION FOOTER SHOULD BE #000000
//	SITE FOOTER SHOULD BE #836031
if (location.protocol == "https:") { var legalFooterColor = "#000000"; } else { var legalFooterColor = "#836031"; }

var legalFtrCpyRgt = "THE CHRONICLES OF NARNIA, NARNIA, and all book titles, characters and locales original thereto are trademarks of C.S. Lewis Pte Ltd. and are used with permission. © Disney/Walden";

var legalFtrOpts = ["Register For Updates","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=https://register.go.com/wdpictures/narnia/register&name=g_legalFooter_register","Guest Services","http://transfer.go.com/cgi/transfer.dll?srvc=dis&goto=https://register.go.com/wdpictures/preferenceCenter/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"]

//	CHROME PULLDOWN MENU
function popDiscover() {
	popDiscover = window.open('http://books.narnia.com/discover/explore/explorenarnia.html','ExploreNarnia','scrollbars=no,width=640,height=578');
	popDiscover.focus();
}

//	QP
function params(qp){ try{r=unescape(location.search.match(new RegExp(qp+"=+([^&]*)"))[1]);}catch(e){r='';} return r; }

//	BROADBAND COOKIE
var today = new Date();
var expire = new Date(today.getTime() - 10);
var oneYear = new Date(today.getTime() + 365 * 24 * 60 * 60 * 1000);

function SetCookieUtil (name,value,expires,path,domain,secure) {
	document.cookie = name + "=" + escape (value) +	((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "; path=/") + ((domain) ? "; domain=" + domain : "; domain=.go.com") +	((secure) ? "; secure" : "");
}

function GetCookieUtil (name) {
	var result = null;
	var myCookie = " " + document.cookie + ";";
	var searchName = " " + name + "=";
	var startOfCookie = myCookie.indexOf(searchName);
	var endOfCookie;
	if (startOfCookie != -1) {
		startOfCookie += searchName.length;
		endOfCookie = myCookie.indexOf(";", startOfCookie);
		result = unescape(myCookie.substring(startOfCookie, endOfCookie));
	}
	return result;
}
mac_cookie = GetCookieUtil("mac_cookie");
if(!mac_cookie){
	part2 = (navigator.platform.toLowerCase().indexOf("mac") !=-1)?ParseUserAgent():"PC";
	SetCookieUtil("mac_cookie","true",oneYear);
}else{
	part2 = (navigator.platform.toLowerCase().indexOf("mac") != -1)?"MAC_Return":"PC+Return";
}