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);
}
