// Pre-loading Rollover Script

bName = navigator.appName;
bVer = parseInt(navigator.appVersion);
    if ((bName == "Netscape" && bVer >= 3) || 
        (bName == "Microsoft Internet Explorer" && bVer >= 4)) br = "n3"; 
    else br = "n2";
    if (br== "n3") { 
    img1on = new Image();
    img1on.src = "images/homeon2.gif";
    img1off = new Image();
    img1off.src = "images/homeoff2.gif";

    img2on = new Image();
    img2on.src = "images/abouton2.gif";
    img2off = new Image();
    img2off.src = "images/aboutoff2.gif";

    img3on = new Image();
    img3on.src = "images/palmson2.gif";
    img3off = new Image();
    img3off.src = "images/palmsoff2.gif";

    img4on = new Image();
    img4on.src = "images/processon2.gif";
    img4off = new Image();
    img4off.src = "images/processoff2.gif";

    img5on = new Image();
    img5on.src = "images/contacton2.gif";
    img5off = new Image();
    img5off.src = "images/contactoff2.gif";
	
	// -----------------------------------
	
	im1com = new Image();
	im1com.src = "images/pindo.jpg";
	
	im2com = new Image();
	im2com.src = "images/canary.jpg";

	im3com = new Image();
	im3com.src = "images/coconut.jpg";

	im4com = new Image();
	im4com.src = "images/filifera.jpg";

	im5com = new Image();
	im5com.src = "images/robusta.jpg";

	im6com = new Image();
	im6com.src = "images/medfan.jpg";
	
	im7com = new Image();
	im7com.src = "images/reclinata.jpg";
	
	// -----------------------------

    nexton = new Image();
    nexton.src = "images/right2on.gif";
    nextoff = new Image();
    nextoff.src = "images/right2.gif";

    prevon = new Image();
    prevon.src = "images/left2on.gif";
    prevoff = new Image();
    prevoff.src = "images/left2.gif";

}
function imgAct(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "on.src");
    }
}
function imgInact(imgName) {
    if (br == "n3") {
    document[imgName].src = eval(imgName + "off.src");
    }
}

// Common Rollover

function showImg(showImgName) {
	if (br == "n3") {
	document['common'].src = eval(showImgName + "com.src");
	}
}