function getbrowserwidth()	{ if (navigator.userAgent.indexOf("MSIE") > 0){ return(document.body.clientWidth); }
else {return window.outerWidth;	}}function getbrowserheight(){
if (navigator.userAgent.indexOf("MSIE") > 0){ return(document.body.clientHeight); } 
else { return(window.outerHeight); } } 
var popup = new Object() 
function Player(URL, width, height){
var X = getbrowserwidth() / 2
var Y = getbrowserheight() / 2
popup = window.open(URL, 'PopUp','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no ' +
'width=' + width + ' ' +
'height=' + height + ' ' +
'top=' + (window.screenTop + (Y - (height/2))) + ' ' +
'left=' + (window.screenLeft + (X - (width/2)))) 
popup.focus() }
