function show_dc(id) {

var term = id;
var win_this = window.open('datacenter_ss'+term+'.html', "win", "resizable=yes,scrollbars=yes,height=550,width=455");

}


//function mtdChangeCurrency(currency){
//	var strURL = String(document.location)/
//	var re = new RegExp('&','gi')
//	var newStr = strURL.replace(re,"AMP")
//	window.location.href = 'http://www.hyve.com/changeCurrency.asp?currency=' + currency + '&location=' + location + '&URL=' + newStr
//
//}

function mtdChangeCurrency(currency){
	var this_set = currency;
	if(this_set == 'JPN'){
		window.location = "http://www.en-vision.net/index.html";
	}
	if(this_set == 'USD'){
		window.location = "http://www.en-vision.net/index_us.html";
	}
}

function mtdSetStatus(strText){
	window.status=strText;
	return true;
}

function mtdShowGlossary(strGlossaryItem){
	url = "/docs/glossary/fs_glossarypopup.asp?glossaryitem=" + strGlossaryItem;
	winLeft=0;
	winTop=0;
	window.open(url,"glossary","resizable=0,scrollbars=1,toolbar=0,status=0,left="+winLeft+",top="+winTop+",width=340,height=400",false)
}

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
	
		// nav
		nav_web_hosting_webHosting_over = newImage("/images/nav_web-hosting-webHosting-over.gif");
		nav_web_hosting_dedicatedServers_over = newImage("/images/nav_web-hosting-dedicatedServers-over.gif");
		nav_web_hosting_enterprise_over = newImage("/images/nav_web-hosting-enterprise-over.gif");
		nav_web_hosting_ecommerce_over = newImage("/images/nav_web-hosting-ecommerce-over.gif");
		nav_web_hosting_domainNames_over = newImage("/images/nav_web-hosting-domainNames-over.gif");
		nav_web_hosting_resellers_over = newImage("/images/nav_web-hosting-resellers-over.gif");
		nav_web_hosting_support_over = newImage("/images/nav_web-hosting-support-over.gif");
		nav_web_hosting_contact_over = newImage("/images/nav_web-hosting-contact-over.gif");
		nav_web_hosting_siteMap_over = newImage("/images/nav_web-hosting-siteMap-over.gif");
		nav_web_hosting_aboutUs_over = newImage("/images/nav_web-hosting-aboutUs-over.gif");
		nav_web_hosting_datacenterTour_over = newImage("/images/nav_web-hosting-datacenterTour-over.gif");
		
		hdr_web_hosting_contact_Hyve_over = newImage("/images/hdr_web-hosting-contact-Hyve-over.gif");
		
		// cart
		hdr_web_hosting_viewCart_over = newImage("/images/hdr_web-hosting-viewCart-over.gif");
		hdr_web_hosting_loadCart_over = newImage("/images/hdr_web-hosting-loadCart-over.gif");
		hdr_web_hosting_checkout_over = newImage("/images/hdr_web-hosting-checkout-over.gif");
		
		// footer
		ftr_web_hosting_terms_over = newImage("/images/ftr_web-hosting-terms-over.gif");
		ftr_web_hosting_privacy_over = newImage("/images/ftr_web-hosting-privacy-over.gif");
		ftr_web_hosting_copyright_over = newImage("/images/ftr_web-hosting-copyright-over.gif");
		ftr_web_hosting_hyveGroup_over = newImage("/images/ftr_web-hosting-hyveGroup-over.gif");
		
		// home
		web_hosting_windows_webhosting_over = newImage("/images/web-hosting-windows-webhosting-over.gif");
		web_hosting_linux_webhosting_over = newImage("/images/web-hosting-linux-webhosting-over.gif");
		web_hosting_dedicatedservers_over = newImage("/images/web-hosting-dedicatedservers-over.gif");
		web_hosting_webdesign_over = newImage("/images/web-hosting-webdesign-over.gif");
		
		preloadFlag = true;
	}
}

