//check if the browser is Navigator 3 or higher:
agent = navigator.userAgent;
browserVer = 2;
if (agent.substring(0, 7) == "Mozilla")
{
	if (parseInt(agent.substring(8,9))>=3) {browserVer = 1;}
}

//preload universal images:
if (browserVer ==1) {
button1 = new Image();
button1.src = "../images/buttons/b_introduction_off_sub.gif";
button1on = new Image();
button1on.src = "../images/buttons/b_introduction_on_sub.gif";

button2 = new Image();
button2.src = "../images/buttons/b_gallery_off_sub.gif";
button2on = new Image();
button2on.src = "../images/buttons/b_gallery_on_sub.gif";

button3 = new Image();
button3.src = "../images/buttons/b_collection_off_sub.gif";
button3on = new Image();
button3on.src = "../images/buttons/b_collection_on_sub.gif";

button4 = new Image();
button4.src = "../images/buttons/b_search_off_sub.gif";
button4on = new Image();
button4on.src = "../images/buttons/b_search_on_sub.gif";

button5 = new Image();
button5.src = "../images/buttons/b_specification_off_sub.gif";
button5on = new Image();
button5on.src = "../images/buttons/b_specification_on_sub.gif";

button6 = new Image();
button6.src = "../images/buttons/b_agent_off_sub.gif";
button6on = new Image();
button6on.src = "../images/buttons/b_agent_on_sub.gif";

button7 = new Image();
button7.src = "../images/buttons/b_press_off_sub.gif";
button7on = new Image();
button7on.src = "../images/buttons/b_press_on_sub.gif";

button8 = new Image();
button8.src = "../images/buttons/b_whatsnew_off_sub.gif";
button8on = new Image();
button8on.src = "../images/buttons/b_whatsnew_on_sub.gif";

button9 = new Image();
button9.src = "../images/buttons/b_contact_off_sub.gif";
button9on = new Image();
button9on.src = "../images/buttons/b_contact_on_sub.gif";

button10 = new Image();
button10.src = "../introduction/images/buttons/b_overview_off.gif";
button10on = new Image();
button10on.src = "../introduction/images/buttons/b_overview_on.gif";

button11 = new Image();
button11.src = "../introduction/images/buttons/b_material_off.gif";
button11on = new Image();
button11on.src = "../introduction/images/buttons/b_material_on.gif";

button12 = new Image();
button12.src = "../introduction/images/buttons/b_durability_off.gif";
button12on = new Image();
button12on.src = "../introduction/images/buttons/b_durability_on.gif";

button13 = new Image();
button13.src = "../introduction/images/buttons/b_care_off.gif";
button13on = new Image();
button13on.src = "../introduction/images/buttons/b_care_on.gif";

button14 = new Image();
button14.src = "../collection/images/buttons/b_luxo_off.gif";
button14on = new Image();
button14on.src = "../collection/images/buttons/b_luxo_on.gif";

button15 = new Image();
button15.src = "../collection/images/buttons/b_luxolw_off.gif";
button15on = new Image();
button15on.src = "../collection/images/buttons/b_luxolw_on.gif";

button16 = new Image();
button16.src = "../collection/images/buttons/b_celerie_off.gif";
button16on = new Image();
button16on.src = "../collection/images/buttons/b_celerie_on.gif";

button17 = new Image();
button17.src = "../collection/images/buttons/b_essentials_off.gif";
button17on = new Image();
button17on.src = "../collection/images/buttons/b_essentials_on.gif";

button24 = new Image();
button24.src = "../collection/images/buttons/b_accessories_off.gif";
button24on = new Image();
button24on.src = "../collection/images/buttons/b_accessories_on.gif";

button18 = new Image();
button18.src = "../agent/images/buttons/b_trade_off.gif";
button18on = new Image();
button18on.src = "../agent/images/buttons/b_trade_on.gif";

button19 = new Image();
button19.src = "../agent/images/buttons/b_ad_off.gif";
button19on = new Image();
button19on.src = "../agent/images/buttons/b_ad_on.gif";

button20 = new Image();
button20.src = "../agent/images/buttons/b_homefurnish_off.gif";
button20on = new Image();
button20on.src = "../agent/images/buttons/b_homefurnish_on.gif";

button21 = new Image();
button21.src = "../agent/images/buttons/b_fashion_off.gif";
button21on = new Image();
button21on.src = "../agent/images/buttons/b_fashion_on.gif";

button22 = new Image();
button22.src = "../agent/images/buttons/b_marine_off.gif";
button22on = new Image();
button22on.src = "../agent/images/buttons/b_marine_on.gif";

button23 = new Image();
button23.src = "../agent/images/buttons/b_automotive_off.gif";
button23on = new Image();
button23on.src = "../agent/images/buttons/b_automotive_on.gif";

button25 = new Image();
button25.src = "../specification/images/buttons/b_specdetail_off.gif";
button25on = new Image();
button25on.src = "../specification/images/buttons/b_specdetail_on.gif";

button26 = new Image();
button26.src = "../introduction/images/buttons/b_vacuum_off.gif";
button26on = new Image();
button26on.src = "../introduction/images/buttons/b_vacuum_on.gif";

button27 = new Image();
button27.src = "../gallery/images/buttons/b_wall_off.gif";
button27on = new Image();
button27on.src = "../gallery/images/buttons/b_wall_on.gif";

button28 = new Image();
button28.src = "../gallery/images/buttons/b_motorcycle_off.gif";
button28on = new Image();
button28on.src = "../gallery/images/buttons/b_motorcycle_on.gif";
}

function hilite(imgDocID, imgObjName) {
//manages mouseOver animations
//imgDocID - the name or number of the document image to be replaced
//imgObjName - the name of the image object to be swapped in

if (browserVer == 1) {
document.images[imgDocID].src = eval(imgObjName + ".src")
}}