// MAKE SURE WE'RE NOT IN A FRAMEif (window != top) top.location.href = location.href;// INDEX PAGE http://newash.com/rollovers// These rollover images on the first page are loaded after the rest of the page // has been loaded. This will make the page look like it has loaded much faster.// A check is made to see if it is the main page and loads the http://newash.com/rollovers if not.var path = document.location.pathname;//document.write (path);if (path=="" || path=="/" || path=="index.shtml") {	document.write (" ");}else {	if (path.match("portals") || path.match("aff.php3")) {		document.write (" ");	}	else {		load_rollovers();	}}function load_rollovers() {	if (document.images)	{		prices_on	= new Image;		prices_on.src	= "http://newash.com/rollovers/b_prices.gif";		prices_off	= new Image;		prices_off.src = "http://newash.com/rollovers/a_prices.gif";//		prices2_on	= new Image;//		prices2_on.src	= "http://newash.com/images/icon_prices.jpg";//		prices3_on	= new Image;//		prices3_on.src	= "http://newash.com/rollovers/d_prices.gif";		domains_on	= new Image		domains_on.src	= "http://newash.com/rollovers/b_domains.gif";		domains_off	= new Image;		domains_off.src = "http://newash.com/rollovers/a_domains.gif";//		domains2_on	= new Image;//		domains2_on.src	= "http://newash.com/images/icon_domains.jpg";//		domains3_on	= new Image;//		domains3_on.src	= "http://newash.com/rollovers/d_domains.gif";		hosting_on	= new Image;		hosting_on.src	= "http://newash.com/rollovers/b_hosting.gif";		hosting_off	= new Image;		hosting_off.src = "http://newash.com/rollovers/a_hosting.gif";//		hosting2_on	= new Image;//		hosting2_on.src	= "http://newash.com/images/icon_hosting.jpg";//		hosting3_on	= new Image;//		hosting3_on.src	= "http://newash.com/rollovers/d_hosting.gif";		design_on	= new Image;		design_on.src	= "http://newash.com/rollovers/b_design.gif";		design_off	= new Image;		design_off.src = "http://newash.com/rollovers/a_design.gif";//		design2_on	= new Image;//		design2_on.src	= "http://newash.com/images/icon_design.jpg";//		design3_on	= new Image;//		design3_on.src	= "http://newash.com/rollovers/d_design.gif";		contact_on	= new Image;		contact_on.src	= "http://newash.com/rollovers/b_contact.gif";		contact_off	= new Image;		contact_off.src = "http://newash.com/rollovers/a_contact.gif";//		contact2_on	= new Image;//		contact2_on.src	= "http://newash.com/images/icon_contact.jpg";//		contact3_on	= new Image;//		contact3_on.src	= "http://newash.com/rollovers/d_contact.gif";		// other pages after index.html		info_on = new Image;		info_on.src = "http://newash.com/rollovers/b_info.gif";		info_off = new Image;		info_off.src = "http://newash.com/rollovers/a_info.gif";		clients_on = new Image;		clients_on.src = "http://newash.com/rollovers/b_clients.gif";		clients_off = new Image;		clients_off.src = "http://newash.com/rollovers/a_clients.gif";		links_on = new Image;		links_on.src = "http://newash.com/rollovers/b_links.gif"; 		links_off = new Image;		links_off.src = "http://newash.com/rollovers/a_links.gif";		support_on = new Image;		support_on.src = "http://newash.com/rollovers/b_support.gif"; 		support_off = new Image;		support_off.src = "http://newash.com/rollovers/a_support.gif";		doms_on	= new Image		doms_on.src	= "http://newash.com/rollovers/b_doms.gif";		doms_off	= new Image;		doms_off.src = "http://newash.com/rollovers/a_doms.gif";		home_on = new Image;		home_on.src = "http://newash.com/rollovers/b_home.gif";		home_off = new Image;		home_off.src = "http://newash.com/rollovers/a_home.gif";	}}/////////////////////////////////////////////////////////////////                      http://newash.com/rollovers FOR MAIN PAGE//////////////////////////////////////////////////////////////var timeout_idfunction blank_txt () {	if (document.images) {		document["desc"].src = "http://newash.com/images/blk.gif";		// blk is a 1x1 pixel image for fast loading		hide ('hosting');		hide ('domains');		hide ('design');	}}function img_on(imgName,imgName2,imgName3) {	if (document.images) {		clearTimeout (timeout_id);		document[imgName].src = eval(imgName + "_on.src");		document[imgName2].src = eval(imgName2 + "_on.src");//		document["desc"].src = eval(imgName3 + "_on.src");		hide ('hosting');		hide ('domains');		hide ('design');		show (imgName);	}}function img_off(imgName,imgName2) {	if (document.images) {		document[imgName].src = eval(imgName + "_off.src");		document[imgName2].src = "http://newash.com/images/blk.gif";		// fast loading 1x1 blank image.		timeout_id=setTimeout ("blank_txt()", 1000);	}}/////////////////////////////////////////////////////////////////                      http://newash.com/rollovers FOR SUB-PAGES//////////////////////////////////////////////////////////////function img_act(imgName) {	if (document.images) {		document[imgName].src = eval(imgName + "_on.src");	}}function img_inact(imgName) {	if (document.images) {		document[imgName].src = eval(imgName + "_off.src");	}}/////////////////////////////////////////////////////////////////                      CLIENT PAGE STUFF inc. browser check//////////////////////////////////////////////////////////////var NS3	= (!document.all && !document.layers && !document.getElementById) ? true : false;var NS4	= (document.layers) ? true : false;var NS6	= (document.getElementById && !document.all) ? true : false;var IE4	= (document.all && !document.getElementById)	? true : false;var IE5	= (document.all && document.getElementById) ? true : false;function show(div) {	if ((navigator.appVersion.substring(0,3) >= 4.0)) {//		if (NS4) { obj=document[div]; }//		if (NS6) { obj=document.getElementById(div).style; }//		if (IE4) { obj=document.all[div].style; }//		if (IE5) { obj=document.getElementById(div).style; }		obj=NS4?document[div]:IE4?document.all[div].style:document.getElementById(div).style;		obj.visibility='visible';	}}function hide(div) {	if ((navigator.appVersion.substring(0,3) >= 4.0)) {//		if (NS4) { obj=document[div]; }//		if (NS6) { obj=document.getElementById(div).style; }//		if (IE4) { obj=document.all[div].style; }//		if (IE5) { obj=document.getElementById(div).style; }		obj=NS4?document[div]:IE4?document.all[div].style:document.getElementById(div).style;		obj.visibility='hidden';	}}function doNothing() {}/////////////////////////////////////////////////////////////////               OUTGOING LINKS TO STOP PAGE RANK LOSS//////////////////////////////////////////////////////////////function emailout(addr,domain) {	if ((navigator.appVersion.substring(0,3) >= 3.0)) {		document.write ("<a href='mailto:");		document.write (addr);		document.write ("@");		document.write (domain);		document.write ("'>");	}}function urlout(domain, text) {	if ((navigator.appVersion.substring(0,3) >= 3.0)) {		document.write ("<a href='http://");		document.write (domain);		document.write ("' target='_BLANK'>");		document.write (text);		document.write ("</a>");	}}function urlnotext(domain) {	if ((navigator.appVersion.substring(0,3) >= 3.0)) {		document.write ("<a href='http://");		document.write (domain);		document.write ("' target='_BLANK'> ");	}}function enda() {	if ((navigator.appVersion.substring(0,3) >= 3.0)) {		document.write ("</a>");	}}// SORT OUT ORDER PAGE LINKSfunction valuepack() {	if ((navigator.appVersion.substring(0,3) >= 3.0)) {		document.write ("<a class='FFFFCC' href='");		document.write ("order.php?packtype=value'>");	}}