/* 
* Script de gestion de Web's 
*/

var NS4=((parseInt(navigator.appVersion)>=4)&&(navigator.appName=='Netscape'));
var IE4=((parseInt(navigator.appVersion)>=4)&&(navigator.appName!='Netscape'));
var finestra;
var alguna=false;


var dir="../img/";

var idioma="";

var pagina;

var zoomimg="";

function web(){
}

function titulo(){
document.title=strtitulo;
}

function paginaactual(str){
pagina=str;
}

function layout(){

intLIdidioma = idioma +1;

top.fcent.document.write(' <div id="top" style="position:absolute; left:0px; top:0px; width:798px; height:437px; z-index:1">');
top.fcent.document.write('<table width="798" border="0" cellspacing="0" cellpadding="0" height="437">');
top.fcent.document.write('  <tr>');
top.fcent.document.write('    <td width="1" height="29" bgcolor="#000000"><img src="../img/pix_trans.gif" width="1" height="1"></td>');
top.fcent.document.write('    <td width="796" height="29" bgcolor="#000000"><img src="../img/pix_trans.gif" width="2" height="2"></td>');
top.fcent.document.write('    <td width="1" height="29" bgcolor="#000000"><img src="../img/pix_trans.gif" width="1" height="1"></td>');
top.fcent.document.write('  </tr>');
top.fcent.document.write('  <tr>');
top.fcent.document.write('    <td width="1" height="379" bgcolor="#B5B5B5"><img src="../img/pix_trans.gif" width="1" height="1"></td>');
top.fcent.document.write('    <td width="796" height="379" class="idiomas"><img src="../img/pix_trans.gif"></td>');
top.fcent.document.write('    <td width="1" height="379" bgcolor="#B5B5B5"><img src="../img/pix_trans.gif" width="1" height="1"></td>');
top.fcent.document.write('  </tr>');
top.fcent.document.write('  <tr>');
top.fcent.document.write('    <td width="1" height="29" bgcolor="#000000"><img src="../img/pix_trans.gif" width="1" height="1"></td>');
top.fcent.document.write('    <td width="796" height="29" bgcolor="#000000"><img src="../img/pix_trans.gif" width="1" height="1"></td>');
top.fcent.document.write('    <td width="1" height="29" bgcolor="#000000"><img src="../img/pix_trans.gif" width="1" height="1"></td>'); 
top.fcent.document.write('  </tr>');
top.fcent.document.write('</table> ');
top.fcent.document.write(' </div> ');
top.fcent.document.write('<div id="logo" style="position:absolute; left:0px; top:0px; width:150px; height:79px; z-index:2"><img src="../img/logo02.jpg" width="150" height="87" border="0" usemap="#Map"> ');
top.fcent.document.write('  <map name="Map"> ');
top.fcent.document.write('    <area shape="rect" coords="34,7,97,64" href="javascript:top.web.gohome()"  onFocus="if(this.blur)this.blur()" alt="Home"> ');
top.fcent.document.write('  </map> ');
top.fcent.document.write('</div> ');
top.fcent.document.write('<div id="flashname" style="position:absolute; left:421px; top:30px; width:376px; height:40px; z-index:3"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="376" height="40">');
top.fcent.document.write('    <param name=movie value="../img/eventis.swf">');
top.fcent.document.write('    <param name=quality value=high>');
top.fcent.document.write('    <embed src="../img/eventis.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="376" height="40">');
top.fcent.document.write('    </embed>');
top.fcent.document.write('  </object> ');
top.fcent.document.write('</div> ');
top.fcent.document.write('<div id="barra" style="position:absolute; left:423px; top:71px; width:349px; height:19px; z-index:5"><img src="../img/barra.jpg" width="376" height="15"></div>');
top.fcent.document.write('<div id="Layer5" style="position:absolute; left:1px; top:329px; width:798px; height:78px; z-index:0"><img src="../img/marca.jpg" width="798" height="78"></div>');
top.fcent.document.write('<div id="aviso" style="position:absolute; left:700px; top:72px; width:349px; height:19px; z-index:5"><a href="javascript:top.web.aviso()"><font class="textob">'+etiqueta("84_aviso", intLIdidioma)+'</font></a></div>');
top.fcent.document.write('<div id="politica" style="position:absolute; left:560px; top:72px; width:349px; height:19px; z-index:5"><a href="javascript:top.web.politica()"><font class="textob">'+etiqueta("85_pol", intLIdidioma)+'</font></a></div>');

}


