
function AvisoLegal ()
{
	var Ventana = new TVentana ();

	Ventana.Ancho       = 550;
	Ventana.Alto        = 400;
	Ventana.Nombre      = 'AvisoLegal';
	Ventana.URL         = '/plantillas/avisolegal.html';
	Ventana.Open (true);
}

function Trabaja (Idioma)
{
	var Ventana = new TVentana ();

	Ventana.Ancho       = 500;
	Ventana.Alto        = 420;
	Ventana.Nombre      = 'Trabaja';
	Ventana.URL         = '/fuentes/trabaja.php?Lng=' + Idioma;
	Ventana.Open (true);
}


function CambiarIdioma (Idioma)
{
	window.location = '/index.php?Lng=' + Idioma;
}


function FlashHome (Path)
{
	document.write ('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"');
	document.write ('codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"');
	document.write ('width="100%" height="100%" id="PeliculaFlash" align="middle">');
	document.write ('<param name="allowScriptAccess" value="sameDomain" />');
	document.write ('<param name="movie" value="' + Path + '/swf/home.swf" />');
	document.write ('<param name="wmode" value="transparent" />');
	document.write ('<param name="quality" value="high" /><param name="scale" value="noscale" />');
	document.write ('<param name="salign" value="lt" /><param name="bgcolor" value="#ffffff" />');
	document.write ('<embed src="' + Path + '/swf/home.swf" quality="high" scale="noscale" salign="lt" bgcolor="#ffffff"');
	document.write ('width="100%" height="100%" wmode="transparent" name="PeliculaFlash" align="middle" allowScriptAccess="sameDomain"');
	document.write ('type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />');
	document.write ('</object>');
}

function ProteccionDatos ()
{
	var Ventana        = new TVentana ()
	Ventana.Ancho      = 500;
	Ventana.Alto       = 500;
	Ventana.ScrollBars = false;
	Ventana.Nombre     = 'ProteccionDatos';
	Ventana.URL        = '/protecciondatos.html';
	Ventana.Open (true);
}


/////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////

function VerOferta (Ident, Idioma)
{
	var Ventana = new TVentana ();

	Ventana.Ancho       = 750;
	Ventana.Alto        = 510;
	Ventana.Nombre      = 'Oferta';
	Ventana.URL         = '/fuentes/oferta.php?Id=' + Ident + '&Lng=' + Idioma;
	Ventana.Open (true);
}


