/*
	v0.01 - [2009.02.05] 
	Valored Librería JS General
	© 2009 Intelygenz
*/

// ITEMS GENERICOS DEL WEB
if ( typeof(oIGZ)!="undefined" && oIGZ.f_checkLib("i_gfx", 0.185) ) {
 oIGZ.m_maItems = [["nType",  "sTagName"  , "sSrcOrValue"                ,  "sClassName", "nSizeX", "nSizeY", "sXtraAbs"]
     ,[
             1,  "BORRAR_ICO",   "pix/ico/borrar.gif"                    ,  "itemIcoAction",     16,     16,   " alt='borrar' title='borrar' "
      ,      1,  "CANCEL_ICO",   "pix/ico/cancel.gif"                    ,  "icono",             16,     16,   ""
      ,      1,  "ADD_ICO",      "pix/ico/add.gif"                       ,  "icono",             16,     16,   ""
      ,      1,  "TABLAS_ORDEN", "pix/ico/ordennOrden.gif"    ,  "",                  11,     11,   ""
      ,      1,  "LOADING_ICO",  "pix/ico/loading.gif"                   ,  "",                  64,     64,   ""
      ,      1,  "XBD_LOADING",  "pix/ico/xbd_loading.gif"               ,  "",                  32,     32,   ""
      ,      1,  "XBD_OK",       "pix/ico/xbd_save.gif"                  ,  "",                  24,     24,   ""

      ,      1,  "WIN_ICO",      "pix/ico/win_logo.gif"                  ,  "",                  97,     25,   ""
      ,      1,  "WIN_CLOSE",    "pix/ico/win_close.gif"                 ,  "",                 101,     25,   ""
 
      ,      2,  "INPUT",        ""                                      ,  "button",          null,   null,   ""
      ,      2,  "INPUT_SAVE",   "Guardar"                               ,  "buttonPrincipal", null,   null,   ""
 
      ]
     ];
}


if ( oIGZ.f_checkLib("i_gfx", 0.185) ) {
	oShield.m_sDefaultMSG = oIGZ.f_drawItem("LOADING_ICO");
	if ( oIGZ.f_checkLib("i_exml", 1.216)) {
		oWinFrame = new IWIN("oWinFrame");

		oWinFrame.f_defineTopEXML("<TABLE cellpadding=0 cellspacing=0 border=0'><TR>"
							   +"<TD class='IWinTopLeftIcoBg IWinTopLeftIcoSize' nowrap='nowrap'>&#160;</TD>"
							   +"<TD class='IWinTopBg IWinMSGTit' width='100%' onmousedown='<MOVE_ON />; return false' ><TITLE /></TD>"
							   +"<TD onclick='<EVENT_CLOSE />' class='IWinTopCloseBg IWinTopCloseSize' nowrap='nowrap' onmouseover='FHON(this)' onmouseout='FHOFF()' fh_tit='Cerrar ventana'>&#160;</TD>"
							   +"</TR></TABLE>"
						       );

		oWinFrame.f_build ("<TABLE cellpadding=0 cellspacing=0 border=0 width=<SIZEX /> >"
						  +"<TR>"
						  +"<TD class='IWinTopLeftBg IWinTopLeftSize' nowrap='nowrap'>&#160;</TD>"
						  +"<TD width='100%'><TOP /></TD>"
						  +"<TD class='IWinTopRightBg IWinTopRightSize' nowrap='nowrap'>&#160;</TD>"
						  +"</TR>"
						  +"<TR>"
						  +"<TD class='IWinMidLeftBg IWinMidLeftSize' nowrap='nowrap'>&#160;</TD>"
						  +"<TD width='100%' style='background: #FFF;'><BODY /></TD>"
						  +"<TD class='IWinMidRightBg IWinMidRightSize' nowrap='nowrap'>&#160;</TD>"
						  +"</TR>"
						  +"<TR>"
						  +"<TD class='IWinBotLeftBg IWinBotLeftSize' nowrap='nowrap'>&#160;</TD>"
						  +"<TD class='IWinBotBg IWinBotSize' width='100%' nowrap='nowrap'>&#160;</TD>"
						  +"<TD class='IWinBotRightBg IWinBotRightSize' nowrap='nowrap'>&#160;</TD>"
						  +"</TR>"
						  +"</TABLE>"
						  );

/*
		oWinFrame.m_oIEXML.f_setOwnTAG("<ICO />"	  , oIGZ.f_drawItem("WIN_ICO"));
		oWinFrame.m_oIEXML.f_setOwnTAG("<BOT_CLOSE />", oIGZ.f_drawItem("WIN_CLOSE"));
*/
		
	}
}
oXBD.m_a_sDefaultMSG[0] = oIGZ.f_drawItem("XBD_LOADING");
oXBD.m_a_sDefaultMSG[1] = oIGZ.f_drawItem("XBD_OK");


