// ZNIPPets.com, "Ztemplate.js", (matched with "Zscrollbar2b.js" & "Zsetup.js"), by DocOzone... 
// DHTML scrollbar code - Required files:
//	"Zprime.js"  (from the Znippets library)
//	"Zbrowse.js" (ditto)
//	"Zobject.js" (ditto)

// do this function on setup() (first time through)
	function setupFirstTime() {

		// name,wrapper,top,left,height,width,zindex
createZobject('menuDiv',null,safeTop,safeLeft-168,safeBottom()-safeTop,165,2000);
createZobject('headerDiv',null,safeTop-18,safeLeft-168,15,safeRight()-(safeLeft-168),2000);
setTimeout('setup()',100);
	}
	
// do this function on setup() (also onResize)
	function setupCustom() {

Zobject[getZnum('menuDiv')].height = stupidGecko(safeBottom()-safeTop);
Zobject[getZnum('headerDiv')].width = stupidGecko(safeRight()-(safeLeft-168));

	}
	
// do this function on fix() (repeated every "Zrefresh" ticks...)
	function fixCustom() {
		//foo
	}	

// stupid gecko border fix (added to outside of box!)
	function stupidGecko(num) {
	if (Zflag.gecko && !Zflag.IE && !Zflag.opera) return num-2;
	else return num;
	}

