if(top.location.href!=self.location.href)
 top.location.href=self.location.href;

function GetObj(sObjId)
{
 var obj = null;
 if( document.getElementById )
 {
  // IE5+, Netscape 6, Mozilla
  obj = document.getElementById(sObjId);
 }
 else if (document.all)
 {
  // IE4
  obj = eval('document.all.' + sObjId);
 }
 return obj;
}
