/*
############################################################################
#                                                                          #
#                             Media Batch Pro                              #
#                          (c) 2007, Cinesoft(R)                           #
#           Media Batch(tm) is a registered trademark of Cinesoft          #
#                          U.S. patents pending                            #
# Tampering, reverse engineering or breach of license is punishable by law #
#                                                                          #
############################################################################
*/

var version = '1.0.000';
var jsFile  = 'popup.js';

function popup(popupURL,popupName,w,h,scrollStatus) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scrollStatus+',resizable';
	var win = window.open(popupURL,popupName,winprops);
	if (parseInt(navigator.appVersion) >= 4) win.window.focus();
}