if(!chromeColor){chromeColor = "#003399";}
if(!chromeWidth){chromeWidth = "770";}
if(!legalFooterColor){legalFooterColor = "#FFFFFF";}
var breadCrumb = "";
var bCrumbGr = "<font color='#FFFFFF' face='arial,helvetica' size='-2'>&nbsp;&nbsp;&gt;&nbsp;&nbsp;</font>";
var bCrumbFt = "<font color='#FFFFFF' face='arial,helvetica' size='-2'>";
var bCrumbTr = "http://transfer.go.com/cgi/transfer.dll?srvc=mov&goto=";
var searchQuery = "";

document.write('<style type="text/css">.chrome {font:10px Verdana, Arial, Helvetica, sans-serif;}#chromeA{color:#FFF;}</style>');

//	 THIS SECTION IS USED TO DETERMINE IF THE LOGO IS ON OR OFF
if(bCrumbLevel_1)
	bCrumbLv1 = bCrumbLevel_1.toLowerCase();
	
function writeChrome(){
	document.write('<table width="'+chromeWidth+'" cellspacing="0" cellpadding="0" border="0" align="center" bgcolor="'+chromeColor+'"><tr>');
//	USE LOGO APPROVED BY DISNEY CONTACT
	if (bCrumbLevel_1 == "touchstone"){
		document.write('<td width="125"><nobr>&nbsp;<a href="#" target="_self"><img src="http://global.waltdisneymovies.co.nz/chrome_au/touchstone.png" alt="Touchstone Pictures" width="180" height="27" border="0"></a></nobr></td>');
	} else {
		document.write('<td><nobr>&nbsp; </nobr></td>');
	}
	if (bCrumbLevel_1 == "bvi"){
		document.write('<td width="125"><nobr>&nbsp;<a href="#" target="_self"><img src="http://global.waltdisneymovies.co.nz/chrome_au/buenavistaintl.gif" alt="Buena Vista International" width="179" height="28" border="0"></a></nobr></td>');
	} else {
		document.write('<td><nobr>&nbsp; </nobr></td>');
	}
		if (bCrumbLevel_1 == "wdsmpnz"){
		document.write('<td width="125"><nobr>&nbsp;<a href="http://www.disneymovies.com.au/" target="_self"><img src="http://global.waltdisneymovies.co.nz/chrome_au/wdsmpnz.png" alt="Walt Disney Studios Motion Pictures, New Zealand" width="180" height="38" border="0"></a></nobr></td>');
	} else {
		document.write('<td><nobr>&nbsp; </nobr></td>');
	}
		if (bCrumbLevel_1 == "miramax"){
		document.write('<td width="125"><nobr>&nbsp;<a href="http://www.miramax.com/" target="_self"><img src="http://global.waltdisneymovies.co.nz/chrome_au/miramax.gif" alt="Miramax" width="118" height="32" border="0"></a></nobr></td>');
	} else {
		document.write('<td><nobr>&nbsp; </nobr></td>');
	}
//	END OF THE NON DISNET LOGO STUFF

centerWidth=424
	if (bCrumbLevel_2_text){

		if(chromeWidth==770){centerWidth=424}
		if(chromeWidth==994){centerWidth=648}
		document.write('<td align="left" width="'+centerWidth+'">'+breadCrumb+'</td>');	
	} else {
		document.write('<td align="center" width="'+centerWidth+'">');
	}
	document.write('</td>');	

//	AT THE MOVIES PULLDOWN -- START
	document.write('<form action="" name="myForm" target="_top"><td bgcolor="'+chromeColor+'"><img src="http://global.waltdisneymovies.co.nz/chrome_au/movies.png" alt="More Movies!" width="160" height="27" border="0"></td>');
	document.write('<form action="" method="POST" name="myform">');
	document.write('<td align="right" class="chrome"><nobr><select name="dest" size="1" style="font:13px arial,helvetica,geneva,sans-serif;">');

					// LIST OF LINKS -- START
						document.write(navMenu);
					// LIST OF LINKS -- END

	document.write('</select>&nbsp;<input type="Button" name="" value="GO" style="font:bold 12px arial,helvetica,geneva,sans-serif;background: '+chromeColor+'; color:#FFF; border-color:silver;" onClick="surfto(this.form)">&nbsp;</nobr></td>');
//	At THE MOVIES PULLDOWN -- END
	document.write('</form>');
	document.write('</form>');
	document.write('</tr></table>');
}

function doCrumb(goTo,tName,text){

	if(bCrumbLevel_2_text){
		if (bCrumbLevel_1 == "touchstone"){
			breadCrumb += bCrumbGr;
		}
		if(bCrumbLevel_2_url){breadCrumb += "<a href='"+bCrumbLevel_2_url+"' target='_top' id='chromeA'>";}
		breadCrumb += bCrumbFt+bCrumbLevel_2_text+"</font>";
		if(bCrumbLevel_2_url){breadCrumb += "</a>";}
	}
	if(bCrumbLevel_2_url){
		if(bCrumbLevel_3_text){
			breadCrumb += bCrumbGr;
			if(bCrumbLevel_3_url){breadCrumb += "<a href='"+bCrumbLevel_3_url+"' target='_top' id='chromeA'>";}
			breadCrumb += bCrumbFt+bCrumbLevel_3_text+"</font>";
			if(bCrumbLevel_3_url){breadCrumb += "</a>";}
		}
	}
writeChrome();	
}

switch (bCrumbLv1){
case "touchstone" :
	doCrumb('', '', ''); break;
case "disney" :
	doCrumb('', '', ''); break;
default :
	breadCrumb = bCrumbFt+"</font>"; writeChrome(); break;
}



