function toggleCheckbox(row){if(row){if(row.cells[0]){if(row.cells[0].childNodes[0]){checkbox=row.cells[0].childNodes[0];checkbox.checked=!checkbox.checked}}}}function rowHover(row,skiphref){if(!skiphref){if(!row.href&&row.getAttribute){row.href=row.getAttribute("href")}if(!row.href){return }row.onclick=function(){document.location.href=this.href}}row.oldClassName=row.className;cellstyles=new Array();for(i=0;i<row.cells.length;i++){cellstyles[i]=row.cells[i].className;row.cells[i].className=cellstyles[i]+"_hover"}row.className="disp_hover2";row.onmouseout=function(){this.className=this.oldClassName;if(cellstyles){for(i=0;i<row.cells.length;i++){row.cells[i].className=cellstyles[i]}}}}var tmpDisableHrefs=false;function disableRowHoverHrefs(){tmpDisableHrefs=true}function enableRowHoverHrefs(){tmpDisableHrefs=false}function cellHover(row){if(!row.href&&row.getAttribute){row.href=row.getAttribute("href")}row.oldClassName=row.className;row.className=row.oldClassName+"_hover";row.onmouseout=function(){this.className=this.oldClassName;this.onclick=""};if(row.href){row.onclick=function(){if(!tmpDisableHrefs){document.location.href=this.href}}}}function oldrowHover(row){if(!row.href&&row.getAttribute){row.href=row.getAttribute("href")}if(!row.href){return }row.oldClassName=row.className;cellstyles=new Array();if(cellstyles){for(i=0;i<row.cells.length;i++){cellstyles[i]=row.cells[i].className;row.cells[i].className=cellstyles[i]+"_hover"}}row.className="disp_hover2";row.onmouseout=function(){this.className=this.oldClassName;if(cellstyles){for(i=0;i<row.cells.length;i++){row.cells[i].className=cellstyles[i]}}this.onclick=""};row.onclick=function(){if(!tmpDisableHrefs){document.location.href=this.href}}}function columnHover(cell,startx,starty){var rows=cell.parentNode.parentNode.rows;var columnIndex=cell.cellIndex;var cellstyles=new Array();for(i=starty;i<rows.length;i++){cellstyles[i]=new Array();for(j=startx;j<rows[i].cells.length;j++){if(rows[i].cells.length!=cell.parentNode.cells.length){continue}var curCell=rows[i].cells[j];if(curCell){if(j==columnIndex){cellstyles[i][j]=curCell.className;curCell.className=cellstyles[i][j]+"_hover2";if(i==starty){cell.href=curCell.getAttribute("href")}}else{cellstyles[i][j]=curCell.className;curCell.className=cellstyles[i][j]+"_antihover2"}}}var curCell=rows[i].cells[columnIndex];if(curCell){curCell.onmouseout=function(){for(ii=starty;ii<rows.length;ii++){for(jj=startx;jj<rows[ii].cells.length;jj++){var curCell=rows[ii].cells[jj];if(curCell){curCell.className=cellstyles[ii][jj]}}}};curCell.onclick=function(){document.location.href=cell.href}}}}function newImageView(arg,w,h){if(document.images){var rslt=new Image;rslt.src=arg;rslt.origw=rslt.width;rslt.origh=rslt.height;if(h||w){if(w&&w<rslt.width){factor=w/rslt.width;rslt.width=w;rslt.height=rslt.height*factor}if(h&&h<rslt.height){factor=h/rslt.height;rslt.height=h;rslt.width=rslt.width*factor}}return rslt}}function popuphelp(url){window.open(url,"popupHelp","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=530,height=500,screenX=150,screenY=150,top=150,left=150")}function popupWindow(url){window.open(url,"popupWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,left=150")}function popupSpecial(url,width,height){window.open(url,"popupWindow","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=yes,copyhistory=no,width="+width+",height="+height+",screenX=150,screenY=150,top=150,left=150")};