function mostrar(imagen,titulo,fondo,x,y) {
if (fondo=="") fondo="EEF5FA";
fondo="EEF5FA";
if (x=="") x = window.screen.width/2;
if (y=="") y = window.screen.height/2;
l = window.screen.width/2 - x/2;
t = window.screen.height/2 - y/2;
ventana = window.open(titulo,'','width=' + x + ',height=' + y + ',left='+l+',top='+t+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no');
doc = ventana.document;
doc.open('text/html');
doc.writeln('
MQM :: ' + titulo + '');
doc.writeln('');
doc.writeln('');
doc.writeln('');
doc.writeln(' ');
doc.writeln('  | ');
doc.writeln('
');
doc.writeln(' ');
doc.writeln(' | | ');
doc.writeln('
');
doc.writeln('
');
doc.writeln('');
doc.close();
}
function mostrar2(imagen,x,y,sombra) {
if (sombra="") sombra=5;
if (x=="") x = window.screen.width/2;
if (y=="") y = window.screen.height/2;
l = window.screen.width/2 - x/2;
t = window.screen.height/2 - y/2;
overlib('
', FULLHTML, WIDTH, '+x+', HEIGHT, '+y+', BACKGROUND, 000000, FIXX, l, FIXY, t);
}
function mostrar3(imagen,titulo,xImagen,yImagen,xVentana,yVentana) {
if (xVentana=="") xVentana = window.screen.width/2;
if (yVentana=="") yVentana = window.screen.height/2;
l = window.screen.width/2 - xVentana/2;
t = window.screen.height/2 - yVentana/2;
ventana = window.open(titulo,'','width=' + xVentana + ',height=' + yVentana + ',left='+l+',top='+t+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes');
doc = ventana.document;
doc.open('text/html');
doc.writeln('MQM :: ' + titulo + '');
doc.writeln('');
doc.writeln('');
doc.writeln(' ');
doc.writeln(' | ');
doc.writeln('
');
doc.writeln('
');
doc.writeln('');
doc.close();
}
function votar(imagen,pos,titulo,xImagen,yImagen,xVentana,yVentana) {
if (xVentana=="") xVentana = window.screen.width/2;
if (yVentana=="") yVentana = window.screen.height/2;
l = window.screen.width/2 - xVentana/2;
t = window.screen.height/2 - yVentana/2;
ventana = window.open(titulo,'','width=' + xVentana + ',height=' + yVentana + ',left='+l+',top='+t+',toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes');
doc = ventana.document;
doc.open('text/html');
doc.writeln('MQM :: ' + titulo + '');
doc.writeln('');
doc.writeln('');
doc.writeln(' | ');
doc.writeln(' ');
doc.writeln(' | ');
doc.writeln(' ');
doc.writeln(' | ');
doc.writeln('
');
doc.writeln(' ');
doc.writeln(' | ');
doc.writeln(' ');
doc.writeln(' | ');
doc.writeln('
');
doc.writeln('
');
doc.writeln('');
doc.close();
}
function consultar_link(numero,texto,votar) {
izquierda = screen.width/2 - 400;
arriba = screen.height-300;
var tipoNumero = /[0-9]/gi;
if (!tipoNumero.test(numero)) {
alert('Debes escribir números.\nEjemplo: 49');
foto.value = '';
}
else if (votar) window.open('http://www.myprofe.com/mqm/html/modules.php?op=modload&name=coppermine&file=popuplink&pid=' + numero + '&votar=yes&texto=' + texto + '','','resizable=no,scrollbars=yes,width=800,height=60,top='+arriba+',left=' + izquierda + '');
else window.open('http://www.myprofe.com/mqm/html/modules.php?op=modload&name=coppermine&file=popuplink&pid=' + numero + '&votar=no&texto=' + texto + '','','resizable=no,scrollbars=yes,width=800,height=60,top='+arriba+',left=' + izquierda + '');
};
function mostrarfoto(foto,titulo,x,y,barras) {
izquierda = screen.width/2 - x/2;
arriba = screen.height/2 - y/2;
var tipoNumero = /[0-9]/gi;
window.open(foto,'','resizable=no,scrollbars=' + barras + ',width=' + x + ',height=' + y + ',top='+arriba+',left=' + izquierda + '');
};