// JavaScript Document
function open_window(link,w,h) //open popup window script
	{
	    var width = w;
         var height = h;

	    var left = parseInt((screen.availWidth/2) - (width/2));
        var top = parseInt((screen.availHeight/2) - (height/2));
		var win = "width="+w+",height="+h+", top="+top+", left="+left+"; menubar=no,location=no,resizable=no,scrollbars=yes";
		newWin = window.open(link,'newWin',win);
		newWin.focus();
	}
