<!--
 var photoWin;
 


  /* function NewWindow(mypage,myname,scroll, wintitle) {  


		var xImg = new Image();  xImg.src=mypage;
		var LeftPosition = (screen.width-xImg.width)/2;
		var TopPosition = (screen.height-xImg.height)/2 ;
		var w2 = xImg.width + 50;
		var h2 =  xImg.height + 80;
		
		var settings = 'height='+h2 +',width='+ w2 +',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable';
		
		
		photoWin = window.open(mypage,myname,settings);
		photoWin.resizeTo(w2, h2);
		photoWin.focus();
		//photoWin = window.open(pFileName,"","width=450,height=600,toolbar=no,location=no,menubar=no,scrollbars=yes,resizable=yes,status=yes");
		photoWin.document.write('<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-7">');	
		

		photoWin.document.write('<title>' + wintitle + '</title>');	
		photoWin.document.write ('</head>');
		photoWin.document.write('<body onload="if (document.layers) {  document.layers.waitMsg.visibility = \'hidden\'; ');
		
		photoWin.document.write(' } else if (document.all) {  document.all.waitMsg.style.visibility = \'hidden\' ');		
		photoWin.document.write(' } else if (document.getElementById) { ');
		photoWin.document.write(" document.getElementById('waitMsg').style.visibility='hidden';");
		photoWin.document.write('}">');
		
		
		photoWin.document.write('<div id="waitMsg" style="background-color: #fff; height: 20px; border: #000 1px solid; padding-top: 3px; width: 200px; font-size: 11px; font-family: Verdana, sans serif; text-align: center; position:absolute;top: 10%; left: 35%; visibility:visible;line-height: 16px;">Παρακαλώ περιμένετε...<br />Please wait...</div>');
	*/	
	
	function newPage(url,xWidth, xHeight, isResizeable) {
		
		var popup=window.open(url,"","width=" + xWidth +" ,height=" + xHeight +",resizable=" + isResizeable + ",scrollbars=1");
	
	}
	
	function imgdisp(xImage, xAlt) {
		var xImg = new Image();  xImg.src=xImage;
		var xWidth=xImg.width+50;  
		var xHeight=xImg.height+100;

		var maxW=700; minW=640;
		var  maxH=680; minH=480;
		if (xWidth>maxW ) xWidth=maxW; 
		if (xWidth<=50 ) xWidth=minW; 
		if (xHeight>maxH) xHeight=maxH;
		if (xHeight<=100) xHeight=minH;

		var popup=window.open("","","width=" + xWidth +" ,height=" + xHeight +",resizable=1,scrollbars=1");
		popup.resizeTo(xWidth, xHeight);
		// popup.moveTo((screen.width-xWidth)/2,(screen.height-xHeight)/2)
		popup.focus();
		d=popup.document;
		d.write('<html><head><title>'+ xAlt + '</title></head>')
		d.write('<body onload="if (document.layers) {  document.layers.waitMsg.visibility = \'hidden\'; ');
		
		d.write(' } else if (document.all) {  document.all.waitMsg.style.visibility = \'hidden\' ');		
		d.write(' } else if (document.getElementById) { ');
		d.write(" document.getElementById('waitMsg').style.visibility='hidden';");
		d.write('}">');
		d.write('<div id="waitMsg" style="background-color: transparent; height: 25px; margin: 10px 0px 40px 0px; border: #000 0px solid; padding-top: 3px; width: 200px; font-size: 11px; font-family: Verdana, sans serif; text-align: center; position:absolute;top: 10%; left: 35%; visibility:visible;line-height: 16px">Please wait...</div>');
		// d.write('<center><img name="img" src="' + xImage +'"  width= "' + xImg.width + '" height="' + xImg.height + '" alt="' + xAlt + '" border=0></center><br>');
		d.write('<div style="text-align: center; margin-top: 50px;"><img name="img" src="' + xImage +'" alt="' + xAlt + '" border=0></div><br />');
		

		d.write('<div style="text-align: center;"><form>')
		d.write('<input type="button" value="Close window & return" onClick="self.close()" style="font-weight: bold;background-color: #0000cc; color: #fff;">');
		d.write('</form></div></body></html>')
		d.close();
		  
  }
  /* 
  <body onload="swap('pleaseWait', 'mainContent');">
<div id="pleaseWait" style="position:absolute;visiblity:visible;">Please
wait</div>
<div id="mainContent"> style="position:absolute;visibility:hidden;"><!--
everything else --></div>
<script language="JavaScript" type="text/javascript">
function swap(f, t) {
    var fdiv, tdiv;
    if (document.getElementById) {
        fdiv = document.getElementById(f).style;
        tdiv = document.getElementById(t).style;
    } else if (document.layers) {
        fdiv = document.layers[f];
        tdiv = document.layers[t];
    } else if (document.all) {
        fdiv = document.all[f].style;
        tdiv = document.all[t].style;
    }
    if (fdiv && tdiv) {
        fdiv.visiblity = 'hidden';
        tdiv.visiblity = 'visible';
    }
}

*/

// -->
