function setActiveStyleSheet(title) {
  var i, a, main;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title")) {
      a.disabled = true;
      if(a.getAttribute("title") == title) a.disabled = false;
    }
  }
}

function getActiveStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1 && a.getAttribute("title") && !a.disabled) return a.getAttribute("title");
  }
  return null;
}

function getPreferredStyleSheet() {
  var i, a;
  for(i=0; (a = document.getElementsByTagName("link")[i]); i++) {
    if(a.getAttribute("rel").indexOf("style") != -1
       && a.getAttribute("rel").indexOf("alt") == -1
       && a.getAttribute("title")
       ) return a.getAttribute("title");
  }
  return null;
}



function blank1(text)
{
 if (document.form2.strusername.value==text)
 {
  document.form2.strusername.value='';
 }
}
function unblank1(text)
{
 if (document.form2.strusername.value=='')
 {
  document.form2.strusername.value=text;
 }
}

function blank2(text)
{
 if (document.form2.strpassword.value==text)
 {
  document.form2.strpassword.value='';
 }
}
function unblank2(text)
{
 if (document.form2.strpassword.value=='')
 {
  document.form2.strpassword.value=text;
 }
}