

function load() {
	var imgs = load.arguments;
	if (document.images) {
		if (document.preload == null) document.preload = new Array();
		var i = document.preload.length;
		for (var j = 0; j < imgs.length; j++) {
			document.preload[i] = new Image();
			document.preload[i++].src = imgs[j];
		}
	}
}

function restore(){ 
	var i, x, a = document.swaps; 
	if( a ) for( i = 0; i < a.length; i++)
		if( a[i].oldSrc ) a[i].src=a[i].oldSrc;
}

function swap(){ 
	var i, j = 0, a = swap.arguments; 
	document.swaps = new Array; 
	for( i = 0; i < ( a.length - 1 ); i += 2 ){
		document.swaps[j++] = a[i];
		if( !a[i].oldSrc ) a[i].oldSrc = a[i].src;
		a[i].src = a[i + 1];
	}
}

function openW(url, name, w, h, sc, rs, mb, xposi, yposi) {
	var windowprops = "width=" + w + ",height=" + h + ",scrollbars=" + sc + ",resizable=" + rs + ",menubar=" + mb + ",screenX=" + xposi + ",screenY=" + yposi;
	popup = window.open(url, name, windowprops);
	setTimeout('popup.focus();',100);
}

function init() {
	load('images/menu_btn_prodserv_o.gif','images/menu_btn_rtbl_o.gif','images/menu_btn_dbwecsv2_o.gif',
	'images/menu_btn_faq_o.gif','images/menu_btn_about_o.gif','images/menu_btn_cntct_o.gif');
}

// check for netscape fix to layer resizing

function WM_netscapeCssFix()
{
  if (document.WM.WM_netscapeCssFix.initWindowWidth != window.innerWidth || document.WM.WM_netscapeCssFix.initWindowHeight != window.innerHeight)
  {
    document.location = document.location;
  }
}

  // This function checks to make sure the version of Netscape 
  // in use contains the bug; if so, it records the window's 
  // width and height and sets all resize events to be handled 
  // by the WM_netscapeCssFix() function.

if (is_nav4)
 {
    if (typeof document.WM == 'undefined'){
      document.WM = new Object;
    }
    if (typeof document.WM.WM_scaleFont == 'undefined') {
      document.WM.WM_netscapeCssFix = new Object;
      document.WM.WM_netscapeCssFix.initWindowWidth = window.innerWidth;
      document.WM.WM_netscapeCssFix.initWindowHeight = window.innerHeight;
    }
    window.onresize = WM_netscapeCssFix;
  }
