
function chk_GodkendOrdre(frm)
{
	if(frm.chk_terms_accept)
	{
		if(frm.chk_terms_accept.checked!=true){
			alert('Du skal acceptere webshoppens handelsbetingelser inden ordren kan gennemføres.');
			return(false);
		}
	}
}

function slet_liste(inp_l_id)
{
	answer = confirm ('Ønsker du at slette ALT på den aktuelle indkøbsliste?');
	if (answer==true)
	{
		self.location.href = 'basket.asp?action=del_shoplist&l_id='+inp_l_id;
	}else{
		//Don't delete - do nothing...
	}
}

//	--------------------------------------------------
//		FRA PROD_SPEC..!!!
//	--------------------------------------------------
function showPicWin(){
	var i = 0;
//	if (navigator.appName == 'Netscape') i=40;

	strPicUrl = document.getElementById("pic_large").src;

	objWinPrevPic = window.open('','prevpic','locationbar=no,menubar=no,resizable=yes,toolbar=no,status=yes,scrollbars=no,width=600,height=500');
	with(objWinPrevPic){
		document.write("<img src='"+strPicUrl+"'>");
		document.write("<style>a{color:#000000;}</style>");
		document.write("<div style='text-align: center; font-family: verdana; font-size: 8pt; margin-top: 8px;'>");
		document.write("<a href='javascript:window.close();'>» Close</a></div>");
		document.body.onload = new function(){
			if (document.images[0]) window.resizeTo(document.images[0].width +30, document.images[0].height+110-i);
		}
		document.close();
	}
	objWinPrevPic.moveTo (5, 5);
	objWinPrevPic.focus();
}