// JavaScript Document
function clear_brukernavn(){
	var input = document.getElementById("brukernavn").value;
	if(input == "brukernavn"){
		 document.getElementById("brukernavn").value = "";
	}

}
function clear_passord(){
	var input = document.getElementById("passord").value;
	if(input == "passord"){
		 document.getElementById("passord").value = "";
	}

}
function clear_sok(){
	var input = document.getElementById("sok").value;
	if(input == "Søk her!"){
		 document.getElementById("sok").value = "";
	}

}

function field_password(){
	var field = document.getElementById("Passord");
	if(field.disabled==true){
		field.disabled = false;
	}
}
function field_mail(){
	var field = document.getElementById("Mail");
	if(field.disabled==true){
		field.disabled = false;
	}
}
function picture_fill(){
	new_value = document.getElementById("selector").value;
	document.getElementById("URL").value = new_value;
}
function confirm_delete(name){
	return confirm("Er du sikker på at du vil slette angitte " + name + "?");
}
