<!-- ............................DIFFERENT SIZES of POP WINDOWS................................ -->
function closeWin(){
aWindow=window.close();
}

function openW(theURL,winName,features) { //v2.0
  OpenWin = window.open(theURL,winName,features);
  OpenWin.focus();
}

function openFoto(foto_name,titlos,x,y) {
    message = "<title>"+titlos+"</title>"; 
    message = message + "<body leftmargin='0' topmargin='0'>";
	message = message + "<img src="+ foto_name+">";
	message = message + "</body>";  
	win_xy="resizable=yes, toolbar=no, status=no, width="+x+", height="+y+",left=50, top=50";
	NewWin=window.open('','NewWin',win_xy);
	NewWin.close(); 
	NewWin=window.open(foto_name,'NewWin',win_xy);
	NewWin.document.write(message);
	NewWin.focus();
}


function openFotoScroll(foto_name,titlos,x,y) {
    message = "<title>"+titlos+"</title>"; 
    message = message + "<body leftmargin='0' topmargin='0'>";
	message = message + "<img src="+ foto_name+">";
	message = message + "</body>";  
	win_xy="scrollbars=yes, resizable=yes, toolbar=no, status=no, width="+x+", height="+y+",left=50, top=50";
	NewWin=window.open('','NewWin',win_xy);
	NewWin.close(); 
	NewWin=window.open(foto_name,'NewWin',win_xy);
	NewWin.document.write(message);
	NewWin.focus();
}

function openIndex(url) {
sFeatures = "width=700,height=500,left=0,top=0,toolbar=0,menubar=0,scrollbars=1,resizable=1,location=0,directories=0,status=0"
window.open (url,"sarri_index",sFeatures)
}


function openLexicon(url) {
sFeatures = "width=600,height=400,left=0,top=0,toolbar=0,menubar=1,scrollbars=1,resizable=1,location=0,directories=0,status=0"
  OpenWin = window.open (url,"sarri_lexicon",sFeatures)
  OpenWin.focus();
}

function openInfo(url) {
sFeatures = "width=750,height=550,left=50,top=40,toolbar=0,menubar=1,scrollbars=1,resizable=1,location=0,directories=0,status=0"
  OpenWin = window.open (url,"sarri_info",sFeatures)
  OpenWin.focus();
}

function openWpage(url) {
sFeatures = "width=800,height=600,left=0,top=0,toolbar=1,menubar=1,scrollbars=1,resizable=1,location=1,directories=1,status=1"
  OpenWin = window.open (url,"sarri_page",sFeatures)
  OpenWin.focus();
}
