

   function setSRC(fn) {

       parent.MainFrm.document.location=fn;

   }

   function archiv() {

       parent.MainFrm.document.location="http://localhost/cgi-bin/vote/pvd_qall.pl";

   }


   function nothing() {
   }


document.onmouseover = domouseover;
document.onmouseout = domouseout;




var linkTimeout = "";

function showArrow(activeArrowID, linkName) {
  for (i=0;i<=2;i++) {
    if (i == activeArrowID) {
      document.all[linkName + "Arrow"][i].style.color = "#FF6600";
       }
    else {
      document.all[linkName + "Arrow"][i].style.color = "";
    }
  }
  activeArrowID++;
  if (activeArrowID > 2) { activeArrowID = 0; }

  linkTimeout = setTimeout("showArrow(" + activeArrowID + ', "' + linkName + '"' + ")", 120);
}

// This is separate because... umm, it makes things flexible ;-)
function hideArrows(linkName) {
  for (i=0;i<=2;i++) {
    document.all[linkName + "Arrow"][i].style.color = "";
    }
}


function domouseover() {
  srcElement = window.event.srcElement;
  if (srcElement.className.indexOf("Link") > -1) {
    var linkName = srcElement.id;
    showArrow(0, linkName);
  }
}

function domouseout() {
  srcElement = window.event.srcElement;
  if (srcElement.className.indexOf("Link") > -1) {
    var linkName = srcElement.id;
    hideArrows(linkName);
    clearTimeout(linkTimeout);
  }
}




  function browser()
  {
     this.isNN = false
     this.isIE = false

     if (navigator.appName == "Netscape")
        this.isNN = true
     if (navigator.appName == "Microsoft Internet Explorer")
        this.isIE = true

     this.version = parseInt(navigator.appVersion,10)
  }

  bwr = new browser()

  var layerRef  = ""
  var styleRef  = ""

  var isMozilla = 0

  if (document.layers)
  {
    layerRef = ".layers"
    styleRef = ""
    isMozilla = 0
  }
  else if (document.all)
  {
    layerRef = ".all"
    styleRef = ".style"
    isMozilla = 0
  }
  else
  {
    layerRef = ""
    styleRef = ".style"
    isMozilla = 1
  }

function hideMenu()
{
    for (counter = 1; counter < 6; counter++)
    {
      if (!isMozilla)
         eval("document"+layerRef+"['dropmenu"+counter+"']"+styleRef+".visibility='hidden'")
      else
         eval("document.getElementById('dropmenu"+counter+"')"+styleRef+".visibility='hidden'")
	}
}

function showMenu(num)
{
    if (!isMozilla)
       eval("document"+layerRef+"['dropmenu"+num+"']"+styleRef+".visibility='visible'")
    else
       eval("document.getElementById('dropmenu"+num+"')"+styleRef+".visibility='visible'")
}