// QuickHelp v0.9 for EZ-Help v1.0 Lite Edition
// Copyright 2002 Seecom
// You can't use this code in other projects without writen autorization
// from the author.

var DefScroll = "yes"; // Default Value for Scrolling
var DefW = "500"; // Default Value for Width
var DefH = "300"; // Default Value for Height

function QuickHelpW(link, w, h, scroll) {
	var mypage = link;
	var myname = "EZHelp";
	if (!w) {
		w = DefW;
	}
	if (!h) {
		h = DefH;
	}
	if (!scroll) {
		scroll = DefScroll;
	}
	if (window.myname != null) {
		window.myname.close();
	}
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	var winprops = "height="+h+",width="+w+",top="+(wint-100)+",left="+winl+",scrollbars="+scroll;
	var win = window.open(mypage, myname, winprops);
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}