function menulateral(){
idioma++;
if (pagina=="presentacion"){
top.fcent.document.write('<div id="pre" style="position:absolute; left:1px; top:120px; width:139px; height:46px; z-index:2"><img name="Image21" border="0" src="../img/b_present_a'+idioma+'.gif" width="139" height="46"></div>');
}
else{
top.fcent.document.write('<div id="pre" style="position:absolute; left:1px; top:120px; width:139px; height:46px; z-index:2"><a href="presentacion.htm" onFocus="if(this.blur)this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image21\',\'\',\'../img/b_present_ov'+idioma+'.gif\',1)"><img name="Image21" border="0" src="../img/b_present_n'+idioma+'.gif" width="139" height="46"></a></div>');
}
if (pagina=="servicios"){
top.fcent.document.write('<div id="ser" style="position:absolute; left:1px; top:166px; width:139px; height:46px; z-index:2"><img name="Image20" border="0" src="../img/b_servicio_a'+idioma+'.gif" width="139" height="46"></div>');
}
else{
top.fcent.document.write('<div id="ser" style="position:absolute; left:1px; top:166px; width:139px; height:46px; z-index:2"><a href="servicios.htm"  onFocus="if(this.blur)this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image20\',\'\',\'../img/b_servicio_ov'+idioma+'.gif\',1)"><img name="Image20" border="0" src="../img/b_servicio_n'+idioma+'.gif" width="139" height="46"></a></div>');
}
if (pagina=="personal"){
top.fcent.document.write('<div id="per" style="position:absolute; left:1px; top:212px; width:139px; height:46px; z-index:2"><img name="Image22" border="0" src="../img/b_personal_a'+idioma+'.gif" width="139" height="46"></div>');
}
else{
top.fcent.document.write('<div id="per" style="position:absolute; left:1px; top:212px; width:139px; height:46px; z-index:2"><a href="personal.htm"  onFocus="if(this.blur)this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image22\',\'\',\'../img/b_personal_ov'+idioma+'.gif\',1)"><img name="Image22" border="0" src="../img/b_personal_n'+idioma+'.gif" width="139" height="46"></a></div>');
}
if (pagina=="clientes"){
top.fcent.document.write('<div id="cli" style="position:absolute; left:1px; top:258px; width:139px; height:46px; z-index:2"><img name="Image23" border="0" src="../img/b_clientes_a'+idioma+'.gif" width="139" height="46"></div>');
}
else{
top.fcent.document.write('<div id="cli" style="position:absolute; left:1px; top:258px; width:139px; height:46px; z-index:2"><a href="clientes.htm"  onFocus="if(this.blur)this.blur()" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image23\',\'\',\'../img/b_clientes_ov'+idioma+'.gif\',1)"><img name="Image23" border="0" src="../img/b_clientes_n'+idioma+'.gif" width="139" height="46"></a></div>');
}
idioma--;
}


