<!--

	function terms() {
		window.open('/cms/Salgs-og-Leveringsbetingelser.aspx?Template=Popup', '', 'resizable=no,toolbar=no,scrollbars=yes,menubar=no,status=no,directories=no,width=480,height=460');
	}

	function newcustomer() {
		window.open('/core-popup.php?ext=eshop.account.new', '', 'resizable=no,toolbar=no,scrollbars=yes,menubar=no,status=no,directories=no,width=480,height=460');
	}
	
	function deliveryinfo() {
		window.open('/cms/Fragtpriser.aspx?Template=Popup', '', 'resizable=no,toolbar=no,scrollbars=yes,menubar=no,status=no,directories=no,width=480,height=460');
	}
	
	function forgotpassword() {
		window.open('/core_popup.php?ext=eshop.account.password', '', 'resizable=no,toolbar=no,scrollbars=yes,menubar=no,status=no,directories=no,width=480,height=460');
	}
	
	function paymenttype(i) {
		window.location.href = '?ext=eshop.checkout.payment&pt='+i;
	}
	
	function deliverytype(i) {
		window.location.href = '?ext=eshop.checkout.payment&dt='+i;
	}
	
	function supplement(i,act) {
		window.location.href = '?ext=eshop.checkout.payment&'+act+'='+i;
	}
	
	function popupwindow(url,w,h,x,y,scrollbar) {
		if (x == null)
			x = (screen.width - w) / 2;
		if (y == null)
			y = (screen.height - h) / 2;
		if (scrollbar == null)
			scrollbar = false;

		window.open(url, '', 'resizable=no,toolbar=no,scrollbars=' + (scrollbar ? 'yes' : 'no') + ',menubar=no,status=no,directories=no,width='+w+',height='+h+',top='+y+',left='+x);
	}
	
	/* ASP.NET MasterPage Functions */
    function TrapKD(btn)
    {
        if (document.all)
        {
            if (event.keyCode == 13)
            {
                event.returnValue=false;
                event.cancel = true;
                btn.click();
            }
        }
    }
        
-->