var dom = document.getElementById?1:0;var ie4 = document.all && document.all.item;var opera = window.opera; //Operavar ie5 = dom && ie4 && !opera; var nn4 = document.layers; var nn6 = dom && !ie5 && !opera;var vers=parseInt(navigator.appVersion);var good_browser = (ie5 || ie4);function showwin(txt,w,vis,bgcolor,bordercolor,font){ if(good_browser) {  var obj =  document.all('win');  var evnt = event;  var xOffset = document.body.scrollLeft;  var yOffset = document.body.scrollTop;  if (bgcolor=='')    bgcolor="#FFFFFF" ;  if (bordercolor=='')    bordercolor="#000000" ;  if (font=='')    font="<font color=#000000>" ;  var temp = "<TABLE BORDER=0 CELLSPACING=0 CELLPADDING=1 BGCOLOR="+bordercolor+" WIDTH=" + w + "><TD><TABLE BORDER=0 CELLSPACING=0 CELLPADDING=3 BGCOLOR="+bgcolor+" WIDTH=100%><TR><TD class=s>" + font+ txt + "</font></TD></TR></TABLE></TD></TR></TABLE>"; //  var temp = "<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=3 BGCOLOR="+bgcolor+" WIDTH=" + w +"><TR><TD class=s>" + txt + "</TD></TR></TABLE>";   if (vis == 1)  {   obj.innerHTML = temp;   obj.style.width = w;   hor = document.body.scrollWidth - obj.offsetWidth;    posHor = xOffset + evnt.clientX + 10;    posHor2 = xOffset + evnt.clientX - obj.offsetWidth - 5;    posVer = yOffset + evnt.clientY + 5;    if (posHor<hor)    obj.style.posLeft = posHor   else    obj.style.posLeft = posHor2;   shiftup = document.body.clientHeight - (evnt.clientY+obj.offsetHeight+5);   if( shiftup >= 0) shiftup = 0;   obj.style.posTop = posVer+shiftup;    obj.style.visibility = "visible";  }  else {   obj.style.visibility = "hidden";   obj.style.posTop = 0;   obj.style.posLeft = 0;  } }}function movewin(){ if (good_browser) {  var obj =  document.all('win');  var evnt = event;  var xOffset = document.body.scrollLeft;  var yOffset = document.body.scrollTop;   hor = document.body.scrollWidth - obj.offsetWidth;    posHor = xOffset + evnt.clientX + 10;    posHor2 = xOffset + evnt.clientX - obj.offsetWidth - 5;    posVer = yOffset + evnt.clientY + 5;   if (posHor<hor)    obj.style.posLeft = posHor   else    obj.style.posLeft = posHor2;   shiftup = document.body.clientHeight - (evnt.clientY+obj.offsetHeight+5);   if( shiftup >= 0) shiftup = 0;   obj.style.posTop = posVer+shiftup; }}function openNewWin(WinName,wndWidth,wndHeight) {  myWin = open("",WinName,"width="+(wndWidth+16)+",height="+(wndHeight+16)+",resizable=yes,status=no,toolbar=no,menubar=no,scrollbars=yes");  if( myWin ) myWin.focus();  return( WinName );}function sumdetail(bodyTxt) {  wnd_w = screen.availWidth  / 2;  wnd_h = screen.availHeight / 2;  mywin = open("","sumdetail","width="+wnd_w+",height="+wnd_h+",resizable=yes,status=no,toolbar=no,menubar=no,scrollbars=yes");  if( mywin ) {    mywin.document.write(      '<html>' +      '<head><link rel="stylesheet" type="text/css" href="/styles.css"></head>' +      '<body>' + bodyTxt + '</body>' +      '</html>');    mywin.focus();  }  return false;}