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");

	var wrapper_height = $("#wrapper").height();
	var main_height = wrapper_height - 286;
	
	$("#left-col").css({"height" : main_height});
	if(main_height < 1500)  $("#right-col").css({"height" : main_height});

});
