var loaded = 0;
var baseURL = "http://www.oconnorgroup.biz/rapid/";

function PreLoad() {

if (document.images != null) {

clickme1 = new Image();
clickme1.src = baseURL + "images/button.gif";
clickme2 = new Image();
clickme2.src = baseURL + "images/button-green.gif";
clickme3 = new Image();
clickme3.src = baseURL + "images/button-yellow.gif";

}
	loaded = 1;
}

function hiLite(imgDocID,imgObjName) {
if (document.images !=null) {
  if (loaded)
   document.images[imgDocID].src = eval(imgObjName + ".src")
  }
}

function popup(winName,URL,height,width,scroll) {

 if(URL.substring(0,7) != "http://") {
  var URL = baseURL + URL;
 }

 if(!window.NewWindow || NewWindow.closed || NewWindow == null) {
  var popup = window.open(URL,winName,"height=" + height + ",width=" + width + ",screenX=28,screenY=25,status=yes,scrollbars=" + scroll + ",toolbar=no,directories=no,menubar=no,location=no");
  NewWindow = popup;
 }else{

 if (NewWindow.name != winName) {
  var popup = window.open(URL,winName,"height=" + height + ",width=" + width + ",screenX=28,screenY=25,status=yes,scrollbars=" + scroll + ",toolbar=no,directories=no,menubar=no,location=no");
  NewWindow = popup;
 }else{
  NewWindow.location.href = URL;
  NewWindow.focus();
 }

}
}