	// Buttons handling

$(document).ready(function() {

	$(".buttonface").each(function() {
		if (!$(this).attr("href") || $(this).attr("href") == "")
			$(this).click(function() {
				var submit_inp = "<input type='submit' style='display:none;' />";
				$(this).parents("form").append(submit_inp);
				$(this).parents("form").children('input[type="submit"]').click();
			});
	});

	if(navigator.appName.indexOf("Microsoft") < 0)
	{
		$(".buttonface").corner("7px");
	}
		
});
