function decision(url,delete_what){
	var message = "Are you sure that you want to delete " + delete_what + "?";
	if(confirm(message)) window.location.href = url;
}

function decisionSubmit(delete_what){
	var message = "Are you sure that you want to delete " + delete_what + "?";
	if(confirm(message)) document.deleteImage.submit();
}

function submitenter(myfield,e){
	var keycode;
	if (window.event) keycode = window.event.keyCode;
	else if (e) keycode = e.which;
	else return true;
	
	if (keycode == 13)  {
		document.login.submit();
		return false;
	} else {
		return true;
	}
}
$(document).ready(function(){

	//Remove outline from links
	$("a").focus(function(){
		$(this).blur();
	});

	$("a").removeAttr("title");
	$("img").removeAttr("alt");
	
	// About Us
	$("#primaryNav0").mouseover(function(){
		$(this).stop().animate({height:'182px'},{queue:true, duration:200, easing: 'easeOutSine'});
	});
	
	// Your Visit
	$("#primaryNav1").mouseover(function(){
		$(this).stop().animate({height:'182px'},{queue:true, duration:200, easing: 'easeOutSine'});
	});

	// Your Health
	$("#primaryNav2").mouseover(function(){
		$(this).stop().animate({height:'210px'},{queue:true, duration:200, easing: 'easeOutSine'});
	});
	
	$("#primaryNav0, #primaryNav1, #primaryNav2").mouseout(function(){
		$(this).stop().animate({height:'41px'},{queue:true, duration:200, easing: 'easeOutSine'});
	});
	
});
