var genericWidth = 480;
var genericHeight = 250;

function launchPlayer(url, width, height) {
	if (!url) {
    	url = 'index.html';
	}
	var left = (screen.width - width) / 2;
	var top = (screen.height - height) / 2;
	window.open(url, "player", "width=" + width + ",height=" + height + ",menubar=no,scrollbars=no,toolbar=no,status=no,location=no,resizable=no,top=" + top + ",left=" + left);
}
