$(document).ready(function() {
	
	$('.menu a img').imghover({suffix: '-over'});
	
	$(".loginpage input.text").focus(function() {
			var obj = $(this);
			var currentValue = obj.attr("value");
			if (currentValue=="user") {obj.attr("value","");};
	});
	
	$('.check-active').click(function() {
		$(this).hide();
		$(".check-disabled").show();
	});
	
	$('.check-disabled').click(function() {
		$(this).hide();
		$(".check-active").show();
	});
	
});

function confirmDel(del_link, str_1, str_2) {

	var result = confirm(str_1);
	
	if (result == true) {
		document.location.href = del_link;
	} else {
		//
	}
  
	/*
    var result = prompt(str_1, "");

	if (result != "delete") {
		if (result > "") {
			alert(str_2);
		}
	} else {
		document.location.href = del_link;
	}
	*/
}