function yes_no(info,url) {
   odp = confirm(info);
   if (odp == true) {
   	   location.href=url;
	   }
   }

function img_window(img){
	var pop = window.open ("","pop",'toolbar=no,location=no,directories=no,status=no,menubar=no,width=720,height=700,scrollbars=yes,resizable=no');
	pop.document.write('<head><title>' + img +'</title></head>');
	pop.document.write('<body bgcolor=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0>');
	pop.document.write('<center><IMG SRC="img.php?gfx=' + img +'&w=700" BORDER=0></center>');
	pop.document.write('</body>');
	}

function img_window_2(img){
	var pop = window.open ("","pop",'toolbar=no,location=no,directories=no,status=no,menubar=no,width=720,height=700,scrollbars=yes,resizable=no');
	pop.document.write('<head><title>' + img +'</title></head>');
	pop.document.write('<body bgcolor=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0>');
	pop.document.write('<center><IMG SRC="images/' + img +'" BORDER=0></center>');
	pop.document.write('</body>');
	}