function menusuperior(){

intLIdidioma = idioma +1;

top.fcent.document.write('<div id="Layer1" style="position:absolute; left:170px; top:72px; width:627px; height:15px; z-index:4">');
top.fcent.document.write('  <table width="628" border="0" cellspacing="0" cellpadding="0">');
top.fcent.document.write('  <tr>');
top.fcent.document.write('	<td width="628">');
top.fcent.document.write('          <table width="628" border="0" cellspacing="0" cellpadding="0">');
top.fcent.document.write('            <tr> ');
if (pagina=="contacta"){
top.fcent.document.write('                <td width="61" height="15" align="center" valign="middle"><font class="enlaces">'+etiqueta("4_contacta", intLIdidioma)+'</font></td>');
}
else{
top.fcent.document.write('                <td width="61" height="15" align="center" valign="middle" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image25\',\'\',\'../img/pixblue.gif\',1)"><A href="javascript:top.web.sendmail(\''+etiqueta("4_contacta",intLIdidioma)+'\');""  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image25\',\'\',\'../img/pixblue.gif\',1)" class="enlaces">'+etiqueta("4_contacta", intLIdidioma)+'</A></td>');
}
top.fcent.document.write('      <td width="1" height="15"><img src="../img/pix_trans.gif" width=1 height=1></td>');
if (pagina=="presupuesto"){
top.fcent.document.write(' 				  <td width="123" height="15"  align="center" valign="middle"><font class="enlaces">'+etiqueta("5_pidepresu", intLIdidioma)+'</font></td>');
}
else{
top.fcent.document.write('                <td width="123" height="15"  align="center" valign="middle" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image26\',\'\',\'../img/pixblue.gif\',1)"><A href="presupuesto.htm" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image26\',\'\',\'../img/pixblue.gif\',1)" class="enlaces">'+etiqueta("5_pidepresu", intLIdidioma)+'</A></td>');
}
top.fcent.document.write('      <td width="1" height="15"><img src="../img/pix_trans.gif" width=1 height=1></td>');
if (pagina=="apuntate"){
top.fcent.document.write('                 <td width="63" height="15" align="center" valign="middle"><font class="enlaces">'+etiqueta("6_apuntate", intLIdidioma)+'</font></td>');
}
else{
top.fcent.document.write('				   <td width="63" height="15" align="center" valign="middle" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image27\',\'\',\'../img/pixblue.gif\',1)"><A href="apuntate.htm"  onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage(\'Image27\',\'\',\'../img/pixblue.gif\',1)" class="enlaces">'+etiqueta("6_apuntate", intLIdidioma)+'</A></td>');
}
top.fcent.document.write('      <td width="1" height="15"><img src="../img/pix_trans.gif" width=1 height=1></td>');
top.fcent.document.write('		<td width="374" height="15"><img src="../img/pix_trans.gif" width=1 height=1></td>');
top.fcent.document.write(' 		  </tr>');
top.fcent.document.write('</table>');
top.fcent.document.write('</td>');
top.fcent.document.write('</table>');
top.fcent.document.write('</div>');
top.fcent.document.write('<div id="Layer2" style="position:absolute; left:170px; top:72px; width:627px; height:15px; z-index:3">');
top.fcent.document.write('  <table width="628" border="0" cellspacing="1" cellpadding="0" bgcolor="#B5B5B5">');
top.fcent.document.write('  <tr>');
top.fcent.document.write('	<td width="628">');
top.fcent.document.write('          <table width="628" border="0" cellspacing="0" cellpadding="0" bgcolor="#FFFFFF">');
top.fcent.document.write('            <tr>');
if (pagina=="contacta"){
top.fcent.document.write('  <td width="61" height="13" align="center" valign="middle"><img name="Image25" border="0" src="../img/pixrosa.gif" width="61" height="13"></td>');
}
else{
top.fcent.document.write('  <td width="61" height="13" align="center" valign="middle"><img name="Image25" border="0" src="../img/pixwhite.gif" width="61" height="13"></td>');
}
top.fcent.document.write('  <td width="1" height="13" bgcolor="#B5B5B5"><img src="../img/pix_trans.gif" width=1 height=1></td>');
if (pagina=="presupuesto"){
top.fcent.document.write('  <td width="123" height="13" bgcolor="#E5E5E5" align="center" valign="middle"><img name="Image26" border="0" src="../img/pixrosa.gif" width="123" height="13"></td>');
}
else{
top.fcent.document.write('  <td width="123" height="13" bgcolor="#E5E5E5" align="center" valign="middle"><img name="Image26" border="0" src="../img/pixwhite.gif" width="123" height="13"></td>');
}
top.fcent.document.write('  <td width="1" height="13" bgcolor="#B5B5B5"><img src="../img/pix_trans.gif" width=1 height=1></td>');
if (pagina=="apuntate"){
top.fcent.document.write('  <td width="65" height="13" bgcolor="#E5E5E5"align="center" valign="middle"><img name="Image27" border="0" src="../img/pixrosa.gif" width="63" height="13"></td>');
}
else{
top.fcent.document.write(' <td width="65" height="13" bgcolor="#E5E5E5"align="center" valign="middle"><img name="Image27" border="0" src="../img/pixwhite.gif" width="63" height="13"></td>');
}
top.fcent.document.write('  <td width="1" height="13" bgcolor="#B5B5B5"><img src="../img/pix_trans.gif" width=1 height=1></td>');
top.fcent.document.write('  <td width="376" height="13" bgcolor="#FFFFFF"><img src="../img/pix_trans.gif" width=1 height=1></td>');
top.fcent.document.write('  </tr>');
top.fcent.document.write('</table>');
top.fcent.document.write('</td>');
top.fcent.document.write('</table>');
top.fcent.document.write('</div>');
}

