var images = new Array();
function jsLoadImages(){ 
	for (var i=0; i < jsLoadImages.arguments.length; i++){
		images[i] = new Image();
		images[i].src = jsLoadImages.arguments[i];
	}
}

function swap(swin, swout) {
	eval('document.'+swin+'.src="graphics/'+swout+'"');
}
function restore(swin, swout) {
	eval('document.'+swin+'.src="graphics/'+swout+'"');
}

if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return};
function HM_f_PopDown(){return};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;

HM_PG_MenuWidth = 70;
HM_PG_FontFamily = "Arial,sans-serif";
HM_PG_FontSize = 8;
HM_PG_FontBold = false;
HM_PG_FontItalic =false;
HM_PG_FontColor = "#000000";
HM_PG_FontColorOver = "#000000";
HM_PG_BGColor = "#ebdf9c";
HM_PG_BGColorOver = "#cccccc";
HM_PG_ItemPadding = 2;

HM_PG_BorderWidth = 1;
HM_PG_BorderColor = "#666666";
HM_PG_BorderStyle = "solid";
HM_PG_SeparatorSize = 1;
HM_PG_SeparatorColor = "#666666";
HM_PG_ImageSrc = "tri.gif";
HM_PG_ImageSize = 5;
HM_PG_ImageHorizSpace = 0;
HM_PG_ImageVertSpace =0;

HM_PG_KeepHilite = true;
HM_PG_ClickStart = 0;
HM_PG_ClickKill = true;
HM_PG_ChildOverlap = 20;
HM_PG_ChildOffset = 10;
HM_PG_ChildPerCentOver = null;
HM_PG_TopSecondsVisible = .5;
HM_PG_StatusDisplayBuild =0;
HM_PG_StatusDisplayLink = 0;
HM_PG_UponDisplay = null;
HM_PG_UponHide = null;

HM_PG_RightToLeft = false;

//HM_a_TreesToBuild = [];
function getStartPosition_Array1() {					// Called by HM_Arrays, left_position parameter.
		var objImg
		objImg = document.images['news']
		// alert(objImg);
		if (HM_NS4){
			return eval(objImg).x
		} else {
			return getXPosition(objImg);
		}
}
function getStartPosition_Array2()						// Called by HM_Arrays, left_position parameter.
	{
		return getStartPosition_Array1() + 42;
	}
function getStartPosition_Array3()						// Called by HM_Arrays, left_position parameter.
	{
		return getStartPosition_Array2() + 65;
	}
function getStartPosition_Array4()						// Called by HM_Arrays, left_position parameter.
	{
		return getStartPosition_Array3() + 74;
	}

function getXPosition(imgElem) {						// Called by getStartPosition_Array1.
		xPos = eval(imgElem).offsetLeft;
		tempEl = eval(imgElem).offsetParent;
	  	while (tempEl != null) {
	  		xPos += tempEl.offsetLeft;
	  		tempEl = tempEl.offsetParent;
	  	}
		return xPos;
	}

function change(ll) {
	if (ll=='f') {
		if (document.form1.search.value != '') document.form1.search.value='';
	} else if (ll=='b') {
		if (document.form1.search.value=='') document.form1.search.value='Search:';
	}
}

