function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		z_about_over = newImage("images/z_about-over.gif");
		z_gc_z_about_over = newImage("images/z_gc-z_about_over.gif");
		z_cm_z_about_over = newImage("images/z_cm-z_about_over.gif");
		z_db_z_about_over = newImage("images/z_db-z_about_over.gif");
		z_cs_z_about_over = newImage("images/z_cs-z_about_over.gif");
		z_cl_z_about_over = newImage("images/z_cl-z_about_over.gif");
		z_contact_z_about_over = newImage("images/z_contact-z_about_over.gif");
		preloadFlag = true;
	}
}

// -->

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

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_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

arMenu1 = new Array(
161,
155,
133,
"",
"",
"",
"",
"",
"",
"", "" , 0)



arMenu2 = new Array(
161,
155,
156,
"",
"",
"",
"",
"",
"",
"", "" , 0)



arMenu3 = new Array(
161,
155,
189,
"",
"",
"",
"",
"",
"",
"", "" , 0)

 

arMenu4 = new Array(
161,
155,
219,
"",
"",
"",
"",
"",
"",
"", "" , 0)

 

arMenu5 = new Array(
161,
155,
244,
"",
"",
"",
"",
"",
"",
"", "" , 0)



arMenu6 = new Array(
161,
155,
269,
"",
"",
"",
"",
"",
"",
"", "" , 0)



