
var hDebugWnd=null;
function OpenDebugWindow(){hDebugWnd=window.open("","","resizable,scrollbars,left=0,top=0,height=100,width=400");var HtmlStr="<html> <head>"+
"<title> DebugStr </title> "+
"</head> "+
"<body></body> "+
"</html>";hDebugWnd.document.open();hDebugWnd.document.write(HtmlStr);};function DebugStr(Parms){var TextStyle="style=\"white-space:nowrap; font-family:\"Arial\"; font-size:10pt\"";var sTag="<font "+TextStyle+">";var eTag="</font>";var Str="";for(var I=0;I<DebugStr.arguments.length;++I)
Str+=DebugStr.arguments[I]+" ";Str=sTag+Str+eTag+"<br>";try{hDebugWnd.document.writeln(Str);hDebugWnd.scrollTo(0,1000);}
catch(e){OpenDebugWindow();hDebugWnd.document.writeln(Str);hDebugWnd.scrollTo(0,1000);}};function InspectElement(E){if(E){var Items=new Array();var Count=0;for(var I in E){try{Items[Count++]=(I+"::"+E.getAttribute(I));}
catch(e){}}
Items.sort();for(var I=0;I<Items.length;++I)
DebugStr(Items[I]);}
else
DebugStr("Element undefined");};function InspectStyle(E){if(E.style){var Styles=new Array();var Count=0;for(var I in E.style){try{Styles[Count++]=(I+"::"+E.style.getAttribute(I));}
catch(e){}}
Styles.sort();for(var I=0;I<Styles.length;++I)
DebugStr(Styles[I]);}
else
DebugStr("Style undefined");};
