Xoffset=10;Yoffset=15;var old,skn,iex=(document.all),yyy=-1000;var ns4=document.layers;var ns6=document.getElementById&&!document.all;var ie4=document.all;if(ns4){skn=document.help}else{if(ns6){skn=document.getElementById("help").style}else{if(ie4){skn=document.all.help.style}}}if(ns4){document.captureEvents(Event.MOUSEMOVE)}else{skn.visibility="visible";skn.display="none"}document.onmousemove=gm;function hp(A){A=A.replace(/\n/,"<br>");A=A.replace(/\n/,"<br>");A=A.replace(/\n/,"<br>");A=A.replace(/\n/,"<br>");A=A.replace(/\n/,"<br>");content=hpf(A);yyy=Yoffset;if(ns4){skn.document.write(content);skn.document.close();skn.visibility="visible"}if(ns6){document.getElementById("help").innerHTML=content;skn.display=""}if(ie4){document.all("help").innerHTML=content;skn.display=""}}function hpf(B,A){var C=["<div class=\"dw-sprite\" style=\"width: ",(A)?A:"162","px;\">","<div class=\"dw-top\"><div class=\"dw-top2\"><div class=\"dw-top3\"></div></div></div>","<div class=\"dw-body\"><div class=\"dw-body2\"><div class=\"dw-body3\"><div class=\"dw-body4\">"+B+"</div>","<div class=\"dw-clear\"></div> </div></div></div>","<div class=\"dw-fut\"><div class=\"dw-fut2\"> <div class=\"dw-fut3\"></div></div></div></div>"];return C.join("")}function hg(A){if(!A["dg-tip"]){A["dg-tip"]=A.title;A.title=""}hp(A["dg-tip"])}function regav(){hp("Возможность доступна только зарегистрированным пользователям")}function gm(B){var A=(ns4||ns6)?B.pageX:event.x+document.body.scrollLeft;skn.left=A+Xoffset+"px";var C=(ns4||ns6)?B.pageY:event.y+document.body.scrollTop;skn.top=C+yyy+"px"}function hc(){yyy=-1000;if(ns4){skn.visibility="hidden"}else{if(ns6||ie4){skn.display="none"}}}function checks_user(){var B=xGetElementById("i-cpass").style;var A=xGetElementById("i-cname").style;if(xGetElementById("usrchk").checked==true){B.display="";A.display="none"}else{A.display="";B.display="none"}}function xGetElementById(A){if(typeof (A)!="string"){return A}if(document.getElementById){A=document.getElementById(A)}else{if(document.all){A=document.all[A]}else{A=null}}return A}function xVisibility(B,A){if(!(B=xGetElementById(B))){return null}if(B.style&&xDef(B.style.visibility)){if(xDef(A)){B.style.visibility=A?"visible":"hidden"}return B.style.visibility}return null}function xDef(){for(var A=0;A<arguments.length;++A){if(typeof (arguments[A])=="undefined"){return false}}return true}function xShow(A){return xVisibility(A,1)}function xHide(A){return xVisibility(A,0)}function xInnerHtml(C,B){if(!(C=xGetElementById(C))||!xStr(C.innerHTML)){return null}var A=C.innerHTML;if(xStr(B)){C.innerHTML=B}return A}function xStr(B){for(var A=0;A<arguments.length;++A){if(typeof (arguments[A])!="string"){return false}}return true}function ibookmarks(){var B=encodeURIComponent(location.href);var D=encodeURIComponent(document.title);var A=[];var E=["myscoop.ru","add/?title={t}&URL={u}","Myscoop.ru","myweb2.search.yahoo.com","myresults/bookmarklet?u={u}&t={t}","Yahoo.com","vaau.ru","submit/?action=step2&url={u}","Vaau.ru","bobrdobr.ru","add.html?url={u}&title={t}","Bobrdobr.ru","google.com","bookmarks/mark?op=edit&bkmk={u}&title={t}","Google.com","newsland.ru","News/Add/type/news/","Newsland.ru","rumarkz.ru","bookmarks/?action=add&popup=1&address={u}&title={t}&description={t}","Rumarkz.ru","memori.ru","link/?sm=1&u_data[url]={u}&u_data[name]={t}","Memori.ru","moemesto.ru","post.php?url={u}&title={t}","Moemesto.ru","rucity.com","bookmarks.php?action=add&address={u}&title={t}&description=","Rucity.com","del.icio.us","post?url={u}&title={t}","Del.icio.us","news2.ru","add_story.php?url={u}","News2.ru","mister-wong.ru","add_url/?bm_url={u}&bm_description={t}","Mister-wong.ru","linkstore.ru","servlet/LinkStore?a=add&url={u}&title={t}","Linkstore.ru"];for(var C=0;C<E.length;C=C+3){A.push("<a target=\"_blank\" onmouseover=\"this.style.background='#fff'\" onmouseout=\"this.style.background='none'\" style=\"display:block;font-size:11px; text-decoration:none;margin:0px;margin-bottom:2px;margin-top:0px;padding:2px;line-height:100%\" href=\"http://"+E[C]+"/"+E[C+1].replace("{u}",B).replace("{t}",D)+"\"><img src=\"http://digicam.local/img/photo.gif\" border=\"0\" hspace=\"1\" style=\"margin:0px;margin-right:2px;background:url('/i/icon/_all.gif') no-repeat scroll 0pt "+((-16*((C+3)/3)))+"px;\" width=\"16\" height=\"16\" alt=\"Добавить закладку в "+E[C]+"\" />"+E[C+2]+"</a>")}return A.join("")}function zndex(A,C){var B=document.getElementById(A);B.style.zIndex=C}function zselection(){var A;if(window.getSelection){A=window.getSelection()}else{if(document.selection){A=document.selection.createRange()}else{A=""}}if(A.text){A=A.text}return encodeURIComponent(A)}function get_codes(B){var A=encodeURIComponent(location.href);expandingWindow("/gallery/code.php?id="+B+"&url="+A,"code",600,500,"no")}var ibtime,ibtime2;function z_hide(){if(ibtime){clearTimeout(ibtime)}xHide("i-bm")}function zshow(){if(ibtime){clearTimeout(ibtime)}var D=xGetElementById("i-bm");D.innerHTML=hpf(ibookmarks(),110);D.onmouseover=function(){if(ibtime){clearTimeout(ibtime)}};D.onmouseout=function(){ibtime=setTimeout(z_hide,300)};var C=0,B=0;var A=xGetElementById("i-bm").style;e=xGetElementById("ibookmrks");while(e){C+=e.offsetLeft;B+=e.offsetTop;e=e.offsetParent}A.left=C+"px";A.top=(B+16)+"px";A.zIndex=500;xShow("i-bm")}function ibgo(){document.write("<div align=\"right\" style=\"padding:4px;\"><img src=\"/img/photo.gif\" border=\"0\" style=\"margin:5px;background:url('/i/icon/all.gif') no-repeat;cursor:pointer\" width=\"113\" height=\"16\" alt=\"Добавить в закладки\" id=\"ibookmrks\" /></div>");var A=xGetElementById("ibookmrks");A.onmouseover=function(){zshow();if(ibtime){clearTimeout(ibtime)}};A.onmouseout=function(){ibtime=setTimeout(z_hide,500)}}function expandingWindow(D,C,B,F,G){if(B==0&&F==0){newwindow=window.open(D,C,"width=winwidth,height=winheight,menubar=no,status=no,location=no,scrollbars=yes,fullscreen=yes,directories=no,resizable=yes")}else{var A=(screen.width-B)/2;var E=(screen.height-F)/2-50;newwindow=window.open(D,C,"left="+A+",top="+E+",width="+B+",height="+F+",menubar=no,status=no,location=no,scrollbars=yes,fullscreen="+G+",directories=no,resizable=yes")}newwindow.focus()}var grayflag=false;var invertflag=false;var flipHflag=false;var flipVflag=false;var alphaflag=false;var CurrentSide=null;var x0=0;var y0=0;var width=0;var height=0;function SetBG(A){document.getElementById("galunit").bgColor=A}function InitFilters(A){switch(A){case 1:xGetElementById("pix").style.filter="Gray";xGetElementById("pix").filters["Gray"].enabled=grayflag;invertflag=false;break;case 2:xGetElementById("pix").style.filter="Invert";xGetElementById("pix").filters["Invert"].enabled=invertflag;grayflag=false;xGetElementById("bw").src="/img/bw.gif";break}}function setBW(){InitFilters(1);grayflag=!grayflag;xGetElementById("pix").filters["Gray"].enabled=grayflag;if(grayflag){xGetElementById("bw").src="/img/bw_b.gif"}else{xGetElementById("bw").src="/img/bw.gif"}}function setInvert(){InitFilters(2);invertflag=!invertflag;xGetElementById("pix").filters["Invert"].enabled=invertflag;if(invertflag){xGetElementById("invert").src="/img/invert_b.gif"}else{xGetElementById("invert").src="/img/invert.gif"}}function setFH(){flipHflag=!flipHflag;xGetElementById("pix").style.filter=(flipHflag)?"FlipH":"";if(flipHflag){xGetElementById("fh").src="/img/fh_b.gif"}else{xGetElementById("fh").src="/img/fh.gif"}}function setVH(){flipVflag=!flipVflag;xGetElementById("pix").style.filter=(flipVflag)?"FlipV":"";if(flipVflag){xGetElementById("vh").src="/img/vh_b.gif"}else{xGetElementById("vh").src="/img/vh.gif"}}function rtnvi(){var A=xGetElementById("dg-price-notice");if(A){A.href="http://pokupaj.com.ua/pokupaj.php?sub_=&search_="+encodeURIComponent(A.title)}}function bfotos(){var A=parseInt(Math.random()*1000000);banner="<iframe src=\"http://b46860.bannerbank.com.ua/cgi-bin/banner.cgi?";banner+="11;"+A+";1;"+escape(document.referrer)+";\" frameborder=0 width=468 height=60 marginwidth=0 marginheight=0 scrolling=no >";banner+="<A target=\"_blank\" href=\"http://c46860.bannerbank.com.ua/cgi-bin/go.cgi?";banner+="id=11;pg="+escape(window.location.href)+"-"+A+"0\"><IMG alt=\"Коммерческая баннерная сеть Баннер Банк\" border=0 ";banner+="width=468 height=60 src=\"http://b46860.bannerbank.com.ua/cgi-bin/banner.cgi?";banner+="11;"+escape(window.location.href)+"-"+A+";0;"+escape(document.referrer)+";\" border=0></A></iframe>";document.write(banner)}