arMenu7 = new Array(
161,
155,
292,
"",
"",
"",
"",
"",
"",
"", "" , 0)



	NS4 = (document.layers);
	IE4 = (document.all);
	ver4 = (NS4 || IE4);   
	isMac = (navigator.appVersion.indexOf("Mac") != -1);
	isMenu = (NS4 || (IE4 && !isMac));
	
	function popUp(){return};
	function popDown(){return};
	function startIt(){return};
	
	if (!ver4) event = null;
	
	if (isMenu)
	{
		menuVersion = 3;
	
		menuWidth = 106;
		childOverlap = 20;
		childOffset = 5;
		perCentOver = null;
		secondsVisible = .5;
	
		fntCol = "#27236c";
		fntSiz = "8";
		fntBold = false;
		fntItal = false;
		fntFam = "arial";
		
		backCol = "#e7e6b6"; //was #BAB7CA
		overCol = "#0d095b"; //was #D7D5E1
		overFnt = "white"; //was #3A2A7E
		
		
	
		borWid = 1;
		borCol = "black"; //was #3A2A7E
		borSty = "solid";
		itemPad = 3;
	
		imgSrc = "images/arrowwhite.gif";
		imgSiz = 10;
	
		separator = 1;
		separatorCol = "white"; //was #3A2A7E

		
	
		navFrLoc = "left";
		mainFrName = "main";
	
		isFrames = false;
		keepHilite = true; 
		NSfontOver = true;
		clickStart = false;
		clickKill = false;
	
		showVisited = "";
	}

	loader = (isFrames) ? (NS4) ? parent : parent.document.body : window;
	loader.onload = startIt;
	if(NS4){
	   origWidth = loader.innerWidth;
	   origHeight = loader.innerHeight;
	   loader.onresize = reDo;
	}
	isLoaded = false;
	NSresized = false;
	
	if (!window.menuVersion) {
	   clickKill = showVisited = NSfontOver = keepHilite = clickStart = false;
	}
	
	// 3.08 added next line
	if (!window.imgHspace) imgHspace=0;
	
	isWin = (navigator.appVersion.indexOf("Win") != -1)
	if (!isWin && !isMac) NSfontOver = showVisited = false;
	
	mSecsVis = secondsVisible*1000;
	isRight = (window.navFrLoc && navFrLoc == "right");
	
	//3.08 modified next line with added space
	imgSuf = (isRight) ? ">"  : " ALIGN=RIGHT>";
	
	//3.08 modified next line for use of imgHspace variable
	imgStr = "<IMG SRC='" + imgSrc + "' WIDTH=" + imgSiz + " HEIGHT=" + imgSiz +" VSPACE=2 HSPACE="+ imgHspace +" BORDER=0"+ imgSuf;
	
	// 3.08 added next line
	fullImgSize = (imgSiz+(imgHspace*2));
	
	//3.08 added next line: wrap item text by using span with image
	if(IE4) imgStr = "<SPAN STYLE='height:100%;width:"+ (fullImgSize-(isRight?3:0)) +";float:"+ (isRight?"left":"right") +";overflow:hidden'>"+ imgStr +"</SPAN>";
	
	//3.08 omitted next line:
	//spStr = (isRight && NS4) ? "<SPACER TYPE=HORIZONTAL SIZE="+imgSiz+">" : "";
	
	areCreated = false;
	menuLoc = null;
	
	function initVars() {
	   if(areCreated) {
	      for(i=1; i<topCount; i++) {
	         cur = eval("elMenu"+i);
	         clearTimeout(cur.hideTimer);
	         cur.hideTimer=null;
	      }
	      clearTimeout(allTimer);
	   }
	   topCount = 1;
	   areCreated = false;
	   beingCreated = false;
	   isOverMenu = false;
	   currentMenu = null;
	   allTimer = null;
	}
	
	initVars();
	
	function NSunloaded(){
	   isLoaded = false;
	}
	
	function NSloaded(e){
	   if (e.target.name == mainFrName) {
	      initVars();
	      startIt();
	   }
	}
	
	function IEunloaded() {
	   initVars();
	   isLoaded = false;
	   setTimeout("keepTrack()",50)
	}
	
	function keepTrack() {
	   if (menuLoc.document.readyState == "complete") {
	      initVars();
	      startIt();
	   }
	   else {
	      setTimeout("keepTrack()",50);
	   }
	}
	
	function startIt() {
	   isLoaded = true;
	   if (isFrames) {
	      menuLoc = eval("parent.frames." + mainFrName);
	      if (NS4) {
	         loader.captureEvents(Event.LOAD);
	         loader.onload = NSloaded;
	         menuLoc.onunload = NSunloaded;
	      }
	      if (IE4) {
	         menuLoc.document.body.onunload = IEunloaded;
	
	      }
	   }
	   else {
	      menuLoc = window;
	   }
	   menuLoc.nav = nav = window;
	   if (clickKill) {
	      if (NS4) menuLoc.document.captureEvents(Event.MOUSEDOWN);
	      menuLoc.document.onmousedown = clicked;
	   }
	   makeTop();   
	}
	
	function makeTop(){
	   beingCreated = true;
	
	// 3.08 added if statement
	   if(IE4) {
	      topZ = 0;
	      for (z=0;z<menuLoc.document.all.length;z++){
	         oldEl = menuLoc.document.all(z);
	         topZ = Math.max(oldEl.style.zIndex,topZ)
	      }
	   }
	   while(eval("window.arMenu" + topCount)) {
	      (NS4) ? makeMenuNS(false,topCount) : makeMenuIE(false,topCount);
	      topCount++
	   }
	
	   status = ""
	   areCreated = true;
	   beingCreated = false;
	}
	
	function makeMenuNS(isChild,menuCount,parMenu,parItem) {
	   tempArray = eval("arMenu" + menuCount);
	   
	   if (!isChild) {
	      tempWidth = tempArray[0] ? tempArray[0] : menuWidth;
	      menu = makeElement("elMenu" + menuCount,tempWidth,null,null);
	   }
	   else {
	      menu = makeElement("elMenu" + menuCount,null,parMenu,null);
	   }
	   menu.array = tempArray;
	   menu.setMenuTree = setMenuTree;
	   menu.setMenuTree(isChild,parMenu);
	
	   while (menu.itemCount < menu.maxItems) {
	      menu.itemCount++;
	      status = "";
	      prevItem = (menu.itemCount > 1) ? menu.item : null;
	      itemName = "item" + menuCount + "_" + menu.itemCount;
	
	      menu.item = makeElement(itemName,null,null,menu);
	
	      menu.item.prevItem = prevItem;
	      menu.item.setup = itemSetup;
	      menu.item.setup(menu.itemCount,menu.array);
	      if (menu.item.hasMore) {
	         makeMenuNS(true,menuCount + "_" + menu.itemCount,menu,menu.item);
	         menu = menu.parentMenu;
	      }
	   }
	
	   menu.lastItem = menu.item;
	   menu.setup(isChild,parMenu,parItem);
	}
	
	//3.08 added function: determine if menu is in menu tree
	function findTree(men){
	   foundTree = false;
	   for(i=11;i<men.array.length;i+=3){
	      if(men.array[i]) {
	         foundTree = true;
	         break;
	      }
	   }
	
	   return foundTree;
	}
	
	function setMenuTree(isChild,parMenu) {
	   if (!isChild) {
	      this.menuWidth = this.array[0] ? this.array[0] : menuWidth;
	      this.menuLeft = this.array[1];
	      this.menuTop = this.array[2];
	      this.menuFontColor = this.array[3] ? this.array[3] : fntCol;
	      this.menuFontOver = this.array[4] ? this.array[4] : overFnt;
	      this.menuBGColor = this.array[5] ? this.array[5] : backCol;
	      this.menuBGOver = this.array[6] ? this.array[6] : overCol;
	      this.menuBorCol = this.array[7] ? this.array[7] : borCol;
	      this.menuSeparatorCol = this.array[8] ? this.array[8] : separatorCol;
	      this.treeParent = this;
	      this.startChild = this;
	
	// 3.08 is menu in menu tree?
	      this.isTree = findTree(this);
	   }
	   else {
	      this.menuWidth = parMenu.menuWidth;
	      this.menuLeft = parMenu.menuLeft;
	      this.menuTop = parMenu.menuTop;
	      this.menuFontColor = parMenu.menuFontColor;
	      this.menuFontOver = parMenu.menuFontOver;
	      this.menuBGColor = parMenu.menuBGColor;
	      this.menuBGOver = parMenu.menuBGOver;
	      this.menuBorCol = parMenu.menuBorCol;
	      this.menuSeparatorCol = parMenu.menuSeparatorCol;
	      this.treeParent = parMenu.treeParent;
	
	// 3.08 keep parent property value
	      this.isTree = parMenu.isTree;
	   }
	
	   this.maxItems = (isChild) ? this.array.length/3 : (this.array.length-9)/3;
	   this.hasParent = isChild;
	   this.setup = menuSetup;
	   this.itemCount = 0;
	}
	
	function makeMenuIE(isChild,menuCount,parMenu) {
	
	   menu = makeElement("elMenu" + menuCount);
	   menu.array = eval("arMenu" + menuCount);
	
	   menu.setMenuTree = setMenuTree;
	   menu.setMenuTree(isChild,parMenu);
	
	   menu.itemStr = "";
	   
	   while (menu.itemCount < menu.maxItems) {
	      menu.itemCount++;
	      status = "";
	      itemName = "item" + menuCount + "_" + menu.itemCount;
	
	      arrayPointer = (isChild) ? (menu.itemCount-1)*3 :((menu.itemCount-1)*3)+9;
	      dispText = menu.array[arrayPointer];
	      hasMore = menu.array[arrayPointer + 2];
	      htmStr = (hasMore) ? imgStr + dispText : dispText;
	
	//3.08 modified next line: subtract borderwidth from menuwidth for item width
	      menu.itemStr += "<SPAN ID=" + itemName + " STYLE=\"width:" + (menu.menuWidth-(borWid*2)) + "\">" + htmStr + "</SPAN><BR>";
	
	      if (hasMore) {
	         makeMenuIE(true,menuCount + "_" + menu.itemCount,menu);
	         menu = menu.parentMenu;
	      }   
	   }
	
	   menu.innerHTML = menu.itemStr;
	   itemColl = menu.children.tags("SPAN");
	   for (i=0; i<itemColl.length; i++) {
	      it = itemColl(i);
	      it.setup = itemSetup;
	      it.setup(i+1,menu.array);
	   }
	   menu.lastItem = itemColl(itemColl.length-1);
	   menu.setup(isChild,parMenu);
	}
	
	function makeElement(whichEl,whichWidth,whichParent,whichContainer) {
	   if (NS4) {
	      if (whichWidth) {
	         elWidth = whichWidth;
	      }
	      else {
	         elWidth = (whichContainer) ? whichContainer.menuWidth : whichParent.menuWidth;
	         if (whichContainer) elWidth = elWidth-(borWid*2)-(itemPad*2);
	      }
	      if (!whichContainer) whichContainer = menuLoc;
	      eval(whichEl + "= new Layer(elWidth,whichContainer)");
	   }
	   else {
	      elStr = "<DIV ID=" + whichEl + " STYLE='position:absolute'></DIV>";
	      menuLoc.document.body.insertAdjacentHTML("BeforeEnd",elStr);
	      if (isFrames) eval(whichEl + "= menuLoc." + whichEl);
	   }
	   return eval(whichEl);
	}
	
	function itemSetup(whichItem,whichArray) {
	   this.onmouseover = itemOver;
	   this.onmouseout = itemOut;
	   this.container = (NS4) ? this.parentLayer : this.offsetParent;
	
	   arrayPointer = (this.container.hasParent) ? (whichItem-1)*3 : ((whichItem-1)*3)+9;
	
	   this.dispText = whichArray[arrayPointer];
	   this.linkText = whichArray[arrayPointer + 1];
	   this.hasMore = whichArray[arrayPointer + 2];
	
	   if (IE4 && this.hasMore) {
	      this.child = eval("elMenu" + this.id.substr(4));
	      this.child.parentMenu = this.container;
	      this.child.parentItem = this;
	   }
	
	   if (this.linkText) {
	      if (NS4) {
	         this.captureEvents(Event.MOUSEUP)
	         this.onmouseup = linkIt;
	      }
	      else {
	         this.onclick = linkIt;
	         this.style.cursor = "hand";
	      }
	   }
	
	   if (NS4) {
	      htmStr = this.dispText;
	      if (fntBold) htmStr = htmStr.bold();
	      if (fntItal) htmStr = htmStr.italics();
	
	      htmStr = "<FONT FACE='" + fntFam + "' POINT-SIZE=" + fntSiz + ">" + htmStr+ "</FONT>";
	
	//3.08 modified next two lines since we don't need to rewrite image everytime.
	      this.htmStrOver = htmStr.fontcolor(this.container.menuFontOver);
	      this.htmStr = htmStr.fontcolor(this.container.menuFontColor);
	
	//3.08 ...and omitted next two lines
	      //this.htmStr = (this.hasMore) ? imgStr + htmStr : spStr + htmStr;
	      //this.htmStrOver = (this.hasMore) ? imgStr + htmStrOver : spStr + htmStrOver;   
	
	//3.08 added if statement: write the image once only      
	      if(this.hasMore) {
	         this.document.write(imgStr);
	         this.document.close();
	      }
	
	      this.visibility = "inherit";
	      this.bgColor = this.container.menuBGColor;
	
	      if (whichItem == 1) {
	         this.top = borWid + itemPad;
	      }
	      else {
	         this.top = this.prevItem.top + this.prevItem.clip.height + separator;
	      }
	      this.left = borWid + itemPad;
	      this.clip.top = this.clip.left = -itemPad;
	      this.clip.right = this.container.menuWidth-(borWid*2)-itemPad;
	
	//3.08 added next 2 lines: maxTxtWidth and fullImgSize variables to help determine the width of txtLyr:
	      maxTxtWidth = this.container.menuWidth-(borWid*2)-(itemPad*2);
	      if (this.container.isTree) maxTxtWidth-=(fullImgSize); 
	
	      this.txtLyr = new Layer(maxTxtWidth,this);
	
	//3.08 added next line:
	      if (isRight && this.container.isTree) this.txtLyr.left = fullImgSize;
	
	      this.txtLyr.document.write(this.htmStr);
	      this.txtLyr.document.close();
	      this.txtLyr.visibility = "inherit";
	
	//3.08 modified next line: changed "+=" to "="
	      this.clip.bottom = this.txtLyr.document.height+itemPad;
	
	      this.dummyLyr = new Layer(100,this);
	      this.dummyLyr.left = this.dummyLyr.top = -itemPad;
	      this.dummyLyr.clip.width = this.clip.width;
	      this.dummyLyr.clip.height = this.clip.height;
	      this.dummyLyr.visibility = "inherit";
	   }
	   else {
	      with (this.style) {
	         padding = itemPad;
	
	//3.08 added if statement
	         if (this.container.isTree && !this.hasMore) {
	            if (isRight) paddingLeft = itemPad+fullImgSize;
	            else paddingRight = itemPad+fullImgSize;
	         }
	         color = this.container.menuFontColor;
	         fontSize = fntSiz + "pt";
	         fontWeight = (fntBold) ? "bold" : "normal";
	         fontStyle =   (fntItal) ? "italic" : "normal";
	         fontFamily = fntFam;
	      
	         borderBottomWidth = separator + "px";
	         borderBottomColor = this.container.menuSeparatorCol;
	         borderBottomStyle = "solid";
	         backgroundColor = this.container.menuBGColor;
	      }
	   }
	}   
	
	function menuSetup(hasParent,openCont,openItem) {
	   this.onmouseover = menuOver;
	   this.onmouseout = menuOut;
	   
	   this.showIt = showIt;
	   this.keepInWindow = keepInWindow;
	   this.hideTree = hideTree
	   this.hideParents = hideParents;
	   this.hideChildren = hideChildren;
	   this.hideTop = hideTop;
	   this.hasChildVisible = false;
	   this.isOn = false;
	   this.hideTimer = null;
	
	   this.childOverlap = (perCentOver != null) ? ((perCentOver/100) * this.menuWidth) : childOverlap;
	   this.currentItem = null;
	   this.hideSelf = hideSelf;
	      
	   if (hasParent) {
	      this.hasParent = true;
	      this.parentMenu = openCont;
	      if (NS4) {
	         this.parentItem = openItem;
	         this.parentItem.child = this;
	      }
	   }
	   else {
	      this.hasParent = false;
	   }
	
	   if (NS4) {
	      this.bgColor = this.menuBorCol;
	      this.fullHeight = this.lastItem.top + this.lastItem.clip.bottom + borWid;
	      this.clip.right = this.menuWidth;
	      this.clip.bottom = this.fullHeight;
	   }
	   else {
	      with (this.style) {
	         width = this.menuWidth;
	         borderWidth = borWid;
	         borderColor = this.menuBorCol;
	         borderStyle = borSty;
	
	//3.08 added next line
	         zIndex = topZ;
	      }
	
	      this.lastItem.style.border="";
	      this.fullHeight = this.scrollHeight;
	      this.showIt(false);
	      this.onselectstart = cancelSelect;
	      this.moveTo = moveTo;
	      this.moveTo(0,0);
	   }
	}
	
	function popUp(menuName,e){
	   if (NS4 && NSresized) startIt();
	   if (!isLoaded) return;
	   linkEl = (NS4) ? e.target : event.srcElement;
	   if (clickStart) linkEl.onclick = popMenu;
	   if (!beingCreated && !areCreated) startIt();
	   linkEl.menuName = menuName;   
	   if (!clickStart) popMenu(e);
	}
	
	function popMenu(e){
	   if (!isLoaded || !areCreated) return true;
	
	   eType = (NS4) ? e.type : event.type;
	   if (clickStart && eType != "click") return true;
	   hideAll();
	
	   linkEl = (NS4) ? e.target : event.srcElement;
	   
	   currentMenu = eval(linkEl.menuName);
	   currentMenu.hasParent = false;
	   currentMenu.treeParent.startChild = currentMenu;
	   
	   if (IE4) menuLocBod = menuLoc.document.body;
	   if (!isFrames) {
	      xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? e.pageX : (event.clientX + menuLocBod.scrollLeft);
	      yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? e.pageY : (event.clientY + menuLocBod.scrollTop);
	   }
	   else {
	      switch (navFrLoc) {
	         case "left":
	            xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? menuLoc.pageXOffset : menuLocBod.scrollLeft;
	            yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? (e.pageY-pageYOffset)+menuLoc.pageYOffset : event.clientY + menuLocBod.scrollTop;
	            break;
	         case "top":
	            xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? (e.pageX-pageXOffset)+menuLoc.pageXOffset : event.clientX + menuLocBod.scrollLeft;
	            yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? menuLoc.pageYOffset : menuLocBod.scrollTop;
	            break;
	         case "bottom":
	            xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? (e.pageX-pageXOffset)+menuLoc.pageXOffset : event.clientX + menuLocBod.scrollLeft;
	            yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? menuLoc.pageYOffset+menuLoc.innerHeight : menuLocBod.scrollTop + menuLocBod.clientHeight;
	            break;
	         case "right":
	            xPos = (currentMenu.menuLeft) ? currentMenu.menuLeft : (NS4) ? menuLoc.pageXOffset+menuLoc.innerWidth : menuLocBod.scrollLeft+menuLocBod.clientWidth;
	            yPos = (currentMenu.menuTop) ? currentMenu.menuTop : (NS4) ? (e.pageY-pageYOffset)+menuLoc.pageYOffset : event.clientY + menuLocBod.scrollTop;
	            break;
	      }
	   }
	
	   currentMenu.moveTo(xPos,yPos);
	   currentMenu.keepInWindow()
	   currentMenu.isOn = true;
	   currentMenu.showIt(true);
	
	   return false;
	}
	
	function menuOver(e) {
	   this.isOn = true;
	   isOverMenu = true;
	   currentMenu = this;
	   if (this.hideTimer) clearTimeout(this.hideTimer);
	}
	
	function menuOut() {
	   if (IE4) {
	      theEvent = menuLoc.event;
	      if (theEvent.srcElement.contains(theEvent.toElement)) return;
	   }
	   this.isOn = false;
	   isOverMenu = false;
	
	   menuLoc.status = "";
	   if (!clickKill) allTimer = setTimeout("currentMenu.hideTree()",10);  
	}
	
	function itemOver(){
	   if (keepHilite) {
	      if (this.container.currentItem && this.container.currentItem != this) {
	         if (NS4) {
	            this.container.currentItem.bgColor = this.container.menuBGColor;
	            if (NSfontOver) {
	               with (this.container.currentItem.txtLyr.document) {
	                  write(this.container.currentItem.htmStr)
	                  close();
	               }
	            }
	         }
	         else {
	            with (this.container.currentItem.style) {
	               backgroundColor = this.container.menuBGColor;
	               color = this.container.menuFontColor;
	            }
	         }
	      }
	   }
	
	   if (IE4) {
	      theEvent = menuLoc.event;
	      if (theEvent.srcElement.tagName == "IMG") return;
	      this.style.backgroundColor = this.container.menuBGOver;
	      this.style.color = this.container.menuFontOver;
	   }
	   else {
	      this.bgColor = this.container.menuBGOver;
	      if (NSfontOver) {
	         this.txtLyr.document.write(this.htmStrOver);
	         this.txtLyr.document.close();
	      }
	   }
	
	   menuLoc.status = this.linkText;
	
	   this.container.currentItem = this;
	
	   if (this.container.hasChildVisible) {
	      this.container.hideChildren(this);
	   }
	
	   if (this.hasMore) {
	      horOffset = (isRight) ? (this.container.childOverlap - this.container.menuWidth) : (this.container.menuWidth - this.container.childOverlap);
	
	      if (NS4) {
	         this.childX = this.container.left + horOffset;
	
	//3.08 modified next line
	         this.childY = (this.pageY+this.clip.top) + childOffset;
	      }
	      else {
	         this.childX = this.container.style.pixelLeft + horOffset;
	
	//3.08 modified next line
	         this.childY = this.offsetTop + this.container.style.pixelTop + childOffset + borWid;
	      }
	
	      this.child.moveTo(this.childX,this.childY);
	      this.child.keepInWindow();
	      this.container.hasChildVisible = true;
	      this.container.visibleChild = this.child;
	      this.child.showIt(true);
	   }
	}
	
	function itemOut() {
	   if (IE4) {
	      theEvent = menuLoc.event;
	       if (theEvent.srcElement.contains(theEvent.toElement)
	     || (theEvent.fromElement.tagName=="IMG" && theEvent.toElement.contains(theEvent.fromElement)))
	        return;
	      if (!keepHilite) {
	         this.style.backgroundColor = this.container.menuBGColor;
	         this.style.color = this.container.menuFontColor;
	      }
	   }
	   else {
	      if (!keepHilite) {
	         this.bgColor = this.container.menuBGColor;
	         if (NSfontOver) {
	            with (this.txtLyr.document) {
	               write(this.htmStr);
	               close();
	            }
	         }
	   
	      }
	      if (!isOverMenu && !clickKill) {
	         allTimer = setTimeout("currentMenu.hideTree()",10); 
	      }
	   }
	}
	
	function moveTo(xPos,yPos) {
	   this.style.pixelLeft = xPos;
	   this.style.pixelTop = yPos;
	}
	
	function showIt(on) {
	   if (NS4) {
	      this.visibility = (on) ? "show" : "hide";
	      if (keepHilite && this.currentItem) {
	         this.currentItem.bgColor = this.menuBGColor;
	         if (NSfontOver) {
	            with (this.currentItem.txtLyr.document) {
	               write(this.currentItem.htmStr);
	               close();
	            }
	         }
	      }
	   }
	   else {
	      this.style.visibility = (on) ? "visible" : "hidden";
	      if (keepHilite && this.currentItem) {
	         with (this.currentItem.style) {
	            backgroundColor = this.menuBGColor;
	            color = this.menuFontColor;
	         }
	      }
	   }
	   this.currentItem = null;
	}
	
	function keepInWindow() {
	   scrBars = 20;
	   botScrBar = (isFrames && navFrLoc=="bottom") ? (borWid*2) : scrBars;
	   rtScrBar = (isFrames && navFrLoc=="right") ? (borWid*2) : scrBars;
	   if (NS4) {
	      winRight = (menuLoc.pageXOffset + menuLoc.innerWidth) - rtScrBar;
	      rightPos = this.left + this.menuWidth;
	   
	      if (rightPos > winRight) {
	         if (this.hasParent) {
	            parentLeft = this.parentMenu.left;
	            newLeft = ((parentLeft-this.menuWidth) + this.childOverlap);
	            this.left = newLeft;
	         }
	         else {
	            dif = rightPos - winRight;
	            this.left -= dif;
	         }
	      }
	
	      winBot = (menuLoc.pageYOffset + menuLoc.innerHeight) - botScrBar ;
	      botPos = this.top + this.fullHeight;
	
	      if (botPos > winBot) {
	         dif = botPos - winBot;
	         this.top -= dif;
	      }
	      
	      winLeft = menuLoc.pageXOffset;
	      leftPos = this.left;
	
	      if (leftPos < winLeft) {
	         if (this.hasParent) {
	            parentLeft = this.parentMenu.left;
	            newLeft = ((parentLeft+this.menuWidth) - this.childOverlap);
	            this.left = newLeft;
	         }
	         else {
	            this.left = 5;
	         }
	      }
	   }
	   else {
	       winRight = (menuLoc.document.body.scrollLeft + menuLoc.document.body.clientWidth) - rtScrBar;
	      rightPos = this.style.pixelLeft + this.menuWidth;
	   
	      if (rightPos > winRight) {
	         if (this.hasParent) {
	            parentLeft = this.parentMenu.style.pixelLeft;
	            newLeft = ((parentLeft - this.menuWidth) + this.childOverlap);
	            this.style.pixelLeft = newLeft;
	         }
	         else {
	            dif = rightPos - winRight;
	            this.style.pixelLeft -= dif;
	         }
	      }
	
	      winBot = (menuLoc.document.body.scrollTop + menuLoc.document.body.clientHeight) - botScrBar;
	      botPos = this.style.pixelTop + this.fullHeight;
	
	      if (botPos > winBot) {
	         dif = botPos - winBot;
	         this.style.pixelTop -= dif;
	      }
	      
	      winLeft = menuLoc.document.body.scrollLeft;
	      leftPos = this.style.pixelLeft;
	
	      if (leftPos < winLeft) {
	         if (this.hasParent) {
	            parentLeft = this.parentMenu.style.pixelLeft;
	            newLeft = ((parentLeft+this.menuWidth) - this.childOverlap);
	            this.style.pixelLeft = newLeft;
	         }
	         else {
	            this.style.pixelLeft = 5;
	         }
	      }
	   }
	}
	
	function linkIt() {
	   if (this.linkText.indexOf("javascript:")!=-1) eval(this.linkText)
	   else menuLoc.location.href = this.linkText;
	}
	
	function popDown(menuName){
	   if (!isLoaded || !areCreated) return;
	   whichEl = eval(menuName);
	   whichEl.isOn = false;
	   if (!clickKill) whichEl.hideTop();
	}
	
	function hideAll() {
	   for(i=1; i<topCount; i++) {
	      temp = eval("elMenu" + i + ".startChild");
	      temp.isOn = false;
	      if (temp.hasChildVisible) temp.hideChildren();
	      temp.showIt(false);
	   }   
	}
	
	function hideTree() { 
	   allTimer = null;
	   if (isOverMenu) return;
	   if (this.hasChildVisible) {
	      this.hideChildren();
	   }
	   this.hideParents();
	}
	
	function hideTop() {
	   whichTop = this;
	   (clickKill) ? whichTop.hideSelf() : (this.hideTimer = setTimeout("if(whichTop.hideSelf)whichTop.hideSelf()",mSecsVis));
	}
	
	function hideSelf() {
	   this.hideTimer = null;
	   if (!this.isOn && !isOverMenu) { 
	      this.showIt(false);
	   }
	}
	
	function hideParents() {
	   tempMenu = this;
	   while (tempMenu.hasParent) {
	      tempMenu.showIt(false);
	      tempMenu.parentMenu.isOn = false;      
	      tempMenu = tempMenu.parentMenu;
	   }
	   tempMenu.hideTop();
	}
	
	function hideChildren(item) {
	   tempMenu = this.visibleChild;
	   while (tempMenu.hasChildVisible) {
	      tempMenu.visibleChild.showIt(false);
	      tempMenu.hasChildVisible = false;
	      tempMenu = tempMenu.visibleChild;
	   }
	
	   if (!this.isOn || !item.hasMore || this.visibleChild != this.child) {
	      this.visibleChild.showIt(false);
	      this.hasChildVisible = false;
	   }
	}
	
	function cancelSelect(){return false}
	
	function reDo(){
	   if (loader.innerWidth==origWidth && loader.innerHeight==origHeight) return;
	   initVars();
	   NSresized=true;
	   menuLoc.location.reload();
	}
	
	function clicked() {
	   if (!isOverMenu && currentMenu!=null && !currentMenu.isOn) {
	      whichEl = currentMenu;
	      whichEl.hideTree();
	   }
	}
	
	window.onerror = handleErr;
	
	function handleErr(){
	   arAccessErrors = ["permission","access"];
	   mess = arguments[0].toLowerCase();
	   found = false;
	   for (i=0;i<arAccessErrors.length;i++) {
	      errStr = arAccessErrors[i];
	      if (mess.indexOf(errStr)!=-1) found = true;
	   }
	   return found;
	}

	if (parseInt(navigator.appVersion.substring(0,1))>=3) { // 3.0 or greater.
	
	mone_on = new Image();
	mone_off = new Image();
	mtwo_on = new Image();
	mtwo_off = new Image();
	mthree_on = new Image();
	mthree_off = new Image();
	mfour_off = new Image();
	mfour_on = new Image();
	mfive_off = new Image();
	mfive_on = new Image();
	msix_off = new Image();
	msix_on = new Image();
	mseven_off = new Image();
	mseven_on = new Image();
	meight_off = new Image();
	meight_on = new Image();
	mnine_off = new Image();
	mnine_on = new Image();
	mten_off = new Image();
	mten_on = new Image();

	mone_on.src = "images/z_about-over.gif"; 
	mtwo_on.src = "images/z_gc-z_about_over.gif";
	mthree_on.src = "images/z_cm-z_about_over.gif";
	mfour_on.src = "images/z_db-z_about_over.gif";	
	mfive_on.src = "images/z_cs-z_about_over.gif";
	msix_on.src = "images/z_cl-z_about_over.gif";
	mseven_on.src = "images/z_contact-z_about_over.gif";
	meight_on.src = "";
	mnine_on.src = "";
	mten_on.src = "";
	
	mone_off.src = "images/z_about.gif";
	mtwo_off.src = "images/z_gc.gif";
	mthree_off.src = "images/z_cm.gif";
	mfour_off.src = "images/z_db.gif";	
	mfive_off.src = "images/z_cs.gif";
	msix_off.src = "images/z_cl.gif";
	mseven_off.src = "images/z_contact.gif";
	meight_off.src = "";
	mnine_off.src = "";
	mten_off.src = "";

	
	shome_on = new Image();
	sone_on = new Image();
	stwo_off = new Image();
	sthree_on = new Image();
	sfour_off = new Image();
	sfive_on = new Image();
	ssix_off = new Image();
	sseven_on = new Image();
	seight_off = new Image();
	snine_on = new Image();
	sten_off = new Image();
	seleven_on = new Image();

	shome_off = new Image();
	sone_off = new Image();
	stwo_on = new Image();
	sthree_off = new Image();
	sfour_on = new Image();
	sfive_off = new Image();
	ssix_on = new Image();
	sseven_off = new Image();
	seight_on = new Image();
	snine_off = new Image();
	sten_on = new Image();
	seleven_off = new Image();
	
	shome_on.src = "";
	sone_on.src = "images/zs_about-over.gif";
	stwo_on.src = "images/zs_gc-zs_about_over.gif";
	sthree_on.src = "images/zs_cm-zs_about_over.gif";	
	sfour_on.src = "images/zs_db-zs_about_over.gif";
	sfive_on.src = "images/zs_cs-zs_about_over.gif";
	ssix_on.src = "images/zs_cl-zs_about_over.gif";
	sseven_on.src = "images/zs_contact-zs_about_over.gif";
	seight_on.src = "";
	snine_on.src = "";
	sten_on.src = "";

	shome_off.src = "";
	sone_off.src = "images/zs_about.gif"; 
	stwo_off.src = "images/zs_gc.gif";
	sthree_off.src = "images/zs_cm.gif";	
	sfour_off.src = "images/zs_db.gif";
	sfive_off.src = "images/zs_cs.gif";
	ssix_off.src = "images/zs_cl.gif";
	sseven_off.src = "images/zs_contact.gif";
	seight_off.src = "";
	snine_off.src = "";
	sten_off.src = "";
	
	}
	
	statustext = new Array(4);          
	

	statustext['mone'] = "About Us";
	statustext['mtwo'] = "General Contracting";
	statustext['mthree'] = "Construction Management";
	statustext['mfour'] = "Design-Build";
	statustext['mfive'] = "Construction Services";
	statustext['msix'] = "Client List";	
	statustext['mseven'] = "Contact Us";
	statustext['meight'] = "";
	statustext['mnine'] = "";
	statustext['mten'] = "";
	
	statustext['shome'] = "";
	statustext['sone'] = "About Us";
	statustext['stwo'] = "General Contracting";
	statustext['sthree'] = "Construction Management";
	statustext['sfour'] = "Design-Build";
	statustext['sfive'] = "Construction Services";
	statustext['ssix'] = "Client List";	
	statustext['sseven'] = "Contact Us";
	statustext['seight'] = "";
	statustext['snine'] = "";
	statustext['sten'] = "";

	

	function on(image) {
	  if (parseInt(navigator.appVersion.substring(0,1))>=3) { // 3.0 or greater.
	      imagesrc = eval(image + '_on.src');
	      document[image].src = imagesrc;
	  }
	}
	
	function off(image, index) {
	  if (parseInt(navigator.appVersion.substring(0,1))>=3) { // 3.0 or greater.
	      imagesrc = eval(image + '_off.src');
	      document[image].src = imagesrc;
	 }
	}
