
function sitedropdownarrays()
{
var ai=0;
siteoption[ai]='&nbsp; &nbsp; &nbsp; -- &nbsp;Select a page to view &nbsp;--';
siteurl[ai]='';
ai++;

for (var li=0;li<link.length;li++)
  {
  siteoption[ai]=link[li].title;
  siteurl[ai]=link[li].url;
  ai++;
  }
}

function sitedropdown()
{
//sitedropdownarrays();
document.writeln('<FORM name="site"><br><SELECT NAME="SiteMenu" onChange="sitejumpPage(this.site)">');
for (var i = 0; i < siteoption.length; i++)
  {document.write("<OPTION>" + siteoption[i]);}
document.writeln('</SELECT>');
if (navigator.userAgent.indexOf("Mozilla/2") != -1)
  {document.writeln('<INPUT TYPE = BUTTON VALUE = "GO">');}
document.writeln('</FORM>');
}

function sitejumpPage(form)
{
i = document.site.SiteMenu.selectedIndex;
if (i >= 0 && siteurl[i].length>0) window.location.href = siteurl[i];
}

