/*
This library comprises of
1. sbar(word) change status bar
2. openNew(url, x, y) open new little window
3. wClose() close window

Author:	Bank, Phattarapol Kiratisin esocial@email.com
Source: http://www.webmonkey.com
		JavaScript O'Reilly 3rd Edition
*/

/*
September 6, 2000
function to change status bar
@word	string	string to change status bar
return true
*/
function sbar(word) {
	window.status = word;
	return true;
}

/*
September 6, 2000
function to open new little window
@url	string	url of new windows
@x		int		window's width
@y		int		window's height
*/
function openNew(url,x,y) {
	var options = "toolbar=no,scrollbars=yes,resizable=yes,width=" + x + ",height=" + y;
	msgWindow = window.open(url,"openNew",options);
}

/*
September 6, 2000
function to close new little window
*/
function wclose(){
	self.close()
}

function frame_close(){
	parent.close()
}

