var brVer = "Unknown"; var curButton = new Array(); var bigbook = new Array(); document.write(''); document.write(''); document.write(''); function detVer() { var detVer="Unknown"; if (document.layers) { detVer="NSOld"; } else if ((!document.all)&&(window.scrollY||(window.scrollY==0))) { detVer="NSNew"; } else if (document.all&&(document.body.scrollTop||(document.body.scrollTop==0))) { detVer="IENew"; } else if (document.all) { detVer="Opera"; } return detVer; } function onSmImClick(strImSrc) { brVer=detVer(); if ((brVer=="Unknown")||(brVer=="NSOld")||(brVer=="Opera")) { if (screen.availWidth&&screen.availHeight) { showBigImInDivOrWin(strImSrc, Math.floor(screen.availWidth*3/4), Math.floor(screen.availHeight*3/4)); } else { showBigImInDivOrWin(strImSrc, 640, 480); } } else { if (document.images["bigImImg"]) { //if (document.getElementById("waitDiv").style.visibility!="visible") //{ preShow(); document.images["bigImImg"].src=strImSrc; //} else { // alert("previous image slide is not shown yet"); //} } else { showBigImInDivOrWin(strImSrc, 640, 480); } } } function showBigImDiv(strImSrc) { brVer=detVer(); if ((brVer=="NSNew")||(brVer=="IENew")) { var theImSrc2=document.images["bigImImg"].src; var theImSrc2su=theImSrc2.substr(theImSrc2.length-9, 9); theImSrc2su=theImSrc2su.toUpperCase(); if ((strImSrc!="/images/pixel.gif")&&(strImSrc!="/images/pixel.gif")&&(theImSrc2!="/images/pixel.gif")&&(theImSrc2!="/images/pixel.gif")&&(theImSrc2su!="PIXEL.GIF")) { var doMark=false; if (document.images["bigImImg"]) { var intImWidth=document.images["bigImImg"].width; var intImHeight=document.images["bigImImg"].height; doMark=true; } else { var intImWidth=640; var intImHeight=480; doMark=true; } if (doMark) { showBigImInDivOrWin(strImSrc, intImWidth, intImHeight); } } } } function showBigImInDivOrWin(strImSrc, intImWidth, intImHeight) { brVer=detVer(); var theScrollY=0; var theScrollX=0; if (brVer=="NSNew") { theScrollY=parseInt(window.scrollY); theScrollX=parseInt(window.scrollX); } else if (brVer=="IENew") { theScrollY=parseInt(document.body.scrollTop); theScrollX=parseInt(document.body.scrollLeft); } var avWidth=640; if (brVer=="NSOld"||brVer=="NSNew"||brVer=="Opera") { avWidth=window.innerWidth; } else if (brVer=="IENew") { avWidth=document.body.clientWidth; } var avHeight=480; if (brVer=="NSOld"||brVer=="Opera") { avHeight=screen.availHeight; } else if (brVer=="NSNew") { avHeight=window.innerHeight; } else if (brVer=="IENew") { avHeight=document.body.clientHeight; } var posX=(avWidth-(intImWidth))/2+theScrollX; if (posX"); imNeoVin.document.writeln("
"); imNeoVin.document.writeln(""); imNeoVin.document.close(); } else if (brVer=="Opera") { var tmpImg=new Image; tmpImg.src=strImSrc; var imNeoVin=window.open("", "ourBigImWin", "left="+posX+",top="+posY+",width="+(intImWidth+28)+",height="+(intImHeight+28)+",directories=no,location=no,menubar=no,resizable=yes,status=no,titlebar=no,toolbar=no,scrollbars=yes"); imNeoVin.document.open(); imNeoVin.document.writeln(""); imNeoVin.document.writeln(""); imNeoVin.document.writeln(""); imNeoVin.document.close(); imNeoWin.title=" "; } else { alert("Sorry, but we can't detect your browser version and/or capabilities to display image."); } } function hideBigImInDiv() { var imDiv=document.getElementById("bigImDiv").style; imDiv.visibility="hidden"; imDiv.left=-1000; imDiv.top=-1000; if (document.getElementById("searchsort")) {document.getElementById("searchsort").style.visibility="inherit";} } function preShow() { var brVer="Unknown"; if (document.layers) { brVer="NSOld"; } else if ((!document.all)&&(window.scrollY||(window.scrollY==0))) { brVer="NSNew"; } else if (document.all&&(document.body.scrollTop||(document.body.scrollTop==0))) { brVer="IENew"; } else if (document.all) { brVer="Opera"; } var theScrollY=0; var theScrollX=0; if (brVer=="NSNew") { theScrollY=parseInt(window.scrollY); theScrollX=parseInt(window.scrollX); } else if (brVer=="IENew") { theScrollY=parseInt(document.body.scrollTop); theScrollX=parseInt(document.body.scrollLeft); } if ((brVer=="NSNew")||(brVer=="IENew")) { var avWidth=640; var avHeight=480; if (brVer=="NSOld"||brVer=="Opera") { avHeight=screen.availHeight; } else if (brVer=="NSNew") { avHeight=window.innerHeight; } else if (brVer=="IENew") { avHeight=document.body.clientHeight; } var posX=Math.floor((avWidth/2)+theScrollX); if (posX