
function Preloads()
{
	this.clear = new Image();   this.clear.src = "images/clear.gif";
	this.cornershadow = new Image();   this.cornershadow.src = "images/cornershadow.gif";
	this.graycorner1 = new Image();   this.graycorner1.src = "images/graycorner1.gif";
	this.graycorner2 = new Image();   this.graycorner2.src = "images/graycorner2.gif";
	this.graycorner3 = new Image();   this.graycorner3.src = "images/graycorner3.gif";
	this.graycorner4 = new Image();   this.graycorner4.src = "images/graycorner4.gif";
	this.redcorner1 = new Image();   this.redcorner1.src = "images/redcorner1.gif";
	this.redcorner2a = new Image();   this.redcorner2a.src = "images/redcorner2a.gif";
	this.redcorner2b = new Image();   this.redcorner2b.src = "images/redcorner2b.gif";
	this.whitecorner1a = new Image();   this.whitecorner1a.src = "images/whitecorner1a.gif";
	this.whitecorner1c = new Image();   this.whitecorner1c.src = "images/whitecorner1c.gif";
	this.whitecorner2a = new Image();   this.whitecorner2a.src = "images/whitecorner2a.gif";
	this.whitecorner2b = new Image();   this.whitecorner2b.src = "images/whitecorner2b.gif";
	this.whitecorner2c = new Image();   this.whitecorner2c.src = "images/whitecorner2c.gif";
	this.whitecorner2d = new Image();   this.whitecorner2d.src = "images/whitecorner2d.gif";
	this.logo = new Image();   this.logo.src = "images/logo.gif";
	this.slogan = new Image();   this.slogan.src = "images/slogan.gif";
	this.sideshadow = new Image();   this.sideshadow.src = "images/sideshadow.gif";
	this.bottomshadow = new Image();   this.bottomshadow.src = "images/bottomshadow.gif";
	this.about_on = new Image();   this.about_on.src = "images/btn_about_on.gif";
	this.about_off = new Image();  this.about_off.src = "images/btn_about_off.gif";
	this.additional_on = new Image();   this.additional_on.src = "images/btn_additional_on.gif";
	this.additional_off = new Image();  this.additional_off.src = "images/btn_additional_off.gif";
	this.contact_on = new Image();   this.contact_on.src = "images/btn_contact_on.gif";
	this.contact_off = new Image();  this.contact_off.src = "images/btn_contact_off.gif";
	this.group_on = new Image();   this.group_on.src = "images/btn_group_on.gif";
	this.group_off = new Image();  this.group_off.src = "images/btn_group_off.gif";
	this.individuals_on = new Image();   this.individuals_on.src = "images/btn_individuals_on.gif";
	this.individuals_off = new Image();  this.individuals_off.src = "images/btn_individuals_off.gif";
	this.supplemental_on = new Image();   this.supplemental_on.src = "images/btn_supplemental_on.gif";
	this.supplemental_off = new Image();  this.supplemental_off.src = "images/btn_supplemental_off.gif";
	this.instant_on = new Image();   this.instant_on.src = "images/btn_instant_on.gif";
	this.instant_off = new Image();  this.instant_off.src = "images/btn_instant_off.gif";
}

//preload images here
if (document.images)
{
	var preloads = new Preloads();
}

function mouseOnOff(img,onoff)
{
	document[img].src = preloads[img+"_"+onoff].src;
}



function savePopupWindowDimensions()
{
	if(navigator.appName == 'Netscape')// && !window.oldWidth)
	{
		cellHeight = window.innerHeight-67; //67 = popup header height + popup footer height
		window.onresize = resizeCheck;
		window.oldWidth = window.innerWidth;
		window.oldHeight = window.innerHeight;
	}
}


