	//
	// CB&I 2003 annual report
	// Herring Design, 2/27/04
	//
	// 
	//


	// true if we're on IE
var isIE = ( navigator.appVersion.indexOf("MSIE") != -1 ) ? true : false; 
    
	// true if we're on NS6
var isNS6 = ( document.getElementById ) ? true : false;


	// variable declarations
var thisSection = 0;		// current section number
var thisPage = 0;			// current page number
var totalPages = 0;			// total number of pages
var prevPage = "";			// previous page name, i.e. 'products.htm'
var nextPage = "";			// next page name
url = new String( location.href );	// the URL
var i;						

	// page name --> menu section mappings
	//  note this is also used for the next/previous navigation tool
	//  Use this if using with flash nav String( "growth_strategies.htm#top" ), 7,
	// <page name>, <section #>
	//
gPageMap = Array(
	String( "investorinfo.htm" ), 0,
	String( "default.htm" ), 1,
	String( "fin_high.htm" ), 2,
	String( "letter.htm" ), 3,
	String( "at_a_glance_1.htm" ), 4,
	String( "at_a_glance_2.htm" ), 4,	
	String( "at_a_glance_3.htm" ), 4,
	String( "at_a_glance_4.htm" ), 4,		
	String( "difference_1.htm" ), 5,
	String( "difference_2.htm" ), 5,
	String( "difference_3.htm" ), 5,
	String( "difference_4.htm" ), 5,
	String( "difference_5.htm" ), 5,
	String( "difference_6.htm" ), 5,
	String( "difference_7.htm" ), 5,
	String( "difference_8.htm" ), 5,
	String( "difference_9.htm" ), 5,
	String( "difference_10.htm" ), 5,
	String( "difference_11.htm" ), 5,
	String( "leadership.htm" ), 6,
	String( "leadership_2.htm" ), 6,
	String( "leadership_3.htm" ), 6,
	String( "strategy.htm" ), 7,	
	String( "financials.htm" ), 8,
	String( "facilities.htm" ), 9,
	String( "investorinfo.htm" ), 0,
	String( "default.htm" ), 1 );	
	//end of gPageMap[]

	// strip off all but the file name
url = "/" + url.toLowerCase();		
url = url.substr( url.lastIndexOf( "/" ) +1, url.length - url.lastIndexOf( "/" ) ); 	

	// find the current page in the list and fill-in the variables
for( i = 2; i < gPageMap.length; i += 2 ) {
	if( url == gPageMap[i] ) {
		prevPage = gPageMap[i-2];		// save the previous page name
		nextPage = gPageMap[i+2];		// save the next page name
		thisSection = gPageMap[i+1];	// get the section number
		thisPage = i / 2;
		break;
	}
}
totalPages = (gPageMap.length / 2) -2;	// total number of pages (based on gPageMap[] array)

	// Load Rollovers