if ( oIGZ.f_checkLib("i_gfx", 0.185) ) {
	oShield.m_bFade = 0;
	oShield.m_sDefaultMSG = oIGZ.f_drawItem("LOADING_ICO");
	if ( oIGZ.f_checkLib("i_exml", 1.216)) {
		oWinShield = new IWIN("oWinShield");
		oWinShield.m_oIEXML.f_setOwnTAG("<ICO />"	   , oIGZ.f_drawItem("WIN_ICO"));
		oWinShield.m_oIEXML.f_setOwnTAG("<BOT_CLOSE />", oIGZ.f_drawItem("WIN_CLOSE"));



	oWinShield.f_build ("<TABLE cellpadding=0 cellspacing=0 border=0 width=<SIZEX /> class='WinMSG'>"
					 +"<TR><TD><TOP /></TD></TR>"
					 +"<TR><TD><BODY /></TD></TR>"
	//				 +"<TR><TD><BOTTOM /></TD></TR>"
					 +"</TABLE>"
					 );

		
	}
}






/* multiarray */


g_maMenuSup = new MArray(['Seccion','Texto']
	,[
	 ['index','Inicio']
	,['conocenos','Conócenos']
	,['miembros','Miembros']
	,['oficinas','Oficinas y Personas de Referencia']
	,['servicios','Servicios']
	
	]
)

var sURL=document.location.href;
//todo: cuidado, que habrá que cambiar "oIGZ.m_sRootPath.length" a "oIGZ.m_sRootPath.length + 3"
var sFile = sURL.substring(oIGZ.m_sRootPath.length + 3, sURL.length); 
var g_lang = sURL.substring(oIGZ.m_sRootPath.length, oIGZ.m_sRootPath.length + 2); 
//alert("g_lang="+g_lang);
var sURL_espanol = oIGZ.m_sRootPath + "es/" + sFile;
var sURL_ingles = oIGZ.m_sRootPath + "en/" + sFile;
var sURL_portugues = oIGZ.m_sRootPath + "pt/" + sFile;
//alert(sURL_ingles);


//todo: hasta nueva orden, sólo se muestra el idioma español
g_maIdiomas = new MArray(['Idioma','valor']
	,[
	 ['Español',sURL_espanol]
//	,['English',sURL_ingles]
//	,['Português',sURL_portugues]
	
	]
)

