// JavaScript Document
function apri(file,w,h) {
			X = (screen.width - w) / 2;
        	Y = (screen.height - h) / 2;
        	P = "width=" + w + ",height=" + h + ",";
        	P+= "top=" + Y + ",left=" + X + ",";
        	P+= "scrollbars=no,status=no,resizable=no";
        	win = window.open("", "img", P);
			win.document.write('<html><head><title>'+file+'<\/title>');
			win.document.write('<\/head><body style="margin:0px;">');
			win.document.write('<img src='+file+' width="'+w+'" height="'+h+'"\/>');
			win.document.write('<div style="position:absolute;width:170px;height:70px;bottom:0px;left:0px;background:url(img\/background-popup.gif) top right no-repeat;"><\/div>');
			win.document.write('<\/body><\/html>');
			win.document.close();
			win.focus();
}