<!--

var loaded=0;

function resizeMenuPos() {
	if (IE4 && loaded)
	  history.go(0);
	  return true;

}


function swapImage(imgName, state) {

//	This function allows any rollover to swap out any other named image on a page.
//      A specific naming convention mut be used when declaring images in a function:
//		[name]_off - for the default state
//		[name]_on - for the rollover state
//	Additional states can be called from the mouseOver event as required.
//
//	imgName : the name of the image as set in the 'preLoads' function.
//      state   : declares which state of the image to display [on|off].

	if (document.images && loaded==1)
	{
		imgSwap = eval (imgName + "_" + state + ".src");
		document[imgName].src = imgSwap;
	}
}

function popUpWin(myLink,windowName) {

//      Open a pop-up window with a user URL

  if(! window.focus)return;
  var myWin=window.open(myLink,windowName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=285,height=350");
  myWin.focus();

}


function popUpWin2(myLink,windowName, height,width) {

//      Open a pop-up window with a user URL

  if(! window.focus)return;
  var myWin=window.open(myLink,windowName,"toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width="+width+",height="+height);
  myWin.focus();

}

  function preLoads()
  {
     if (document.images)
     {
	who_on=new Image(); who_on.src="media/images/whoMenu.gif";
	who_off=new Image(); who_off.src="media/images/nav_whoOFF.gif";
	inv_on=new Image(); inv_on.src="../images/whoMenu.gif";
	inv_off=new Image(); inv_off.src="../images/nav_whoOFF.gif";
	press_on=new Image(); press_on.src="media/images/pressMenu.gif";
	press_off=new Image(); press_off.src="media/images/nav_pressOFF.gif";
	contact_on=new Image(); contact_on.src="media/images/nav_contactON.gif";
	contact_off=new Image(); contact_off.src="media/images/nav_contactOFF.gif";

	dir_on=new Image(); dir_on.src="media/images/nav_dirON.gif";
	dir_off=new Image(); dir_off.src="media/images/nav_dirOFF.gif";

	invest_on=new Image(); invest_on.src="media/images/nav_investON.gif";
	invest_off=new Image(); invest_off.src="media/images/nav_investOFF.gif";

	loaded=1;
     }
  }

  var loaded=0;

//-->

