function doclick()
{
myobj=event.srcElement;
if (myobj.className=="menu")
 {
  for (i=0; i<myobj.all.length; i++)
   {
    if (myobj.all[i].className=="menu")
     {
      if (myobj.all[i].style.display=="") myobj.all[i].style.display="none";
      else myobj.all[i].style.display="";
     } // end if menu
   } // end for
 } // end if menu
} //end of function



function forin(object)
{
//object=event.srcElement.style;
MyWin=open("","WinName");
MyWin.document.write("<html><head><title>Properties</title></head><body>");
MyWin.document.write("<TABLE>");
for (prop in object)
 {
 MyWin.document.write("<TR>");
 MyWin.document.write("<TD>" + prop + "</TD><TD>" + object[prop]+"</TD>");
 MyWin.document.write("</TR>");
}
MyWin.document.write("</TABLE></body></html>");
}



function loadframe()
{
var ls; // location.search
var lf;
ls=location.search;

if (ls.substring(1, 4)=="lf=") lf=ls.substring(4, ls.length);
//document.frames("content").src="dfdfg.html";
forin(document);
}
