function setPointer(theRow, thePointerColor) { if (typeof(theRow.style) == 'undefined' || typeof(theRow.cells) == 'undefined') { return false; } var row_cells_cnt = theRow.cells.length; for (var c = 0; c < row_cells_cnt; c++) { theRow.cells[c].bgColor = thePointerColor; } return true; } function About(){ iLeft = (screen.width/2) - 250; iTop = (screen.height/2) - 150; window.open("common/wce.about.php","Popup","width=300,height=210,top="+iTop+",left="+iLeft+",dependent=yes,titlebar=no,scrollbars=no"); } PositionX = (screen.width/2) - 250; PositionY = (screen.height/2) - 150; defaultWidth = 500; defaultHeight = 500; var AutoClose = true; if (parseInt(navigator.appVersion.charAt(0))>=4){ var isNN=(navigator.appName=="Netscape")?1:0; var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0; var isOP=(navigator.appName.indexOf("Opera")!=-1)?1:0;} var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY; var optIE='scrollbars=no,width=710,height=400,left='+(PositionX-150)+',top='+PositionY; var optOP='scrollbars=no,width=710,height=400,left='+(PositionX-150)+',top='+(PositionY-100); function popImage(imageURL,imageTitle){ if (isNN){imgWin=window.open('about:blank','',optNN);} if (isIE){imgWin=window.open('about:blank','',optIE);} if (isOP){imgWin=window.open('about:blank','',optOP);} with (imgWin.document){ writeln('Загрузка...');writeln(''); writeln('var isNN,isIE,isOP;'); writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){'); writeln('isNN=(navigator.appName=="Netscape")?1:0;'); writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;'); writeln('isOP=(navigator.appName.indexOf("Opera")!=-1)?1:0;}'); writeln('function reSizeToImage(){'); writeln('if (isIE){'); writeln('window.resizeTo(710,460);'); writeln('width=100-(document.body.clientWidth-document.images[0].width);'); writeln('height=100-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(710,460);}'); writeln('if (isOP){'); writeln('window.resizeTo(100,100);'); writeln('width=100-(document.body.clientWidth-document.images[0].width);'); writeln('height=100-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(width+60,height+48);}'); writeln('if (isNN){'); writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}'); writeln('function doTitle(){document.title="View Image";}');writeln(''); if (!AutoClose) writeln('') else writeln(''); writeln(''); close(); } } function mpopImage(imageURL,imageTitle,imageDesc){ if (isNN){imgWin=window.open('about:blank','',optNN);} if (isIE){imgWin=window.open('about:blank','',optIE);} if (isOP){imgWin=window.open('about:blank','',optOP);} with (imgWin.document){ writeln(''+imageTitle+'');writeln(''); writeln('var isNN,isIE,isOP;'); writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){'); writeln('isNN=(navigator.appName=="Netscape")?1:0;'); writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;'); writeln('isOP=(navigator.appName.indexOf("Opera")!=-1)?1:0;}'); writeln('function reSizeToImage(){'); writeln('if (isIE){'); writeln('window.resizeTo(710,430);'); writeln('width=100-(document.body.clientWidth-document.images[0].width);'); writeln('height=100-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(710,430);}'); writeln('if (isOP){'); writeln('window.resizeTo(710,450);'); writeln('width=100-(document.body.clientWidth-document.images[0].width);'); writeln('height=100-(document.body.clientHeight-document.images[0].height);'); writeln('window.resizeTo(710,450);}'); writeln('if (isNN){'); writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}'); writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln(''); writeln(''); writeln(''); writeln(''); writeln('
'); writeln('

'+imageTitle+'


'+imageDesc+'
'); close(); } } var bikky = document.cookie; function getCookie(name) { var index = bikky.indexOf(name + "="); if (index == -1) return null; index = bikky.indexOf("=", index) + 1; var endstr = bikky.indexOf(";", index); if (endstr == -1) endstr = bikky.length; return unescape(bikky.substring(index, endstr)); } function setCookie(name, value) { if (value != null && value != "") document.cookie=name + "=" + escape(value) + ";"; bikky= document.cookie; }