
function saberPosision(){

	direccionActual = location.href;

	buscarResultado = String(direccionActual).indexOf("STAGING");
	buscarResultado2 = String(direccionActual).indexOf("WORKAREA");

	if(buscarResultado == -1 && buscarResultado2 == -1){
		result = "/peru";
		return result;
	}else{
		result = "";
		return result;
	}
}

switch(DCRType){
	case "corporate":
		FlashName = "spa_lapeco";
		break;

	case "consumer":
		FlashName = "spa_lapegl";
		break;

	default:
		FlashName = "spa_lapecb";
		break;
}

document.writeln('<link rel="stylesheet" type="text/css" href="'+saberPosision()+'/resourcs/misc/estyle.css">');
document.writeln('<script language="JavaScript" src="'+saberPosision()+'/resourcs/misc/scripts.js"></script>');
document.writeln('<title>Citibank</title>');
document.writeln('</head>');

document.writeln('<body bottommargin="0" leftmargin=0 marginheight="0" marginwidth="0" topmargin=0 rightmargin="0" link="#003399" vlink="#666666" alink="#ff0000" bgcolor="#ffffff">');


document.writeln('<table border=0 cellspacing=0 cellpadding=1 width=772 bgcolor="#000000">');
document.writeln('<tr><td align="center" valign="top">');

document.writeln('<!-- 2 -->');
document.writeln('<table border=0 cellpadding=0 cellspacing=0 width=772 bgcolor="#ffffff">');
document.writeln('<tr>');
document.writeln('	<td align="left" valign="top">');

document.writeln('	<table border=0 cellpadding=0 cellspacing=0 width=762 bgcolor="#ffffff">');
document.writeln('		<tr>');
document.writeln('			<td colspan=2 background="'+saberPosision()+'/images/general/bgt.gif" height=38 width=1><img src="'+saberPosision()+'/images/general/bgt.gif"></td>');
document.writeln('		</tr>');
document.writeln('		<tr>');
document.writeln('			<td valign="top"><img src="'+saberPosision()+'/images/general/spacer.gif" height="6" width="10" border="0"><img src="'+saberPosision()+'/images/general/nv_cb.gif" border="0"></td>');
document.writeln('			<td align="right" valign="top">');
document.writeln('				<table border=0 cellpadding=1 cellspacing=0 bgcolor="#ffffff">');
document.writeln('				<tr>');
document.writeln('					<td nowrap align="right"><a href="'+saberPosision()+'/homepage/spanish/index.htm" class="wave">Home Citibank Per&uacute;</a><font class="wave" size=1> | </font><a href="'+saberPosision()+'/lape/spanish/privacy/index.htm" class="wave">Privacidad</a><font class="wave" size=1> | </font><a href="http://www.citibank.com" class="wave">Citibank.com</a></td>');
document.writeln('					<td rowspan=2><img src="'+saberPosision()+'/images/general/spacer.gif" border=0 width=11 height=5></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td nowrap align="right"><table border=0 cellpadding=0 cellspacing=0 bgcolor="#ffffff" width=100%><tr><td bgcolor="#DEDEDE"><img src="'+saberPosision()+'/images/general/spacer.gif" border=0 width=1 height=1></td></tr></table></td>');
document.writeln('				</tr>');
document.writeln('				<tr>');
document.writeln('					<td nowrap align="right"><a href="'+saberPosision()+'/lape/spanish/service/index.htm" class="wave">Servicio a Clientes</a><font class="wave" size=1> | </font><a href="'+saberPosision()+'/lape/spanish/branch/index.htm" class="wave">Nuestras Sucursales</a></td>');
document.writeln('					<td rowspan=2><img src="'+saberPosision()+'/images/general/spacer.gif" border=0 width=11 height=5></td>');
document.writeln('				</tr>');
document.writeln('				</table>');
document.writeln('			</td>');
document.writeln('		</tr>');
document.writeln('		<tr>');
document.writeln('			<td colspan=2>');
document.writeln('				<table border=0 cellpadding=0 cellspacing=0 bgcolor="#ffffff" width=769>');
document.writeln('				<tr><td colspan=3><img src="'+saberPosision()+'/images/general/spacer.gif" height=5 width=1 border=0></td></tr>');
document.writeln('				<tr>');
document.writeln('					<td width=11><img src="'+saberPosision()+'/images/general/spacer.gif" height=1 width=11 border=0></td>');
document.writeln('					<td width=747 bgcolor="#DEDEDE"><img src="'+saberPosision()+'/images/general/spacer.gif" height=1 width=1 border=0></td>');
document.writeln('					<td width=9><img src="'+saberPosision()+'/images/general/spacer.gif" height=1 width=9 border=0></td>');
document.writeln('				</tr>');
document.writeln('				<tr><td colspan=3><img src="'+saberPosision()+'/images/general/spacer.gif" height=5 width=1 border=0></td></tr>');
document.writeln('				</table>');
document.writeln('			</td>');
document.writeln('		</tr>');
document.writeln('		<tr>');
document.writeln('		      <td colspan=2 align="center">');
document.writeln('					<table border=0 cellpadding="0" cellspacing="0" bgcolor="#ffffff" width="770">');
document.writeln('						<tr><form name="selektform">');
document.writeln('							<td><img src="'+saberPosision()+'/images/general/spacer.gif" border=0 width=11 height=1 border=0></td>');
document.writeln('							<td background="'+saberPosision()+'/images/general/selectbg.gif" valign=bottom>');

									document.write('<OBJECT id="citiflash" WIDTH="590" HEIGHT="44" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,0,0" align="">');
									document.write('<PARAM NAME=movie VALUE="'+saberPosision()+'/resourcs/ads/'+FlashName+'.swf?prev='+saberPosision()+'">');
									document.write('<PARAM NAME=quality VALUE=high>');
									document.write('<PARAM NAME=wmode VALUE=transparent>');
									document.write('<PARAM NAME=scale VALUE=exactfit>');
									document.write('<PARAM NAME=devicefont VALUE=true>');
									document.write('<PARAM NAME=bgcolor VALUE=#FFFFFF>');
									document.write('<EMBED src="'+saberPosision()+'/resourcs/ads/'+FlashName+'.swf?prev='+saberPosision()+'" quality=high scale=noscale devicefont=true bgcolor=#FFFFFF  WIDTH="590" HEIGHT="44" NAME="citiflash" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED></OBJECT>');

