bMenuImagesLoaded = false;
bDisplayMenus = true;

width = 147;
childOverlap = -1;
childOffset = -1; 
iSecondsVisible = .5;

IE4=false;
NN4=false;
OTHER=false;
if (document.all) {IE4=true;}
else if (document.layers) {NN4=true;}
else {OTHER=true;}

sFontFace = "arial";
if (navigator.userAgent.indexOf('Mac') != -1) {iFontSize = "10";}
else {iFontSize = "8";}

if (sMenuColour == "black") {
	backCol = "#FFFFFF";
	overCol = "#D6E0D6";
	borCol = "#000000";
	if (NN4) {
		sFontColour = "#000000";
		overFontColour = "#000000";}
	else{
		sFontColour = "#000000";
		//overFontColour = "#CCCCCC";
		overFontColour = "#000000";
	}
	sImage = sImagePathPrefix + "images/bw_dot.gif";
}
else {

	backCol = "#336633";
	overCol = "#CC3300";
	borCol = "#000000";
	if (NN4) {
		sFontColour = "#FFFFFF";
		overFontColour = "#FFFFFF";}
	else{
		sFontColour = "#FFFFFF";
		//overFontColour = "#CC0033";
		overFontColour = "#FFFFFF";
	}		
	sImage = sImagePathPrefix + "images/bo_dot.gif";
}

itemPad = 4;
iImageSize = 10;
keepHilite = true;

aPosX = new Array(52, 155, 228, 359)
aPosY = new Array(24, 24, 24, 24)

arMenu1 = new Array(
"What is securitisation?","javascript:document.location='" + sPathPrefix + "securitisation/securitisation.htm';",0,
"The benefits of securitisation","javascript:document.location='" + sPathPrefix + "securitisation/securitisation.htm#benefit';",0
)

arMenu2 = new Array(
"Investor Information","javascript:document.location='" + sPathPrefix + "investor/investor.aspx';",0,
"Investor Reports","javascript:document.location='" + sPathPrefix + "investor/investor.aspx';",0,
"Information Memorandum","javascript:document.location='" + sPathPrefix + "investor/investor.aspx';",0,
"Rating Agency Report","javascript:document.location='" + sPathPrefix + "investor/investor.aspx#rating';",0
)


arMenu3 = new Array(
"State Street","javascript:document.location='" + sPathPrefix + "about/about.htm';",0,
"Schooner Program Details","javascript:document.location='" + sPathPrefix + "about/about.htm#program_details';",0
)

arMenu4 = new Array(
"State Street in Australia","javascript:document.location='" + "http://www.statestreet.com.au';",0,
"State Street Corporation","javascript:document.location='" + "http://www.statestreet.com';",0,
"Spinnaker Capital","javascript:document.location='" + "http://www.spinnakercapital.com.au';",0
)

function LoadMenuImages() {
  if (document.images) {
    if (sMenuColour == "black") {
 	homeover = new Image();
    	homeover.src = sImagePathPrefix + "images/mb_home_grey.gif";
    	homeout = new Image();
    	homeout.src = sImagePathPrefix + "images/mb_home_blk.gif";

	securover = new Image();
    	securover.src = sImagePathPrefix + "images/mb_secur_grey.gif";
    	securout = new Image();
    	securout.src = sImagePathPrefix + "images/mb_secur_blk.gif";	

	investorover = new Image();
    	investorover.src = sImagePathPrefix + "images/mb_investor_grey.gif";
    	investorout = new Image();
    	investorout.src = sImagePathPrefix + "images/mb_investor_blk.gif";

	aboutover = new Image();
    	aboutover.src = sImagePathPrefix + "images/mb_about_grey.gif";
    	aboutout = new Image();
    	aboutout.src = sImagePathPrefix + "images/mb_about_blk.gif";

	contactover = new Image();
    	contactover.src = sImagePathPrefix + "images/mb_contact_grey.gif";
    	contactout = new Image();
    	contactout.src = sImagePathPrefix + "images/mb_contact_blk.gif";

	linksover = new Image();
    	linksover.src = sImagePathPrefix + "images/mb_links_grey.gif";
    	linksout = new Image();
    	linksout.src = sImagePathPrefix + "images/mb_links_blk.gif";
	}

    else {
 	homeover = new Image();
    	homeover.src = sImagePathPrefix + "images/mb_home_red.gif";
    	homeout = new Image();
    	homeout.src = sImagePathPrefix + "images/mb_home_blk.gif";

	securover = new Image();
    	securover.src = sImagePathPrefix + "images/mb_secur_red.gif";
    	securout = new Image();
    	securout.src = sImagePathPrefix + "images/mb_secur_blk.gif";	

	investorover = new Image();
    	investorover.src = sImagePathPrefix + "images/mb_investor_red.gif";
    	investorout = new Image();
    	investorout.src = sImagePathPrefix + "images/mb_investor_blk.gif";

	aboutover = new Image();
    	aboutover.src = sImagePathPrefix + "images/mb_about_red.gif";
    	aboutout = new Image();
    	aboutout.src = sImagePathPrefix + "images/mb_about_blk.gif";

	contactover = new Image();
    	contactover.src = sImagePathPrefix + "images/mb_contact_red.gif";
    	contactout = new Image();
    	contactout.src = sImagePathPrefix + "images/mb_contact_blk.gif";

	linksover = new Image();
    	linksover.src = sImagePathPrefix + "images/mb_links_red.gif";
    	linksout = new Image();
    	linksout.src = sImagePathPrefix + "images/mb_links_blk.gif";
	}

    bMenuImagesLoaded = true;
  }
}