browsok = (((navigator.appName == "Netscape")

&& (parseInt(navigator.appVersion) >= 3))

|| ((navigator.appName == "Microsoft Internet Explorer")

&& (parseInt(navigator.appVersion)>=3)));



if(browsok){

  // MouseOn

home1 = new Image(132, 19);

home1.src = "common/home_on.gif";



about1 = new Image(132, 23);

about1.src = "common/about_on.gif";



machining1 = new Image(132, 33);

machining1.src = "common/machining_on.gif";



materials1 = new Image(132, 34);

materials1.src = "common/materials_on.gif";



guide1 = new Image(132, 35);

guide1.src = "common/guide_on.gif";



submit1 = new Image(132, 23);

submit1.src = "common/submit_on.gif";



contact1 = new Image(132, 22);

contact1.src = "common/contact_on.gif";



learn1 = new Image(88, 10);

learn1.src = "common/learn_on.gif";



learnb1 = new Image(88, 10);

learnb1.src = "common/learn_on.gif";











  // MouseOff

home0 = new Image(132, 19);

home0.src = "common/home_off.gif";



about0 = new Image(132, 23);

about0.src = "common/about_off.gif";



machining0 = new Image(132, 33);

machining0.src = "common/machining_off.gif";



materials0 = new Image(132, 34);

materials0.src = "common/materials_off.gif";



guide0 = new Image(132, 35);

guide0.src = "common/guide_off.gif";



submit0 = new Image(132, 23);

submit0.src = "common/submit_off.gif";



contact0 = new Image(132, 22);

contact0.src = "common/contact_off.gif";



learn0 = new Image(88, 10);

learn0.src = "common/learn_off.gif";



learnb0 = new Image(88, 10);

learnb0.src = "common/learn_off.gif";











}

function mouseon(n){

     if(browsok){

          imageON = eval(n + "1.src");

          document [n].src = imageON;

          }

}

function mouseoff(n){

     if(browsok){

imageOFF = eval(n + "0.src");

     document [n].src = imageOFF;

          }

}















function openWin(url, width, height) {



                            windowName = "buttons";

                            params = "toolbar=0,";

                            params += "location=0,";

                            params += "directories=0,";

                            params += "status=0,";

                            params += "menubar=0,";

                            params += "scrollbars=1,";

                            params += "resizable=1,";



                            params += "width="+width+",";

                            params += "height="+height;



                            win = window.open(url, windowName, params);

                            win.opener.name = "opener";

}