document.writeln('							</td>');
document.writeln('							<td valign=top background="'+saberPosision()+'/images/general/selectbg.gif" align=right>');

								var explorer = (document.all) ? true : false;
								if (explorer){
									document.write('<a href="#" onmouseover="ShowLayer(\'opciones\')"><img src="'+saberPosision()+'/images/general/selekt_spa.gif" border="0" vspace=3 hspace=1 align="absmiddle"></a>');
								} else {
										document.writeln('<img src="'+saberPosision()+'/images/general/spacer.gif" border=0 width=1 height=3 border=0><br>');
										document.writeln('<font face="Arial" size=1>');
										document.writeln('<select name="nacimiento_dia" class="selekt" onChange="ChangeLocation(this.form)">');

											document.writeln('<option value="#">&iquest;Qu&eacute; necesita?');
											document.writeln('<option value="'+saberPosision()+'/lapegl/spanish/credcard/index.htm">- Informaci&oacute;n de');
											document.writeln('<option value="'+saberPosision()+'/lapegl/spanish/credcard/index.htm">&nbsp;&nbsp;&nbsp;Tarjetas de Cr&eacute;dito');
											document.writeln('<option value="'+saberPosision()+'/lapegl/spanish/citigold/index.htm">- Servicios exclusivos');
											document.writeln('<option value="'+saberPosision()+'/lapegl/spanish/citigold/index.htm">&nbsp;&nbsp;&nbsp;Citigold');
											document.writeln('<option value="'+saberPosision()+'/lapegl/spanish/accounts/index.htm">- Informaci&oacute;n sobre cuentas');
											document.writeln('<option value="'+saberPosision()+'/lapegl/spanish/accounts/index.htm">&nbsp;&nbsp;&nbsp;y servicios personales');
											document.writeln('<option value="'+saberPosision()+'/lape/spanish/service/citifone/index.htm">- Realizar consultas');
											document.writeln('<option value="'+saberPosision()+'/lape/spanish/service/citifone/index.htm">&nbsp;&nbsp;&nbsp;a Citiphone Banking');
											document.writeln('<option value="'+saberPosision()+'/lape/spanish/branch/index.htm">- Ubicar nuestras sucursales');
											document.writeln('<option value="'+saberPosision()+'/lapeco/spanish/index.htm">- Informaci&oacute;n sobre');
											document.writeln('<option value="'+saberPosision()+'/lapeco/spanish/index.htm">&nbsp;&nbsp;&nbsp;productos corporativos');
											document.writeln('<option value="'+saberPosision()+'/lape/spanish/service/corp/index.htm">- Realizar consultas');
											document.writeln('<option value="'+saberPosision()+'/lape/spanish/service/corp/index.htm">&nbsp;&nbsp;&nbsp;a CitiService&reg;');

										document.writeln('</select>');
										document.writeln('</font>');
										document.writeln('<img src="'+saberPosision()+'/images/general/spacer.gif" border=0 width=20 height=2 align=left>');
									}

document.writeln('							</td>');
document.writeln('							<td><img src="'+saberPosision()+'/images/general/spacer.gif" width=8 height=5></td>');
document.writeln('						</tr></form>');
document.writeln('					</table>');
document.writeln('		      </td>');
document.writeln('		</tr>');
document.writeln('	</table>');

document.writeln('<!--1 end: expandable topnav-->');