$(document).ready(function() {
	
	$("form :text").defaultValue();
	
	$('#menu li').mouseover(function() {
		obj=$(this);
		if(!obj.is(".current")){
			$(this).find("span").css("color","white");
		}
	});
	
	$('#menu li').mouseout(function() {
		obj.find("span").removeAttr('style');
		obj.removeAttr('style');
	});
	
});

function confirmDel(del_link, str_1, str_2) {

     var result = prompt(str_1, "");

	if (result != "delete") {
		if (result > "") {
			alert(str_2);
		}
	} else {
		document.location.href = del_link;
	}
}