
		var vers=0
		if ((window.navigator.appName.indexOf("Netscape")==0) & (window.navigator.appVersion.substring(0,1)>"3"))
		 vers=1;
		else { 
		if ((window.navigator.appName.indexOf("Microsoft")==0) & (window.navigator.appVersion.substring(0,1)>="3"))
		  vers=1; 
		else 
		     alert("  Para poder visualizar correctamente este sitio, se recomienda que actualice su navegador a una versi&#243;n 4.0. o superior. \n  This site is better viewed with a higher browser version, Please update your browser to version 4.0 or higher.");
         }

	function checkIt(){
		window.open('http://www.banamexusa.com/leaving.html','newWin','width=550,height=150,toolbars=no,scrollbars=no,status=no,location=no,resizeable=no');
	}

	 function showWarning(url){
	//content creation
	var content = new Array();
        var index = 0;
	
	switch(url) {
		case "e_alert": //English alert
			content[index++] = 'All funds in a "noninterest-bearing transaction account" are insured in full by the Federal Deposit Insurance Corporation from December 31, 2010, through December 31, 2012. This temporary unlimited coverage is in addition to, and separate from, the coverage of at least $250,000 available to depositors under the FDIC\'s general deposit insurance rules.<br /><br />The term "noninterest-bearing transaction account" includes a traditional checking account or demand deposit account on which the insured depository institution pays no interest. It also includes Interest on Lawyers Trust Accounts ("IOLTAs"). It does not include other accounts, such as traditional checking or demand deposit accounts that may earn interest, NOW accounts, and money-market deposit accounts.<br /><br />For more information about temporary FDIC insurance coverage of transaction accounts, visit <a href="javascript:showWarning(\'http://www.fdic.gov\');">www.fdic.gov</a>.';
			content[index++] = '<br /><br /><br />';
			content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.display = \'none\'">close</a></div></div>';
			break;
		case "s_alert": //Spanish alert
			//content[index++] = '<em>A partir del 1 de enero de 2010, Banamex USA ya no participará en el Programa de Garantía de Cuentas de Operaciones de FDIC. Por ello, despu&eacute;s del 31 de diciembre de 2009, los fondos que se encuentran en cuentas de operaciones que no devengan intereses, ya no estarán garantizados en su totalidad por el Programa de Garantía de Cuentas de Operaciones, sino que estarán asegurados hasta por $250,000 de conformidad con las reglas generales de seguros de dep&#243;sitos.</em>';
			//content[index++] = '<em>Banamex USA ha optado no participar en el Programa de Garantía de Operaciones de Cuenta del FDIC. Los clientes de Banamex USA con cuentas transaccionales  que no generan intereses continuarán asegurados hasta por $250,000 bajo las normas generales del FDIC que aseguran las cuentas de dep&#243;sitos.</em>';
			content[index++] = '<em>Todos los fondos en "cuentas transaccionales que no generan intereses" están asegurados en su totalidad por el "Federal Deposit Insurance Corporation" desde el 31 de diciembre de 2010 hasta el 31 de diciembre de 2012. Esta cobertura ilimitada temporal es adicional a y distinta a, la cobertura de hasta $250,000 disponible para depositantes bajo las reglas generales del seguro de dep&#243;sito del FDIC.<br /><br />El t&eacute;rmino "cuentas transaccionales que no generan intereses", incluye una cuenta de cheques tradicional o cuenta de dep&#243;sito en la cual la instituci&#243;n asegurada no paga inter&eacute;s. Tambi&eacute;n incluye las Cuentas de Fideicomiso con Inter&eacute;s en Custodia de Abogados (IOLTAs). No incluye otras cuentas, como cuentas de cheques tradicionales o cuentas de dep&#243;sito que puedan acumular intereses, cuentas NOW (Negotiable Order of Withdrawal) y cuentas de dep&#243;sito del mercado de valores.<br /><br />Para informaci&#243;n adicional sobre cobertura temporal del seguro para cuentas transaccionales, visite <a href="javascript:showWarningcar(\'http://www.fdic.gov\');">www.fdic.gov</a>.</em>';
			content[index++] = '<br /><br /><br />';
			content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.display = \'none\'">Cerrar</a></div></div>';
			break;
		case "es_alert": // English + Spanish alert
			content[index++] = 'All funds in a "noninterest-bearing transaction account" are insured in full by the Federal Deposit Insurance Corporation from December 31, 2010, through December 31, 2012. This temporary unlimited coverage is in addition to, and separate from, the coverage of at least $250,000 available to depositors under the FDIC\'s general deposit insurance rules.<br /><br />The term "noninterest-bearing transaction account" includes a traditional checking account or demand deposit account on which the insured depository institution pays no interest. It also includes Interest on Lawyers Trust Accounts ("IOLTAs"). It does not include other accounts, such as traditional checking or demand deposit accounts that may earn interest, NOW accounts, and money-market deposit accounts.<br /><br />For more information about temporary FDIC insurance coverage of transaction accounts, visit <a href="javascript:showWarning(\'http://www.fdic.gov\');">www.fdic.gov</a>.';
			content[index++] = '<br /><br /><br />';			
			content[index++] = '<em>Todos los fondos en "cuentas transaccionales que no generan intereses" están asegurados en su totalidad por el "Federal Deposit Insurance Corporation" desde el 31 de diciembre de 2010 hasta el 31 de diciembre de 2012. Esta cobertura ilimitada temporal es adicional a y distinta a, la cobertura de hasta $250,000 disponible para depositantes bajo las reglas generales del seguro de depósito del FDIC.<br /><br />El término "cuentas transaccionales que no generan intereses", incluye una cuenta de cheques tradicional o cuenta de depósito en la cual la institución asegurada no paga interés. También incluye las Cuentas de Fideicomiso con Interés en Custodia de Abogados (IOLTAs). No incluye otras cuentas, como cuentas de cheques tradicionales o cuentas de depósito que puedan acumular intereses, cuentas NOW (Negotiable Order of Withdrawal) y cuentas de depósito del mercado de valores.<br /><br />Para información adicional sobre cobertura temporal del seguro para cuentas transaccionales, visite <a href="javascript:showWarning(\'http://www.fdic.gov\');">www.fdic.gov</a>.</em>';
			content[index++] = '<br /><br /><br />';
			content[index++] = '<div align="center"><a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.display = \'none\'">Close / Cerrar</a></div></div>';
			break;					
		default: 
			content[index++] = '<span class="header">Third Party Site Disclaimer</span><br />By accessing the noted link you will be leaving your financial institution\'s website and entering a website hosted by another party. Your financial institution has not approved this as a reliable partner site.  Please be advised that you will no longer be subject to, or under the protection of, the privacy and security policies of your financial institution\'s website. We encourage you to read and evaluate the privacy and security policies of the site you are entering, which may be different than those of your financial institution\'s.';
			content[index++] = '<br /><br /><br />';
			content[index++] = '<div align="center"><a href="'+url+'" onclick="document.getElementById(\'ex_dis\').style.display = \'none\'">Continue</a>&nbsp;&nbsp;<a href="javascript:void(\'0\');" onclick="document.getElementById(\'ex_dis\').style.display = \'none\'">Decline</a></div></div>';
			break;
	} // end switch
	
	document.getElementById("ex_dis").innerHTML = content.join("");
	document.getElementById("ex_dis").style.display = "block";
	scrollTo(0,0); //used to make sure that the end user sees the disclaimer.

}