//CONTACT===============================================================================



// Masked Edit method for TextFields
function maskedEdit( mask, widget, e )
{
	var key = getKey( e );
	var curMaskChar = mask.charAt( widget.value.length );

	// Trying to insert on a non 9 or X mask char.
	if (curMaskChar!=9 && curMaskChar!='X' &&curMaskChar!='A') {
		widget.value += curMaskChar;
		curMaskChar = mask.charAt( widget.value.length );
	}

	// Only allow digits (9), alphas (A), and alpha-numeric (X) in mask.
	if (curMaskChar == 9) {
		if (key<48 || key>57) {
			return false;
		}
	} else if (curMaskChar == 'A') {
		if ((key<65) || (key>90 && key<97) || (key>122)) {
			return false;
		}
	} else if (curMaskChar == 'X') {
		if ((key<48) || (key>57 && key<65) || (key>90 && key<97) || (key>122)) {
			return false;
		}
	} else {
		return false;
	}

	// Autoinsert next mask char.
	var nextMaskChar = mask.charAt( widget.value.length + 1 );
	if (nextMaskChar!=9 && nextMaskChar!='X' && nextMaskChar!='A') {
		widget.value = widget.value + String.fromCharCode(key) + nextMaskChar;
		return false;
	}

	return true;
}


