// JavaScript Document

function writeHeader(){
	
	var languageDropdown = "<div id='lanuageBar'> <span style='font-size: 10px; font-family: Verdana,Arial,Helvetica,sans-serif; color: rgb(46, 74, 111);'>Language: </span> <select style='font-size: 10px; font-family: Verdana,Arial,Helvetica,sans-serif;' onchange='location.href=this.value' id='sLanguage' name='sLanguage'> <option value='http://www.cbi.com'>English</option> <option value='http://cn.cbi.com'>Chinese</option> <option value='http://ru.cbi.com'>Russian</option> <option value='http://es.cbi.com'>Spanish</option> </select><span style='font-size: 12px; color: rgb(238, 238, 238);' id='languageSepBar'>  |  </span></div>";
	
	var headerSource="<table width='100%' cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td width='127' valign='bottom' rowspan='2'><a href='http://cbi.com'><img border='0' alt='CB&amp;I' src='images/common/header/logo.gif'/></a></td> <td class='blue-fade'><table width='100%' cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td rowspan='2'><img alt='TECHNOLOGY + ENGINEERING + PROCUREMENT + CONSTRUCTION' src='images/common/header/tagline.gif'/></td> <td align='right' style='padding-top: 6px;'><table cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td>" + languageDropdown + "</td> <td><form onsubmit='if(this.search.value==\"Search\" || this.search.value==\"\"){alert(\"Please enter search criteria.\");return false;}' name='SearchForm' method='get' action='/search/search.aspx'> <input type='hidden' value='CBI' id='col' name='col'/> <input type='hidden' value='0' id='omit' name='omit'/> <input type='hidden' value='10' id='return' name='return'/> <table cellspacing='0' cellpadding='0' border='0'> <tbody><tr><td><input type='text' onblur='if(this.value==\"Search\"){this.value=\"\";}' onmousedown='if(this.value==\"Search\"){this.value=\"\";}' maxlength='100' size='25' value='Search' class='mmhide_searchInput' name='search'/></td> <td><input type='image' src='images/common/header/search-btn.gif'/></td> </tr></tbody></table> </form></td> </tr> </tbody></table> </td> </tr> <tr> <td align='right'> </td> </tr> </tbody></table></td> </tr> <tr> <td class='nav'><table cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td><a href='http://cbi.com/about/'><img border='0' onmouseout='this.src=\"images/common/header/nav_01.gif\"' onmouseover='this.src=\"images/common/header/nav-over_01.gif\"' alt='About CB&amp;I' src='images/common/header/nav_01.gif'/></a></td> <td><a href='http://cbi.com/services/'><img border='0' onmouseout='this.src=\"images/common/header/nav_02.gif\"' onmouseover='this.src=\"images/common/header/nav-over_02.gif\"' alt='Technologies &amp; Services' src='images/common/header/nav_02.gif'/></a></td> <td><a href='http://cbi.com/lummus/'><img border='0' onmouseout='this.src=\"images/common/header/nav_03.gif\"' onmouseover='this.src=\"images/common/header/nav-over_03.gif\"' alt='Lummus' src='images/common/header/nav_03.gif'/></a></td> <td><a href='http://www.cbi.com/industries/'><img border='0' onmouseout='this.src=\"images/common/header/nav_04.gif\"' onmouseover='this.src=\"images/common/header/nav-over_04.gif\"' alt='Industries Served' src='images/common/header/nav_04.gif'/></a></td> <td><a href='http://www.cbi.com/careers/'><img border='0' onmouseout='this.src=\"images/common/header/nav_05.gif\"' onmouseover='this.src=\"images/common/header/nav-over_05.gif\"' alt='Careers' src='images/common/header/nav_05.gif'/></a></td> <td><a href='http://www.cbi.com/ir/'><img border='0' onmouseout='this.src=\"images/common/header/nav_06.gif\"' onmouseover='this.src=\"images/common/header/nav-over_06.gif\"' alt='Investor Relations' src='images/common/header/nav_06.gif'/></a></td> <td><a href='http://www.cbi.com/contact/'><img border='0' onmouseout='this.src=\"images/common/header/nav_07.gif\"' onmouseover='this.src=\"images/common/header/nav-over_07.gif\"' alt='Contact' src='images/common/header/nav_07.gif'/></a></td> <td><img onmouseout='this.src=\"images/common/header/nav_08.gif\"' onmouseover='this.src=\"images/common/header/nav-over_08.gif\"' src='images/common/header/nav_08.gif'/></td> </tr> </tbody></table></td> </tr> </tbody></table>";
	
	var sectionTitle = "<table width='100%' cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td><img height='41' width='675' alt='Careers' src='images/careers/head.careers.gif'/></td> <td width='100%' style='background-image: url(images/careers/head.careers.bg.gif); background-repeat: repeat-x;'><img height='1' width='1' src='images/spacer.gif'/></td> </tr> </tbody></table>";
	
	var breadcrumb = "<table width='100%' cellspacing='0' cellpadding='0' border='0'> <tbody><tr> <td bgcolor='#e6e6e6'><img height='22' width='25' alt='' src='images/spacer.gif'/></td> <td width='100%' valign='middle' bgcolor='#e6e6e6' class='mmhide_breadcrumb'><font color='#4772ab'><</font> <a class='mmhide_breadcrumb' href='http://cbi.com'>HOME</a> : <!-- InstanceBeginEditable name='Breadcrumb Base' --><a href='http://www.cbi.com/careers/'>CAREERS</a><!-- InstanceEndEditable --><!-- InstanceBeginEditable name='Ext' --> : <!-- InstanceEndEditable --><!-- InstanceBeginEditable name='Breadcrumb' -->CAREERS OVERVIEW <!-- InstanceEndEditable --></td> </tr> <tr> <td bgcolor='#090000'><img height='1' width='25' alt='' src='images/spacer.gif'/></td> <td width='100%' bgcolor='#090000'><img height='1' width='655' alt='' src='images/spacer.gif'/></td> </tr> </tbody></table>";
  
  document.write(headerSource + sectionTitle + breadcrumb);
	
}

function writeFooter(){
	var footerSource='<DIV class="mmhide_footer">'+
						'&copy; Copyright 2004 Chicago Bridge &amp; Iron Company N.V.<br>'+
						'<a href="http://www.cbi.com/legal/default.aspx" class="mmhide_footer">Legal Information (General Provisions)</a><br>'+
						'All Rights Reserved.'+
					 '</DIV>';
	document.write(footerSource);
	

}
