//Nulstil en formular
function ClearForm(formname) { 
    document.forms[formname].reset()
    }

function addbookmark(url, title){
	if (document.all)
		window.external.AddFavorite(url,title)
	}

function co(element,mode) {
		    if (mode=="in") {
		      cursortype = 'hand'
		      colorval = '#F5F5F5'
		    } else if (mode=="out") {
		      cursortype = ''
		      colorval = '#8ca2b0'
		    }
		  element.style.background=colorval;
		  element.style.cursor=cursortype;
		}

	Function CheckCAPTCHA(valCAPTCHA)
		SessionCAPTCHA = Trim(Session("CAPTCHA"))
		Session("CAPTCHA") = vbNullString
		if Len(SessionCAPTCHA) < 1 then
			CheckCAPTCHA = False
			exit function
		end if
		if CStr(SessionCAPTCHA) = CStr(valCAPTCHA) then
			CheckCAPTCHA = True
		else
			CheckCAPTCHA = False
		end if
	End Function