function fotopresentacion(){
//alert(dir+'pre/'+foto["presentacion"].nombre);
top.fcent.document.write('<div id="fotpres" style="position:absolute; left:175px; top:105px; width:627px; height:15px; z-index:5">');
top.fcent.document.write('<img src="'+dir+'pre/'+foto["presentacion"].nombre+'">');
top.fcent.document.write('</div>');
}

function etiqueta(etq,id){

str=etq+'_'+id;
return (tetq[str]);
}

function gotopage(dir){
if (dir=="esp"){
idioma=0;
temp= 'esp'+'/presentacion.htm';
}
else if (dir=="cat"){
idioma=1;
temp= 'cat'+'/presentacion.htm';
}
else if (dir=="ing"){
idioma=2;
temp= 'ing'+'/presentacion.htm';
}
top.fcent.location=temp;
}

function textopresentacion(){
intLIdidioma = idioma +1;
temp='presentacion_'+intLIdidioma;
top.fcent.document.write('<DIV ID="scrollWindowDiv">');
top.fcent.document.write('<DIV ID="scrollContentDiv">');
top.fcent.document.write(textos[temp]);
top.fcent.document.write('</DIV>');
top.fcent.document.write('</DIV>');
top.fcent.document.write('<DIV ID="scrollBottonUpDiv">');
top.fcent.document.write('  <a href="javascript:// scroll up"   onMouseOut="swapImgRestore();myscroll.stop();return false;" onMouseOver="myscroll.up();return false;swapImage(\'Image2\',\'\',\'../img/b_srcup_ov.gif\',1);"><img name="Image2" border="0" src="../img/b_srcup_n.gif" width="11" height="11"></a>');
top.fcent.document.write('</DIV>');
top.fcent.document.write('<DIV ID="scrollBottonDownDiv">');
top.fcent.document.write('  <a href="javascript:// scroll down"   onMouseOut="swapImgRestore();myscroll.stop();return false;" onMouseOver="myscroll.down(); return false;swapImage(\'Image1\',\'\',\'../img/b_srcdown_ov.gif\',1);"><img name="Image1" border="0" src="../img/b_srcdown_n.gif" width="11" height="11"></a>');
top.fcent.document.write('</DIV>');
}

