/***********************************************************

This code is copyright (c) 1997-2000 by Exit1, Incorporated.
All rights reserved. Unauthorized reproduction, modification,
or distribution of this code is expressly prohibited.

Authorization is granted if:
a) it is used for personal or non-commercial use, and
b) this copyright notice is included.

Please direct any questions about the use or licensing of
Exit1's scripts or other publishing technologies to:
techsupport@exit1.com.

***********************************************************/
var isIE4, isNS4, isNS6;
isIE4Plus = document.all;
isNS4 = document.layers;
isNS6 = ( document.getElementById && !document.all );

var rollover = new Array();

function popShit(n)
{
  plain_window = window.open(n,"plain","width=340,height=300,scrollbars=yes,location=no,menubar=yes,resizable=yes","1");
}

function preloadImages() {
	if (document.images) {
		var dirPrefix = "";
		var i = 0;
		var updir = preloadImages.arguments[0];
		var imgFiles = preloadImages.arguments;
	
		var dirPrefix = "";
		for ( i=0; i<updir; i++ ) {
			dirPrefix = dirPrefix + "";
		}
	
		var names = new Array();
		with (document) for (var j=1; j<imgFiles.length; j++) {
			up = imgFiles[j] + "_up";
			over = imgFiles[j] + "_dn";

			rollover[up] = new Image();
			rollover[up].src = dirPrefix + "images/" + up + ".jpg";

			rollover[over] = new Image();
			rollover[over].src = dirPrefix + "images/" + over + ".jpg";
							
		}  //end for		
	}  // end if
}  // end preloadImages


function select(imgName,lyrName) {
	if (isNS4 && select.arguments[1] && document.images) {
		imgSelect = imgName + "_dn";
		document.layers[lyrName].document[imgName].src = rollover[imgSelect].src;
	} else if (document.images) {
		imgSelect = imgName + "_dn";
		document[imgName].src = rollover[imgSelect].src;
	}
}


function deselect(imgName,lyrName) {
	if (isNS4 && deselect.arguments[1] && document.images) {
		imgDeselect = imgName + "_up";
		document.layers[lyrName].document[imgName].src = rollover[imgDeselect].src;
	} else if (document.images) {
		imgDeselect = imgName + "_up";
		document[imgName].src = rollover[imgDeselect].src;
	}
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v3.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
    obj.visibility=v; }
}




// hier menu code



if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;


HM_PG_MenuWidth = 120;
HM_PG_FontFamily = "helvetica,Arial,sans-serif";
HM_PG_FontSize = 9;
HM_PG_FontBold = 0;
HM_PG_FontItalic = 0;
HM_PG_FontColor = "#666666";
HM_PG_FontColorOver = "#ff6600";
HM_PG_BGColor = "#cccccc";
HM_PG_BGColorOver = "#ffffff";
HM_PG_ItemPadding = 0;

HM_PG_BorderWidth = 1;
HM_PG_BorderColor = "#ff6600";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#ff6600";

HM_PG_ImageSrc = "HM_More_black_right.gif";
HM_PG_ImageSrcLeft = "HM_More_black_left.gif";
HM_PG_ImageSrcOver = "HM_More_white_right.gif";
HM_PG_ImageSrcLeftOver = "HM_More_white_left.gif";

HM_PG_ImageSize = 5;
HM_PG_ImageHorizSpace = 5;
HM_PG_ImageVertSpace = 5;

HM_PG_KeepHilite = true; 
HM_PG_ClickStart = 0;
HM_PG_ClickKill = false;
HM_PG_ChildOverlap = 20;
HM_PG_ChildOffset = 0;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .1;
HM_PG_StatusDisplayBuild =0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;
HM_PG_RightToLeft = 0;

HM_PG_CreateTopOnly = 0;
HM_PG_ShowLinkCursor = 1;
HM_PG_NSFontOver = true;

//HM_a_TreesToBuild = []

