<!--
function ShowHideInternational(form) {
	var countryVar = form.countryID.value;
	var showInternational = document.getElementById("intl");
	var showUSA = document.getElementById("USA");	
	
	if(navigator.appName.indexOf("Microsoft") > -1) { var canSee = 'block' } 
	else { var canSee = 'table-row'; }
	
	if(countryVar == "49") {
		showInternational.style.display = 'none';
		showUSA.style.display = canSee;
	}
	else {
		showInternational.style.display = canSee;
		showUSA.style.display = 'none';
	}
	
}
function ShowHideInternationalShipping(form) {
	var countryVar = form.shipping_countryID.value;
	var showInternational = document.getElementById("intlShipping");
	var showUSA = document.getElementById("USAShipping");	
	
	if(navigator.appName.indexOf("Microsoft") > -1) { var canSee = 'block' } 
	else { var canSee = 'table-row'; }
	
	if(countryVar == "49") {
		showInternational.style.display = 'none';
		showUSA.style.display = canSee;
	}
	else {
		showInternational.style.display = canSee;
		showUSA.style.display = 'none';
	}
	
}

function textCounter(field, countfield, maxlimit) {
	if (field.value.length > maxlimit) // if too long...trim it!
		field.value = field.value.substring(0, maxlimit);
		// otherwise, update 'characters left' counter
	else
		countfield.value = maxlimit - field.value.length;
}

function openWindow(myLink,windowName,windowWidth,windowHeight) 	{
	if(! window.focus)return; {
		if (typeof windowWidth == "undefined") {
			windowWidth = 400;
		}
		if (typeof windowHeight == "undefined") {
			windowHeight = 400;
		}
		var myWin=window.open('',windowName,'width='+windowWidth+',height='+windowHeight+',dependent=yes,scrollbars=yes,resizable=no,top=100,left=100');
		myWin.focus();
		myLink.target=windowName;
		if (myWin.opener == null) myWin.opener = self;
	}
}

function CloseReload() {
	if (top.opener != null) {
		top.opener.location.reload(true);
		opener.focus();
		self.close();
	}	
}
-->
