/* Use this syntax in the HTML:
   <a href="openWin('[url]',[width],[height]);">xxx</a> */
	 
function openWin(theURL,width,height) {

	var w = 480, h = 340;
	
	if (document.all || document.layers) {
		w = screen.availWidth;
		h = screen.availHeight;
	}

	var popW = width, popH = height;
	var leftPos = (w-popW)/2, topPos = (h-popH)/2;
	
	window.open(theURL,'popup','width='+width+',height='+height+',toolbar=no,menubar=no,status=no,scrollbars=no,resize=no,top='+topPos+',left='+leftPos);
}
// FOr Spanish or Espanol All you need to do is Change 'images' directory to 'imagesEsp' for all spanish graphics Seemed the easiest way - Ian

if (document.images) {
  image1on = new Image();
  image1on.src = "imagesEsp/splashHome_On.gif";
	
	image2on = new Image();
  image2on.src = "imagesEsp/splashServices_On.gif";
	
	image3on = new Image();
  image3on.src = "imagesEsp/splashDownloadArea_On.gif";
	
	image4on = new Image();
  image4on.src = "imagesEsp/splashaboutUs_On.gif";
	
	image5on = new Image();
  image5on.src = "imagesEsp/splashContact_On.gif";
	
	image6on = new Image();
  image6on.src = "imagesEsp/splashReqQuote_On.gif";
	
	image7on = new Image();
  image7on.src = "imagesEsp/splashSynLinks_On.gif";


  image1off = new Image();
  image1off.src = "imagesEsp/splashHome_Off.gif";
	
	image2off = new Image();
  image2off.src = "imagesEsp/splashServices_Off.gif";
	
	image3off = new Image();
  image3off.src = "imagesEsp/splashDownloadArea_Off.gif";
	
	image4off = new Image();
  image4off.src = "imagesEsp/splashaboutUs_Off.gif";
	
	image5off = new Image();
  image5off.src = "imagesEsp/splashContact_Off.gif";	
	
	image6off = new Image();
  image6off.src = "imagesEsp/splashReqQuote_Off.gif";
	
	image7off = new Image();
  image7off.src = "imagesEsp/splashSynLinks_Off.gif";
	

}

function changeImages() {
  if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
    }
  }
}