g_maMiembros = new MArray(['idMiembro','nombre','img','ancho','alto','texto_es','texto_en','texto_pt','ancla','enlace']
	,[
	 ['1','Tecnitasa','tecnitasa','243','63','Tecnitasa, fundada en 1985, es una compañía tasadora avalada por su homologación por el <B>Banco de España, Independiente</B> de cualquier grupo financiero o bancario. Con mas de <B>20 años de experiencia</B> en el mercado de la tasación, cuenta con mas de <B>450 profesionales técnicos</B>, una amplia red de mas de <B>52 centros operativos con cobertura nacional</B> que ofrece una elevada calidad en sus informes de valoración, en olazos reducidos, todo ello enmarcado por un amplio conocimiento del ámbito de actuación. <BR />Además Tecnitasa tiene presencia internacional. ','TECNITASA, founded in 1985, is a Valuation Company licensed and approved by the Central Bank of Spain. Tecnitasa is both Private and Independent. Tecnitasa, with more than 20 years experience, employs more than 450 Professionals and Technicians, has an extensive National network of more than 52 local offices. Tecnitasa provides the highest quality valuation reports, together with progressive details, based on its in-depth knowledge of each specific field. Tecnitasa, in addition, has a Global presence.','','spain','http://www.tecnitasa.es']
	,['2','Valorar','valorar','251','63','Avalúos y Tasaciones de Colombia Valorar S.A. es la <B>primera gran sociedad de valoración creada en Colombia</B> con <B>más de 150 accionistas</B> dentro de los cuales están destacados <B>profesionales</B> de las actividades inmobiliarias y de avalúos (tasaciones), con presencia nacional, con un <B>importante respaldo en bancos de datos e investigaciones especializadas</B>. Valorar tiene una amplia experiencia en la valoración de inmuebles, de viviendas nuevas o usadas o en desarrollo, de  inmuebles ligados a explotaciones económicas, maquinaria y equipo, además de valoración de empresas y ambientales.','VALORAR S.A. was and is the  leading Colombian Valuation Company, first established in Colombia, and with a nationwide presence. VALORAR has more than 150 shareholders, between which there are both Real Estate and Valuation specialists. VALORAR is strengthened by both in-depth databases and specialized research. Valorar has a wide and in-depth experience in the valuation of real estate/properties, new, second-hand and housing under development, apart from economic developments, machinery, equipment, together with business and environmental valuations.','','colombia','http://avaluosvalorar.com/?C=M;O=D']
	,['3','Valora','valora','249','42','VALORA Consultoría & Valuaciones ofrece desde 1988, servicios tecnificados en avalúos de bienes inmobiliarios urbanos y rurales, además de auditoría de obra civil, gestión e investigación inmobiliaria <B>en Uruguay</B>. Presta servicios de consultoría en el área económica, medio ambiental, agropecuaria e ingeniería industrial. Posee una <B>amplia cartera de clientes nacionales e internacionales</B> en el sistema financiero y otros sectores de actividad como el agropecuario y de servicios. Integrada por un grupo de técnicos universitarios abocados a un constante perfeccionamiento y actualización curricular en  la investigación científica del mercado inmobiliario y sus nuevas tendencias y manejos.','VALORA, founded in 1988, is a Company dedicated to Consultancy and Valuations.Its services include Technical Valuation, Audit of Public Works, and Management of/and Real Estate/Property Research. VALORA, in addition, provides consultancy services to The Economy, Environment, Agriculture and Industrial Engineering. VALORA has a wide portfolio of clients – from Finance, Fishfarming and other Service Industries.','','uruguay','http://www.valoraconsultora.com/']
	,['4','Favereau','favereau','247','42','<B>Favereau S.A. Tasaciones</B> es una empresa Argentina, pionera en el mercado de tasaciones, acreditada <B>por mas de 20 años de experiencia trabajando para las principales empresas nacionales e internacionales</B> que operan en la Argentina. Especializada tanto en la valuación de inmuebles para garantizar operaciones de <B>créditos hipotecarios</B>, como en la <B>tasación de activos fijos</B> para evaluar el riesgo en todo tipo de préstamos, además de <B>asesoramiento en compra-venta</B>. Cuenta con un cuerpo de  técnicos profesionales con amplia experiencia en el mercado inmobiliario Argentino.','FAVEREAU is an Argentinian/Argentine based Company. FAVEREAU was the pioneer in the Argentinian market, and was created more than 20 years ago.FAVEREAU has been working withbothNational and Global Companies, which are based in Argentina.FAVEREAU has specialized in the valuation of real estate to secure mortgages and the valuation of fixed assets, to evaluate risks in all types of loans/credits. FAVEREAU only employs Technical Professionals, who have a wide and in-depth knowledge of the Argentinian real estate/ property market.','','argentina','http://www.favereau.com.ar/']
	,['5','Avalúos y Valuaciones','avaluos','242','53','AVALÚOS Y VALUACIONES S.A. DE C.V. es una <B>empresa de confianza con cobertura a nivel nacional</B>. <BR /><BR />Su Misión es <B>elaborar y certificar Avalúos y otros Informes Técnicos</B> bajo los estándares más altos de <B>calidad y confiabilidad</B>, con el equipo de valuadores mejor capacitados, para lograr la Visión de ser la Unidad de Valuación líder en el mercado de avalúos, respetando siempre su valores fundamentales: la Ética y la Competencia.','','','mexico','http://www.aval.com.mx/']
	,['6','Tecnitasa Chile','t_chile','247','53','Constituida en el año <B>2003</B>, aporta al medio chileno la <B>experiencia europea y española en particular</B>, en la evaluación y valorización de todo tipo de bienes, mediante la aplicación de metodologías desarrolladas y contrastadas durante más de 20 años, que gozan de amplio reconocimiento internacional y son aplicables en nuestro ámbito inmobiliario. En Tecnitasa Chile somos capaces de entregar información sobre el valor de las cosas con alta calidad y valor agregado en el servicio, marcando la diferencia con la competencia por nuestra rigurosidad técnica y atención personalizada, sello de identidad de la empresa.','Founded in 2003,TECNITASA CHILE provides the average Chilean all European, Spanish and Global experience in all kinds of real estate/properties, developed over more than 20 years – these have been recognized Globally in our world of Real Estate Management.We, in TECNITASA CHILE, provide highest quality values with our Professional Service, which sets the standard between us and our competitors,based on our rigour, technical ability andour personal attention – our Corporate stamp of Quality.','','chile','http://www.tecnitasa.cl/']
	,['7','barthelmess','barthelmess','249','50','Bvanet S.A.C. es una empresa 100% peruana que a la fecha cumple <B>10 años</B> de fundación y que nació con la idea de brindar el mejor servicio de tasaciones en el Perú. <BR />Formada por un <B>staff de profesionales con más de 36 años de experiencia en el rubro de valuaciones y peritajes</B>, así como también en diseño de construcción y supervisión de obras; recibiendo constante capacitación en cursos y especializaciones en los diferentes campos de nuestro que hacer profesional. Cuenta con el <B>REPEV</B> (Registro de Peritos Valuadores de la Superintendencia de Banca y Seguros) lo que nos permite atender a las entidades financieras.','','','peru','http://www.bvanetsac.com/default2.html']
	,['8','setape','setape','251','50','SETAPE se destaca entre las empresas más conocidas en el sector de entidades de valuación de inmuebles en Brasil. La integridad profesional de su equipo y la confianza de sus conclusiones son sus valores mas destacados. Inicia sus actividades en 1974 y es responsable de la introducción en Brasil, de técnicas y metodologías de ingeniería  para la realización de valuaciones patrimoniales. Junto con ese liderazgo se suma una filosofía operacional calculada en la calidad, rapidez y la atención personalizada asegura a SETAPE  un elevado respeto en el mercado, conquistando clientes de los sectores más variados.','<B>SETAPE</B> is recognised as one of the leading Real Estate/Property Valuation Companies in Brazil. The integrity of its team and the confidence shown by its valuations are well known., These include many Judicial Valuations, where they had been proven as excellent professionals in a major number of their valuation decisions','','brasil','http://www.setape.com.br/']
	
	]
)

