
<!--

if(document.images){

        icon1ro = new Image();
        icon1ro.src = "images/hp-about-on.gif";
        icon1 = new Image();
        icon1.src = "images/hp-about-off.gif";

        icon2ro = new Image();
        icon2ro.src = "images/hp-services-on.gif";
        icon2 = new Image();
        icon2.src = "images/hp-services-off.gif";
		
        icon3ro = new Image();
        icon3ro.src = "images/hp-quotations-on.gif";
        icon3 = new Image();
        icon3.src = "images/hp-quotations-off.gif";

        icon4ro = new Image();
        icon4ro.src = "images/hp-employment-on.gif";
        icon4 = new Image();
        icon4.src = "images/hp-employment-off.gif";
		
        icon5ro = new Image();
        icon5ro.src = "images/hp-clients-on.gif";
        icon5 = new Image();
        icon5.src = "images/hp-clients-off.gif";
				
        icon6ro = new Image();
        icon6ro.src = "images/hp-employees-on.gif";
        icon6 = new Image();
        icon6.src = "images/hp-employees-off.gif";


		caption = new Image();

        icon1cap = new Image();
        icon1cap.src = "images/hp-image-about.jpg";

        icon2cap = new Image();
        icon2cap.src = "images/hp-image-services.jpg";

        icon3cap = new Image();
        icon3cap.src = "images/hp-image-quotations.jpg";

        icon4cap = new Image();
        icon4cap.src = "images/hp-image-employment.jpg";

        icon5cap = new Image();
        icon5cap.src = "images/hp-image-clients.jpg";
		
		icon6cap = new Image();
        icon6cap.src = "images/hp-image-employees.jpg";



function enterRollover(name) {

                if (document.images) {

                document[name].src = eval(name + "ro.src");

                document.caption.src = eval(name + "cap.src");


}}

function exitRollover(name) {

                if (document.images) {

                document[name].src = eval(name + ".src");

                document.caption.src = "images/hp-image-default.jpg"


}}

}


//Random Image Script
//Number of Images

var maxNum = 6

//Show random image

function loadImage() {

        var tempNum = 0
        tempNum = (parseInt(Math.random()*maxNum+1))
        showImage(tempNum)

}

//load random image to screen
function showImage(num) {

        if ((num > 0) && (num <= maxNum)) {
                document.writeln("<img src='images/circle1-image" + num + ".gif' width='127' height='107'>")
        }


} //end image 1

function loadImage2() {

        var tempNum = 0
        tempNum = (parseInt(Math.random()*maxNum+1))
        showImage2(tempNum)

}

function showImage2(num) {

        if ((num > 0) && (num <= maxNum)) {
                document.writeln("<img src='images/circle2-image" + num + ".gif' width='130' height='107'>")
        }

} // end image 2 

function loadImage3() {

        var tempNum = 0
        tempNum = (parseInt(Math.random()*maxNum+1))
        showImage3(tempNum)

}

function showImage3(num) {

        if ((num > 0) && (num <= maxNum)) {
                document.writeln("<img src='images/circle3-image" + num + ".gif' width='171' height='107'>")
        }

} // end image 3
// end random images


 // main pop up window script  
 window.name = "henley";
 var popWin = null    // use this when referring to pop-up window
 var winCount = 0
 var winName = "popWin"

 function openPopWin(winURL, winWidth, winHeight, winFeatures, winFeat){
   winName = "popWin" + winCount++ //unique name for each pop-up window
   closePopWin()           // close any previously opened pop-up window
   {
   if (openPopWin.arguments.length == 4){  // any additional features? 
     winFeatures = "," + winFeatures;
	}
   else {
     winFeatures = "";
	}}
   
   popWin = window.open(winURL, winName, "width=" + winWidth 
            + ",height=" + winHeight + winFeatures + 'toolbar=yes,scrollbars=yes,location=no,statusbar=yes,menubar=yes,left=20,top=20')
   }

 function closePopWin(){    // close pop-up window if it is open 
   if (navigator.appName != "Microsoft Internet Explorer" || parseInt(navigator.appVersion) >=4) //do not close if early IE
     if(popWin != null) if(!popWin.closed) popWin.close() 
   }

 // Photo pop-up window script
 var popPhoto = null    // use this when referring to photo pop-up windows
 var winCount = 0
 var winName = "popPhoto"

 function openPopPhoto(winURL, winWidth, winHeight){
   winName = "popPhoto" + winCount++ //unique name for each pop-up window
   closePopPhoto()           // close any previously opened pop-up window
  
   popPhoto = window.open(winURL, winName, "width=" + winWidth 
            + ",height=" + winHeight + 'toolbar=no,scrollbars=no,location=no,statusbar=yes,menubar=no,left=20,top=20')
   }

 function closePopPhoto(){    // close pop-up window if it is open 
   if (navigator.appName != "Microsoft Internet Explorer" || parseInt(navigator.appVersion) >=4) //do not close if early IE
     if(popPhoto != null) if(!popPhoto.closed) popPhoto.close() 
   }


//-->
