

		////////////////////////////////////////////////////////////////
		// Rollover Image Swapping Script by BC
		// All copyrights: BC / Valoris
		////////////////////////////////////////////////////////////////

		var sDefaultStatus = "";

		var bConstantStatus = true;

		var sImagesDir = "/images/nav/";

		var sDefault	=	"";
		var sHighlight	=	"_h";
		var sSelected	=	"_h";
		var sEmphasis	=	"_h";

		var aImages = new Array();

			// Fill in the data for each image:
			//  - the first parameter is the image's NAME,
			//  - the second what should be displayed in the STATUS BAR onMouseOver or OnClick,
			//  - the third : width of the image,
			//  - the fourth : height of the image.
			// The latter two are used to make the pre-loading faster.

			AddImage( "other" , "Other Interbrew jobsites" , 138 , 16 );
			AddImage( "home" , "Home" , 44 , 16 );
			AddImage( "sitemap" , "Sitemap" , 60 , 16 );
			AddImage( "who" , "Who are we" , 104 , 20 );
			AddImage( "offer" , "Offer & benefits" , 104 , 20 );
			AddImage( "jobs" , "Jobs" , 104 , 20 );
			AddImage( "apply" , "Apply now" , 104 , 20 );
			AddImage( "student" , "Student corner" , 104 , 20 );
			AddImage( "contact" , "Contact Us" , 79 , 16 );
		var sCurrent = "";



		// DO NOT ALTER any of the following code!

		var iNumberOfRollovers = aImages.length;

		var aButtons	=	new Array( iNumberOfRollovers );
		var aStatus		=	new Array( iNumberOfRollovers );

		var i;

		for ( i = 0 ; i < iNumberOfRollovers ; i++ )
		{
			if ( document.images )
			{
				aButtons[aImages[i].name]		=	new Array( 4 );

					aButtons[aImages[i].name]['d']				=	new Image( aImages[i].width , aImages[i].height );
						aButtons[aImages[i].name]['d'].src		=	sImagesDir + aImages[i].name + sDefault + ".jpg";

					aButtons[aImages[i].name]['h']				=	new Image( aImages[i].width , aImages[i].height );
						aButtons[aImages[i].name]['h'].src		=	sImagesDir + aImages[i].name + sHighlight + ".jpg";

					aButtons[aImages[i].name]['s']				=	new Image( aImages[i].width , aImages[i].height );
						aButtons[aImages[i].name]['s'].src		=	sImagesDir + aImages[i].name + sSelected + ".jpg";

					aButtons[aImages[i].name]['e']				=	new Image( aImages[i].width , aImages[i].height );
						aButtons[aImages[i].name]['e'].src		=	sImagesDir + aImages[i].name + sEmphasis + ".jpg";
			}

			aStatus[aImages[i].name]	=	aImages[i].status;
		}

		function ImageData( sName , sStatus , iWidth , iHeight )
		{
			this.name	=	sName;
			this.status	=	sStatus;
			this.width	=	iWidth;
			this.height	=	iHeight;
		}

		function AddImage( sName , sStatus , iWidth , iHeight )
		{
			var iIndex = aImages.length;

			aImages[iIndex] = new ImageData( sName , sStatus , iWidth , iHeight );
		}

		function SwapImage( sImage , sMode )
		{
			if ( document.images )
			{
				if ( sMode == 's' && sImage != sCurrent )
				{
					if ( sCurrent )
					{
						document.images[sCurrent].src = aButtons[sCurrent]['d'].src;
					}

					sCurrent = sImage;
				}

				if ( sMode == 'd' && sImage == sCurrent )
				{
					document.images[sImage].src = aButtons[sImage]['s'].src;
				}
				else
				{
					if ( sImage )
					{
						if ( sImage == sCurrent && sMode == 'h' )
						{
							document.images[sImage].src = aButtons[sImage]['e'].src;
						}
						else
						{
							document.images[sImage].src = aButtons[sImage][sMode].src;
						}
					}
				}
			}

			if ( sMode == 'd' )
			{
				if ( bConstantStatus )
				{
					if ( sCurrent )
					{
						defaultStatus = '' + aStatus[sCurrent];
					}
				}
				else
				{
					defaultStatus = sDefaultStatus;
				}
			}
			else
			{
				window.status = '' + aStatus[sImage];
			}
		}

			function SetDefaultSelection()
		{
			if ( sCurrent )
			{
				SwapImage( sCurrent , 's' );
			}

			return true;
		}

		if ( ! bConstantStatus )
		{
			defaultStatus = sDefaultStatus;
		}

		// End of script

function jumpMenu(targ,selObj,restore)
{
	parent.frames['content'].location.href=targ+"&sSelItem="+selObj.options[selObj.selectedIndex].value;
	if (restore)
		selObj.selectedIndex = 0;
}

function jumpTicker(vacID)
{
	parent.frames['content'].location.href='/engine.asp?sPage=InnerFrameSet&iSection=3&sLoadHostPage=ViewJob&iVacancy=' + vacID;
}

function BC_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=BC_findObj(n,d.layers[i].document); return x;
}

function BC_showHideLayers() { 
  var i,p,v,obj,args=BC_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=BC_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}

function BC_preloadImages() { 
  var d=document; if(d.images){ if(!d.BC_p) d.BC_p=new Array();
    var i,j=d.BC_p.length,a=BC_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.BC_p[j]=new Image; d.BC_p[j++].src=a[i];}}
}

function BC_swapImgRestore() { 
  var i,x,a=document.BC_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function BC_findObj(n, d) { 
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=BC_findObj(n,d.layers[i].document); return x;
}

function BC_swapImage() { 
  var i,j=0,x,a=BC_swapImage.arguments; document.BC_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=BC_findObj(a[i]))!=null){document.BC_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function BC_openBrWindow(theURL,winName,features) { 
  window.open(theURL,winName,features);
}

function Popup(psURL,psWidth,psHeight)
{
	var sURL = psURL;
	window.open(sURL,'','width=' + psWidth + ',height=' + psHeight + ',directories=no,location=no,menubar=no,resizable=no,scrollbars=yes,status=no,toolbar=no');
}


function BC_checkPlugin(plgIn, theURL, altURL, autoGo) { 
  var ok=false; document.BC_returnValue = false;
  with (navigator) if (appName.indexOf('Microsoft')==-1) ok=(plugins && plugins[plgIn]);
  else if (appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    if (plgIn.indexOf("Flash")!=-1 && window.BC_flash!=null) ok=window.BC_flash;
    else if (plgIn.indexOf("Director")!=-1 && window.BC_dir!=null) ok=window.BC_dir;
    else ok=autoGo; }
  if (!ok) theURL=altURL; if (theURL) window.location=theURL;
}

function BC_flashCheck()	{
	BC_checkPlugin('Shockwave Flash','','/engine.asp?sPage=Frameset&sFlashIntro=no&sMenuflash=no',true)
}

function printit(){  
	if (window.print) {
		window.print() ;  
	} else {
    var WebBrowser = '<OBJECT ID="WebBrowser1" WIDTH=0 HEIGHT=0 CLASSID="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2"></OBJECT>';
		document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
    WebBrowser1.ExecWB(6, 2);//Use a 1 vs. a 2 for a prompting dialog box    
    WebBrowser1.outerHTML = "";  
	}
}

