var brVer = "Unknown";
var curButton = new Array();
var bigbook = new Array();
document.write('');
document.write('
');
document.write('
');
document.write('');
document.write('');
document.write(' ');
document.write(' | ');
document.write(' |
');
document.write('
');
document.write('
');
document.write('');
document.write('
');
document.write('');
document.write('');
document.write(' | ');
document.write(' ');
document.write(' |
');
document.write('
');
document.write('
');
function detVer() {
var detVer="Unknown";
detVer="IENew";
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"]) {
preShow();
document.images["bigImImg"].src=strImSrc;
} 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-22;
if (posX");
imNeoVin.document.writeln("");
imNeoVin.document.writeln("
Иллюстрация загружается...
Пожалуйста, подождите.