<!--
function popup(URL,width,height){
	if (window.screen) {
		var newwidth = parseInt(width)+20;
		var newheight = parseInt(height)+48;
	}
	if (navigator.appVersion.indexOf('Mac') != -1){
		var newwidth = parseInt(width)+23;
		var newheight = parseInt(height)+96;
	}
	popup_window = window.open(URL,'video','width='+newwidth+',height='+newheight+',scrollbars=yes,resizable=yes,toolbar=no,menubar=no,top=30,left=15');
	if (window.focus) {popup_window.focus();}
	return false;
}

function check_url(URL){
if (URL.indexOf('?') != -1) {var newURL = URL+'&popup=yes';}
else {var newURL = URL+'?popup=yes';}
return newURL;
} 

function popwin(URL){
var newURL = URL; newURL = check_url(URL);
popup_window = window.open(newURL,'popup','status=no,scrollbars=yes,resizable=yes,width=550,height=350,top=30,left=15');
if (window.focus) {popup_window.focus();}
return false;
}
//-->