if (document.images) {       //if image object is available     

img0on = new Image();           
img0on.src = "images/buttons/overview_on.gif";
img0off = new Image();                 
img0off.src = "images/buttons/overview_off.gif";

img1on = new Image();           // MouseOver Images
img1on.src = "images/buttons/product_on.gif";
img1off = new Image();                 
img1off.src = "images/buttons/product_off.gif";

img2on = new Image();           
img2on.src = "images/buttons/world_on.gif";
img2off = new Image();                 
img2off.src = "images/buttons/world_off.gif";
 
img3on = new Image();           
img3on.src = "images/buttons/awards_on.gif";
img3off = new Image();                 
img3off.src = "images/buttons/awards_off.gif";
 
img4on = new Image();           
img4on.src = "images/buttons/board_on.gif";
img4off = new Image();                 
img4off.src = "images/buttons/board_off.gif";

img5on = new Image();           
img5on.src = "images/buttons/office_on.gif";
img5off = new Image();                 
img5off.src = "images/buttons/office_off.gif";
}

function imgOn(imgName) {        if (document.images) {
            document[imgName].src = eval(imgName + "on.src");
            }} 
function imgOff(imgName) {        if (document.images) {
            document[imgName].src = eval(imgName + "off.src");
            }}
///////////////////////////////////////////////////////////////////////
function rollImg(strImg, strState) {
	document.images[strImg].src = eval(strImg + '_' + strState + '.src;');
}

function preload(imgObj,imgSrc) {
    eval(imgObj + '= new Image()')
    eval(imgObj + '.src = "'+imgSrc+'"')
}