// Masked Edit method for date related TextFields
function maskedDate( mask, widget, e )
{
	var key = getKey( e );
	var curMaskChar = mask.charAt( widget.value.length );
    var previousChar = widget.value.charAt( widget.value.length - 1);
	
	// Trying to insert on a non 9 or X mask char.
	if (curMaskChar!=9 && curMaskChar!='X' &&curMaskChar!='A') {
		widget.value += curMaskChar;
		curMaskChar = mask.charAt( widget.value.length );
	}

	// Only allow digits (9), alphas (A), and alpha-numeric (X) in mask.
	if (curMaskChar == 9) {
		if (key<48 || key>57)
		 {
			return false;
	     }
		 		 
		 if (widget.value.length == 0)
         {
		 	if (key != 48 && key != 49)		
		    {
				return false;
		    }			
	     }
		 
		 else if (widget.value.length == 1)
         {
		 	if (previousChar == 1 && key != 48 && key != 49 && key != 50)		
		    {
				return false;
		    }
	     }		 
	
		 else if (widget.value.length == 3)
         {
		 	if (key != 48 && key != 49 && key != 50 && key != 51)		
		    {
				return false;
		    }
	     }		
		 else if (widget.value.length == 4)
         {
		 	if (previousChar == 3 && key != 48 && key !=49)		
		    {
				return false;
		    }
	     }		
	
		 else if (widget.value.length == 6)
         {
		 	if (key != 49 && key !=50)		
		    {
				return false;
		    }	
	     }	
		 
		 else if (widget.value.length == 7)
         {
		 	if (previousChar == 1 && key !=56 && key !=57)		
		    {
				return false;
		    }	
	     }				 	
	
	}  else {
		return false;
	}
	
	// Autoinsert next mask char.
	var nextMaskChar = mask.charAt( widget.value.length + 1 );
	if (nextMaskChar!=9 && nextMaskChar!='X' && nextMaskChar!='A')
	{
		widget.value = widget.value + String.fromCharCode(key) + nextMaskChar;
		return false;
	}

	return true;
}


