function amI() {
        var agent       = navigator.userAgent;
        var version     = parseInt(navigator.appVersion);

        if( agent.indexOf('MSIE') != -1 ) {
                if( 4 <= version ) {
                        return true ;
                } 
                else {
                                        return false ;
                                }
        } 
        else {
                        if ((agent.indexOf('Mozilla') != -1) && ( 3 <= version )) {
                                return true ;
                        }
        }
        return false ;
}

var capable = amI();

//      Class arguments are...
//      nameOfImageObject,width, height, staticImage, mouseOverimage, HREF.


function Rollover(name,x,y,img1,img2,linkTo) {

        //var output = '<BR><IMG SRC="'+img1+'" WIDTH="'+x+'" HEIGHT="'+y+'" BORDER="0">' ;
        //output  = output.link(linkTo);
        
        var output = '<BR><A HREF="'+linkTo+'" onMouseOver="'+name
                +'.doOver()" onMouseOut="'+name+'.doOut()">'+'<IMG SRC="'
                +img1+'" WIDTH="'+x+'" HEIGHT="'+y+'" BORDER="0"></A>';
        
        document.write(output);
        if(!capable ) return ;
        this.over       = new Image(x,y);
        this.out        = new Image(x,y);
        this.over.src   = img2;
        this.out.src    = img1;
        this.link       = document.links[document.links.length-1];
        this.image      = document.images[document.images.length-1];
        
        // this.link.onmouseover   = new Function(name+".image.src = "+name+".over.src");
        // this.link.onmouseout    = new Function(name+".image.src = "+name+".out.src");
        
        this.doOver             = doOver ;
        this.doOut              = doOut ;
}

function doOver() {
        this.image.src = this.over.src;
}

function doOut() {
        this.image.src = this.out.src;
}


  conBrowser=0;
  function display(stuff) { window.status = stuff; }
  
function HighLight(musswitch) {
        if (conBrowser) {
                switchnavn = eval(musswitch + "on");
                document [musswitch].src = switchnavn.src;
                }
        }

function UndoHighLight(musswitch) {
        if (conBrowser) {
                switchnavn = eval(musswitch + "off");
                document [musswitch].src = switchnavn.src;
                }
        }


  conBrowser=1;
  switch1on  = new Image(55,14);  switch1on.src  = 'image/home_o.jpg';
  switch1off = new Image(55,14);  switch1off.src = 'image/home.jpg';
  switch2on  = new Image(82,14);  switch2on.src  = 'image/products_o.jpg';
  switch2off = new Image(82,14);  switch2off.src = 'image/products.jpg';
  switch3on  = new Image(71,14);  switch3on.src  = 'image/contact_o.jpg';
  switch3off = new Image(71,14);  switch3off.src = 'image/contact.jpg';
  switch4on  = new Image(71,14);  switch4on.src  = 'image/touchless_o.jpg';
  switch4off = new Image(71,14);  switch4off.src = 'image/touchless.jpg';
  switch5on  = new Image(71,14);  switch5on.src  = 'image/brush_o.jpg';
  switch5off = new Image(71,14);  switch5off.src = 'image/brush.jpg';
  switch6on  = new Image(71,14);  switch6on.src  = 'image/water_o.jpg';
  switch6off = new Image(71,14);  switch6off.src = 'image/water.jpg';
  switch7on  = new Image(71,14);  switch7on.src  = 'image/pump_o.jpg';
  switch7off = new Image(71,14);  switch7off.src = 'image/pump.jpg';
  switch8on  = new Image(71,14);  switch8on.src  = 'image/presentation_o.jpg';
  switch8off = new Image(71,14);  switch8off.src = 'image/presentation.jpg';


function NewWindow(mypage, myname, w, h, scroll) {
		var winl = (screen.width - w) / 2;
		var wint = (screen.height - h) / 2;
		winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
		win = window.open(mypage, myname, winprops)
		if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
		}