if (top.location != self.location) top.location = self.location;
var bName=navigator.appName;var bVer=parseInt(navigator.appVersion);var NS4=(bName=="Netscape"&&bVer>=4);var IE4=(bName=="Microsoft Internet Explorer"&&bVer>=4);function mOvr(src){var firstChild
if(IE4)
src.style.cursor='hand';else if(NS4)
src.style.cursor='pointer';src.bgColor='#A4A498';src.firstChild.style.color='#9b2426';}
function mOut(src){src.style.cursor='default';src.bgColor='#eeeeee';src.firstChild.style.color='#000000';}
function mOvrAktiv(src){var firstChild
if(IE4)
src.style.cursor='hand';else if(NS4)
src.style.cursor='pointer';src.bgColor='#A4A498';src.firstChild.style.color='#9b2426';}
function mOutAktiv(src){src.style.cursor='default';src.bgColor='#eeeeee';src.firstChild.style.color='#9b2426';}
function mOvr1(src){var firstChild
if(IE4)
src.style.cursor='hand';else if(NS4)
src.style.cursor='pointer';src.bgColor='#A4A498';src.firstChild.style.color='#9b2426';}
function mOut1(src){src.style.cursor='default';src.bgColor='#eeeedd';src.firstChild.style.color='#000000';}
function mOvr1Aktiv(src){var firstChild
if(IE4)
src.style.cursor='hand';else if(NS4)
src.style.cursor='pointer';src.bgColor='#A4A498';src.firstChild.style.color='#9b2426';}
function mOut1Aktiv(src){src.style.cursor='default';src.bgColor='#eeeedd';src.firstChild.style.color='#9b2426';}
function emailcheck(){var navn=document.EmailKontaktOs.Navn.value;var email=document.EmailKontaktOs.Email.value;if(navn==""){alert("Du skal skrive dit navn")
document.EmailKontaktOs.Navn.focus()
return false}
if(email==""){alert("Du skal indtaste din email")
document.EmailKontaktOs.Email.focus()
return false}
if(email!=""){if(email.indexOf('@',0)==-1||email.indexOf('.',0)==-1){alert("Ikke en korrekt indtastet email. Prøv igen");document.EmailKontaktOs.Email.focus()
return false}}}
sfHover=function(){var sfEls=document.getElementById("nav").getElementsByTagName("LI");for(var i=0;i<sfEls.length;i++){sfEls[i].onmouseover=function(){this.className+=" sfhover";}
sfEls[i].onmouseout=function(){this.className=this.className.replace(new RegExp(" sfhover\\b"),"");}}}
if(window.attachEvent){window.attachEvent("onload",sfHover);}
function submitonce(theform){if(document.all||document.getElementById){for(i=0;i<theform.length;i++){var tempobj=theform.elements[i]
if(tempobj.type.toLowerCase()=="image"||tempobj.type.toLowerCase()=="reset")
tempobj.disabled=true}}}
var isSubmit=false;function check(){var cKundeEmail=document.regbruger.cKundeEmail.value;if(isSubmit==true){alert("Vent venligst, mens kunden oprettes...");return false;}
if(cKundeEmail!=""){if(cKundeEmail.indexOf('@',0)==-1||cKundeEmail.indexOf('.',0)==-1){alert("Du skal indtaste en korrekt email!!");document.regbruger.cKundeEmail.focus()
return false}}
isSubmit=true;}<!--
var http=createRequestObject();function createRequestObject()
{var xmlhttp;try
{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e)
{try{xmlhttp=new ActiveXObject("Microsoft.XMLHTTP");}
catch(f){xmlhttp=null;}}
if(!xmlhttp&&typeof XMLHttpRequest!="undefined")
{xmlhttp=new XMLHttpRequest();}
return xmlhttp;}
function sndRating(idnum,rateval)
{var dvelement=document.getElementById('dv'+idnum);dvelement.innerHTML="<br><img src='http://www.danskelinks.dk/rate/progressimgred.gif' WIDTH='16' HEIGHT='16'>";try
{http.open('GET','ratingprocess.asp?modelid='+idnum+'&rateval='+rateval+'');http.onreadystatechange=handleResponseText;http.send(null);}
catch(e){}
finally{}}
function handleResponseText()
{try
{if((http.readyState==4)&&(http.status==200))
{var response=http.responseText;var update=new Array();if(response.indexOf('|')!=-1)
{update=response.split('|');var drelement=document.getElementById('dv'+update[0]);var voteres=document.getElementById('vot'+update[0]);var totalvote=document.getElementById('tv'+update[0]);var starimg=document.getElementById('star'+update[0]);drelement.style.display='none';voteres.innerHTML=update[2];totalvote.innerHTML=update[3];starimg.innerHTML=update[4].toString();}}}
catch(e){alert("an error occured");}
finally{}}