// function to do rollovers
function swapImgs(img,state){
	if (loaded > 0){
		document.images[img].src = state ? 'images/' + img + '_on.gif' : 'images/' + img + '_off.gif';
	}
}

// function to load images for rollovers
var loaded = 0;

if (document.images)
{
	// GLOBAL NAVIGATION
	tnCompanyOVER = new Image();
	tnCompanyOVER.src = "images/tn_company_on.gif";
	tnSolutionsOVER = new Image();
	tnSolutionsOVER.src = "images/tn_solutions_on.gif";
	tnProductsOVER = new Image();
	tnProductsOVER.src = "images/tn_products_on.gif";
	tnNewsOVER = new Image();
	tnNewsOVER.src = "images/tn_news_on.gif";
	tnSupportOVER = new Image();
	tnSupportOVER.src = "images/tn_support_on.gif";
	tnPartnersOVER = new Image();
	tnPartnersOVER.src = "images/tn_partners_on.gif";
	hmServOVER = new Image();
	hmServOVER.src = "images/tn_partners_on.gif";
	hmGovOVER = new Image();
	hmGovOVER.src = "images/home_btn_gov_on.gif";
	hmEntOVER = new Image();
	hmEntOVER.src = "images/home_btn_ent_on.gif";
	hmContactOVER = new Image();
	hmContactOVER.src = "images/home_btn_contact_on.gif";
	hmSuppOVER = new Image();
	hmSuppOVER.src = "images/home_btn_supp_on.gif";
	hmPartOVER = new Image();
	hmPartOVER.src = "images/home_btn_part_on.gif";
	contactButton = new Image();
	contactButton.src = "images/rt_button_contactsales_on.gif";
	
	loaded = 1;
}