/* Funciones */


function PrintMiembros(sLeng){ document.write(DrawMiembros(sLeng)) }
function DrawMiembros(sLeng){
	var sIdio = sLeng;
	var sHtml = "";
	
	for(var f=0; f<g_maMiembros.f_length(); f++){
		var sImgPath = "pix/miembros/";
		var sNombre = g_maMiembros.f_getVal("nombre", f);
		var sImagen = oIGZ.m_sRootPath + sImgPath + g_maMiembros.f_getVal("img", f);
		var sAncho = g_maMiembros.f_getVal("ancho", f);
		var sAlto = g_maMiembros.f_getVal("alto", f);
		var sAncla = g_maMiembros.f_getVal("ancla", f);
		var sEnlace = g_maMiembros.f_getVal("enlace", f);
		if(sIdio=="es"){
			var sTexto = g_maMiembros.f_getVal("texto_es", f);
		}
		if(sIdio=="en"){
			var sTexto = g_maMiembros.f_getVal("texto_en", f);
		}
		if(sIdio=="pt"){
			var sTexto = g_maMiembros.f_getVal("texto_pt", f);
		}
		
		sHtml += "<DIV id='cajaMemb'>";
		sHtml += 	"<TABLE border='0' cellpadding='0' cellspacing='0' width='259' height='429'>";
		sHtml += 	"<TR>";
		sHtml += 		"<TD><IMG src='"+oIGZ.m_sRootPath+"pix/sombra_sup_izq.gif' width='4' height='4' /></TD>";
		sHtml += 		"<TD style='background: url("+oIGZ.m_sRootPath+"pix/sombra_sup.gif) top left repeat-x;' width='100%'></TD>";
		sHtml += 		"<TD><IMG src='"+oIGZ.m_sRootPath+"pix/sombra_sup_dcha.gif' width='4' height='4' /></TD>";
		sHtml += 	"</TR>";
		sHtml += 	"<TR>";
		sHtml += 		"<TD style='background: url("+oIGZ.m_sRootPath+"pix/sombra_izq.gif) top left repeat-y;' height='100%' width='4'></TD>";
		sHtml += 		"<TD class='valignT alignC'>";
		sHtml += 			"<DIV style='width: 251px; text-align: center;'><A name='"+sAncla+"'><A href='"+sEnlace+"' target='_blank'><IMG src='"+sImagen+".gif' width='"+sAncho+"' height='"+sAlto+"' title='"+sNombre+"' border='0'/></A></A></DIV>";
		sHtml += 			"<DIV style='padding: 15px 10px 7px 10px;'>"+sTexto+"</DIV>";
		sHtml += 		"</TD>";
		sHtml += 		"<TD style='background: url("+oIGZ.m_sRootPath+"pix/sombra_drcha.gif) top right repeat-y;' height='100%' width='4'></TD>";
		sHtml += 	"</TR>";
		sHtml +=	"<TR>";
		sHtml += 		"<TD><IMG src='"+oIGZ.m_sRootPath+"pix/sombra_inf_izq.gif' width='4' height='4' /></TD>";
		sHtml +=		"<TD style='background: url("+oIGZ.m_sRootPath+"pix/sombra_inf.gif) top left repeat-x;' width='100%'></TD>";
		sHtml +=		"<TD><IMG src='"+oIGZ.m_sRootPath+"pix/sombra_inf_dcha.gif' width='4' height='4' /></TD>";
		sHtml +=	"</TR>";
		sHtml +=	"</TABLE>";
		sHtml += "</DIV>";
	}
	
	return sHtml;
}