if( document.images ) {

	menu_next = new Image; 				menu_next.src = "images/menu_next.gif";
	menu_over_next = new Image; 			menu_over_next.src = "images/menu_next_over.gif";
	
	menu_previous = new Image; 				menu_previous.src = "images/menu_prev.gif";
	menu_over_previous = new Image; 			menu_over_previous.src = "images/menu_prev_over.gif";
	
	footer_previous = new Image; 				footer_previous.src = "images/menu_prev.gif";
	footer_over_previous = new Image; 				footer_over_previous.src = "images/menu_prev_over.gif";
	
	footer_next = new Image; 				footer_next.src = "images/menu_next.gif";
	footer_over_next = new Image; 				footer_over_next.src = "images/menu_next_over.gif";
	


	menu_01 = new Image; 	menu_01.src = "images/menu_cover.gif";
	menu_over_01 = new Image; 	menu_over_01.src = "images/menu_cover_over.gif";

	menu_02 = new Image; 	menu_02.src = "images/menu_high.gif";
	menu_over_02 = new Image; 	menu_over_02.src = "images/menu_high_over.gif";

	menu_03 = new Image; 	menu_03.src = "images/menu_letter.gif";
	menu_over_03 = new Image; 	menu_over_03.src = "images/menu_letter_over.gif";

	menu_04 = new Image; 	menu_04.src = "images/menu_glance.gif";
	menu_over_04 = new Image; 	menu_over_04.src = "images/menu_glance_over.gif";
	
	menu_05 = new Image; 	menu_05.src = "images/menu_dif.gif";
	menu_over_05 = new Image; 	menu_over_05.src = "images/menu_dif_over.gif";	

	menu_06 = new Image; 	menu_06.src = "images/menu_lead.gif";
	menu_over_06 = new Image; 	menu_over_06.src = "images/menu_lead_over.gif";

	menu_07 = new Image; 	menu_07.src = "images/menu_strat.gif";
	menu_over_07 = new Image; 	menu_over_07.src = "images/menu_strat_over.gif";
	
	menu_08 = new Image; 	menu_08.src = "images/menu_fin.gif";
	menu_over_08 = new Image; 	menu_over_08.src = "images/menu_fin_over.gif";

	menu_09 = new Image; 	menu_09.src = "images/menu_fac.gif";
	menu_over_09 = new Image; 	menu_over_09.src = "images/menu_fac_over.gif";

	menu_0 = new Image; 	menu_0.src = "images/menu_invest.gif";
	menu_over_0 = new Image; 	menu_over_0.src = "images/menu_invest_over.gif";
			
}


	// swap images function
function SwitchImage( imgDocID, ImgObjName ) {
	if( document.images ) {
		document.images[imgDocID].src = eval( ImgObjName + ".src" );
	}
} //SwitchImage

	// write the footer
function writeFooter() {
	document.write( '<table width="637" border="0" cellspacing="0" cellpadding="0"><tr bgcolor="#1A75CF"><td colspan="4"><img src="images/spacer.gif" width="1" height="4"></td></tr><tr><td width="85"><img src="images/spacer.gif" width="85" height="1"></td><td width="468" align="center" valign="bottom"><img src="images/footer.gif" alt="2003 Annual Report  Chicago Bridge & Iron Company N.V." width="298" height="20"></td><td width="75"><table width="75" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="3"><img src="images/spacer.gif" width="75" height="10"></td></tr><tr><td width="15"><a href="' + prevPage + '" onmouseover="SwitchImage( \x27footer_previous\x27, \x27footer_over_previous\x27 ); return true;" onmouseout="SwitchImage( \x27footer_previous\x27, \x27footer_previous\x27 ); return true;"><img name="footer_previous" src="images/menu_prev.gif" width="15" height="15" border="0" alt="[Previous]"></a></td><td bgcolor="#FFFFFF" valign="middle" class="topnolink" align="center" width="45">' + thisPage + ' of ' + totalPages + '</td><td width="15" align="left"><a href="' + nextPage + '" onmouseover="SwitchImage( \x27footer_next\x27, \x27footer_over_next\x27 ); return true;" onmouseout="SwitchImage( \x27footer_next\x27, \x27footer_next\x27 ); return true;"><img name="footer_next" src="images/menu_next.gif" width="15" height="15" border="0" alt="[Next]"></a></td></tr></table></td><td width="10"><img src="images/spacer.gif" width="10" height="1"></td></tr><tr><td width="85"><img src="images/spacer.gif" width="85" height="1"></td><td width="100%"><img src="images/spacer.gif" width="100%" height="1"></td><td width="75"><img src="images/spacer.gif" width="75" height="1"></td><td width="10"><img src="images/spacer.gif" width="10" height="10"></td></tr></table>' );
} //writeFooter()

	// write the header (including the menu)
