/* jquery.sifr.license.txt */
(function(j){var q=true,B=false,m="",s="height",w="width",g="offsetHeight",v="offsetWidth",z="color",i="cursor",r="font",c="fontSize",o="fontWeight",e="lineHeight",k="textAlign",D="textTransform",b="childNodes",l="parentNode",h="children",y="content",C="sifr",p=function(f){return parseInt(f,10)},n=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F"],u=function(f){return isNaN(f)?"00":n[(f-f%16)/16]+n[f%16]},A=function(f){var t;return"#"+((f)?(0)?t:(t=f.match(/rgb\((\d+),\s(\d+),\s(\d+)\)/))?u(t[1])+u(t[2])+u(t[3]):f:"000").replace(/^#{0,}(\w)(\w)(\w)$|^#/,"$1$1$2$2$3$3").toUpperCase()};j.fn.sifr=function(J){if(!j.flash.available){return B}var f,E,H,F=this,I=0,t,G;J=j.extend({},J);while((E=F.eq(I++))[0]){G=j.extend({},(t=j.extend({},E.data("options"),J)));if(E.hasClass(C)){continue}E.addClass(C);if(!j.flash.hasVersion(6)){continue}f=E;H=E;txt=E[0].innerHTML;if(j.browser.msie){txt=txt.replace(/<(A).*?href=\"(.*?)\".*?>/ig,'<$1 href="$2">');if(txt.match(/#[0-9A-F]{6}/i)){txt=txt.replace(/(#[0-9A-F]{6})/i,'"$1"')}}G[y]=escape(txt);G.zoom=G.zoom||1;G.overX=(G.overX||1)*(G.over||1);G.overY=(G.overY||1)*(G.over||1);G[s]=G[s]||Math.max(f[0][g]||f[0][l][g],p(f.css(e).replace(/normal/,p(f.css(c))*1.25)));G[w]=G[w]||f[0][v]||f[0][l][v];G[r]=G[r]||E.css("fontFamily").replace(/^\s+|\s+$|,[\S|\s]+|'|"|(,)\s+/g,"$1");G[z]=G[z]||f.css(z);G[z]=A(G[z]);G[i]=G[i]||f.css(i);G[o]=(G[o]||f.css(o).toString()).replace("400","normal").replace("700","bold");G[c]=(G[c]||p(f.css(c)))*G.zoom;G[e]=p(G[e]||f.css(e).replace(/normal/,G[c]*1.25))||G[s];G[k]=G[k]||f.css(k).toString();if(G[k]==="center"){H.css("marginLeft",(G[w]-(G[w]*G.overX))/2)}var x="txt="+escape(txt)+"&amp;textcolor="+G[z]+"&amp;w="+G[w]+"&amp;h="+G[s]+"";if(0){flash_code='<object type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="'+G[w]+'" height="'+G[s]+'"><param name="movie" value="'+G[r]+'" /><param name="flashvars" value="'+x+'" /><param name="bgcolor" value="transparent" /><param name="quality" value="best" /><param name="wmode" value="transparent" /></object>'}else{flash_code='<embed type="application/x-shockwave-flash" src="'+G[r]+'" quality="best" wmode="transparent" bgcolor="transparent" flashvars="'+x+'" width="'+G[w]+'" height="'+G[s]+'"/>'}H.html(flash_code)}return F}}(jQuery));jQuery.fn.extend({everyTime:function(c,e,f,g,b){return this.each(function(){jQuery.timer.add(this,c,e,f,g,b)})},oneTime:function(b,c,e){return this.each(function(){jQuery.timer.add(this,b,c,e,1)})},stopTime:function(b,c){return this.each(function(){jQuery.timer.remove(this,b,c)})}});jQuery.extend({timer:{global:[],guid:1,dataKey:"jQuery.timer",regex:/^([0-9]+(?:\.[0-9]*)?)\s*(.*s)?$/,timeParse:function(e){if(e==undefined||e==null){return null}var b=this.regex.exec(jQuery.trim(e.toString()));if(b[2]){var c=parseFloat(b[1]);var f=1;return c*f}else{return e}},add:function(g,e,j,i,c,h){var b=0;if(jQuery.isFunction(j)){if(!c){c=i}i=j;j=e}e=jQuery.timer.timeParse(e);if(typeof e!="number"||isNaN(e)||e<=0){return}if(c&&c.constructor!=Number){h=!!c;c=0}c=c||0;h=h||false;var f=jQuery.data(g,this.dataKey)||jQuery.data(g,this.dataKey,{});if(!f[j]){f[j]={}}i.timerID=i.timerID||this.guid++;var k=function(){if(h&&this.inProgress){return}this.inProgress=true;if((++b>c&&c!==0)||i.call(g,b)===false){jQuery.timer.remove(g,j,i)}this.inProgress=false};k.timerID=i.timerID;if(!f[j][i.timerID]){f[j][i.timerID]=window.setInterval(k,e)}this.global.push(g)},remove:function(e,c,f){var g=jQuery.data(e,this.dataKey),b;if(g){if(!c){for(c in g){this.remove(e,c,f)}}else{if(g[c]){if(f){if(f.timerID){window.clearInterval(g[c][f.timerID]);delete g[c][f.timerID]}}else{for(var f in g[c]){window.clearInterval(g[c][f]);delete g[c][f]}}for(b in g[c]){break}if(!b){b=null;delete g[c]}}}for(b in g){break}if(!b){jQuery.removeData(e,this.dataKey)}}}}});jQuery(window).bind("unload",function(){jQuery.each(jQuery.timer.global,function(b,c){jQuery.timer.remove(c)})});(function(g,c){var e=function(i){var h,j=[];for(h in i){j.push(h+'="'+i[h]+'"')}return j.join("")},f=function(j){var h,l,k=[],i;for(h in j){if(typeof j[h]=="object"){i=[];for(l in j[h]){i.push([l,"=",encodeURIComponent(j[h][l])].join(""))}j[h]=i.join("&amp;")}k.push(['<param name="',h,'" value="',j[h],'" />'].join(""))}return k.join("")},b=false;g[c]=(function(){var h="0,0,0",i=navigator.plugins["Shockwave Flash"];if(window.ActiveXObject){i=window.ActiveXObject}if(!i){i=""}h=i.description||(function(){d="noflash 0,0,0";try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");d=j.GetVariable("$version")}catch(k){try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");d="flashv6 6,0,21"}catch(k){try{var j=new ActiveXObject("ShockwaveFlash.ShockwaveFlash");d=j.GetVariable("$version")}catch(k){}}}return d.split(" ")[1]}());h=h.match(/^[A-Za-z\s]*?(\d+)[\.|,](\d+)(?:\s+r|,)(\d+)/);return{available:h[1]>0,activeX:!i.name,version:{major:h[1]*1,minor:h[2]*1,release:h[3]*1},hasVersion:function(k){var n=this.version,l="major",m="minor",j="release";k=(/string|number/.test(typeof k))?k.toString().split("."):k||[0,0,0];k=[k[l]||k[0]||n[l],k[m]||k[1]||n[m],k[j]||k[2]||n[j]];return(k[0]<n[l])||(k[0]==n[l]&&k[1]<n[m])||(k[0]==n[l]&&k[1]==n[m]&&k[2]<=n[j])},expressInstall:"/includes/rotator/expressInstall.swf",create:function(j){if(!g[c].available||b||!typeof j=="object"||!j.swf){return""}if(j.hasVersion&&!g[c].hasVersion(j.hasVersion)){j={swf:j.expressInstall||g[c].expressInstall,attrs:{height:Math.max(j.height||137),width:Math.max(j.width||214)},params:{wmode:j.params.wmode||"opaque",flashvars:{MMredirectURL:location.href,MMplayerType:(g[c].activeX)?"ActiveX":"PlugIn",MMdoctitle:document.title.slice(0,47)+" - Flash Player Installation"}}};b=true}else{j=g.extend(true,{attrs:{height:j.height||180,width:j.width||320},params:{wmode:j.wmode||"opaque",flashvars:j.flashvars}},j)}return"<object "+(e(j.attrs))+(g[c].activeX?' classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param name="movie" value="'+j.swf+'" />':' type="application/x-shockwave-flash" data="'+j.swf+'">')+(f(j.params))+"</object>"}}}());g.fn[c]=function(h){if(typeof h=="object"){this.each(function(){var i=document.createElement(c);i.innerHTML=g[c].create(h);if(i.childNodes[0]){this.appendChild(i.childNodes[0])}})}else{if(typeof h=="function"){this.find("object").andSelf().filter("object").each(function(){var j=this,i="jsInteractionTimeoutMs";j[i]=j[i]||0;if(j[i]<660){if(j.clientWidth||j.clientHeight){h.call(this)}else{setTimeout(function(){g(j)[c](h)},j[i]+66)}}})}}return this}}(jQuery,"flash"));(function(b){if(typeof console==="undefined"){console=typeof window.console!=="undefined"?window.console:{}}console.log=console.log||function(){};console.debug=console.debug||console.log;console.warn=console.warn||console.log;console.error=console.error||function(){var c=[];for(var e=0;e<arguments.length;e++){c.push(arguments[e])}alert(c.join("\n"))};console.trace=console.trace||console.log;console.group=console.group||console.log;console.groupEnd=console.groupEnd||console.log;console.profile=console.profile||console.log;console.profileEnd=console.profileEnd||console.log;b.History={options:{debug:false},state:"",$window:null,$iframe:null,handlers:{generic:[],specific:{}},format:function(c){c=c.replace(/^.*#/g,"");return c},getState:function(){var c=b.History;return c.state},setState:function(e){var c=b.History;e=c.format(e);c.state=e;return c.state},getHash:function(){var c=b.History;var e=c.format(window.location.hash||location.hash);return e},setHash:function(e){var c=b.History;e=c.format(e);if(typeof window.location.hash!=="undefined"){if(window.location.hash!==e){window.location.hash=e}}else{if(location.hash!==e){location.hash=e}}return e},go:function(g){var c=b.History;g=c.format(g);var f=c.getHash();var e=c.getState();if(g!==f){c.setHash(g)}else{if(g!==e){c.setState(g)}c.trigger()}return true},hashchange:function(g){var c=b.History;var f=c.getHash();c.go(f);return true},bind:function(f,c){var e=b.History;if(c){if(typeof e.handlers.specific[f]==="undefined"){e.handlers.specific[f]=[]}e.handlers.specific[f].push(c)}else{c=f;e.handlers.generic.push(c)}return true},trigger:function(h){var f=b.History;if(typeof h==="undefined"){h=f.getState()}var c,j,e,g;if(typeof f.handlers.specific[h]!=="undefined"){g=f.handlers.specific[h];for(c=0,j=g.length;c<j;++c){e=g[c];e(h)}}g=f.handlers.generic;for(c=0,j=g.length;c<j;++c){e=g[c];e(h)}return true},construct:function(){var c=b.History;b(document).ready(function(){c.domReady()});return true},configure:function(c){var e=b.History;e.options=b.extend(e.options,c);return true},domReadied:false,domReady:function(){var c=b.History;if(c.domRedied){return}c.domRedied=true;c.$window=b(window);c.$window.bind("hashchange",this.hashchange);setTimeout(c.hashchangeLoader,200);return true},hashchangeLoader:function(){var f=b.History;if(!(b.browser.msie&&parseInt(b.browser.version)>=8)){var c;if(b.browser.msie){f.$iframe=b('<iframe id="jquery-history-iframe" style="display: none;"></iframe>').prependTo(document.body)[0];try{a1=f.$iframe.contentWindow.document}catch(i){return false}f.$iframe.contentWindow.document.open();f.$iframe.contentWindow.document.close();var h=false;c=function(){var k=f.getHash();var j=f.getState();var e=f.format(f.$iframe.contentWindow.document.location.hash);if(j!==k){if(!h){f.$iframe.contentWindow.document.open();f.$iframe.contentWindow.document.close();f.$iframe.contentWindow.document.location.hash=k}h=false;f.$window.trigger("hashchange")}else{if(j!==e){h=true;f.setHash(e)}}}}else{c=function(){var j=f.getHash();var e=f.getState();if(e!==j){f.$window.trigger("hashchange")}}}setInterval(c,200)}else{var g=f.getHash();if(g){f.$window.trigger("hashchange")}}return true}};b.History.construct()})(jQuery);(function(b){jQuery.fn.pngFix=function(f){f=jQuery.extend({blankgif:"blank.gif"},f);var e=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 5.5")!=-1);var c=(navigator.appName=="Microsoft Internet Explorer"&&parseInt(navigator.appVersion)==4&&navigator.appVersion.indexOf("MSIE 6.0")!=-1);if(jQuery.browser.msie&&(e||c)){jQuery(this).find("img[src$=.png]").each(function(){jQuery(this).attr("width",jQuery(this).width());jQuery(this).attr("height",jQuery(this).height());var n="";var i="";var h=(jQuery(this).attr("id"))?'id="'+jQuery(this).attr("id")+'" ':"";var o=(jQuery(this).attr("class"))?'class="'+jQuery(this).attr("class")+'" ':"";var k=(jQuery(this).attr("title"))?'title="'+jQuery(this).attr("title")+'" ':"";var l=(jQuery(this).attr("alt"))?'alt="'+jQuery(this).attr("alt")+'" ':"";var j=(jQuery(this).attr("align"))?"float:"+jQuery(this).attr("align")+";":"";var g=(jQuery(this).parent().attr("href"))?"cursor:hand;":"";if(this.style.border){n+="border:"+this.style.border+";";this.style.border=""}if(this.style.padding){n+="padding:"+this.style.padding+";";this.style.padding=""}if(this.style.margin){n+="margin:"+this.style.margin+";";this.style.margin=""}var m=(this.style.cssText);i+="<span "+h+o+k+l;i+='style="position:relative;white-space:pre-line;display:inline-block;background:transparent;'+j+g;i+="width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+"px;";i+="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+jQuery(this).attr("src")+"', sizingMethod='scale');";i+=m+'"></span>';if(n!=""){i='<span style="position:relative;display:inline-block;'+n+g+"width:"+jQuery(this).width()+"px;height:"+jQuery(this).height()+'px;">'+i+"</span>"}jQuery(this).hide();jQuery(this).after(i)});jQuery(this).find("*").each(function(){var h=jQuery(this).css("background-image");if(h.indexOf(".png")!=-1){var g=h.split('url("')[1].split('")')[0];jQuery(this).css("background-image","none");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+g+"',sizingMethod='scale')"}});jQuery(this).find("input[src$=.png]").each(function(){var g=jQuery(this).attr("src");jQuery(this).get(0).runtimeStyle.filter="progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+g+"', sizingMethod='scale');";jQuery(this).attr("src",f.blankgif)})}return jQuery}})(jQuery);(function(e){var b=e.scrollTo=function(h,g,f){e(window).scrollTo(h,g,f)};b.defaults={axis:"xy",duration:parseFloat(e.fn.jquery)>=1.3?0:1};b.window=function(f){return e(window)._scrollable()};e.fn._scrollable=function(){return this.map(function(){var g=this,f=!g.nodeName||e.inArray(g.nodeName.toLowerCase(),["iframe","#document","html","body"])!=-1;if(!f){return g}var h=(g.contentWindow||g).document||g.ownerDocument||g;return e.browser.safari||h.compatMode=="BackCompat"?h.body:h.documentElement})};e.fn.scrollTo=function(h,g,f){if(typeof g=="object"){f=g;g=0}if(typeof f=="function"){f={onAfter:f}}if(h=="max"){h=9000000000}f=e.extend({},b.defaults,f);g=g||f.speed||f.duration;f.queue=f.queue&&f.axis.length>1;if(f.queue){g/=2}f.offset=c(f.offset);f.over=c(f.over);return this._scrollable().each(function(){var n=this,l=e(n),m=h,k,i={},o=l.is("html,body");switch(typeof m){case"number":case"string":if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(m)){m=c(m);break}m=e(m,this);case"object":if(m.is||m.style){k=(m=e(m)).offset()}}e.each(f.axis.split(""),function(s,t){var u=t=="x"?"Left":"Top",w=u.toLowerCase(),r="scroll"+u,q=n[r],p=b.max(n,t);if(k){i[r]=k[w]+(o?0:q-l.offset()[w]);if(f.margin){i[r]-=parseInt(m.css("margin"+u))||0;i[r]-=parseInt(m.css("border"+u+"Width"))||0}i[r]+=f.offset[w]||0;if(f.over[w]){i[r]+=m[t=="x"?"width":"height"]()*f.over[w]}}else{var v=m[w];i[r]=v.slice&&v.slice(-1)=="%"?parseFloat(v)/100*p:v}if(/^\d+$/.test(i[r])){i[r]=i[r]<=0?0:Math.min(i[r],p)}if(!s&&f.queue){if(q!=i[r]){j(f.onAfterFirst)}delete i[r]}});j(f.onAfter);function j(p){l.animate(i,g,f.easing,p&&function(){p.call(this,h,f)})}}).end()};b.max=function(l,k){var j=k=="x"?"Width":"Height",g="scroll"+j;if(!e(l).is("html,body")){return l[g]-e(l)[j.toLowerCase()]()}var i="client"+j,h=l.ownerDocument.documentElement,f=l.ownerDocument.body;return Math.max(h[g],f[g])-Math.min(h[i],f[i])};function c(f){return typeof f=="object"?f:{top:f,left:f}}})(jQuery);var need_sifr;function eventTracker(){$(".header-menu-line .add-buttons a.shopcart").click(function(){trackEvent("shopping cart","top line")});$(".product a.add-to-cart").click(function(){if(matches=$(this).attr("href").match(/\/software\/(.*?)\/purchase/)){software_name=matches[1];trackEvent("shopping cart","add",software_name)}});$("#product .right-block .panel ul li a").click(function(){if(matches=$(this).attr("href").match(/\/software\/(.*?)\/purchase/)){software_name=matches[1];trackEvent("shopping cart","software quick links",software_name)}if(matches=$(this).attr("href").match(/\/software\/(.*?)\/download/)){software_name=matches[1];trackEvent("download","software quick links",software_name)}});$("a.download-cnet").click(function(){if(matches=window.location.href.match(/\/software\/(.*?)\//)){software_name=matches[1];trackEvent("download","cnet button",software_name)}});$("ul.tabs li a").click(function(){if(matches=window.location.href.match(/\/software\/(.*?)\//)){software_name=matches[1];tab_name=$(this).text();trackEvent("software tabs",software_name,tab_name)}});$("center.dark-grey a").click(function(){if(matches=window.location.href.match(/\/software\/(.*?)\//)){software_name=matches[1];link_text=$(this).text();trackEvent("software footer links",software_name,link_text)}})}function trackEvent(c,e,b){if(!c){c=""}if(!e){e=""}if(!b){b=""}_gaq.push(["_trackEvent",c,e,b,0])}function language(){if(matches=window.location.href.match("/(en|ru)/")){return matches[1]}else{return"en"}}function ShowSelector(){$.getScript("/includes/product-selector/selector.js.php?lang="+language(),function(){try{PS_Show()}catch(b){}})}function init(){var b=window.location.href;$("a[title]").each(function(){title=$(this).attr("title");if(title.length>0){$(this).attr("tooltip",title);$(this).attr("title","")}});$("a[tooltip]").mouseover(function(){offset=$(this).offset();if(!$("#tooltip").get(0)){$("body").append("<div id='tooltip'>"+$(this).attr("tooltip")+"</div>");$("#tooltip").css("top",offset.top+$(this).height()+15+"px");$("#tooltip").css("left",offset.left-30+"px")}}).mousemove(function(c){$("#tooltip").css("top",c.pageY+15+"px");$("#tooltip").css("left",c.pageX-30+"px")}).mouseout(function(){$("#tooltip").remove()});if(need_sifr&&$.flash.available){$(".header-bold h1, .header-bold h2, .header-bold h3, .header-bold h4").sifr({font:"/includes/fonts/mgopen_bold.swf"});$(".header-normal h1, .header-normal h2, .header-normal h3, .header-normal h4").sifr({font:"/includes/fonts/mgopen.swf"})}else{$("h1, h2, h3, h4").css("visibility","visible")}$("ul li a.faq").click(function(){toggle_faq($(this).attr("href").split("#")[1]);return false});if(b.match(/software/)){$("div.navigation a").click(function(){section_id=get_section($(this).attr("href"));page=$(this).attr("href").replace(/.*?page=(\d+).*?/,"$1");if(page){window.location.href="#"+section_id+"-"+page}else{window.location.href="#"+section_id}return false})}if($.fn.fancybox){$("a.screenshot").fancybox()}if($.fn.pngFix){$("#fancy_bg, #selector-win").pngFix()}update_footer()}function update_footer(){if($.browser.msie){new_height=$("#site-container").eq(0).height();new_top=new_height-140;$("#site-footer").css("top",new_top+"px")}}function get_section(b){if(res=b.match(/^.*\/software\/[a-z0-9\-]+\/([a-z0-9\-]+)\/?.*?$/)){section=res[1]}else{section="overview"}return section}function show_faq(b){old_height=$(document).height();$(".faq li div.answer").each(function(){$(this).hide(300);$(this).prev().removeClass("faq_open")});$("#"+b).slideDown(300,function(){update_footer();new_height=$(document).height();if(old_height<new_height){$(window).scrollTo("+="+(new_height-old_height)+"px",{axis:"y",duration:300})}});$("#"+b).prev().addClass("faq_open")}function hide_faq(b){$("#"+b).prev().removeClass("faq_open");$("#"+b).hide();update_footer()}function toggle_faq(b){if($("#"+b).is(":hidden")){show_faq(b)}else{hide_faq(b)}}function header_menu(){$("ul#header-menu li").mouseover(function(){$(this).stopTime("hide");$(this).oneTime(40,"show",function(){$(">ul",this).fadeIn(90,function(){$(this).dropShadow()})})});$("ul#header-menu li").mouseout(function(){$(this).stopTime("show");$(this).oneTime(90,"hide",function(){$(this).removeShadow();$(">ul",this).css("display","none")})})}function debug(c,b){b=b?false:true;if(!$("#debug").get(0)){$("body").append("<div id='debug' style='overflow:auto;position:absolute;top:200px;left:200px;padding:0px;width:300px;height:400px;background:#ffffdd;z-index:99999;opacity:0.8;padding:20px;border:3px solid #d0d0d0;'></div>")}if(b){html=$("#debug").html();$("#debug").html(c+"<br/>\n"+html)}else{$("#debug").html(c)}}function captcha_regenerate(b){a=document.getElementById(b);if(a){a.src=a.src.replace(/\?r\=(\d+)/,function(e,c){return"?r="+Math.round(Math.random()*1000)})}}function show_product_section(b,c){if(found=b.match(/(.*?)-(\d+)/)){b=found[1];page=found[2]}else{page=0}if(!b){b="overview"}show_product_menu(b);load_product_section(b,page,c)}function show_product_menu(b){$("ul.tabs li").removeClass("current");$("ul.tabs li").removeClass("next-sibling");$("ul.tabs li a").each(function(){href_section=get_section($(this).attr("href"));if(href_section==b){$(this).parent().addClass("current");$(this).parent().next().addClass("next-sibling")}})}function load_product_section(b,c,e){target_div="#section-content";if(!c){c=0}href=window.location.href.replace(/^(.*\/software\/[a-z0-9\-]+)\/.*?$/,"$1/"+b+"/?ajax=1&page="+c);$(target_div+" DIV").eq(0).append("<div id='loading'>LOADING</div>");$(target_div+" DIV").eq(0).append("<div id='loading-shadow'></div>");$.get(href,null,function(f){old_title=$("head title").html();$(target_div).html(f);$(target_div).show();$("#loading",$(target_div)).remove();$("#loading-shadow",$(target_div)).remove();if(e){e()}init();document.title=old_title})}(function(b){b.dropShadow=function(g,e){if(b(".shadow",g.parent()).is(".shadow")){return}e={width:e.width||3,opacity:e.opacity||0.06};offset=b(g).offset();css={position:"absolute",top:parseFloat(b(g).get(0).offsetTop)||parseFloat(b(g).css("top"))||0,left:parseFloat(b(g).get(0).offsetLeft)||parseFloat(b(g).css("left"))||0,width:parseFloat(b(g).get(0).offsetWidth)||0,height:parseFloat(b(g).get(0).offsetHeight)||0,zIndex:(b(g).css("zIndex")||50)-1};css.width+=(e.width)*2;css.left-=e.width;css.height+=1;var c="";for(var f=e.width;f>0;f--){c+='<div style="position:'+css.position+";top:"+css.top+"px;left:"+css.left+"px;width:"+css.width+"px;height:"+css.height+"px;opacity :"+e.opacity+";filter: alpha(opacity='"+(e.opacity*100)+"');background-color:#000000;\"></div>\n";css.width-=2;css.height+=1;css.left+=1;css.zIndex-=1}b(g).after("<div class='shadow' style='z-index:"+css.zIndex+"'>"+c+"</div>");return};b.removeShadow=function(e,c){b(".shadow",e.parent()).remove()};b.fn.dropShadow=function(e){var c=0,f;while((f=this.eq(c++))[0]){b.dropShadow(f,b.extend({},e))}return this};b.fn.removeShadow=function(e){var c=0,f;while((f=this.eq(c++))[0]){b.removeShadow(f,b.extend({},e))}return this}}(jQuery));$(document).ready(function(){$.flash.expressInstall="/includes/rotator/expressInstall.swf";header_menu();$("form input[value=Искать]").focus(function(){if($(this).attr("type")=="submit"){return false}if($(this).val()=="Искать"){$(this).val("")}}).blur(function(){if($(this).val()==""){$(this).val("Искать")}});$("form input[value=Search]").focus(function(){if($(this).attr("type")=="submit"){return false}if($(this).val()=="Search"){$(this).val("")}}).blur(function(){if($(this).val()==""){$(this).val("Search")}});$("#change-language").click(function(){$("#language-box ul").fadeIn(90,function(){$("#language-box ul").dropShadow()});return false});$("#language-box").mouseover(function(){$(this).stopTime("language")});$("#language-box").mouseout(function(){$(this).oneTime(90,"language",function(){$("#language-box ul").removeShadow();$("#language-box ul").hide()})});var c=window.location.href;if(c.match(/\/software\//)){$("ul.tabs a").click(function(){section_id=get_section($(this).attr("href"));window.location.href="#"+section_id;return false});$("div.navigation a").click(function(){section_id=get_section($(this).attr("href"));page=$(this).attr("href").replace(/.*?page=(\d+).*?/,"$1");if(page){window.location.href="#"+section_id+"-"+page}else{window.location.href="#"+section_id}return false})}if(c.search(/software\/.*?#/)<0){$("#section-content").show()}if(c.search(/software\/.*?#$/)>0){$("#section-content").show()}if(matches=c.match(/software\/.*?\/faq.*?#faq-(.*)/)){$("#section-content").show();toggle_faq("faq-"+matches[1])}else{if(matches=c.match(/#faq-(.*)/)){toggle_faq("faq-"+matches[1])}}var b;$.History.bind(function(f){var e=window.location.href;if(e.search(/software\/.*?\#/)>0){if(matches=f.match(/faq-(.*)/)){if(get_section(e)!="faq"&&b!="faq"){if(b!="faq"){show_product_section("faq",function(){show_faq(f)})}else{toggle_faq(f)}}b="faq"}else{show_product_section(f);b=f}}});init()});var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-9231373-1"]);_gaq.push(["_setDomainName","none"]);_gaq.push(["_setAllowLinker",true]);_gaq.push(["_setAllowHash",false]);_gaq.push(["_trackPageview"]);(function(){var c=document.createElement("script");c.type="text/javascript";c.async=true;c.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(c,b)})();
