agent = navigator.userAgent;

  rollovercheck = 0;

  if (agent.substring(0,7) == "Mozilla")

  {

    if (parseInt(agent.substring(8,9)) >= 3) { rollovercheck=1; }

    if (agent.indexOf("MSIE 3") != -1) { rollovercheck=0; }

  }



if (rollovercheck) {  // If the image object exists



// Preload images



{




but0 = new Image();

but0.src = "../pix/sub_nav_00.gif";

but0x = new Image();

but0x.src = "../pix/sub_nav_00x.gif";


but1 = new Image();

but1.src = "../pix/sub_nav_08.gif";

but1x = new Image();

but1x.src = "../pix/sub_nav_08x.gif";


but2 = new Image();

but2.src = "../pix/hdr_gdbbs.gif";

but2x = new Image();

but2x.src = "../pix/hdr_gdbbs_on.gif";


but3 = new Image();

but3.src = "../pix/sub_nav_01.gif";

but3x = new Image();

but3x.src = "../pix/sub_nav_01x.gif";


but4 = new Image();

but4.src = "../pix/sub_nav_02.gif";

but4x = new Image();

but4x.src = "../pix/sub_nav_02x.gif";



but5 = new Image();

but5.src = "../pix/sub_nav_03.gif";

but5x = new Image();

but5x.src = "../pix/sub_nav_03x.gif";



but6 = new Image();

but6.src = "../pix/sub_nav_04.gif";

but6x = new Image();

but6x.src = "../pix/sub_nav_04x.gif";



but7 = new Image();

but7.src = "../pix/sub_nav_05.gif";

but7x = new Image();

but7x.src = "../pix/sub_nav_05x.gif";



but8 = new Image();

but8.src = "../pix/sub_nav_06.gif";

but8x = new Image();

but8x.src = "../pix/sub_nav_06x.gif";



but9 = new Image();

but9.src = "../pix/sub_nav_07.gif";

but9x = new Image();

but9x.src = "../pix/sub_nav_07x.gif";



	}

}



function changeImage(imgDocID,imgObjName) {

//  manages mouse click image behaviours

//   imgDocID - the name or number of the document image to be replaced

//   imgObjName - the name of the image object to be swapped in



 if (rollovercheck) { // If the image object exists

		{

		document.images[imgDocID].src = eval(imgObjName + ".src");

		}

	}

}