function windowOpener(foto,day) 
{   var msgWindow;
	var myArgs;
    
	    myArgs = "width=500," 
                 + "height=420," 
                 + "location=0," 
                 + "menubar=0," 
                 + "scrollbars=0," 
                 + "status=0," 
                 + "titlebar=0," 
                 + "toolbar=0," 
                 + "hotkeys=0," 
                 + "screenx=50," 
                 + "screeny=50," 
                 + "left=180," 
                 + "top=50"; 
                
        msgWindow = open('', '', myArgs); 
        msgWindow.focus(); 
        msgWindow.document.write ("<html>");
	msgWindow.document.write ("<head><title>VisitCuzco - Photo Gallery</title></head>");
	msgWindow.document.write ("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' bgcolor=#FFFFFF border=1>");
        msgWindow.document.write ("<table border=0 width=500 height=420>");
        msgWindow.document.write ("<tr><td align=left><img src='/i/gallery-inkatrails/day"+day+"/"+foto+".jpg'></td></tr>");
        msgWindow.document.write ("</table>");
	msgWindow.document.write ("</body>");
        msgWindow.document.write ("</html>");
}

function windowOpener_1(foto) 
{   var msgWindow;
	var myArgs;
    
	    myArgs = "width=500," 
                 + "height=420," 
                 + "location=0," 
                 + "menubar=0," 
                 + "scrollbars=0," 
                 + "status=0," 
                 + "titlebar=0," 
                 + "toolbar=0," 
                 + "hotkeys=0," 
                 + "screenx=50," 
                 + "screeny=50," 
                 + "left=180," 
                 + "top=50"; 
                
        msgWindow = open('', '', myArgs); 
        msgWindow.focus(); 
        msgWindow.document.write ("<html>");
	msgWindow.document.write ("<head><title>VisitCuzco - Photo Gallery</title></head>");
	msgWindow.document.write ("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' bgcolor=#FFFFFF border=1>");
        msgWindow.document.write ("<table border=0 width=500 height=420>");
        msgWindow.document.write ("<tr><td align=left><img src='/i/gallery-cuzco/"+foto+".jpg'></td></tr>");
        msgWindow.document.write ("</table>");
	msgWindow.document.write ("</body>");
        msgWindow.document.write ("</html>");
}

function windowOpener_2(foto) 
{   var msgWindow;
	var myArgs;
    
	    myArgs = "width=500," 
                 + "height=420," 
                 + "location=0," 
                 + "menubar=0," 
                 + "scrollbars=0," 
                 + "status=0," 
                 + "titlebar=0," 
                 + "toolbar=0," 
                 + "hotkeys=0," 
                 + "screenx=50," 
                 + "screeny=50," 
                 + "left=180," 
                 + "top=50"; 
                
        msgWindow = open('', '', myArgs); 
        msgWindow.focus(); 
        msgWindow.document.write ("<html>");
	msgWindow.document.write ("<head><title>VisitCuzco - Photo Gallery</title></head>");
	msgWindow.document.write ("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' bgcolor=#FFFFFF border=1>");
        msgWindow.document.write ("<table border=0 width=500 height=420>");
        msgWindow.document.write ("<tr><td align=left><img src='/i/gallery-lima/"+foto+".jpg'></td></tr>");
        msgWindow.document.write ("</table>");
	msgWindow.document.write ("</body>");
        msgWindow.document.write ("</html>");
}

function windowOpener_uni(foto,uni) 
{   var msgWindow;
	var myArgs;
    
	    myArgs = "width=500," 
                 + "height=420," 
                 + "location=0," 
                 + "menubar=0," 
                 + "scrollbars=0," 
                 + "status=0," 
                 + "titlebar=0," 
                 + "toolbar=0," 
                 + "hotkeys=0," 
                 + "screenx=50," 
                 + "screeny=50," 
                 + "left=180," 
                 + "top=50"; 
                
        msgWindow = open('', '', myArgs); 
        msgWindow.focus(); 
        msgWindow.document.write ("<html>");
	msgWindow.document.write ("<head><title>VisitCuzco - Photo Gallery "+uni+"</title></head>");
	msgWindow.document.write ("<body leftmargin='0' topmargin='0' marginwidth='0' marginheight='0' bgcolor=#FFFFFF border=1>");
        msgWindow.document.write ("<table border=0 width=500 height=420>");
        msgWindow.document.write ("<tr><td align=left><img src='/i/gallery-university/"+uni+"/"+foto+".jpg'></td></tr>");
        msgWindow.document.write ("</table>");
	msgWindow.document.write ("</body>");
        msgWindow.document.write ("</html>");
}

function enviafotouni(titulo,fotito,uni){
var scadena;
    scadena="<table width='120' border='0' cellspacing='0' cellpadding='0'><tr>"; 
    scadena +="<td width='120' height='106' background='/i/gallery-inkatrails/fondo.gif' align='left' valign='middle'>&nbsp;&nbsp;&nbsp;&nbsp;<img src='/i/gallery-university/"+uni+"/"+fotito+".jpg' width=88 height=80 border=0 alt='"+titulo+"'>";
    scadena +="</td></table>";
	document.write (scadena);
	}


function enviafoto(titulo,fotito,day){
var scadena;
    scadena="<table width='120' border='0' cellspacing='0' cellpadding='0'><tr>"; 
    scadena +="<td width='120' height='106' background='/i/gallery-inkatrails/fondo.gif' align='left' valign='middle'>&nbsp;&nbsp;&nbsp;&nbsp;<img src='/i/gallery-inkatrails/day"+day+"/"+fotito+".jpg' width=88 height=80 border=0 alt='"+titulo+"'>";
    scadena +="</td></table>";
	document.write (scadena);
	}

function enviafoto_1(titulo,fotito){
var scadena;
    scadena="<table width='120' border='0' cellspacing='0' cellpadding='0'><tr>"; 
    scadena +="<td width='120' height='106' background='/i/gallery-cuzco/fondo.gif' align='left' valign='middle'>&nbsp;&nbsp;&nbsp;&nbsp;<img src='/i/gallery-cuzco/"+fotito+".jpg' width=88 height=80 border=0 alt='"+titulo+"'>";
    scadena +="</td></table>";
	document.write (scadena);
	}

function enviafoto_2(titulo,fotito){
var scadena;
    scadena="<table width='120' border='0' cellspacing='0' cellpadding='0'><tr>"; 
    scadena +="<td width='120' height='106' background='/i/gallery-lima/fondo.gif' align='left' valign='middle'>&nbsp;&nbsp;&nbsp;&nbsp;<img src='/i/gallery-lima/"+fotito+".jpg' width=88 height=80 border=0 alt='"+titulo+"'>";
    scadena +="</td></table>";
	document.write (scadena);
	}