function writeHeader() {

	document.write( '<a name="top"></a>' );

		// write everything up to the section titles
	document.write( '<table width="637" border="0" cellspacing="0" cellpadding="0"><tr><td width="256"><img src="images/menu_logo.gif" width="256" height="40"></td><td><img src="images/spacer.gif" width="287" height="1"></td><td width="75"><table width="75" border="0" cellspacing="0" cellpadding="0"><tr><td colspan="3"><img src="images/spacer.gif" width="75" height="25"></td></tr><tr><td width="15"><a href="' + prevPage + '" onmouseover="SwitchImage( \x27menu_previous\x27, \x27menu_over_previous\x27 ); return true;" onmouseout="SwitchImage( \x27menu_previous\x27, \x27menu_previous\x27 ); return true;"><img name="menu_previous" src="images/menu_prev.gif" width="15" height="15" border="0" alt="[Previous]"></a></td><td bgcolor="#FFFFFF" valign="middle" class="topnolink" align="center" width="45">' + thisPage + ' of ' + totalPages + '</td><td width="10" align="left"><a href="' + nextPage + '" onmouseover="SwitchImage( \x27menu_next\x27, \x27menu_over_next\x27 ); return true;" onmouseout="SwitchImage( \x27menu_next\x27, \x27menu_next\x27 ); return true;"><img name="menu_next" src="images/menu_next.gif" width="15" height="15" border="0" alt="[Next]"></a></td></tr></table></td><td width="10"><img src="images/spacer.gif" width="10" height="1"></td></tr><tr><td width="256"><img src="images/spacer.gif" width="256" height="1"></td><td width="296"><img src="images/spacer.gif" width="296" height="1"></td><td width="75"><img src="images/spacer.gif" width="75" height="1"></td><td width="10"><img src="images/spacer.gif" width="10" height="5"></td></tr></table>' );

		// begin section titles
	document.write( '<table width="637" border="0" cellspacing="0" cellpadding="0"><tr>' );

	if( thisSection == 1 )
		document.write( '<td><a href="default.htm"><img name="menu_01" src="images/menu_cover_on.gif" width="41" height="31" border="0" alt="[Cover]"></a></td>' );
	else
		document.write( '<td><a href="default.htm" onmouseover="SwitchImage( \x27menu_01\x27, \x27menu_over_01\x27 ); return true;" onmouseout="SwitchImage( \x27menu_01\x27, \x27menu_01\x27 ); return true;"><img name="menu_01" src="images/menu_cover.gif" width="41" height="31" border="0" alt="[Cover]"></a></td>' );

	if( thisSection == 2 )
 	       document.write( '<td><a href="fin_high.htm"><img name="menu_02" src="images/menu_high_on.gif" width="104" height="31" border="0" alt="[Financial Highlights]"></a></td>' );
	else
	       document.write( '<td><a href="fin_high.htm" onmouseover="SwitchImage( \x27menu_02\x27, \x27menu_over_02\x27 ); return true;" onmouseout="SwitchImage( \x27menu_02\x27, \x27menu_02\x27 ); return true;"><img name="menu_02" src="images/menu_high.gif" width="104" height="31" border="0" alt="[Financial Highlights]"></a></td>' );

	if( thisSection == 3 )
		document.write( '<td><a href="letter.htm"><img name="menu_03" src="images/menu_letter_on.gif" width="40" height="31" border="0" alt="[Letter]"></a></td>' );
	else
		document.write( '<td><a href="letter.htm" onmouseover="SwitchImage( \x27menu_03\x27, \x27menu_over_03\x27 ); return true;" onmouseout="SwitchImage( \x27menu_03\x27, \x27menu_03\x27 ); return true;"><img name="menu_03" src="images/menu_letter.gif" width="40" height="31" border="0" alt="[letter]"></a></td>' );

	if( thisSection == 4 )
		document.write( '<td><a href="at_a_glance_1.htm"><img name="menu_04" src="images/menu_glance_on.gif" width="65" height="31" border="0" alt="[At a Glance]"></a></td>' );
	else
      	document.write( '<td><a href="at_a_glance_1.htm" onmouseover="SwitchImage( \x27menu_04\x27, \x27menu_over_04\x27 ); return true;" onmouseout="SwitchImage( \x27menu_04\x27, \x27menu_04\x27 ); return true;"><img name="menu_04" src="images/menu_glance.gif" width="65" height="31" border="0" alt="[At a Glance]"></a></td>' );

	if( thisSection == 5 )
       	document.write( '<td><a href="difference_1.htm"><img name="menu_05" src="images/menu_dif_on.gif" width="87" height="31" border="0" alt="[The CB&I Difference]"></a></td>' );
	else
       	document.write( '<td><a href="difference_1.htm" onmouseover="SwitchImage( \x27menu_05\x27, \x27menu_over_05\x27 ); return true;" onmouseout="SwitchImage( \x27menu_05\x27, \x27menu_05\x27 ); return true;"><img name="menu_05" src="images/menu_dif.gif" width="87" height="31" border="0" alt="[The CB&I Difference]"></a></td>' );

	if( thisSection == 6 )
		document.write( '<td><a href="leadership.htm"><img name="menu_06" src="images/menu_lead_on.gif" width="64" height="31" border="0" alt="[Leadership]"></a></td>' );
	else
		document.write( '<td><a href="leadership.htm" onmouseover="SwitchImage( \x27menu_06\x27, \x27menu_over_06\x27 ); return true;" onmouseout="SwitchImage( \x27menu_06\x27, \x27menu_06\x27 ); return true;"><img name="menu_06" src="images/menu_lead.gif" width="64" height="31" border="0" alt="[Leadership]"></a></td>' );
		
	if( thisSection == 7 )
       	document.write( '<td><a href="strategy.htm"><img name="menu_07" src="images/menu_strat_on.gif" width="51" height="31" border="0" alt="[Strategy]"></a></td>' );
	else
		document.write( '<td><a href="strategy.htm" onmouseover="SwitchImage( \x27menu_07\x27, \x27menu_over_07\x27 ); return true;" onmouseout="SwitchImage( \x27menu_07\x27, \x27menu_07\x27 ); return true;"><img name="menu_07" src="images/menu_strat.gif" width="51" height="31" border="0" alt="[Strategy]"></a></td>' );		

	if( thisSection == 8 )
       	document.write( '<td><a href="financials.htm"><img name="menu_08" src="images/menu_fin_on.gif" width="58" height="31" border="0" alt="[Financials]"></a></td>' );
	else
		document.write( '<td><a href="financials.htm" onmouseover="SwitchImage( \x27menu_08\x27, \x27menu_over_08\x27 ); return true;" onmouseout="SwitchImage( \x27menu_08\x27, \x27menu_08\x27 ); return true;"><img name="menu_08" src="images/menu_fin.gif" width="58" height="31" border="0" alt="[Financials]"></a></td>' );

	if( thisSection == 9 )
       	document.write( '<td><a href="facilities.htm"><img name="menu_09" src="images/menu_fac_on.gif" width="54" height="31" border="0" alt="[Facilities] "></a></td>' );
	else
       	document.write( '<td><a href="facilities.htm" onmouseover="SwitchImage( \x27menu_09\x27, \x27menu_over_09\x27 ); return true;" onmouseout="SwitchImage( \x27menu_09\x27, \x27menu_09\x27 ); return true;"><img name="menu_09" src="images/menu_fac.gif" width="54" height="31" border="0" alt="[Facilities] "></a></td>' );

	if( thisSection == 0 )
       	document.write( '<td><a href="investorinfo.htm"><img name="menu_0" src="images/menu_invest_on.gif" width="73" height="31" border="0" alt="[Investor Information]"></a></td>' );
	else
       	document.write( '<td><a href="investorinfo.htm" onmouseover="SwitchImage( \x27menu_0\x27, \x27menu_over_0\x27 ); return true;" onmouseout="SwitchImage( \x27menu_0\x27, \x27menu_0\x27 ); return true;"><img name="menu_0" src="images/menu_invest.gif" width="73" height="31" border="0" alt="[Investor Information]"></a></td>' );
		

		// end section titles, close the table
	document.write( '</tr></table>' );

} //writeHeader()


// end of 'header.js'