// Code retained in case there is a need for additional stylesheets
version=0;
if(navigator.appName.indexOf("Internet Explorer") != -1)
{
   temp=navigator.appVersion.split("MSIE");
   version=parseFloat(temp[1]);
}
if (version == 0) //NON IE browser will return 0
{
//   if (screen.width < 850){document.write('<link rel="stylesheet" href="standard.css" type="text/css" title="LowRes-Standard" />');}
//   else{document.write('<link rel="stylesheet" href="standard.css" type="text/css" title="HiRes-Standard" />');}
}
else
{
   if(screen.width < 850)
   {
      if(version <= 6){document.write('<link rel="stylesheet" href="IE6.css" type="text/css" title="LowRes-IE6" />');}
      elseif(version == 7){document.write('<link rel="stylesheet" href="IE7.css" type="text/css" title="LowRes-IE7" />');}
      else{document.write('<link rel="stylesheet" href="IE8.css" type="text/css" title="LowRes-IE8" />');}
   }
   else
   {
      if(version <= 6){document.write('<link rel="stylesheet" href="IE6.css" type="text/css" title="HiRes-IE6" />');}
      elseif(version == 7){document.write('<link rel="stylesheet" href="IE7.css" type="text/css" title="HiRes-IE7" />');}
      else{document.write('<link rel="stylesheet" href="IE8.css" type="text/css" title="HiRes-IE8" />');}
   }
}

function goto_URL(object)
{
    window.location.href = object.options[object.selectedIndex].value;
}

function clickclear(thisfield, defaulttext)
{
   if (thisfield.value == defaulttext)
   {
      thisfield.value = "";
   }
}

function clickrecall(thisfield, defaulttext)
{
   if (thisfield.value == "")
   {
      thisfield.value = defaulttext;
   }
}

function ShowBox(BoxName)
{
   obj=document.getElementById(BoxName);
      obj.style.display="block";
}

function HideBox(BoxName)
{
   obj=document.getElementById(BoxName);
      obj.style.display="none";
}

function Toggle(BoxName)
{
   obj=document.getElementById(BoxName);
   visible=(obj.style.display!="none");
   if (visible)
   {
      obj.style.display="none";
   }
   else
   {
      obj.style.display="block";
   }
}


