
    function e_preloadImages() {
        //Usage: e_preloadImages('image1.gif', 'image2.gif', etc);
        if (document.images) {
            if (typeof(document.e) == 'undefined'){
              document.e = new Object();
        }
        document.e.loadedImages = new Array();
        // loop through each argument
        var argLength = e_preloadImages.arguments.length;
        for(arg=0;arg<argLength;arg++) {
          // for each argument create a new image.
          document.e.loadedImages[arg] = new Image();
          // set the source of that image to the current argument
          document.e.loadedImages[arg].src = e_preloadImages.arguments[arg];
        }
      }
    }
    
    function e_imageSwap(eImage, eSrc){
        var objStr,obj;
        // Usage: e_imageSwap(originalImage, 'newSourceUrl');
        // check if images are supported in the DOM
        if(document.images){
        // check to see whether you are using a name, number, or object
        if (typeof(eImage) == 'string') {
          // objStr is used for browser compatability with ie3 for the mac.
          objStr = 'document.' + eImage;
          obj = eval(objStr);
          obj.src = eSrc;
        } else if ((typeof(eImage) == 'object') && eImage && eImage.src) {
          eImage.src = daSrc;
        }
      }
    }
    
	function openWin(url,name,width,height,top,left) {
        window.open(url, name, "width="+width+",height="+Height+",top="+top+",left="+left+",alwaysRaised=yes,toolbar=0,directories=0,menubar=0,status=0,resizable=no,location=0,scrollbars=0,copyhistory=0");        
		}
		

