// JavaScript Document

		// Pre load images for Gallery rollover Icon1
        if (document.images) {
            color1 = new Image
            white1 = new Image
        
            color1.src = "../images/stavros.top.jpg"
            white1.src = "../images/stavros.tint.thmb.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		// Pre load images for Gallery rollover Icon2
        if (document.images) {
            color2 = new Image
            white2 = new Image
        
            color2.src = "../images/vellumthmb.gif"
            white2.src = "../images/vellumthmbtint.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		// Pre load images for Gallery rollover Icon3
        if (document.images) {
            color3 = new Image
            white3 = new Image
        
            color3.src = "../images/wht.cat.thmb.gif"
            white3.src = "../images/wht.cat.tint.thmb.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		// Pre load images for Gallery rollover Icon4
        if (document.images) {
            color4 = new Image
            white4 = new Image
        
            color4.src = "../images/blue.cat.gif"
            white4.src = "../images/blue.cat.tint.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		
		// Pre load images for Gallery rollover Icon5
        if (document.images) {
            color5 = new Image
            white5 = new Image
        
            color5.src = "../images/yellowcat.thmb.gif"
            white5.src = "../images/yellowcat.tint.thmb.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		
		// Pre load images for Gallery rollover Icon6
        if (document.images) {
            color6 = new Image
            white6 = new Image
        
            color6.src = "../images/citibank.thmb.gif"
            white6.src = "../images/citibank.tint.thmb.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		// Pre load images for Gallery rollover Icon7
        if (document.images) {
            color7 = new Image
            white7 = new Image
        
            color7.src = "../images/industrial.thmb.gif"
            white7.src = "../images/industrial.tint.thmb.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		
		// Pre load images for Gallery rollover Icon8
        if (document.images) {
            color8 = new Image
            white8 = new Image
        
            color8.src = "../images/waste.thmb.jpg"
            white8.src = "../images/waste.thmb.tint.gif"
        }
        
        
        function swapImage(thisImage,newImage) {
            if (document.images) {
                document[thisImage].src = eval(newImage + ".src")
            }
        }
		
		
		
  var aryImages = new Array(2);

// Image Swap Outs for the Gallery Page
  aryImages[0] = "../images/stavros.top.jpg";
  aryImages[1] = "../images/g10lg.jpg";
  aryImages[2] = "../images/g15.lg.jpg";
  aryImages[3] = "../images/g29.lg.jpg";
  aryImages[4] = "../images/g30.lg.jpg";
  aryImages[5] = "../images/g40.lg.jpg";
  aryImages[6] = "../images/g6.lg.jpg";
  aryImages[7] = "../images/g32.lg.jpg";


  for (i=0; i < aryImages.length; i++) {
    var preload = new Image();
    preload.src = aryImages[i];
  }

  function swap(imgIndex) {
    document['imgMain'].src = aryImages[imgIndex];
  }
