


	homeon = new Image;
	homeoff = new Image;
	abouton = new Image;
	aboutoff = new Image;
	serviceson = new Image;
	servicesoff = new Image;
	operationson = new Image;
	operationsoff = new Image;
	locationson = new Image;
	locationsoff = new Image;
	newson = new Image;
	newsoff = new Image;
	linkson = new Image;
	linksoff = new Image;
	contacton = new Image;
	contactoff = new Image;


	homeon.src = "images/nav_home_on.gif";
	homeoff.src = "images/nav_home.gif";
	abouton.src = "images/nav_about_on.gif";
	aboutoff.src = "images/nav_about.gif";
	serviceson.src = "images/nav_services_on.gif";
	servicesoff.src = "images/nav_services.gif";
	operationson.src = "images/nav_operations_on.gif";
	operationsoff.src = "images/nav_operations.gif";
	locationson.src = "images/nav_locations_on.gif";
	locationsoff.src = "images/nav_locations.gif";
	newson.src = "images/nav_news_on.gif";
	newsoff.src = "images/nav_news.gif";
	linkson.src = "images/nav_links_on.gif";
	linksoff.src = "images/nav_links.gif";
	contacton.src = "images/nav_contact_on.gif";
	contactoff.src = "images/nav_contact.gif";

	ihomeon = new Image;
	ihomeoff = new Image;
	icontacton = new Image;
	icontactoff = new Image;
	imapon = new Image;
	imapoff = new Image;
	iprinton = new Image;
	iprintoff = new Image;

	ihomeon.src = "images/icon_home_on.gif";
	ihomeoff.src = "images/icon_home.gif";
	icontacton.src = "images/icon_contact_on.gif";
	icontactoff.src = "images/icon_contact.gif";
	imapon.src = "images/icon_map_on.gif";
	imapoff.src = "images/icon_map.gif";
	iprinton.src = "images/icon_print_on.gif";
	iprintoff.src = "images/icon_print.gif";

function swapem(iname, gname) {
	iname.src = gname.src;
}
   


	
	var gAutoPrint = true; // Flag for whether or not to automatically call the print function

function printSpecial()
{
	if (document.getElementById != null)
	{
		var html = '<HTML>\n<HEAD>';
		

		if (document.getElementsByTagName != null)
		{
			var headTags = document.getElementsByTagName("head");
			if (headTags.length > 0)
				html += headTags[0].innerHTML;
		}
		
		html += '<body style="background:none;">' + '<LINK href="styleprint.css" type=text/css rel=stylesheet>' + '\n</HE' + 'AD>\n<BODY>\n';
		
		var printReadyElem = document.getElementById("printReady");
		
		if (printReadyElem != null)
		{
				html += printReadyElem.innerHTML;
		}
		else
		{
			alert("Could not find the printReady section in the HTML");
			return;
		}
			
		html += '\n</BO' + 'DY>\n</HT' + 'ML>';
		
		var printWin = window.open("","printSpecial");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		if (gAutoPrint)
			printWin.print();
	}
	else
	{
		alert("Sorry, the print ready feature is only available in modern browsers.");
	}
}



function unewWindow(url) {
	if (arguments.length > 1) {
		var width = String(arguments[1]);
		var height = String(arguments[2]);
		if ((loc = width.indexOf("%")) != -1) {
			width = width.slice(0, loc);
			width = Number(width);
			width = screen.width * (width / 100);
		}
		if ((loc = height.indexOf("%")) != -1) {
			height = height.slice(0, loc);
			height = Number(height);
			height = screen.height * (height / 100);
		}
	} else {
		var width = 640;
		var height = 480;
	}
	var attributeString = 'height=' + height + ',width=' + width + ',menubar=yes,scrollbars=yes,resizable=yes,screenX=10,screenY=10,top=10,left=10';
	//alert(attributeString);
	window.open(url, 'NewWin', attributeString);
}

