﻿defaultStatus="  ";

function blurinput() {
	  inp=document.getElementById("inputbox");
 	  inp.setAttribute("style","background: #FFFFFF; color:#000000; opacity: .5; filter:alpha(opacity=50);");
      inp.style.color="#000000";
	  inp.style.background="#FFFFFF";
	  inp.style.filter="alpha(opacity=50)";	
}
function focusinput() {
	  inp=document.getElementById("inputbox");
	  inp.setAttribute("style","background: #FFFFFF; color:#000000; opacity: .9; filter:alpha(opacity=100);");
	  inp.style.color="#000000";
	  inp.style.background="#FFFFFF";
	  inp.style.filter="alpha(opacity=100)";
}
function inout() {
	  inp=document.getElementById("inputbox");
	  if (inp.value.length==0) 
           {blurinput(); }
}

function generic()
{
  blurinput();
};
if(typeof window.addEventListener != 'undefined')
{
  window.addEventListener('load', generic, false);
}
else if(typeof document.addEventListener != 'undefined')
{
  document.addEventListener('load', generic, false);
}
else if(typeof window.attachEvent != 'undefined')
{
  window.attachEvent('onload', generic);
}
else
{
  if(typeof window.onload == 'function')
  {
    var existing = onload;
    window.onload = function()
    {
      existing();
      generic();
    };
  }
  else
  {
    window.onload = generic;
  }
}

if (parent.frames[1]){ top.location.href = self.location.href; }
