// JavaScript Document
var winHandle = null;
var window_open_options = 'width=408,height=248,resizable=false,scrollbars=no,status=no';

function popMeUp() {
	winHandle.popMeUp();
}
function open_plushus_player() {
	if (winHandle && winHandle.closed) {
		//alert('The playa is closed. Open it.');
		winHandle = window.open('config_central/plushus_player/index.html','plushus_playa_window',window_open_options);
	} else {
		winHandle = window.open('','plushus_playa_window',window_open_options);
		if (!(winHandle.location.toString().match('config_central/plushus_player/index.html'))) { //if the location is NOT playa_sketch
			//alert('The window has been opened. However, the location is not the loaction of the playa. Reload it with the right location.');
			winHandle.location = 'config_central/plushus_player/index.html';
		}
	}
	winHandle.focus();
	//setTimeout("popMeUp()",1000);
}