compat=false;
// cache images for quick swapping
if(parseInt(navigator.appVersion) >= 3) {compat=true;}
if (compat)
{
visiton = new Image();
visiton.src = "/images/top/visit_on.gif";
visitoff = new Image();
visitoff.src = "/images/top/visit_off.gif";
brochureon = new Image();
brochureon.src = "/images/top/brochure_on.gif";
brochureoff = new Image();
brochureoff.src = "/images/top/brochure_off.gif";
applyon = new Image();
applyon.src = "/images/top/applynow_on.gif";
applyoff = new Image();
applyoff.src = "/images/top/applynow_off.gif";
visit02on = new Image();
visit02on.src = "/images/top/visit_on.gif";
visit02off = new Image();
visit02off.src = "/images/top/visit_off.gif";
brochure02on = new Image();
brochure02on.src = "/images/top/brochure_on.gif";
brochure02off = new Image();
brochure02off.src = "/images/top/brochure_off.gif";
apply02on = new Image();  
apply02on.src = "/images/top/applynow_on.gif";
apply02off = new Image();
apply02off.src = "/images/top/applynow_off.gif";
bullet01on = new Image();
bullet01on.src = "/images/leftnav/bullet2_on.gif";
bullet01off = new Image();
bullet01off.src = "/images/leftnav/bullet2_off.gif";
bullet02on = new Image();
bullet02on.src = "/images/leftnav/bullet_on.gif";
bullet02off = new Image();
bullet02off.src = "/images/leftnav/bullet_off.gif";
bullet03on = new Image();
bullet03on.src = "/images/leftnav/bullet_on.gif";
bullet03off = new Image();
bullet03off.src = "/images/leftnav/bullet_off.gif";
bullet04on = new Image();
bullet04on.src = "/images/leftnav/bullet2_on.gif";
bullet04off = new Image();
bullet04off.src = "/images/leftnav/bullet2_off.gif";
oapplyon = new Image();
oapplyon.src = "/images/top/oapply_on.gif";
oapplyoff = new Image();
oapplyoff.src = "/images/top/oapply_off.gif";
oapply02on = new Image();
oapply02on.src = "/images/top/oapply_on.gif";
oapply02off = new Image();
oapply02off.src = "/images/top/oapply_off.gif";
oreqon = new Image();
oreqon.src = "/images/top/oreq_on.gif";
oreqoff = new Image();
oreqoff.src = "/images/top/oreq_off.gif";
oreq02on = new Image();
oreq02on.src = "/images/top/oreq_on.gif";
oreq02off = new Image();
oreq02off.src = "/images/top/oreq_off.gif";
}
// swap images using the cached images
function glow(x, y)
{
   if( compat ) { document.images[x].src=eval(y+'.src'); }
}
function preload(name) {
        pics[objCount] = new Array(5);
        pics[objCount] = new Image();
        pics[objCount].src = name;
        objCount++;
        }
//end
