$(document).ready(init);

function init(e)
{
	/* --PARA PREVENIR RIGHT CLICK--
	$(this).bind("contextmenu", function(e) {
		e.preventDefault();
	});*/
	$(".cuadro_informacion_outer").corner();
	$("#tooltip").corner();
	$("#clientes").click(click_clientes);
	
	/* TOOLTIP^*/
	/*$("#facebook, #twitter, #linkedin, #youtube").hover(
	function()
	{
		$("#tooltip").css({"display" : "block", "opacity" : 0});
		$("#tooltip").stop().animate({opacity:.9}, 200);
	},
	function()
	{
		$("#tooltip").stop().animate({opacity:0}, 200);
	});
	
   	$("#facebook, #twitter, #linkedin, #youtube").mousemove(function(e)
	{
		$("#tooltip").css({
		"top" : e.pageY - 50,
		"left" : e.pageX - 50	
		});	
	});*/ 
	/* TOOLTIP^*/
}

function click_clientes()
{
	$("<div id='dialog' style='width:550px;'><p style='text-align: center'>La zona de clientes se encuentra en construcción.</p><div style='margin:20px auto; width:300px;'><img src='images/construccion/herramega_construccion.jpg'/></div></div>").dialog({
		modal: true,
		resizable : false,
		width : 600,
		height : 400,
		draggable: false,
		title : "Zona clientes en contrucci&oacute;n"
	});
}

