function checkform(which) {var pass=true;if (document.images) {for (i=0;i<which.length;i++) {var tempobj=which.elements[i];if (tempobj.name.substring(0,1)=="*") {if (((tempobj.type=="text"||tempobj.type=="textarea")&&tempobj.value=='')||(tempobj.type.toString().charAt(0)=="s"&&tempobj.selectedIndex==0)) {pass=false;break;         }      }   }}if (!pass) {shortFieldName=tempobj.name.substring(1,30);alert("Udfyld veligst feltet "+shortFieldName+" og prøv igen!");return false;}elsereturn true;}function checkEmail(Orderform) {if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(Orderform.E-mail.value)){return (true)}alert("Ugyldig E-mail adresse - Prøv igen!")return (false)}function Popup(strID) {window.open(strID, 'Popup', 'height=600,width=800,status=no,location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=no,top='+(screen.height-600)/2+',left='+(screen.width-800)/2)}function exit(){close();}function udskriv(){print();}function ConfirmDelete(){var agree=confirm("Slet?");if (agree)	return true ;else	return false ;}function ConfirmUpdate(){var agree=confirm("Opdater?");if (agree)	return true ;else	return false ;}function ConfirmGo(){var agree=confirm("Har du husket at opdatere?");if (agree)	return true ;else	return false ;}function ConfirmTilmeld(){var agree=confirm("Send tilmelding?");if (agree)	return true ;else	return false ;}function ConfirmBestil(){var agree=confirm("Bestil brochure?");if (agree)	return true ;else	return false ;}function ConfirmGeneral(){var agree=confirm("Er du sikker?");if (agree)	return true ;else	return false ;}function ConfirmBesked(){var agree=confirm("Send besked?");if (agree)	return true ;else	return false ;}function ConfirmForslag(){var agree=confirm("Send forslag?");if (agree)	return true ;else	return false ;}function ConfirmDeleteImage(){var agree=confirm("Slet billede?");if (agree)	return true ;else	return false ;}function formHandler(form){var URL = document.form.site.options[document.form.site.selectedIndex].value;window.location.href = URL;}function Load2Frames(frame1,page1,frame2,page2) {eval("parent."+frame1+".location='"+page1+"'");eval("parent."+frame2+".location='"+page2+"'");}function Set_img(img){	document.images[img].src = 'images/pointer_up.gif';}function Reset_img(img){	document.images[img].src = 'images/pointer.gif';}
