		function f32(name, left, top, width, height, visible, content) { //createLayer 
			  var layer;
			  if (isNav4) {
			    document.writeln('<layer name="' + name + '" left=' + left + ' top=' + top + ' width=' + width + ' height=' + height +  ' visibility=' + (visible ? '"show"' : '"hide"') +  '>');
			    document.writeln(content);
			    document.writeln('</layer>');
			  } else {

			    document.writeln('<div id="' + name + '" style="position:absolute; overflow:hidden; left:' + left + 'px; top:' + top + 'px; width:' + width + 'px; height:' + height + 'px; visibility:' + (visible ? 'visible;' : 'hidden;') +  '">');
			    document.writeln(content);
			    document.writeln('</div>');
			  }

		}

		function f33(name, right, top, width, height, visible, content) { //createLayer2
			  var layer;
			  if (isNav4) {
			    document.writeln('<layer name="' + name + '" right=' + right + ' top=' + top + ' width=' + width + ' height=' + height +  ' visibility=' + (visible ? '"show"' : '"hide"') +  '>');
			    document.writeln(content);
			    document.writeln('</layer>');
			  } else {

			    document.writeln('<div id="' + name + '" style="position:absolute; overflow:hidden; right:' + right + 'px; top:' + top + 'px; width:' + width + 'px; height:' + height + 'px; z-index:1;' + ' visibility:' + (visible ? 'visible;' : 'hidden;') +  '">');
			    document.writeln(content);
			    document.writeln('</div>');
			  }

		}
		
		// get the layer object called "name"
function f34(name) {//getLayer
	  if (isNav4)
	    return(document.layers[name]);
	  else if (isIE4) {
	    layer = eval('document.all.' + name + '.style');
	    return(layer);
	  } else if (is5up) {
		var theObj = document.getElementById(name);
		return theObj.style
	  }
	  else
	    return(null);
}


function f35(name, x, y) {	//moveLayer	
  	var layer = f34(name);		
  	if (isNav4)
    	layer.moveTo(x, y);
	 else {
    	layer.left = x;
   		 layer.top  = y;
  	}
}

function f36(name, color) {		//setLayerBackgroundColor
  	var layer = f34(name);		
 	 if (isNav4)
    	layer.bgColor = color;
	else
    	layer.backgroundColor = color;
}

function hideLayer(name) { //hideLayer		
	
  	var layer = f34(name);		
  	if (isNav4)
    	layer.visibility = "hide";
	else
   		 layer.visibility = "hidden";
}

function showLayer(name) {	//showLayer
  	var layer = f34(name);		
  	if (isNav4)
    	layer.visibility = "show";
	else
   	 layer.visibility = "visible";
}

function f39(name, clipleft, cliptop, clipright, clipbottom) {	//clipLayer	
	  var layer = f34(name);		
	  if (isNav4) {
		    layer.clip.left   = clipleft;
		    layer.clip.top    = cliptop;
		    layer.clip.right  = clipright;
		    layer.clip.bottom = clipbottom;
	  }
	  else
		    layer.clip = 'rect(' + cliptop + ' ' +  clipright + ' ' + clipbottom + ' ' + clipleft +')';
}

function f40(name, content) { //replaceLayerContent
	  if (isNav4) {
		    var layer = f34(name);
		    layer.document.open();
		    layer.document.writeln(content);
		    layer.document.close();
	  }  else if (isIE) {
		    var str = "document.all." + name + ".innerHTML = '" + content + "'";
		    eval(str);
	  }
}

function f41(theLeft,theTop,theRight,theBottom) { //boxIt
		f39("zoomBoxTop",theLeft,theTop,theRight,theTop+1);
		f39("zoomBoxLeft",theLeft,theTop,theLeft+1,theBottom);
		f39("zoomBoxRight",theRight-1,theTop,theRight,theBottom);
		f39("zoomBoxBottom",theLeft,theBottom-1,theRight,theBottom);
	

}
