// ZNIPPets.com, "Zprime.js", by DocOzone... default basic setup...

window.onerror = function(){return false;}
window.defaultStatus ="";
// that sets the status bar to "" and disables error reporting.

function makeZflag() {
	this.NS = document.layers ? 1:0;
	this.IE = document.all ? 1:0;
	this.gecko = document.getElementById ? 1:0;
	this.mac = (navigator.appVersion.indexOf("Mac") > -1) ? 1:0;
	this.opera = (navigator.appName.indexOf("Opera") > -1) ? 1:0;
	this.netscape = (navigator.appName.indexOf("Netscape") > -1) ? 1:0;
	}

Zflag = new makeZflag();

// layerstart is the pre-string before the layer id
// layerstyle is the string following the layer id for a style definition
// layertagstart is the terminator of the layername before the property name
// etc. Used to refer to anything other than a style sheet
if (Zflag.NS) {
	layerstart = "document.";
	layerstyle = "";  
	layertagstart=""; }
if (Zflag.gecko){
	layerstart = "document.getElementById('";
	layerstyle = "').style"; 
	layertagstart="')"; }
if (Zflag.IE){
	layerstart = "document.all.";
	layerstyle = ".style"; 
	layertagstart=""; }
	
	function getZbrowser() {
alert(navigator.appName + " - " + navigator.appVersion); }