function PrintMenu(sCual,bHome,sLeng){ document.write (DrawMenu(sCual,bHome,sLeng)) }
function DrawMenu(sCual,bHome,sLeng){
	var sIdioma = sLeng;
	var sImgPath = "";
	var sHtml = "";
	
	

	sHtml += "<table width='100%' cellpadding='0' cellspacing='0' border='0'>";
  sHtml +=	"<tr>";
  sHtml += 		"<td><IMG src='"+oIGZ.m_sRootPath+"pix/menu_sup/1.gif' width='30' height='36' /></td>";
  
/* Recorremos el MArray para leer los datos para el menu */

  for(var f=0; f<g_maMenuSup.f_length(); f++){
		var sImgPath = "pix/menu_sup/"+g_lang+"/";
  	var sHeight = "36"

/* con esto recogemos el valor para saber si estamos en la home, ya que los menus son diferentes */

  	if (bHome==1) {
  		sHeight  = "36";
  		//sImgPath = sImgPath + "home/";
  	}

/* Asignamos a las variables los valores obtenidos */

  	var sSeccion = g_maMenuSup.f_getVal("Seccion", f);
  	var sImagen  = oIGZ.m_sRootPath + sImgPath + g_maMenuSup.f_getVal("Seccion", f);
  	var sURL     = oIGZ.m_sRootPath + g_lang + "/" + g_maMenuSup.f_getVal("Seccion", f);
  	var sTexto   = g_maMenuSup.f_getVal("Texto", f);
  	
/* con esto completamos el nombre de la imagen para concretar si es "encendido" o "apagado" */

  	var sImgOff = "_0.gif"
  	var sImgOn  = "_1.gif"
  	
  	 	

  	//sHtml +=	"<TD><A href='"+sURL+".html'><IMG ";
  	sHtml +=	"<TD><A href='"+sURL+".aspx'><IMG ";


/* con esto, si nos encontramos en una determinada seccion, el boton de esa seccion se muestra siempre iluminado */

  	if(sSeccion==sCual)	sImgOff = sImgOn
 		sHtml +=	" src='"+sImagen+sImgOff+"' ";

/* y si no nos encontramos en esa seccion, el boton se muestra apagado */
		
  	sHtml +=	" height='"+sHeight+"' border='0' alt='"+sTexto+"' ";
  	if(sSeccion!=sCual){
			sHtml +=	" onmouseover=SetImg(this,'"+sImagen+sImgOn+"') ";
			sHtml +=	" onmouseout=SetImg(this,'"+sImagen+sImgOff+"') ";
		}
		sHtml +=	"/></A></TD>";
	
  }


  sHtml +=	"</tr>";
  sHtml +=	"</table>";
    
    return sHtml;
    		
}


