function noSpam(user,domain) {
	locationstring = "mailto:" + user + "@" + domain;
	if (window.location) {
		window.location = locationstring;
	}
	else {
		document.write('<a href=\"mailto:' + user + '@' + domain + '\">');
		document.write(+ user +'@'+ dommain +'</a>');
	}
}

if (document.images) {
	
	welcome2 = new Image();
	welcome2.src = "img/nav/welcome_over.gif";
	welcome1 = new Image();
	welcome1.src = "img/nav/welcome.gif";

		welcome_square2 = new Image();
		welcome_square2.src = "img/nav/square_over.gif";
		welcome_square1 = new Image();
		welcome_square1.src = "img/nav/square.gif";

	about2 = new Image();
	about2.src = "img/nav/about_over.gif";
	about1 = new Image();
	about1.src = "img/nav/about.gif";
	
		about_square2 = new Image();
		about_square2.src = "img/nav/square_over.gif";
		about_square1 = new Image();
		about_square1.src = "img/nav/square.gif";	
	
	services2 = new Image();
	services2.src = "img/nav/services_over.gif";
	services1 = new Image();
	services1.src = "img/nav/services.gif";
	
		services_square2 = new Image();
		services_square2.src = "img/nav/square_over.gif";
		services_square1 = new Image();
		services_square1.src = "img/nav/square.gif";	
	
	faq2 = new Image();
	faq2.src = "img/nav/faq_over.gif";
	faq1 = new Image();
	faq1.src = "img/nav/faq.gif";
	
		faq_square2 = new Image();
		faq_square2.src = "img/nav/square_over.gif";
		faq_square1 = new Image();
		faq_square1.src = "img/nav/square.gif";	
	
	contact2 = new Image();
	contact2.src = "img/nav/contact_over.gif";
	contact1 = new Image();
	contact1.src = "img/nav/contact.gif";
	
		contact_square2 = new Image();
		contact_square2.src = "img/nav/square_over.gif";
		contact_square1 = new Image();
		contact_square1.src = "img/nav/square.gif";	
	
	testimonials2 = new Image();
	testimonials2.src = "img/nav/testimonials_over.gif";
	testimonials1 = new Image();
	testimonials1.src = "img/nav/testimonials.gif";
	
		testimonials_square2 = new Image();
		testimonials_square2.src = "img/nav/square_over.gif";
		testimonials_square1 = new Image();
		testimonials_square1.src = "img/nav/square.gif";
		
	redux2 = new Image();
	redux2.src = "img/footer/redux_over.gif";
	redux1 = new Image();
	redux1.src = "img/footer/redux.gif";
}
function rollOn(n) {
	if ((document.images) && (n != "redux")) {
		light=eval(n+"2.src");
		light_square=eval(n+"_square2.src");
		document [n].src=light;
		document [n+"_square"].src=light_square;
	}
	else if (document.images) {
		light=eval(n+"2.src");
		document [n].src=light;
	}
}
function rollOff(n) {
	if ((document.images) && (n != "redux")) {
		dark=eval(n+"1.src");
		dark_square=eval(n+"_square1.src");
		document [n].src=dark;
		document [n+"_square"].src=dark_square;
	}
	else if (document.images) {
		dark=eval(n+"1.src");
		document [n].src=dark;
	}
}

function openPopup(type,url) {
	if (type == 1) { // 1 =  Terms and Conditions, Copyright
		window.open(url,'legal','toolbar=0,location=0,directories=0,status=0,scrollbars=1,resizable=0,copyhistory=0,menuBar=0,width=450,height=400,left=330,top=140');
	}	
	else {
		void(0);
	}
}