<!--
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

var ovimages = new Array();
ovimages[0] = 'images/nav/contact-ov.gif';
ovimages[1] = 'images/nav/dist-ov.gif';
ovimages[2] = 'images/nav/home-ov.gif';
ovimages[3] = 'images/nav/locator-ov.gif';
ovimages[4] = 'images/nav/os-ov.gif';

var upimages = new Array();
upimages[0] = 'images/nav/contact-up.gif';
upimages[1] = 'images/nav/dist-up.gif';
upimages[2] = 'images/nav/home-up.gif';
upimages[3] = 'images/nav/locator-up.gif';
upimages[4] = 'images/nav/os-up.gif';

function swpimg(imgname,theimg){

    if (thisone != imgname) {
    	theovimg = ovimages[theimg];
		document.images[imgname].src = theovimg;

    }
    return true;
}

function swpback(upname, upimg) {
    if (thisone != upname) {
    	theupimg = upimages[upimg];
    	document.images[upname].src = theupimg;
    }
    return true;
}

var thisone;
var backtothis;

function rtnimg() {
    document.images[thisone].src = backtothis;
}

function MM_openBrWindow(theURL,winName,features) {
 	window.open(theURL,winName,features);
 	window.focus;
}
     
function shutdown() {
   window.close();
}


// BEGIN TO PRELOAD ALL THE ROLLOVER IMAGES.
var counter;
for (counter=0; counter<ovimages.length; counter++){
	MM_preloadImages(ovimages[counter]);
}

//for writing email address - to prevent spam, to a degree
function writemail(alias,thestyle){
    document.write ("<A HREF='mailto:" + alias + "@tasterstote.com' class='" + thestyle + "'>" + alias + "@tasterstote.com</A>");
}

//-->