function createWindow(strURL, strName, intWidth, intHeight) {
	args = "width=" + intWidth + ",height=" + intHeight + ",resizable=no,scrollbars=yes,status=0";
    remote = window.open(strURL, strName, args);
    if (remote != null) {
		if (remote.opener == null) remote.opener = self;
	}
	return remote;
}

var uploader =null;

function openUploader(strURL) {
	if (!uploader || uploader.closed) uploader = createWindow(strURL, "uploader", 400, 400);
	uploader.focus();
}
