function NewWindow(url, windowName, w, h, scroll) {
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if ((screen.height < 850) && (h > screen.height-40)) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no,location=no,toolbar=no,directories=no,menubar=no,status=no';
	win = window.open(url, windowName, winprops);
	if (parseInt(navigator.appVersion) >= 4) { 
		win.window.focus(); 
	}
}

function HomePage(obj) {
	obj.style.behavior='url(#default#homepage)';
	obj.setHomePage(obj);
}

function NewWindowPop() {

window.focus();
startpopup = 1;

var win1=null;
var win2=null;

var url="http://integration.passix.com/Doc.php?Id=3515";
var windowName="livexwebout";
var w="1000";
var h="800";
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,location=yes,toolbar=yes,directories=yes,menubar=yes,status=yes';
	win1 = window.open(url, windowName, winprops);
self.focus();

var url="http://integration.passix.com/Doc.php?Id=3485";
var windowName="xwebxout2";
var w=screen.width-20;
var h=screen.height-40;
var scroll="yes";

	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	if (screen.height < 850) {h=screen.height-40; wint=6;}
	if (screen.height < 760) {scroll='yes';}
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=yes,location=yes,toolbar=yes,directories=yes,menubar=yes,status=yes';
	win2 = window.open(url, windowName, winprops);
self.focus();
window.focus();

}