var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;function pago_DoFSCommand(command, args) {	//alert("pago_DoFSCommand co "+command+" args: "+args);	var pagoObj = isInternetExplorer ? document.all.pago : document.pago;	if (command=="jsdebug") jsdebug(args);	else if (command=="abrirVentana") abrirVentana(args);	else top.activarPago();	}// Hook for Internet Explorer.if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {		//alert("navigator.appName "+navigator.appName+" navigator.userAgent " +navigator.userAgent);	document.write('<script language=\"VBScript\"\>\n');	document.write('On Error Resume Next\n');	document.write('Sub pago_FSCommand(ByVal command, ByVal args)\n');	document.write('	Call pago_DoFSCommand(command, args)\n');	document.write('End Sub\n');	document.write('</script\>\n');}function resultadoPagoTarjeta(texto){	var d=document.getElementById('pago');	var d2=document.getElementById('pagoEmbed');		if ( (d!=undefined) && (d!=null) &&(d.resultadoPagoTarjeta)) d.resultadoPagoTarjeta(texto);	else if ( (d2!=undefined) && (d2!=null) && (d2.resultadoPagoTarjeta) ) d2.resultadoPagoTarjeta(texto);	else alert("------ERROR NO SE ENCUENTRA PELICULA -----------");}function jsdebug(texto){}function ponerTexto3() {    thisMovie("pago").ponTexto('ponerTexto3');}function ponerTexto(texto){	var d=document.getElementById('pago');	var d2=document.getElementById('pagoEmbed');		if ( (d!=undefined) && (d!=null) &&(d.ponTexto)) d.ponTexto(texto);	else if ( (d2!=undefined) && (d2!=null) && (d2.ponTexto) ) d2.ponTexto(texto);	else alert("------ERROR NO SE ENCUENTRA PELICULA-----------");	//alert("pago: "+d.ponTexto+" d2 "+d2.ponTexto); 	}function abrirVentana(url) {    window.open(url,"printFriendly", "scrollbars=yes,width=520,toolbar=yes,status=yes,menubar=yes,resizable=no");}function thisMovie(movieName) {    if (navigator.appName.indexOf("Microsoft") != -1) {        return window[movieName]    }    else {        return document[movieName]    }}