// Get keystroke (works with Netscape and IE)
function getKey( e )
{
	if (document.all) {
		return window.event.keyCode;
	} else {
		return e.which;
	}
}


// Method to disable all form buttons.
function disableAllButtons()
{
	for( var i=0; i<document.forms[0].length; i++ )
	{
		var e = document.forms[0].elements[i];

		if( (e.type == "button") || (e.type == "submit") || (e.type== "reset") )
		{
         //alert( "name=" + e.name + " type=" + e.type );

			e.disabled = true;
		}
	}
}


// Method to select all checkboxes on a page
function checkAllCheckBoxes()
{
	for(var i = 0; i < document.forms[0].elements.length; i++)
	{
		document.forms[0].elements[i].checked = true 
	}
}


// Method to deselect all checkboxes on a page
function uncheckAllCheckBoxes()
{
	for(var i = 0; i < document.forms[0].elements.length; i++)
	{
		document.forms[0].elements[i].checked = false 
	}
}


function isDate(date)
{
	var months = new Array(31,28,31,30,31,30,31,31,30,31,30,31)
	if ((date.indexOf("/") == -1))
		return false

	var mindex = date.indexOf("/") 
	var month = date.substring(0,mindex)
	var dindex = date.indexOf("/",mindex+1)
	var day = date.substring(mindex+1,dindex)
	var yindex = date.indexOf("/",dindex)
	var year = date.substring(yindex+1)
	
	if (!((year > 1900) &&  (year <  2100)))
	{
		alert("Year not within 1900 and 2100")
		return false
	}
	
	if  (!((month > 0) && (month < 13))) 
	{
		alert("Month not within 01 and 12")			
		return false
	}
	
	year = parseInt(year)		
	
	//if leap year
	if ((year % 4) == 0 )
		months[1] = 29
	
	month = parseInt(month)
	var days = months[month-1]
	
	/*
	if (! ((day >= 1)  && (day <= days)))
	{
		alert("Invalid number of days within Month");
		return false;
	}
	*/	
	
	if ((day < 1)  || (day > days))
	{
		alert("Invalid number of days within Month");
		return false;
	}
	
	return true
}
	

