/*-------------------------------------------------

 * This script provides dynamic pop-up menu in the 

 * define location of the window. Cross-platform.

 * created 10-18-2004

 * last modified 10-18-2004

 * modified by Anna Molodtsova

 *-----------------------------------------------*/

 

 /*----------------------------------------------

  * The popUp function makes the menu visible/invisible 

  * in the defined position.

  *----------------------------------------------*/

		

		if (document.getElementById) {

			stdBrowser = true

		}

		else {

			stdBrowser = false

		}



		function popUp(evt,currElem) {

			if (stdBrowser) {

				popUpWin = document.getElementById(currElem).style

			}

			else {

				popUpWin = eval("document." + currElem)

			}

			/* This sets the top and left position of the menu for IE users. */

			if (document.all) {

				popUpWin.pixelTop = 83

				popUpWin.pixelLeft = 66

			}

			else {

				/* This sets the top and left position of the menu for Netscape 6 users. */

				if (stdBrowser) {

					popUpWin.top = 81 + "px"

					popUpWin.left = 64 + "px"

				}

				else {

				/* This sets the top and left position of the menu for Netscape 4 users. */				

					popUpWin.top = 81

					popUpWin.left = 64

				}

			}

			/* This sets the menu to be visible */

			popUpWin.visibility = "visible"

		}

		/* The popDown function makes the menu invisible */

		function popDown(currElem) {

			if (stdBrowser) {

				popUpWin = document.getElementById(currElem).style

			}

			else {

				popUpWin = eval("document." + currElem)

			}

			popUpWin.visibility = "hidden"

		}