function textoservicios(){
intLIdidioma = idioma +1;
cadena="";
grupoactual="";
//alert(ser.length);
for (var ii = 0; ii < ser.length; ii++) {
	// Si el grupo actual es nulo o distinto del que viene
	if (ser[ii].Idioma==intLIdidioma){
		if ((grupoactual == "") || (grupoactual != ser[ii].Grupo)){
				// Si empezamos a listar
				if (grupoactual != ""){
				cadena += '</ul>';
				//cadena += '</ul>';
				}
				//cadena+='<ul>';
				cadena += '<span class="textob">'+ser[ii].Grupo+'</span><br>';
				grupoactual=ser[ii].Grupo;
				cadena+='<ul>';
				cadena+='<li class="texto"><font class="texto">'+ser[ii].Servicio+'</font></li>';
	    } 
		else{
		         cadena+='<li class="texto"><font class="texto">'+ser[ii].Servicio+'</font></li>';
	    }
	}
}
cadena += '</ul>';

top.fcent.document.write('<DIV ID="scrollWindowDiv">');
top.fcent.document.write('<DIV ID="scrollContentDiv">');
top.fcent.document.write(cadena);
top.fcent.document.write('</DIV>');
top.fcent.document.write('</DIV>');
top.fcent.document.write('<DIV ID="scrollBottonUpDiv">');
top.fcent.document.write('  <a href="javascript:// scroll up"   onMouseOut="swapImgRestore();myscroll.stop();return false;" onMouseOver="myscroll.up();return false;swapImage(\'Image2\',\'\',\'../img/b_srcup_ov.gif\',1);"><img name="Image2" border="0" src="../img/b_srcup_n.gif" width="11" height="11"></a>');
top.fcent.document.write('</DIV>');
top.fcent.document.write('<DIV ID="scrollBottonDownDiv">');
top.fcent.document.write('  <a href="javascript:// scroll down"   onMouseOut="swapImgRestore();myscroll.stop();return false;" onMouseOver="myscroll.down(); return false;swapImage(\'Image1\',\'\',\'../img/b_srcdown_ov.gif\',1);"><img name="Image1" border="0" src="../img/b_srcdown_n.gif" width="11" height="11"></a>');
top.fcent.document.write('</DIV>');
}

