var V123456=160; var V234567=120; var V345678=2; var V456789=1.2; var V567890=1.2; var V678901=1000; var V789012=100000; var V890123=1; var V901234=12; function F123456(V987654) { var V987654 = V987654?V987654:window.event?window.event:null; if(!V987654){ return;} if(V876543=='' || parseInt(document.getElementById(V876543+'_container').style.width) == 0) {return true;} if(V987654.keyCode==37 || V987654.keyCode==100) { V123456/=V567890; V234567/=V567890; if(V123456*V234567<V678901) {V234567=Math.sqrt(V678901/V765432); V123456=V234567*V765432;} F345678(); zoom_move(); return;} if(V987654.keyCode==39 || V987654.keyCode==102) { V123456*=V567890; V234567*=V567890; if(V123456*V234567>V789012) {V234567=Math.sqrt(V789012/V765432); V123456=V234567*V765432;} if(V123456>V654321) {V123456=V654321; V234567=V654321/V765432;} else if(V234567>V543210) {V234567=V543210; V123456=V543210*V765432;} F345678(); zoom_move(); return; } if(V987654.keyCode==40 || V987654.keyCode==98) {V012345/=V456789; if(V012345<V890123) {V012345=V890123;} F345678(); zoom_move(); return;} if(V987654.keyCode==38 || V987654.keyCode==104) {V012345*=V456789; if(V012345>V901234) {V012345=V901234;} F345678(); zoom_move(); return;} return;} function F345678() { document.getElementById(V876543+'_clip').style.width=V654321*V012345+'px'; document.getElementById(V876543+'_clip').style.height=V543210*V012345+'px'; setTimeout("document.getElementById('"+V876543+"_trigger').focus();",0);} function zoom_move(V987654) { if(typeof(V987654) == 'object') { var V987654 = V987654?V987654:window.event?window.event:null; if(!V987654){ return;} if(V987654.pageX) { V345=V987654.pageX - V210987; V456=V987654.pageY - V109876; } else { if(typeof(document.getElementById(V876543)+1) == 'number') {return true;} V345=V987654.x - V432109; V456=V987654.y - V321098; } } else { V345=V123; V456=V234; } V123=V345; V234=V456; document.getElementById(V876543+'_clip').style.margin=((V456-V234567/2 > 0)?(V234567/2-V456*V012345):(V456*(1-V012345)))+'px 0px 0px '+((V345-V123456/2 > 0)?(V123456/2-V345*V012345):(V345*(1-V012345)))+'px'; document.getElementById(V876543+'_container').style.margin=((V456-V234567/2 > 0)?(V456-V234567/2):(0))+'px 0px 0px '+((V345-V123456/2 > 0)?(V345-V123456/2):(0))+'px'; w2=((V345+V123456/2<V654321)?((V123456/2<V345)?(V123456):(V123456/2+V345)):(V123456/2+V654321-V345)); if(w2<0) {w2=0;} document.getElementById(V876543+'_container').style.width=w2+'px'; h2=((V456+V234567/2<V543210)?((V234567/2<V456)?(V234567):(V234567/2+V456)):(V234567/2+V543210-V456)); if(h2<0) {h2=0;} document.getElementById(V876543+'_container').style.height=h2+'px'; return false;} function zoom_off() { document.getElementById(V876543+'_container').style.width='0px'; document.getElementById(V876543+'_container').style.height='0px'; V876543='';} function F234567() { V432109=0; V321098=0; for(zmi=0;zmi<50;zmi++) { zme='document.getElementById(V876543)'; for(zmj=1;zmj<=zmi;zmj++) { zme+='.offsetParent'; } if(eval(zme)+1 == 1) {zmi=100;} else {V432109+=eval(zme+'.offsetLeft'); V321098+=eval(zme+'.offsetTop');} } V210987=V432109; V109876=V321098; V432109-=document.body.scrollLeft; V321098-=document.body.scrollTop;} function zoom_on(V987654,ow,oh,lowres,highres) { thisid=lowres+highres+ow+oh; thisid='zoom_'+thisid.replace(/[^a-z0-9]/ig,''); if(V876543==thisid) {return;} if(typeof(highres) == typeof(stajeovo)) {highres=lowres;} var V987654 = V987654?V987654:window.event?window.event:null; if(!V987654){ return;} V012345=V345678; V654321=ow; V543210=oh; V876543=thisid; if(V987654.pageX) { V987654.target.parentNode.id=thisid; F234567(); V123=V987654.pageX - V210987; V234=V987654.pageY - V109876; } else { V987654.srcElement.parentNode.id=thisid; F234567(); V123=V987654.x - V432109; V234=V987654.y - V321098; } document.getElementById(thisid).style.width=ow+'px'; document.getElementById(thisid).style.height=oh+'px'; document.getElementById(thisid).style.overflow='hidden'; document.getElementById(thisid).innerHTML='<div style="position:absolute; overflow:hidden; width:0; height:0;" id="'+thisid+'_container" onmousemove="zoom_move(event);" onmouseout="zoom_off()"><img src="'+highres+'" alt="" id="'+thisid+'_clip" style="padding:0;margin:0;border:0;" /></div><img src="'+lowres+'" id="'+thisid+'_pic" alt="" style="padding:0;margin:0;border:0;width:'+ow+'px; height: '+oh+'px"/><input type="text" id="'+thisid+'_trigger" style="width:0;height:0;border:0;margin:0; padding:0;overflow:hidden;"/>'; if(V123456>V654321) {V123456=V654321; V234567=V654321/V765432;} else if(V234567>V543210) {V234567=V543210; V123456=V543210*V765432;} F345678(); zoom_move(''); if(document.all) { document.onkeydown=F123456; } else { window.captureEvents(Event.KEYDOWN); window.onkeydown = F123456; } return false;} var V012345=V345678; var V654321; var V543210; var V876543=''; var V765432=V123456/V234567; var V432109=0; var V321098=0; var V210987=0; var V109876=0;
