<!--// 
// BEGIN Standard popup window script BEGIN //
   window.name="opener";

   function popUpBigImage(url) {
      var detWindow=""
      detWindow=window.open(url,'BIGimg','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=734,height=470');
   }


   function popUpBigImageWthNav(url) {
      var detWindow=""
      detWindow=window.open(url,'BIGimg', 'menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=734,height=470');
   }   


   function popUpBigImagePrintable(url) {
      var detWindow=""
      detWindow=window.open(url,'BIGimgPrint','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=240,height=360');
   }

   function popUpTallImage(url) {
      var detWindow=""
      detWindow=window.open(url,'TALLimg','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=420,height=620');
   }

   function popUpBigImageSecondary(url) {
      var detWindow=""
      detWindow=window.open(url,'TALLDetailimg','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no,width=420,height=620');
   }

   function goToURL(url) {
      if (url != "") { self.location=url; }
   }

// END Standard popup window script END //   


// BEGIN  winners popup window script BEGIN //
  window.name="winners";

   function popWinners(url) {
      var detWindow=""
      detWindow=window.open(url,'Winners','menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=yes,resizable=yes,width=350,height=550');
   }
// END winners popup window script END //   

 
 
 
      function gotosite(site) {
                        if (site != "") {
                   self.location=site; } 
                   }
				   
	  function gotonewsite(site) {
	  	if (site != "") {
			newWindow = "";
			newWindow = window.open(site,'newWin');
		}
	  }
	
	/* master roll over code								 
	 Author : Daniel Nolan
	 http://www.bleedingego.co.uk/webdev.php
	 add the attribute class="imgover" to images that requires a mouseover 
     this image must be named exactly the same as the original image,      
	 but it needs _o on the end of the name in the same directory as the   
	 original. 															 
	*/

function initRollovers() {
	if (!document.getElementById) return
	
	var aPreLoad = new Array();
	var sTempSrc;
	var aImages = document.getElementsByTagName('img');
	
	for (var i = 0; i < aImages.length; i++) {		
		if (aImages[i].className == 'imgover') {
			var src = aImages[i].getAttribute('src');
			var ftype = src.substring(src.lastIndexOf('.'), src.length);
			var hsrc = src.replace(ftype, '_on'+ftype);

			aImages[i].setAttribute('hsrc', hsrc);
			
			aPreLoad[i] = new Image();
			aPreLoad[i].src = hsrc;
			
			aImages[i].onmouseover = function() {
				sTempSrc = this.getAttribute('src');
				this.setAttribute('src', this.getAttribute('hsrc'));
			}	
			
			aImages[i].onmouseout = function() {
				if (!sTempSrc) sTempSrc = this.getAttribute('src').replace('_on'+ftype, ftype);
				this.setAttribute('src', sTempSrc);
			}
		}
	}
}

window.onload = initRollovers;

/*
Exit Popup mmertens|mstigliano 10/16/03


var noPopFlag = false;
var monitorPage = "/exitpop/exitPopMonitor.html";

// Google|Partner safe - no popup if pathname includes "partner"
var partnerURIpath = location.pathname;
var partnerURI = partnerURIpath.indexOf("partner");

var allcookies = document.cookie;
var stopFlag = allcookies.indexOf("exitpop=");

if (stopFlag == -1 && partnerURI == -1){

onunload = launchMonitor;

}

function launchMonitor(){
if (!noPopFlag){
var ext = "";
ext = window.open(monitorPage,"ext","toolbar=no,menubar=no,status=no,directories=no,location=no,scrollbars=no,resizable=no,width=1,height=1,left=10000,top=10000,screenX=10000,screenY=10000");
self.focus(); 
}
}

function condenet_noPop(value){ 
noPopFlag = value;
}
*/	
	//-->
