// popup

var xPos = (screen.width/2)-(450/2);
var yPos = (screen.height/2)-(450/2);
var pWin = null;

//open pop wait screen
function showPop1(sLoc) {
	pWin = window.open(sLoc,"pWin", "height=2,width=2,status=0,menubar=0,location=0,resizable=1,titlebar=0,scrollbars=1,top=0,left=0");
	pWin.resizeTo (500, 500);
	pWin.moveTo (xPos, yPos);
}

// check if the browser is Navigator 3 or higher:
agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0,7) == "Mozilla")
{
    if (parseInt(agent.substring(8,9)) >= 3) {
          browserVer = 1;
     }
}

// preload universal images:

if(browserVer == 1){

twoon = new Image(282,33);
twooff = new Image(282,33);

fouron = new Image(143,52);
fouroff = new Image(143,52);

twoon.src = "images/request_on.gif";
twooff.src = "images/request.gif";

fouron.src = "images/contact_on.gif";
fouroff.src = "images/contact.gif";

}
function press(imgName) {
    if (document.images)
      document[imgName].src = eval(imgName + 'on.src');
}
function release(imgName) {
  if (document.images)
    document[imgName].src = eval(imgName + 'off.src');
}
// -->