function compareDates(fromDate,toDate)
{
	var fmindex = fromDate.indexOf("/") 
	var fmonth = fromDate.substring(0,fmindex)
	var fdindex = fromDate.indexOf("/",fmindex+1)
	var fday = fromDate.substring(fmindex+1,fdindex)
	var fyindex = fromDate.indexOf("/",fdindex)
	var fyear = fromDate.substring(fyindex+1)
	
	var tmindex = toDate.indexOf("/") 
	var tmonth = toDate.substring(0,tmindex)
	var tdindex = toDate.indexOf("/",tmindex+1)
	var tday = toDate.substring(tmindex+1,tdindex)
	var tyindex = toDate.indexOf("/",tdindex)
	var tyear = toDate.substring(tyindex+1)
	
	// from date exceeds to date
	if (fyear > tyear)
		return false
	
	if (fyear == tyear)
	{
		if (fmonth > tmonth)
			return false
		
		if (fmonth == tmonth)
		{
			// from date exceeds to date
			if (fday > tday)
				return false
		}
	}
	
	return true		
}


//checks if a string is empty. Returns true if empty
function isBlank(s)
{
	var len = s.length
 	var i

	for (i=0; i<len; ++i)
  	{
   		if (s.charAt(i) != " ") 
		return false
  	}

  	return true
 }


