function openWindow(url,w,h) {

var l
var t

l = (screen.width - w) / 2
t = (screen.height - h) / 2

link = window.open(url,"Link","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,width=" + w + ",height=" + h + ",left=" + l + ",top=" + t + "");

}