//  << dynamic button with preloading of images >>
//                   huskyteam.ch
//
// 
//  handling:
//  
//  <a href="..." onMouseOver="turnOn('xxx')" onMouseOut="turnOff('xxx')">
//     <img name="xxx" alt="description" src="...." width="n" height="n" border="0" ></a>
//


wiron        = new Image();
wiron.src    = 'includes/start/m_wir2.gif';
wiroff       = new Image();
wiroff.src   = 'includes/start/m_wir1.gif';

zuchton        = new Image();
zuchton.src    = 'includes/start/m_zucht2.gif';
zuchtoff       = new Image();
zuchtoff.src   = 'includes/start/m_zucht1.gif';

heimon        = new Image();
heimon.src    = 'includes/start/m_heim2.gif';
heimoff       = new Image();
heimoff.src   = 'includes/start/m_heim1.gif';

fotoon        = new Image();
fotoon.src    = 'includes/start/m_foto2.gif';
fotooff       = new Image();
fotooff.src   = 'includes/start/m_foto1.gif';

fahrton        = new Image();
fahrton.src    = 'includes/start/m_fahrt2.gif';
fahrtoff       = new Image();
fahrtoff.src   = 'includes/start/m_fahrt1.gif';

amwayon        = new Image();
amwayon.src    = 'includes/start/m_amway2.gif';
amwayoff       = new Image();
amwayoff.src   = 'includes/start/m_amway1.gif';

linkson        = new Image();
linkson.src    = 'includes/start/m_links2.gif';
linksoff       = new Image();
linksoff.src   = 'includes/start/m_links1.gif';

// button on
function turnOn(name) {
     imgOn = eval(name + "on.src");
     document[name].src = imgOn;
}

// button off
function turnOff(name) {
     imgOff = eval(name + "off.src");
     document[name].src = imgOff
}
// end
