if (document.images) {
   
   modelson = new Image();
   modelson.src = "/images/buttons/models_h.jpg";
   modelsoff = new Image();
   modelsoff.src = "/images/buttons/models.jpg";
   
   dealerson = new Image();
   dealerson.src = "/images/buttons/dealers_h.jpg";
   dealersoff = new Image();
   dealersoff.src = "/images/buttons/dealers.jpg";
   
   dealon = new Image();
   dealon.src = "/images/buttons/graphitebutton_h.jpg";
   dealoff = new Image();
   dealoff.src = "/images/buttons/graphitebutton.jpg";
   
   specon = new Image();
   specon.src = "/images/buttons/specificationsbutton_h.jpg";
   specoff = new Image();
   specoff.src = "/images/buttons/specificationsbutton.jpg";
   
   customeron = new Image();
   customeron.src = "/images/buttons/customer_h.jpg";
   customeroff = new Image();
   customeroff.src = "/images/buttons/customer.jpg";
   
   artiston = new Image();
   artiston.src = "/images/buttons/links_h.jpg";
   artistoff = new Image();
   artistoff.src = "/images/buttons/links.jpg";
   
   
   supporton = new Image();
   supporton.src = "/images/buttons/support_h.jpg";
   supportoff = new Image();
   supportoff.src = "/images/buttons/support.jpg";
   
   
   
} 

function img_act(imgName) {
      if (document.images) {
        imgOn = eval(imgName + "on.src");
        document [imgName].src = imgOn;
      }
    }

    function img_inact(imgName) {
      if (document.images) {
        imgOff = eval(imgName + "off.src");
        document [imgName].src = imgOff;
      }
    }  
   
   
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'
	  win = window.open(mypage, myname, winprops)
	  if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	  }   
   
   var os = navigator.appVersion;
   var browser = navigator.appName;
   
   if (os.indexOf("Mac") != -1) {
     var fontsize = '10';
   } else {
     var fontsize = '9';
   } 
   
   document.writeln('<STYLE TYPE="text/css">');
   document.writeln('<!--');
   document.writeln('BODY      { font: normal '+ fontsize +'pt helvetica; color: #000000; }');
   document.writeln('P         { font: normal '+ fontsize +'pt helvetica; color: #000000; }');
   document.writeln('UL        { font: normal '+ fontsize +'pt helvetica; color: #000000; }');
   document.writeln('OL        { font: normal '+ fontsize +'pt helvetica; color: #000000; }');
   document.writeln('DL        { font: normal '+ fontsize +'pt helvetica; color: #000000; }');
   document.writeln('.modelw   { font: 16pt helvetica; color: #FFFFFF; }');
   document.writeln('.modelys  { font: 12pt helvetica; color: #FFCC00; }');
   document.writeln('.modely   { font: 16pt helvetica; color: #FFCC00; }');
   document.writeln('.modelo   { font: 16pt helvetica; color: #CC3300; }');
   document.writeln('B         { font: normal '+ fontsize +'pt helvetica; font-weight: bold; }');
   document.writeln('H2        { font: 12pt helvetica; font-weight: bold; color: #CC0000; }');
   document.writeln('H3        { font: 14pt helvetica; font-weight: bold; color: #339900; }');
   document.writeln('H4        { font: normal '+ fontsize +'pt helvetica; font-weight: bold; color: #CC0000; }');
   document.writeln('.bigred   { font: normal '+ fontsize +'pt helvetica; font-weight: bold; color: #CC0000; }');
   document.writeln('.bigblack { font: normal '+ fontsize +'pt helvetica; font-weight: bold; color: #000000; }');
   document.writeln('.white    { font: normal '+ fontsize +'pt helvetica; color: #FFFFFF; }');
   document.writeln('.whiteb   { font: normal '+ fontsize +'pt helvetica; font-weight: bold; color: #FFFFFF; }');   
   document.writeln('.whitei   { font: normal '+ fontsize +'pt helvetica; font-weight: bold; font-style: italic; color: #FFFFFF; }');   
   document.writeln('.whitenb  { font: normal '+ fontsize +'pt helvetica; color: #FFFFFF; }');
   document.writeln('.yellow   { font: normal '+ fontsize +'pt helvetica; color: #FFCC00; }');
   document.writeln('.blue     { font: normal '+ fontsize +'pt helvetica; color: #0066FF; }');
   document.writeln('.red      { font: normal '+ fontsize +'pt helvetica; color: #CC0000; }');
   document.writeln('.green     { font: normal '+ fontsize +'pt helvetica; color: #66cc00; }');
   document.writeln('.orange   { font: normal '+ fontsize +'pt helvetica; color: #CC3300; }');
   document.writeln('.footer   { font: 7pt helvetica; color: #999999; text-align: center;}');
   document.writeln('.mini     { font: 8pt helvetica; color: #000000; }');
   document.writeln('.redfoot  { font: 8pt helvetica; color: #FFFFFF; }');
   document.writeln('.reversed { font: normal '+ fontsize +'pt helvetica; color: #CCCCFF; }');
   document.writeln('A:link    { text-decoration: underline; color: #0099FF;}');
   document.writeln('A:visited { text-decoration: underline; color: #CC3300;}');
   document.writeln('A:active  { text-decoration: underline; color: #FFCC00;}');
   document.writeln('A:hover   { text-decoration: underline; color: #0066FF;}');
   document.writeln('-->');
   document.writeln('</STYLE>');

