function ManuallySubmit(form)
{
 form.submit();
}

function goToPage2() 
{ 
PageIndex2=document.findarteasy.selectglx.selectedIndex; 

if(document.findarteasy.selectglx.options[PageIndex2].value != "none") 
{ 
location = document.findarteasy.selectglx.options[PageIndex2].value; 
} 
} 

function goToPageF() 
{ 
PageIndexF=document.friends.selectglF.selectedIndex; 

if(document.friends.selectglF.options[PageIndexF].value != "none") 
{ 
location = document.friends.selectglF.options[PageIndexF].value; 
} 
} 

function sizeTbl(h) {
  var tbl = document.getElementById('collapsible');
  tbl.style.display = h;
}
function sizeTbl1(h) {
  var tbl = document.getElementById('collapsible1');
  tbl.style.display = h;
}
function sizeTbl2(h) {
  var tbl = document.getElementById('collapsible2');
  tbl.style.display = h;
}
function sizeTbl3(h) {
  var tbl = document.getElementById('collapsible3');
  tbl.style.display = h;
}
function sizeTbl4(h) {
  var tbl = document.getElementById('collapsible4');
  tbl.style.display = h;
}
function sizeTbl5(h) {
  var tbl = document.getElementById('collapsible5');
  tbl.style.display = h;
}
function sizeTblTx(h) {
  var tbl = document.getElementById('collapsible');
  tbl.style.display = h;
}

// Javascript originally by Patrick Griffiths and Dan Webb.
// http://htmldog.com/articles/suckerfish/dropdowns/
sfHover = function() {
   var sfEls = document.getElementById("navbar").getElementsByTagName("li");
   for (var i=0; i<sfEls.length; i++) {
      sfEls[i].onmouseover=function() {
         this.className+=" hover";
      }
      sfEls[i].onmouseout=function() {
         this.className=this.className.replace(new RegExp(" hover\\b"), "");
      }
   }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);

