$(document).ready(function(){
	$(".intext").toggleVal();
	$("#global li, #nav li, #carousel li").click(function(){
    	window.location=$(this).find("a").attr("href");return false;
	});		
});

function checkEmail(myForm) {
  if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(myForm.recipientEmail.value)){ 
  document.getElementById('objectResponse').innerHTML="<h3>Loading...</h3>";
  return (true) 
  }
  alert("Feil e-post, test igjen.")
  return (false)
}