 /******************************************************
***** Copyright by Plumpy [ http://plumpy.da.ru ] ******
*******************************************************/
function wOp(imgName) {
var winWidth=570;
var winHeight=570;
newUrl=new Array('/ru/interactive/wop.shtml?'+imgName)
newParam=new Array('width='+winWidth+',height='+winHeight+',scrollbars=yes,resizable=yes');
newwin=window.open(newUrl,'newwin',newParam);
newwin.self.resizeTo(winWidth,winHeight);
newwin.self.focus();
}



divWidth="2920";



var IE=(navigator.appName=="Microsoft Internet Explorer")?1:0;
var NS=(navigator.appName=="Netscape")?1:0;
var NS6 = (navigator.vendor == ("Netscape6") || navigator.product == ("Gecko"));
var varTime=null;
var hideMenu = null;
var newLeft=0;
var scrollWidth=447-divWidth

function init(){
if(IE){scrollDiv='document.all.divScroll';heightVar='offsetHeight';varStyle='.style';}
if(NS){scrollDiv='document.layers.divFix.document.layers.divCont.document.layers.divScroll';heightVar='clip.height';varStyle='';}
if(NS6){scrollDiv='document.getElementById("divScroll")';varStyle='.style';}
}

init();

function moveRight(speed){
clearTimeout(varTime);
if(newLeft<=scrollWidth)
clearTimeout(varTime);
else{
newLeft-=10;
eval(scrollDiv+varStyle+'.left = newLeft');
varTime=setTimeout('moveRight("'+speed+'")',speed);}
}

function moveLeft(speed){
clearTimeout(varTime);
if(newLeft>=0)
clearTimeout(varTime);
else{
newLeft+=10;
eval(scrollDiv+varStyle+'.left = newLeft');
varTime=setTimeout('moveLeft("'+speed+'")',speed);}
}




if (document.images) {
for (i=1; i<=22; i++)
{
eval("a"+i+" = new Image()");eval("a"+i+".src = 'a"+i+".jpg'");
} 
}


function imgOn(imgNum) 
{
if (document.images) {
document.images['a0'].src = eval("a"+imgNum + ".src")
}

}




/*****************************************************
********* That's all. Best regards, Plumpy ***********
******************************************************/
