
function popup(url,width,height){
	var popUp = window.open(url, "flashwin", "width=" + width + ",height=" + height);
	var halfAvailWidth = Math.round(screen.availWidth / 2);
	var halfAvailHeight = Math.round(screen.availHeight / 2);
	var x = halfAvailWidth - (width / 2);
	var y = halfAvailHeight - (height / 2);
	
	if(navigator.appName == "Netscape"){
		popUp.screenX = x;
		popUp.screenY = y;
	} else {
		popUp.moveTo(x,y);
	}
}