function marquesina(zona){
zoomimg=zona;
if (zona=="Ser"){
	var imag="";
	var tam="";
	var Id="";
	var Wt="";
	var Ht="";
	for (var ii = 0; ii < marq.length; ii++) {
		if (ii == 0 ){
			imag="../img/ser/"+marq[ii].imagen;
			tam =marq[ii].tam;
			Id = ii;
			Wt = marq[ii].ancho;
			Ht = marq[ii].alto;
		}
		else{
			imag+= "," +"../img/ser/"+marq[ii].imagen;
			tam += ","+  marq[ii].tam;
			Id += ","+  ii;
			Wt += ","+  marq[ii].ancho;
			Ht += ","+ marq[ii].alto;
		}
	}
}
else{
	var imag="";
	var tam="";
	var Id="";
	var Wt="";
	var Ht="";
	for (var ii = 0; ii < marq2.length; ii++) {
		if (ii == 0 ){
			imag="../img/per/"+marq2[ii].imagen;
			tam =marq2[ii].tam;
			Id = ii;
			Wt = marq2[ii].ancho;
			Ht = marq2[ii].alto;
		}
		else{
			imag+= "," +"../img/per/"+marq2[ii].imagen;
			tam += ","+  marq2[ii].tam;
			Id += ","+  ii;
			Wt += ","+  marq2[ii].ancho;
			Ht += ","+ marq2[ii].alto;
		}
	}
}
top.fcent.document.write(' <div id="markfoto" style="position:absolute; left:165px; top:95px; width:200px; height:230px; z-index:10; clip: rect(10 200 230 10)">');
top.fcent.document.write(' <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"  WIDTH="200" HEIGHT="230" id="Untitled-1" ALIGN="">');
top.fcent.document.write(' <PARAM NAME=movie VALUE="../img/ser/servi.swf?imag='+imag+'&tam='+tam+'&Id='+Id+'&Wt='+Wt+'&Ht='+Ht+'"> ');
top.fcent.document.write(' <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="../img/ser/servi.swf?imag='+imag+'&tam='+tam+'&Id='+Id+'&Wt='+Wt+'&Ht='+Ht+'" quality=high bgcolor=#FFFFFF  WIDTH="200" HEIGHT="230" NAME="Untitled-1" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
top.fcent.document.write(' </OBJECT>');
top.fcent.document.write(' </div>');
top.fcent.document.write(' <div id="Layerbarup" style="position:absolute; left:170px; top:100px; width:200px; height:46px; z-index:2"><img name="Imagebarra2" border="0" src="../img/barritas.gif" width="200" height="5"></div>');
top.fcent.document.write(' <div id="Layerbardown" style="position:absolute; left:170px; top:325px; width:200px; height:46px; z-index:2"><img name="Imagenbarra3" border="0" src="../img/barritadown.gif" width="200" height="5"></div>');
}


//Textos de Personal
function textopersonal(){
intLIdidioma = idioma +1;
cadena="";
grupoactual="";
//alert(ser.length);
cadena += '<ul>';
for (var ii = 0; ii < per.length; ii++) {
	if (per[ii].Idioma==intLIdidioma){
		cadena+='<li class="texto"><font class="texto">'+per[ii].Personal+'</font></li>';
	}
}
cadena += '</ul>';

top.fcent.document.write('<DIV ID="scrollWindowDiv">');
top.fcent.document.write('<DIV ID="scrollContentDiv">');
top.fcent.document.write(cadena);
top.fcent.document.write('</DIV>');
top.fcent.document.write('</DIV>');
top.fcent.document.write('<DIV ID="scrollBottonUpDiv">');
top.fcent.document.write('  <a href="javascript:// scroll up"   onMouseOut="swapImgRestore();myscroll.stop();return false;" onMouseOver="myscroll.up();return false;swapImage(\'Image2\',\'\',\'../img/b_srcup_ov.gif\',1);"><img name="Image2" border="0" src="../img/b_srcup_n.gif" width="11" height="11"></a>');
top.fcent.document.write('</DIV>');
top.fcent.document.write('<DIV ID="scrollBottonDownDiv">');
top.fcent.document.write('  <a href="javascript:// scroll down"   onMouseOut="swapImgRestore();myscroll.stop();return false;" onMouseOver="myscroll.down(); return false;swapImage(\'Image1\',\'\',\'../img/b_srcdown_ov.gif\',1);"><img name="Image1" border="0" src="../img/b_srcdown_n.gif" width="11" height="11"></a>');
top.fcent.document.write('</DIV>');
}

function clientes(){

	top.fcent.document.write(' <DIV id="clientes" style="position:absolute; left:175px; top:100px; width:400px; height:230px; z-index:5">');
	top.fcent.document.write(' <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="600" HEIGHT="390" id="Untitled-1" ALIGN=""> ');
	top.fcent.document.write(' <PARAM NAME=movie VALUE="../logos/flash2.swf"> ');
	top.fcent.document.write(' <PARAM NAME=quality VALUE=high>  ');
	top.fcent.document.write(' <PARAM NAME=bgcolor VALUE=#FFFFFF> ');
	top.fcent.document.write(' <EMBED src="../img/cli/clientes.swf" quality=high bgcolor=#FFFFFF  WIDTH="200" HEIGHT="300" NAME="Untitled-1" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> ');
	top.fcent.document.write(' </OBJECT> ');
	top.fcent.document.write(' </DIV> ');

}


function firma(){


	top.fcent.document.write(' <DIV id="firma" style="position:absolute; left:0px; top:415px; width:800px; height:22px; z-index:12">');
	top.fcent.document.write('   <div align="center" class="direccion"> ');
	if (pagina=="home"){
	top.fcent.document.write(' WebSite Corporativa Optimizada  para IE 5.0 y superiores (800x600) ·   Flash Player 6.0 de Macromedia ' );}
	else{
	top.fcent.document.write(''+ etiqueta("3_direccion", intLIdidioma)+'' );}
	top.fcent.document.write('   </div> ');
	top.fcent.document.write(' </DIV> ');

}
function gohome(){
top.location.href="http://www.eventisazafatas.com"
}

function getZona(){
return (zoomimg);
}
function getZoom(pag ,img){
if (pag=="Ser"){
imag="../img/serzoom/"+marq[img].imagen;
}
else{
imag="../img/perzoom/"+marq2[img].imagen;
}
top.document.write('<img src="'+ imag +'" Filter:alpha("50">');
}

function sendmail(tema){
temp=idioma+1;
window.location = 'mailto:'+eval('to_contacta'+temp)+'?subject='+tema;
}

function aviso(){
var sizex= 500;
var sizey= 350;
var XC=window.screen.width;
var YC=window.screen.height;
var XC1=Math.ceil( (window.screen.width - sizex) / 2 );	 
var YC1=Math.ceil( (window.screen.height - sizey) / 2 );	 
if (alguna) { if (NS4) { if (!finestra.closed) finestra.close(); }
		      else finestra.close();}
alguna=true;
var features="fullscreen=0,width="+sizex+",height="+sizey+",toolbar=0,location=0,directoris=0,status=0,menubar=0,scrollbars=1,rezisable=0,left="+XC1+",top="+YC1+"";
var pagtosend = "";
if (idioma==0){
temp= 'esp'+'/aviso.htm';
}
else if (idioma==1){
temp= 'cat'+'/aviso.htm';
}
else if (idioma==2){
temp= 'ing'+'/aviso.htm';
}

finestra=window.open(temp,"Eventis",features);
finestra.focus;

}

function politica(){
var sizex= 500;
var sizey= 300;
var XC=window.screen.width;
var YC=window.screen.height;
var XC1=Math.ceil( (window.screen.width - sizex) / 2 );	 
var YC1=Math.ceil( (window.screen.height - sizey) / 2 );	 
if (alguna) { if (NS4) { if (!finestra.closed) finestra.close(); }
		      else finestra.close();}
alguna=true;
var features="fullscreen=0,width="+sizex+",height="+sizey+",toolbar=0,location=0,directoris=0,status=0,menubar=0,scrollbars=1,rezisable=0,left="+XC1+",top="+YC1+"";
var pagtosend = "";
if (idioma==0){
temp= 'esp'+'/politica.htm';
}
else if (idioma==1){
temp= 'cat'+'/politica.htm';
}
else if (idioma==2){
temp= 'ing'+'/politica.htm';
}

finestra=window.open(temp,"Eventis",features);
finestra.focus;

}

function setIdioma(valor){
idioma=valor;
}

function getIdioma(){
return(idioma);
}
//new web();
web.prototype.titulo=titulo; 
web.prototype.layout=layout;
web.prototype.gotopage=gotopage;
web.prototype.menulateral=menulateral;
web.prototype.menusuperior=menusuperior;
web.prototype.paginaactual=paginaactual;
web.prototype.fotopresentacion=fotopresentacion;
web.prototype.textopresentacion=textopresentacion;
web.prototype.marquesina=marquesina;
web.prototype.textoservicios=textoservicios;
web.prototype.textopersonal=textopersonal;
web.prototype.clientes=clientes;
web.prototype.firma=firma;
web.prototype.gohome=gohome;
web.prototype.getZona=getZona;
web.prototype.getZoom=getZoom;
web.prototype.sendmail=sendmail;
web.prototype.aviso=aviso;
web.prototype.setIdioma=setIdioma;
web.prototype.getIdioma=getIdioma;
web.prototype.politica=politica;
web.prototype.etiqueta=etiqueta;
