	
    function popNewPage(pageName, height, width, bar, sackObj, returnFalse){
        var qString;
        var splitter;
    
        if(!sackObj){
            if(pageName.indexOf('?') > -1){
                splitter = '&';
            }
            else{
                splitter = '?';
            }
            window.open(pageName+splitter+qString,"ShowProdWindow","menubars=0,scrollbars="+bar+",resizable=1,height="+height+",width="+width);
        }
        else{
            sackObj.createURLString();
            window.open(pageName+"?"+sackObj.URLString,"ShowProdWindow","menubars=0,scrollbars="+bar+",resizable=1,height="+height+",width="+width);
        }
    }

    function Trim(s) {
	    var m = s.match(/^\s*(\S+(\s+\S+)*)\s*$/);
	    return (m == null) ? "" : m[1];
	}
    