// JavaScript Document
var message="CopyRight - Kilmyneo"; 

function click(e) 
{if (document.all)
{if (event.button == 2) {alert(message); return false;}} 
if (document.layers)
{if (e.which == 3){alert(message); return false;}}} 
if (document.layers) 
{document.captureEvents(Event.MOUSEDOWN);} 
document.onmousedown=click;


var fin;
var derecha;
var arriba;
var l= "'"

function CargarFoto(img, ancho, alto)
{
	if(fin)
	{	
		fin.close();
	}
	
	
  //  if(root+19+ex == img)
	// {
	  //  ancho=487;
		//alto=731;
	 //}	
	//redimensionar(ancho,alto);
	
	
  derecha=(screen.width-ancho)/2;
  arriba=(screen.height-alto)/2;
 
  string= "location=no,statusbar=no,menubar=no,resize=no,width="+ancho+",height="+alto+",left="+derecha+",top="+arriba+",scrollbars=no,resizable=no";
  fin=window.open(img,"",string);
  //fin.resizeTo(ancho,alto);
 // fin.moveTo((screen.width-ancho)/2,(screen.height-alto)/2); 
  fin.document.writeln('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">');
  fin.document.writeln('<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">');
  fin.document.writeln('<head>');
  fin.document.writeln('<META http-equiv="Content-Type" content="text/html; charset=utf-8" />');
  fin.document.writeln('<META http-equiv="Cache-Control" content="no-cache" />');
  fin.document.writeln('<META http-equiv="Pragma" content="no-cache" />');
  fin.document.writeln('<META HTTP-EQUIV="imagetoolbar" CONTENT="no" />');
  fin.document.writeln('<title>Kilmyneo</title>');
  fin.document.writeln('<link href="style2.css" rel="stylesheet" type="text/css" />');
 // fin.document.writeln('<script type="text/javascript" src="script2.js"></script');
  fin.document.writeln('</head>'); 
  fin.document.writeln('<body oncontextmenu="return false"><table cellpadding=0 cellspacing=0 height=100% width=100% border=0><tr><td align=center valign=center><img alt="Kilmyneo" src="'+img+'" name="foto" width='+ancho+' height='+alto+' >');
  fin.document.writeln('</td></tr>');  
  fin.document.writeln('</table>');
  fin.document.writeln ('</body>'); 
  fin.document.writeln('</html>');
  fin.moveTo((screen.width-ancho)/2,(screen.height-alto)/2); 
// fin.resizeTo(ancho,alto);
// fin.focus(); 
  fin.document.close(); 
 }
  
   function redimensionar(ancho,alto)
  {
       fin.resizeTo(ancho,alto);
	  
	}
 