// checks to see if the field has the correct number of characters entered
function validateFieldLength(element)
{
	if (element.value.length != element.size)
	{
		alert("This field must be " + element.size + " characters long.");
	}
}


//checks if a field is empty. Returns false if empty 
function validateEmpty(fieldName, fieldValue)
{
	if(isBlank(fieldValue))
	{
		alert(fieldName+" cannot be left blank")
		return false
	}

	return true
}

 
//checks whether 'from date' is empty and it is a valid date
function validateFromDate(dateValue)
{
	if(! validateEmpty("The Date From field", dateValue))
	{
		return false
	}
	if(! isDate(dateValue))
	{
		return false
	}
	
	return true
}


//checks whether 'to date' is not empty. if not empty checks if it is valid and later to 'from date'
function validateToDate(dateFrom,dateTo)
{
	if(! isBlank(dateTo))
	{
		if(! isDate(dateTo))
			return false 
  
		if(!(compareDates(dateFrom,dateTo)))
			return false
	}

	return true	
} 

 
function cleanup(In)
{
	var B = ""  // out-string
	var C = ""  // temp char
	var Point =  false
	var Allowed = "-0123456789"
	var Permitted = null
	

	for ( var i = 0 ; i <= In.length ; i++ )
	{
		C = In.charAt(i)   // a char at position i
		// check if C is an allowed char by finding its position in a string of
		// allowed chars such as "0123456789."
		if (!Point)
			Permitted = Allowed + "." ;
		else
			Permitted = Allowed
			
		// Build up the outstring B by a line conditional on C being legal
		if (Permitted.indexOf(C) != -1)
			B += C

		if (C == ".")
			Point = true
		// allow only one "." by setting a var Point = true
		// which then disallows another "."
	}

	return (B)

}


