function OptWndSize(){var w=document.body.scrollWidth+15;var h=document.body.scrollHeight+56;window.resizeTo((w>screen.availWidth)?screen.availWidth:w,(h>screen.availHeight)?screen.availHeight:h);};
function CenterWindow(){var w=screen.availWidth-document.body.clientWidth;var h=screen.availHeight-document.body.clientHeight;window.moveTo(w/2,h/2);};
function OptWnd(){if(parent.frames.length>1){return;};OptWndSize();OptWndSize();CenterWindow();};
function OpenWindow(Url,Tit,W,H){var szx=(window.screen.availWidth-W)/2,szy=(window.screen.availHeight-H)/2;var p="scrollbars=yes,menubar=no,directories=no,status=no,toolbar=no,location=no,resizable=yes,width="+W+",height="+H+", screenX="+szx+", screenY="+szy+", top="+szy+", left="+szx;var win=window.open(Url,Tit,p);win.opener=self;win.focus();return win;};
var CClick=0;
function MOver(i){var j,Cl,B;for(j=1;j<=NumC;j++){if(j==i){Cl="TDMO";}else{Cl="TDMU";};B="C"+j;if(j!=CClick)window.document.all[B].className=Cl;};};
function MClick(i){var j,Cl,B;CClick=i;for(j=1;j<=NumC;j++){if(j==i){Cl="TDMP";}else{Cl="TDMU";};B="C"+j;window.document.all[B].className=Cl;};};
function MExit(i){var B,Cl="TDMU";B="C"+i;if(k!=CClick)window.document.all[B].className=Cl;};