function PrintCabecera(sIdioma){ document.write(DrawCabecera(sIdioma)) }
function DrawCabecera(sIdioma){
	var sHtml = "";
	var sLeng = sIdioma;
	var nCont = 0;
	
	sHtml += "<TABLE border='0' cellpadding='0' cellspacing='0' width='100%'>";
	sHtml += "<TR>";
	sHtml += 	"<TD class='valignT alignL' width='472'><IMG src='"+oIGZ.m_sRootPath+"pix/logo.gif' width='167' height='126' title='Valored' /></TD>";
	sHtml += 	"<TD class='valignB alignR' width='265'>";
	
	
	for(var f=0; f<g_maIdiomas.f_length(); f++){
		var sIdio = g_maIdiomas.f_getVal("Idioma", f);
		if(sIdio!=sLeng){
			var sURL_Idioma = g_maIdiomas.f_getVal("valor", f);
			sHtml += "<A href='"+sURL_Idioma+"'>"+sIdio+"</A>";
			if(nCont==0){
			 	sHtml += " / ";
			}
			nCont = nCont+1;
		}
		
	}
	sHtml += "<BR />";
	if(sLeng=="Español"){
		sHtml += "<SPAN style='font-size: 11px;'>Red promovida por</SPAN>";
	}
	if(sLeng=="English"){
		sHtml += "<SPAN style='font-size: 11px;'>The Network is led by</SPAN>";
	}
	if(sLeng=="Português"){
		sHtml += "<SPAN style='font-size: 11px;'>The Network is led by</SPAN>";
	}
	sHtml += "<IMG src='"+oIGZ.m_sRootPath+"pix/tecnitasa_tit1.gif' width='90' height='12' align='absmiddle' />";
	sHtml += 	"</TD>";
	sHtml += "</TR>";
	sHtml += "<TR>";
	sHtml += 	"<TD colspan='2'><IMG src='"+oIGZ.m_sRootPath+"pix/adorno_sup.gif' width='737' height='14' /></TD>";
	sHtml += "</TR>";
	sHtml += "</TABLE>";
	
	return sHtml;
			
}

function PrintCierre(){ document.write(DrawCierre()) }
function DrawCierre(){
	var sHtml = "";
	
	sHtml += "<TR>";
	sHtml += 	"<TD height='4' ></TD>";
	sHtml += 	"<TD height='4' class='valignT'><IMG src='"+oIGZ.m_sRootPath+"pix/sombra_inf_izq.gif' width='4' height='4' valign='top'/></TD>";
	sHtml += 	"<TD height='4' class='valignT alignC'>";
	sHtml += 		"<DIV class='cierre'>&nbsp;</DIV>";
	sHtml += 	"</TD>";
	sHtml += 	"<TD height='4' class='valignT'><IMG src='"+oIGZ.m_sRootPath+"pix/sombra_inf_dcha.gif' width='4' height='4' valign='top'/></TD>";
	sHtml += 	"<TD></TD>";
	sHtml += "</TR>";
	
	return sHtml;
}