function formatDecimal( Val, DollarSign )
{

    if (Val.length == 0 )
	{
		Dollars = "0";
		Cents = "00";
		return Dollars+"."+Cents ;
	}
    
	Val=""+Val;
	
	if (Val.indexOf (".", 0)!=-1)
	{
		Dollars = Val.substring(0, Val.indexOf (".", 0));
		Cents = Val.substring(Val.indexOf (".", 0)+1, Val.indexOf (".", 0)+3);
		if (Cents.length==0) 
			Cents="00";
		if (Cents.length==1)
			Cents=Cents+"0";
	}
	else
	{
			Dollars = Val.substr(0,Val.length-2);
			Cents = Val.substr(Val.length-2);
	}

	OutString="";
	len=Dollars.length;
	if (len>=3)
	{
		while (len>0)
		{
			TempString=Dollars.substring(len-3, len)
			if (TempString.length==3)
			{
				OutString=","+TempString+OutString
				len=len-3;
			}
			else
			{
				OutString=TempString+OutString
				len=0
			}
		}

		if (OutString.substring(0, 1)==",")
			Dollars=OutString.substring (1, OutString.length)
		else
			Dollars=OutString
	}
	
	if (DollarSign)
		return ("$"+Dollars+"."+Cents);
	else
		return (Dollars+"."+Cents);
}


function formatDollar( Val, DollarSign )
{
	Val=""+Val;
	if (Val.indexOf (".", 0)!=-1)
	{
		Dollars = Val.substring(0, Val.indexOf (".", 0));
		Cents = Val.substring(Val.indexOf (".", 0)+1, Val.indexOf (".", 0)+3);
		if (Cents.length==0) 
			Cents="00";
		if (Cents.length==1)
			Cents=Cents+"0";
	}
	else
	{
		Dollars = Val;
		Cents = "00";
	}

	OutString="";
	len=Dollars.length;
	if (len>=3)
	{
		while (len>0)
		{
			TempString=Dollars.substring(len-3, len)
			if (TempString.length==3)
			{
				OutString=","+TempString+OutString
				len=len-3;
			}
			else
			{
				OutString=TempString+OutString
				len=0
			}
		}

		if (OutString.substring(0, 1)==",")
			Dollars=OutString.substring (1, OutString.length)
		else
			Dollars=OutString
	}
	
	if (DollarSign)
		return ("$"+Dollars+"."+Cents);
	else
		return (Dollars+"."+Cents);
}


function onlyDigits( widget, e )
{
	var key = getKey( e );
	var Point =  false
	var minusPos =  widget.value.indexOf("-",0) ;
	var Allowed = "0123456789"
	var Permitted = null
	
	// check if key is an allowed char by finding its position in a string of
	// allowed chars such as "0123456789."
	if ((widget.value.length ==0) && key==48)
		return false
	
	if (widget.value.indexOf(".",0) != -1)
		Point = true
	
	// allow only one "." by setting a var Point = true
	// which then disallows another "."
	
	if (!Point)
		Permitted = Allowed + "." ;
	else
		Permitted = Allowed
	
	// check for minus sign
	if ( minusPos != -1) {
		// make sure the minus sign is the first char
		if (minusPos != 0 ) {
			return false ;
		}
	} else {
	// if there isn't a minus sign already, allow another
		Permitted = Permitted + "-" ;
	}


	if (Permitted.indexOf(String.fromCharCode(key)) == -1) 
	{
		return false
	}
	
	return true
}

function submitForm(cmd, arg){
	document.applicationform.command.value = cmd;
	document.applicationform.arg.value = arg;
	document.applicationform.submit();
}