function bookmark() {
	var title = "Comunicaciones Naco";
	var url = "http://www.comunicacionesnaco.com/";

	if (window.sidebar) { // firefox
		window.sidebar.addPanel(title, url, "");
	}
	else if(window.opera && window.print) { // opera
		var elem = document.createElement('a');
		elem.setAttribute('href',url);
		elem.setAttribute('title',title);
		elem.setAttribute('rel','sidebar');
		elem.click();
	}
	else if(document.all) {// ie
		window.external.AddFavorite(url, title);
	}
}

function yet() {
	alert('Esto a�n no esta disponible');
}

function ir(url) {
	location.href = url;
}

//$(function() {
//
//	$("a.tooltip").qtip({
//		content: "Hola mundo", // El texto
//		style: {
//			background: "#FFFFDC",
//			width: {min: 100, max: 400}
//		},
//		position: {
//			target: 'mouse',
//			adjust: { mouse: true, screen: true, x: 10, y: 10 }
//		}
//
//	});
//
//});

	

$(function() {

	var $flash_header_mask = $("<div></div>")
	.css({
		position: "absolute",
		cursor: "pointer",
		width: 796,
		height: 120,
		background: "#000",
		opacity: "0"
	})
	.bind({
		fix: function() {

			var flash_header_position = $("#flash_header").position();

			$(this).css({
				left: flash_header_position.left,
				top: flash_header_position.top
			});
		},
		click: function() {
			location.href = MAIN_URL + "/servicios/voip.php";
		}
	})
	.appendTo("body")
	.trigger("fix");

	$(window).resize(function() {
		$flash_header_mask.trigger("fix");
	});

	flash_header();

});
