<!-- hide from JavaScript-challenged browsers
function openWindow(url){
if (document.all&&window.print) //if ie5
	eval('window.showModelessDialog(url,"new_page","help:0;resizable:1;dialogWidth:400px;dialogHeight:400px")')
else
	eval('window.open(url,"new_page","width=400px,height=400px,resizable=1,scrollbars=1")')
}
function openWindow2(url){
if (document.all&&window.print) //if ie5
	eval('window.showModelessDialog(url,"new_page","help:0;resizable:1;dialogWidth:510px;dialogHeight:570px")')
else
	eval('window.open(url,"new_page","width=510px,height=570px,resizable=1,scrollbars=1")')
}
function SetStyle(Style)
{
		window.event.srcElement.className = Style ;
}
function register_onchange() {
	//window.location = document.formNav.filename[document.formNav.filename.selectedIndex].value;
	document.register.submit();
	return true;
}
function editaddress_onchange() {
	//window.location = document.formNav.filename[document.formNav.filename.selectedIndex].value;
	document.editaddress.submit();
	return true;
}
function checkout_onchange() {
	//window.location = document.formNav.filename[document.formNav.filename.selectedIndex].value;
	document.bcheckout.submit();
	return true;
}
function paymenttype_onchange() {
	//window.location = document.formNav.filename[document.formNav.filename.selectedIndex].value;
	document.bpaymenttype.submit();
	return true;
}
function submitonce(theform) {
	//if IE 4+ or NS 6+
	if (document.all||document.getElementById){
		//screen thru every element in the form, and hunt down "submit" and "reset"
		for (i=0;i<theform.length;i++){
		var tempobj=theform.elements[i]
	if(tempobj.type.toLowerCase()=="submit"||tempobj.type.toLowerCase()=="reset")
		//disable em
		tempobj.disabled=true
						   }
					       }
}
// done hiding -->