function PrintMenuDcha(sLeng){ document.write(DrawMenuDcha(sLeng)) }
function DrawMenuDcha(sLeng){
	var sIdi = sLeng;
	var sHtml = "";
	
	sHtml += "<TABLE border='0' cellpadding='0' cellspacing='0' width='100%'>";
	sHtml += "<TR>";
	if(sIdi=="es"){
		sHtml += 	"<TD class='valignT alignR' width='100%'><A href='aviso_legal.aspx' class='linkMen'>aviso legal</A></TD>";
		sHtml += "</TR>";
		sHtml += "<TR>";
		sHtml += 	"<TD class='valignT alignR' width='100%'><BR /><A href='contacto.aspx' class='linkMen' style='font-size: 17px;'>contacto</A></TD>";
		sHtml += "</TR>";
		/*sHtml += "<TR>";
		sHtml +=	"<TD class='valignT alignR' width='100%'><A href='#' class='linkMen' style='font-size: 17px;'>clientes</A></TD>";
		sHtml += "</TR>";*/
		sHtml += "</TABLE>";
	}
	if(sIdi=="en"){
		sHtml += 	"<TD class='valignT alignR' width='100%'><A href='aviso_legal.aspx' class='linkMen'>legal status & governance</A></TD>";
		sHtml += "</TR>";
		sHtml += "<TR>";
		sHtml += 	"<TD class='valignT alignR' width='100%'><BR /><A href='contacto.aspx' class='linkMen' style='font-size: 15px;'>contact us</A></TD>";
		sHtml += "</TR>";
		/*sHtml += "<TR>";
		sHtml +=	"<TD class='valignT alignR' width='100%'><A href='#' class='linkMen' style='font-size: 15px;'>our clients</A></TD>";
		sHtml += "</TR>";*/
		sHtml += "</TABLE>";
	}
	
	return sHtml;
}


function PrintMapa(sLeng){ document.write(DrawMapa(sLeng)) }
function DrawMapa(sLeng){
	var sIdio = sLeng;
	var sHtml = "";
	
	if(sIdio=="es"){
		sHtml += oGFX.f_drawFlash(oIGZ.m_sRootPath + 'pix/swf/mapa_int.swf', 557, 358, '');
	}
	if(sIdio=="en"){
		sHtml += oGFX.f_drawFlash(oIGZ.m_sRootPath + 'pix/swf/mapa_int_en.swf', 557, 358, '');
	}
	
	return sHtml;
}


function PrintClientes(){ document.write(DrawClientes()) }
function DrawClientes(){
	var sHtml = "";
	var sPathImg = "pix/clientes/";
	
	sHtml += "<marquee onmouseover='this.stop();' onmouseout='this.start();' direction='left'>";
	
	for(var j=1;j<=86;j++){
		sHtml += "<IMG src='"+oIGZ.m_sRootPath+sPathImg + j +".gif' height='35' />&#160;&#160;";
	}
	
	sHtml += "</marquee>";
	
	return sHtml;
}


function PrintMapaArg(){ document.write(DrawMapaArg()) }
function DrawMapaArg(){
	var sHtml = "";
	
	sHtml += oGFX.f_drawFlash(oIGZ.m_sRootPath + 'pix/swf/mapa_argentina.swf', 381, 353, '');
	
	return sHtml;
}

function PrintMapaEsp(){ document.write(DrawMapaEsp()) }
function DrawMapaEsp(){
	var sHtml = "";
	
	sHtml += oGFX.f_drawFlash(oIGZ.m_sRootPath + 'pix/swf/mapa_spain.swf', 553, 348, '');
	
	return sHtml;
}

function PrintMapaMex(){ document.write(DrawMapaMex()) }
function DrawMapaMex(){
	var sHtml = "";
	
	sHtml += oGFX.f_drawFlash(oIGZ.m_sRootPath + 'pix/swf/mapa_mexico.swf', 539, 366, '');
	
	return sHtml;
}
