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.products = new imgStore('graphics/nav/nprodon.gif', 'graphics/nav/nprodoff.gif');
   store.serv = new imgStore('graphics/nav/nservon.gif', 'graphics/nav/nservoff.gif');
   store.support = new imgStore('graphics/nav/nsupon.gif', 'graphics/nav/nsupoff.gif');
   store.community = new imgStore('graphics/nav/ncommon.gif', 'graphics/nav/ncommoff.gif');
   store.company = new imgStore('graphics/nav/ncompon.gif', 'graphics/nav/ncompoff.gif');
   store.contacts = new imgStore('graphics/nav/nconton.gif', 'graphics/nav/ncontoff.gif');
}
