function nvs_foldopen(parentobj,foldid) {
	if (dom.finished) {
        if(nvs_currentfold!=foldid) { nvs_foldclose(); }
    	nvs_currentfold=foldid;
    	
		dom.handles['hider'].style.display='inline';
		dom.handles['hider'].style.width=(document.body.clientWidth-2)+"px";
		dom.handles['hider'].style.height=(document.body.clientHeight-2)+"px";
		
		var offset = _get_offset(parentobj);
		
		var dleft = offset['x'];
		var dtop = 162;
		
		dom.handles[nvs_currentfold].style.display="inline";
		dom.handles[nvs_currentfold].style.left=dleft+"px";
		dom.handles[nvs_currentfold].style.top=dtop+"px";
	}
}

function nvs_foldclose() { if(nvs_currentfold!=null) {
	dom.handles['hider'].style.display= 'none';
	dom.handles[nvs_currentfold].style.display='none';
	nvs_currentfold=null;
} }
nvs_currentfold=null;
