var yes = 1;
var no = 0;
var w_width = 476;
var w_height = 340;
var centerX = (self.screen.availWidth )-(self.screen.availWidth ) + 50
var centerY = (self.screen.availHeight )-(self.screen.availHeight ) + 50

function popup(url)
{
windowprops = "width=" + w_width + ",height=" + w_height +",top=" + centerY + ",left=" + centerX + "toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no"

newwindow=window.open(url,'name',windowprops);
                    if (window.focus) 
						{
							newwindow.focus()
							
						}
      
}