var wspace = /\S/;

function func_checkempty(svalue) {
	if(svalue.length == 0 || svalue.search(wspace) < 0)
		return true;
	else
		return false;
}

function func_openwin(surl, sname, iheight, iwidth) {
	var sfeatures = "height=" + iheight + ", width=" + iwidth + ", left=100, top=50, location=no, menubar=no, resizable=yes, scrollbars=yes, status=no, titlebar=no, toolbar=no, alwaysRaised=true";
	var objwin = window.open(surl, sname, sfeatures, true);
	if (objwin.opener == null) objwin.opener = self;
	objwin.focus();	
}
