version = parseInt(navigator.appVersion);

function imgStore(onImg, offImg) {
   if (version >= 3) {
       this.on = new Image();
       this.on.src = onImg;
       this.off = new Image();
       this.off.src = offImg;
   }
}
function roll_on(name) {
    if (version >= 3) {
        document[name].src = store[name].on.src;
    }
}
function roll_out(name) {               
    if (version >= 3) {
        document[name].src = store[name].off.src;
    }
}
if (version >= 3) {
   var store = new Object();
//-- Top Nav Rollovers --
   store.about = new imgStore('../../graphics/topnav/mabouton.gif', '../../graphics/topnav/maboutoff.gif');
   store.sales = new imgStore('../../graphics/topnav/minsideon.gif', '../../graphics/topnav/minsideoff.gif');
   store.cust = new imgStore('../../graphics/topnav/mcuston.gif', '../../graphics/topnav/mcustoff.gif');
   store.training = new imgStore('../../graphics/topnav/mtrainingon.gif', '../../graphics/topnav/mtrainingoff.gif');
   store.benchmark = new imgStore('../../graphics/topnav/mbenchon.gif', '../../graphics/topnav/mbenchoff.gif');
   store.contact = new imgStore('../../graphics/topnav/mcontacton.gif', '../../graphics/topnav/mcontactoff.gif');
   store.home = new imgStore('../../graphics/topnav/mhomeon.gif', '../../graphics/topnav/mhomeoff.gif');
//-- Products Nav Rollovers --
   store.pmprod = new imgStore('../../graphics/products/pmprodon.gif', '../../graphics/products/pmprodoff.gif');
   store.pmtech = new imgStore('../../graphics/products/pmtechon.gif', '../../graphics/products/pmtechoff.gif');
   store.pmce = new imgStore('../../graphics/products/pmceon.gif', '../../graphics/products/pmceoff.gif');
   store.pmci = new imgStore('../../graphics/products/pmcion.gif', '../../graphics/products/pmcioff.gif');
   store.pmserv = new imgStore('../../graphics/products/pmservon.gif', '../../graphics/products/pmservoff.gif');
//-- About Nav Rollovers --
   store.amabout = new imgStore('../../graphics/about/amabouton.gif', '../../graphics/about/amaboutoff.gif');
   store.amcompany = new imgStore('../../graphics/about/amcompanyon.gif', '../../graphics/about/amcompanyoff.gif');
   store.amteam = new imgStore('../../graphics/about/amteamon.gif', '../../graphics/about/amteamoff.gif');
   store.amcareers = new imgStore('../../graphics/about/amcareerson.gif', '../../graphics/about/amcareersoff.gif');
   store.amform = new imgStore('../../graphics/about/amformon.gif', '../../graphics/about/amformoff.gif');
//-- CE Nav Rollovers --
   store.cmcustomer = new imgStore('../../graphics/ce/cmcustomeron.gif', '../../graphics/ce/cmcustomeroff.gif');
   store.cmchallenges = new imgStore('../../graphics/ce/cmchallengeson.gif', '../../graphics/ce/cmchallengesoff.gif');
   store.cmapproaches = new imgStore('../../graphics/ce/cmapproacheson.gif', '../../graphics/ce/cmapproachesoff.gif');
   store.cmpeakapproach = new imgStore('../../graphics/ce/cmpeakapproachon.gif', '../../graphics/ce/cmpeakapproachoff.gif');
//-- Contact Nav Rollovers --
   store.tmcontact = new imgStore('../../graphics/contact/tmcontacton.gif', '../../graphics/contact/tmcontactoff.gif');
   store.tmform = new imgStore('../../graphics/contact/tmformon.gif', '../../graphics/contact/tmformoff.gif');
   store.tmconsult = new imgStore('../../graphics/contact/tmconsulton.gif', '../../graphics/contact/tmconsultoff.gif');
   store.tmnewsletter = new imgStore('../../graphics/contact/tmnewsletteron.gif', '../../graphics/contact/tmnewsletteroff.gif');
//-- News Nav Rollovers --
   store.news = new imgStore('../../graphics/news/newson.gif', '../../graphics/news/newsoff.gif');
}