function checkSize()
{
    var width = 800; // Default window width is 800px

    if ( typeof(window.innerWidth) == 'number' ) { width = window.innerWidth; } //Non-IE
    else if ( document.documentElement && ( document.documentElement.clientWidth ) ) { width = document.documentElement.clientWidth; } //IE 6+ in 'standards compliant mode'
    else if ( document.body && ( document.body.clientWidth ) ) { width = document.body.clientWidth; } //IE 4 compatible

    return width;
}

document.write('<div id="ex_dis" style="background-color: #ffffff; font-family: Arial, Helvetica, sans-serif; font-size: 8pt; font-weight: normal; color: #000000; text-align: left; position:absolute; top:125px; left:' + (parseInt(checkSize()/2)-175) + 'px; border: thin solid #1A448E; padding: 15px; display: none; z-index: 100000; width:350px; overflow: hidden;"></div>');

function openVideo(file, width, height){
	vidpath = "https://www.banamexusa.com/secure/"+file;
	var newWin = window.open(vidpath,'vidwin','width='+width+',height='+height+',resizable=yes,scrollbars=no,status=yes');
}

function showWarningcar(url){
var content = new Array();
var index = 0;
content[index++] = "<p>Está saliendo del sitio de Banamex USA</p>";
content[index++] = "<br />";
content[index++] = "<div align=\"center\"><a href=\"javascript:void('0');\" onclick=\"window.open('"+url+"');document.getElementById('ex_dis').style.display = 'none'\">Proceda</a>  <a href=\"javascript:void('0');\" onclick=\"document.getElementById('ex_dis').style.display = 'none'\"> No Proceda</a></div></div>";
document.getElementById("ex_dis").innerHTML = content.join("");
document.getElementById("ex_dis").style.display = "block";

scrollTo(0, 0);

}
