// JavaScript Document
function reveal(field,code,url,w,h) {
	var left = (screen.width/2)-(w/2);
	var top = (screen.height/2)-(h/2);
	document.getElementById(field).innerHTML=' Use code: <strong>' + code + '</strong>';
	var newwindow = window.open(url,'window','resizable=yes,toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,scrollbar=yes,copyhistory=no,width='+w+',height='+h+',top='+top+',left='+left); 
}
