if (document.images) {            // Active Images
	img1on = new Image();      
    img1on.src = "res/aboutus_on.jpg"; 
	img2on = new Image();      
    img2on.src = "res/services_on.jpg"; 
	img3on = new Image();      
    img3on.src = "res/products_on.jpg";
	img4on = new Image();      
    img4on.src = "res/contact_us_on.jpg";
	img5on = new Image();      
    img5on.src = "res/home_on.jpg";
	
  
    img1off = new Image();      
    img1off.src = "res/aboutus.jpg";
	img2off = new Image();      
    img2off.src = "res/services.jpg"; 
	img3off = new Image();      
    img3off.src = "res/products.jpg"; 
	img4off = new Image();      
    img4off.src = "res/contact_us.jpg";
	img5off = new Image();      
    img5off.src = "res/home.jpg";
	
}



// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
        }
}

// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
        }
}

// Function for image swap.
function imgSwapX(strTarget, imgName) {
	document[strTarget].src = imgName;
}


// Set URLs for imagemap
function fncSetImageMap(intImageIndex,strURLa) {
	var strURLx;
	strURLx = 'javascript: openBrWindow(\'' + strURLa + '\',\'\',\'width=400,height=645,scrollbars=no\')\;';
	document.links[document.links.length - intImageIndex].href = strURLx; 
}

// -->