function openindex(url,title)
      {

OpenWindow=window.open(url, "", "left=0,top=0,resizable=0,HEIGHT=200,WIDTH=200,toolbar=0,scrollbars=0,menubar=0, status=0,directories=no, location=no");
OpenWindow.document.write('<html> \n');
OpenWindow.document.write('<meta http-equiv="Content-Type" content="text/html; charset=windows-1251" /> \n');
OpenWindow.document.write('<TITLE>'+title+'</TITLE> \n');
OpenWindow.document.write('<script language="javascript"> \n');
OpenWindow.document.write('var NS = (navigator.appName=="Netscape")?true:false; \n');
OpenWindow.document.write('function fitPic() { \n');
OpenWindow.document.write('document.images[1].style.visibility = "hidden"; \n');
OpenWindow.document.write('iWidth = (NS)?window.innerWidth:document.body.clientWidth; \n');
OpenWindow.document.write('iHeight = (NS)?window.innerHeight:document.body.clientHeight; \n');
OpenWindow.document.write('var browserName=navigator.appName; \n ');
OpenWindow.document.write('var bug_w = (browserName=="Microsoft Internet Explorer")?6:15; \n ');
OpenWindow.document.write('var bug_h = (browserName=="Microsoft Internet Explorer")?0:15; \n ');

OpenWindow.document.write('iWidth = document.images[0].width - iWidth+((window.screen.width)<(document.images[0].width)?bug_w:(window.screen.height)<(document.images[0].height+18)?bug_w:0); \n'); //FIND SCROLL X

OpenWindow.document.write('iHeight = document.images[0].height - iHeight+((window.screen.height)<(document.images[0].height)?bug_h:(window.screen.width)<(document.images[0].width)?bug_h:0); \n'); //FIND SCROLL Y

OpenWindow.document.write('var client_w = (window.screen.width); \n');
OpenWindow.document.write('var client_h = (window.screen.height); \n');
OpenWindow.document.write('window.resizeBy(iWidth, iHeight); \n');
OpenWindow.document.write('var mover_x = (((eval(client_w))-document.images[0].width)/2)<=0 ? 0 : (((eval(client_w))-document.images[0].width)/2); \n');
OpenWindow.document.write('var mover_y =(((eval(client_h))-document.images[0].height)/2)<=0 ? 0 : (((eval(client_h))-document.images[0].height)/2); \n')
OpenWindow.document.write('window.moveTo(mover_x, mover_y); \n');
// OpenWindow.document.write('alert(browserName);');
OpenWindow.document.write('self.focus(); \n');
OpenWindow.document.write('}; \n');
OpenWindow.document.write('</script> \n');
OpenWindow.document.write('</head> \n');
OpenWindow.document.write('<BODY style="margin:0px; padding:0px;" onResize="fitPic();"> \n');
OpenWindow.document.write('<a href="#" onClick="javascript:window.close();"> \n');
OpenWindow.document.write('<img src="'+url+'" border="0" onLoad="fitPic();" style="float:left;;"/></a> \n');
OpenWindow.document.write('<img src="/java/loader2.gif" border="0" style="position:absolute; top:100px; left:100px;"/></a> \n');
OpenWindow.document.write('</BODY> \n');
OpenWindow.document.write('</HTML> \n');
OpenWindow.document.close();
	  }