/**
 * SWFObject v1.4.2: Flash Player detection and embed - http://blog.deconcept.com/swfobject/
 *
 * SWFObject is (c) 2006 Geoff Stearns and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * **SWFObject is the SWF embed script formerly known as FlashObject. The name was changed for
 *   legal reasons.
 */
	function CerrarOcasion(){
		window.frames[1].location="nada.asp"
		document.getElementById('capaocasion').style.visibility = 'hidden';
	}
	function FichaOcasion(id,lng){
		window.frames[1].location="ocasion_ifr.asp?lng=" + lng + "&id=" + id;
		document.getElementById('capaocasion').style.top= document.body.scrollTop + 100//(event.clientY + document.body.scrollTop) - 270;
		document.getElementById('capaocasion').style.visibility = 'visible';
	}
	function CerrarCharter(){
		window.frames[0].location="nada.asp"
		document.getElementById('capacharter').style.visibility = 'hidden';
	}
	function FichaCharter(id,lng){
		window.frames[0].location="charter_ifr.asp?lng=" + lng + "&id=" + id;
		document.getElementById('capacharter').style.top= document.body.scrollTop + 100//(event.clientY + document.body.scrollTop) - 270;
		document.getElementById('capacharter').style.visibility = 'visible';
	}
	function Suscripcion(lng){
		document.getElementById('suscribir').style.top= document.body.scrollTop + 100//(event.clientY + document.body.scrollTop) - 270;
		document.getElementById('suscribir').style.visibility = 'visible';
	}
	function CerrarSuscripcion(lng){		
		document.getElementById('suscribir').style.visibility = 'hidden';
	}
	function Enlaces(lng){
		document.getElementById('enlacesE').style.top= document.body.scrollTop + 100//(event.clientY + document.body.scrollTop) - 270;
		document.getElementById('enlacesE').style.visibility = 'visible';
	}
	function CerrarEnlaces(lng){		
		document.getElementById('enlacesE').style.visibility = 'hidden';
	}
