(function(e){var b,c,j,l,k,h,f,d,g,a;b=document.namespaces;has_canvas=document.createElement("canvas");has_canvas=has_canvas&&has_canvas.getContext;if(!(has_canvas||b)){e.fn.maphilight=function(){return this};return}if(has_canvas){f=function(o,n,m){if(n<=1){o.style.opacity=n;window.setTimeout(f,1,o,n+0.2,1)}};d=function(m){return Math.max(0,Math.min(parseInt(m,16),255))};g=function(m,n){return"rgba("+d(m.substr(0,2))+","+d(m.substr(2,2))+","+d(m.substr(4,2))+","+n+")"};c=function(m){var n=e('<canvas style="width:'+m.width+"px;height:"+m.height+'px;"></canvas>').get(0);n.getContext("2d").clearRect(0,0,n.width,n.height);return n};j=function(o,m,r,n){var q,p=o.getContext("2d");p.beginPath();if(m=="rect"){p.rect(r[0],r[1],r[2]-r[0],r[3]-r[1])}else{if(m=="poly"){p.moveTo(r[0],r[1]);for(q=2;q<r.length;q+=2){p.lineTo(r[q],r[q+1])}}else{if(m=="circ"){p.arc(r[0],r[1],r[2],0,Math.PI*2,false)}}}p.closePath();if(n.fill){p.fillStyle=g(n.fillColor,n.fillOpacity);p.fill()}if(n.stroke){p.strokeStyle=g(n.strokeColor,n.strokeOpacity);p.lineWidth=n.strokeWidth;p.stroke()}if(n.fade){f(o,0)}};l=function(m,n){m.getContext("2d").clearRect(0,0,m.width,m.height)}}else{document.namespaces.add("v","urn:schemas-microsoft-com:vml");c=function(m){return e('<var style="zoom:1;overflow:hidden;display:block;width:'+m.width+"px;height:"+m.height+'px;"></var>').get(0)};j=function(p,m,q,o){var t,s,n,r;t='<v:fill color="#'+o.fillColor+'" opacity="'+(o.fill?o.fillOpacity:0)+'" />';s=(o.stroke?'strokeweight="'+o.strokeWidth+'" stroked="t" strokecolor="#'+o.strokeColor+'"':'stroked="f"');n='<v:stroke opacity="'+o.strokeOpacity+'"/>';if(m=="rect"){r=e('<v:rect filled="t" '+s+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+q[0]+"px;top:"+q[1]+"px;width:"+(q[2]-q[0])+"px;height:"+(q[3]-q[1])+'px;"></v:rect>')}else{if(m=="poly"){r=e('<v:shape filled="t" '+s+' coordorigin="0,0" coordsize="'+p.width+","+p.height+'" path="m '+q[0]+","+q[1]+" l "+q.join(",")+' x e" style="zoom:1;margin:0;padding:0;display:block;position:absolute;top:0px;left:0px;width:'+p.width+"px;height:"+p.height+'px;"></v:shape>')}else{if(m=="circ"){r=e('<v:oval filled="t" '+s+' style="zoom:1;margin:0;padding:0;display:block;position:absolute;left:'+(q[0]-q[2])+"px;top:"+(q[1]-q[2])+"px;width:"+(q[2]*2)+"px;height:"+(q[2]*2)+'px;"></v:oval>')}}}r.get(0).innerHTML=t+n;e(p).append(r)};l=function(m){e(m).empty()}}k=function(n){var m,o=n.getAttribute("coords").split(",");for(m=0;m<o.length;m++){o[m]=parseFloat(o[m])}return[n.getAttribute("shape").toLowerCase().substr(0,4),o]};a=function(m){if(!m.complete){return false}if(typeof m.naturalWidth!="undefined"&&m.naturalWidth==0){return false}return true};h={position:"absolute",left:0,top:0,padding:0,border:0};e.fn.maphilight=function(m){m=e.extend({},e.fn.maphilight.defaults,m);return this.each(function(){var o,r,q,s,p,n;o=e(this);if(!a(this)){return window.setTimeout(function(){o.maphilight()},200)}q=e.metadata?e.extend({},m,o.metadata()):m;s=e('map[name="'+o.attr("usemap").substr(1)+'"]');if(!(o.is("img")&&o.attr("usemap")&&s.size()>0&&!o.hasClass("maphilighted"))){return}r=e("<div>").css({display:"block",background:"url("+this.src+")",position:"absolute",padding:0,width:this.width,height:this.height});o.before(r).css("opacity",0).css(h).remove();if(e.browser.msie){o.css("filter","Alpha(opacity=100)")}r.append(o);p=c(this);e(p).css(h);p.height=this.height;p.width=this.width;n=function(u){var t=k(this);j(p,t[0],t[1],e.metadata?e.extend({},q,e(this).metadata()):q)};if(q.alwaysOn){e(s).find("area[coords]").each(n)}else{e(s).find("area[coords]").mouseover(n).mouseout(function(t){l(p)})}o.before(p);o.addClass("maphilighted")})};e.fn.maphilight.defaults={fill:true,fillColor:"ffffff",fillOpacity:0.3,stroke:true,strokeColor:"3a759e",strokeOpacity:1,strokeWidth:3,fade:true,alwaysOn:false}})(jQuery);(function(c){c.reject=function(d){var d=c.extend(true,{reject:{all:false,msie5:true,msie6:true},display:[],browserInfo:{firefox:{text:"Firefox 3.5+",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari 3+",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera 9+",url:"http://www.opera.com/download/"},chrome:{text:"Chrome 2+",url:"http://www.google.com/chrome/"},msie:{text:"Internet Explorer 7+",url:"http://www.microsoft.com/windows/Internet-explorer/default.aspx"},gcf:{text:"Google Chrome Frame",url:"http://code.google.com/chrome/chromeframe/",allow:{all:false,msie:true}}},header:"Did you know that your Internet Browser is out of date?",paragraph1:"Your browser is out of date, and may not be compatible with our website. A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page",close:true,closeMessage:"By closing this window you acknowledge that your experience on this website may be degraded",closeLink:"Close This Window",closeURL:"#",closeESC:true,closeCookie:false,imagePath:"/i2/browsers/",overlayBgColor:"#000",overlayOpacity:0.8,fadeOutTime:"fast"},d);if(d.display.length<1){d.display=["firefox","chrome","msie","safari","opera","gcf"]}if(c.isFunction(d.beforeReject)){d.beforeReject(d)}var q=function(s){return(s.all?true:false)||(s[c.os.name]?true:false)||(s[c.layout.name]?true:false)||(s[c.browser.name]?true:false)||(s[c.browser.className]?true:false)};if(q(d.reject)){if(d.close&&d.closeCookie){var f="jreject-close";var m=function(s,w){if(typeof w!="undefined"){document.cookie=s+"="+encodeURIComponent(w===null?"":w)}else{var u,x=null;if(document.cookie&&document.cookie!=""){var v=document.cookie.split(";");for(var t=0;t<v.length;++t){u=c.trim(v[t]);if(u.substring(0,s.length+1)==(s+"=")){x=decodeURIComponent(u.substring(s.length+1));break}}}return x}};if(m(f)!=null){return false}}var k='<div id="jr_overlay"></div><div id="jr_wrap"><div id="jr_inner"><h1 id="jr_header">'+d.header+"</h1>"+(d.paragraph1===""?"":"<p>"+d.paragraph1+"</p>")+(d.paragraph2===""?"":"<p>"+d.paragraph2+"</p>")+"<ul>";var h=0;for(var o in d.display){var l=d.display[o];var g=d.browserInfo[l]||false;if(!g||(g.allow!=undefined&&!q(g.allow))){continue}var e=g.url||"#";k+='<li id="jr_'+l+'"><div class="jr_icon"></div><div><a href="'+e+'">'+(g.text||"Unknown")+"</a></div></li>";++h}k+='</ul><div id="jr_close">'+(d.close?'<a href="'+d.closeURL+'">'+d.closeLink+"</a><p>"+d.closeMessage+"</p>":"")+"</div></div></div>";var p=function(){if(!d.close){return false}if(c.isFunction(d.beforeClose)){d.beforeClose(d)}c("#jr_overlay,#jr_wrap").fadeOut(d.fadeOutTime,function(){c(this).remove();if(c.isFunction(d.afterClose)){d.afterClose(d)}});c("embed, object, select, applet").show();if(d.closeCookie){m(f,"true")}if(d.closeURL==="#"){return false}};var j=c("<div>"+k+"</div>");var r=b();var n=a();j.find("#jr_overlay").css({width:r[0],height:r[1],position:"absolute",top:0,left:0,background:d.overlayBgColor,zIndex:200,opacity:d.overlayOpacity,padding:0,margin:0}).next("#jr_wrap").css({position:"absolute",width:"100%",top:n[1]+(r[3]/4),left:n[0],zIndex:300,textAlign:"center",padding:0,margin:0}).children("#jr_inner").css({background:"#FFF",border:"1px solid #CCC",fontFamily:'"Lucida Grande","Lucida Sans Unicode",Arial,Verdana,sans-serif',color:"#4F4F4F",margin:"0 auto",position:"relative",height:"auto",minWidth:h*100,maxWidth:h*140,width:c.layout.name=="trident"?h*155:"auto",padding:20,fontSize:12}).children("#jr_header").css({display:"block",fontSize:"1.3em",marginBottom:"0.5em",color:"#333",fontFamily:"Helvetica,Arial,sans-serif",fontWeight:"bold",textAlign:"left",padding:5,margin:0}).nextAll("p").css({textAlign:"left",padding:5,margin:0}).siblings("ul").css({listStyleImage:"none",listStylePosition:"outside",listStyleType:"none",margin:0,padding:0}).children("li").css({background:'transparent url("'+d.imagePath+'background_browser.gif") no-repeat scroll left top',cursor:"pointer","float":"left",width:120,height:122,margin:"0 10px 10px 10px",padding:0,textAlign:"center"}).children(".jr_icon").css({width:100,height:100,margin:"1px auto",padding:0,background:"transparent no-repeat scroll left top",cursor:"pointer"}).each(function(){var s=c(this);s.css("background","transparent url("+d.imagePath+"browser_"+(s.parent("li").attr("id").replace(/jr_/,""))+".gif) no-repeat scroll left top");s.click(function(){window.open(c(this).next("div").children("a").attr("href"),"jr_"+Math.round(Math.random()*11));return false})}).siblings("div").css({color:"#808080",fontSize:"0.8em",height:18,lineHeight:"17px",margin:"1px auto",padding:0,width:118,textAlign:"center"}).children("a").css({color:"#333",textDecoration:"none",padding:0,margin:0}).hover(function(){c(this).css("textDecoration","underline")},function(){c(this).css("textDecoration","none")}).click(function(){window.open(c(this).attr("href"),"jr_"+Math.round(Math.random()*11));return false}).parents("#jr_inner").children("#jr_close").css({margin:"0 0 0 50px",clear:"both",textAlign:"left",padding:0,margin:0}).children("a").css({color:"#000",display:"block",width:"auto",margin:0,padding:0,textDecoration:"underline"}).click(p).nextAll("p").css({padding:"10px 0 0 0",margin:0});c("embed, object, select, applet").hide();c("body").append(j);c(window).bind("resize scroll",function(){var t=b();c("#jr_overlay").css({width:t[0],height:t[1]});var s=a();c("#jr_wrap").css({top:s[1]+(t[3]/4),left:s[0]})});if(d.close&&d.closeESC){c(document).keydown(function(s){if(s.keyCode==27){p()}})}if(c.isFunction(d.afterReject)){d.afterReject(d)}return true}else{if(c.isFunction(d.onFail)){d.onFail(d)}return false}};var b=function(){var f=window.innerWidth&&window.scrollMaxX?window.innerWidth+window.scrollMaxX:(document.body.scrollWidth>document.body.offsetWidth?document.body.scrollWidth:document.body.offsetWidth);var d=window.innerHeight&&window.scrollMaxY?window.innerHeight+window.scrollMaxY:(document.body.scrollHeight>document.body.offsetHeight?document.body.scrollHeight:document.body.offsetHeight);var e=window.innerWidth?window.innerWidth:(document.documentElement&&document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth);var g=window.innerHeight?window.innerHeight:(document.documentElement&&document.documentElement.clientHeight?document.documentElement.clientHeight:document.body.clientHeight);return[f<e?f:e,d<g?g:d,e,g]};var a=function(){return[window.pageXOffset?window.pageXOffset:(document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollLeft:document.body.scrollLeft),window.pageYOffset?window.pageYOffset:(document.documentElement&&document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)]}})(jQuery);(function(a){a.browserTest=function(e,g){var f="unknown",d="X",b=function(k,j){for(var c=0;c<j.length;c=c+1){k=k.replace(j[c][0],j[c][1])}return k},h=function(l,k,j,n){var m={name:b((k.exec(l)||[f,f])[1],j)};m[m.name]=true;m.version=(n.exec(l)||[d,d,d,d])[3];if(m.name.match(/safari/)&&m.version>400){m.version="2.0"}if(m.name==="presto"){m.version=(a.browser.version>9.27)?"futhark":"linear_b"}m.versionNumber=parseFloat(m.version,10)||0;m.versionX=(m.version!==d)?(m.version+"").substr(0,1):d;m.className=m.name+m.versionX;return m};e=(e.match(/Opera|Navigator|Minefield|KHTML|Chrome/)?b(e,[[/(Firefox|MSIE|KHTML,\slike\sGecko|Konqueror)/,""],["Chrome Safari","Chrome"],["KHTML","Konqueror"],["Minefield","Firefox"],["Navigator","Netscape"]]):e).toLowerCase();a.browser=a.extend((!g)?a.browser:{},h(e,/(camino|chrome|firefox|netscape|konqueror|lynx|msie|opera|safari)/,[],/(camino|chrome|firefox|netscape|netscape6|opera|version|konqueror|lynx|msie|safari)(\/|\s)([a-z0-9\.\+]*?)(\;|dev|rel|\s|$)/));a.layout=h(e,/(gecko|konqueror|msie|opera|webkit)/,[["konqueror","khtml"],["msie","trident"],["opera","presto"]],/(applewebkit|rv|konqueror|msie)(\:|\/|\s)([a-z0-9\.]*?)(\;|\)|\s)/);a.os={name:(/(win|mac|linux|sunos|solaris|iphone)/.exec(navigator.platform.toLowerCase())||[f])[0].replace("sunos","solaris")};if(!g){a("html").addClass([a.os.name,a.browser.name,a.browser.className,a.layout.name,a.layout.className].join(" "))}};a.browserTest(navigator.userAgent)})(jQuery);ie=false;var ie6_check={init:function(){if("\v"=="v"){ie=true;ie6_check.warning()}},warning:function(){}};var Glass_box={init:function(){Glass_box.glass_block='<div class="inform"><div class="topedge" ></div><div class="top"> <div class="topl" ></div> <div class="topr" ><div id="close_button"></div></div></div><div class="edgel" ></div><div class="gb_h" ><div class="second"></div></div><div class="edger" ></div><div class="bottom"><div class="bottoml"  ></div><div class="bottomr"  ></div></div><div class="bottomedge"  ></div></div>';var a='<div id="glass_box">'+Glass_box.glass_block+'<div id="g_bg"></div></div>';jQuery("body").append(a);Glass_box.Box=jQuery("#glass_box");Glass_box.container=Glass_box.Box.find(".second");Glass_box.container.top_right=Glass_box.Box.find(".topr");Glass_box.inform=Glass_box.Box.find(".inform");Glass_box.closer=Glass_box.container.top_right.find("#close_button");Glass_box.resizer=Glass_box.Box.find(".gb_h");Glass_box.resizer.append('<div class="loader"><img width="40" height="40" src="i/lightbox/loading.gif"></div>');Glass_box.loader=Glass_box.resizer.find(".loader");Glass_box.bg=Glass_box.Box.find("#g_bg");Glass_box.bg.click(function(){Glass_box.hide()});Glass_box.container.top_right.click(function(){Glass_box.hide()})},events_init:function(){},show:function(a,b){i=new Image();i.src=a;Glass_box.resizer.css({height:56+"px",width:56+"px"});Glass_box.dimensions={top:jQuery(window).height()/2+jQuery(window).scrollTop(),left:jQuery(window).width()/2};Glass_box.insert_image=jQuery('<img class="area_img" src="'+a+'"/>');Glass_box.inform.css({height:76+"px",width:76+"px"});Glass_box.inform.css({left:Glass_box.dimensions.left-38+"px",top:Glass_box.dimensions.top-38+"px"});Glass_box.Box.fadeIn(Technopark.fade,function(){Glass_box.inform.fadeIn(Technopark.fade);Glass_box.closer.fadeIn(Technopark.fade)});Glass_box.container.append(Glass_box.insert_image);Glass_box.container.fadeIn(Technopark.fade);Glass_box.insert_image.load(function(){Glass_box.loader.find("img").hide();setTimeout(function(){Glass_box.picture_size={width:i.width+20,height:i.height+20};Glass_box.resizer.css({height:"auto",width:"auto"});Glass_box.inform.animate({left:Glass_box.dimensions.left-Glass_box.picture_size.width/2+"px",width:Glass_box.picture_size.width+"px",top:Glass_box.dimensions.top-Glass_box.picture_size.height/2+"px",height:Glass_box.picture_size.height+"px"},Technopark.animate,function(){Glass_box.inform.animate({});Glass_box.loader.fadeOut(Technopark.fade)})})},100)},set_size:function(a){},hide:function(){Glass_box.inform.fadeOut(Technopark.fade,function(){Glass_box.Box.fadeOut(Technopark.fade);Glass_box.loader.show();Glass_box.loader.find("img").show();Glass_box.container.hide();Glass_box.closer.fadeOut();Glass_box.container.empty()})}};var Sq_bubble={init:function(b){if((jQuery("body").has("#all_info").length)==0){jQuery("body").append('<div id="all_info"></div>');Sq_bubble.info=jQuery("body").find("#all_info")}Sq_bubble.CurrentBubble=jQuery();fade_tip=function(d,c){Sq_bubble.CurrentBubble=Sq_bubble.info.find("#"+d);if(ie){Sq_bubble.CurrentBubble.show()}else{Sq_bubble.CurrentBubble.fadeIn("fast")}move_tip(c)};hide_tip=function(c){if(ie){Sq_bubble.CurrentBubble.hide()}else{Sq_bubble.CurrentBubble.fadeOut("fast")}};move_tip=function(c){Sq_bubble.CurrentBubble.css({left:c.pageX+15,top:c.pageY+25})};show_draft=function(c,d){Glass_box.show(c,d)};var a="";jQuery("body").find("#info").each(function(){jQuery(this).find("div").each(function(){var c=jQuery(this);var d=c.html();a+='<div class="sq_bubble" id="'+c.attr("id")+'"><div class="sq_b_upper"></div><div class="c">'+d+'<div class="tip"><span class="ru_s">кликните для дополнительной информации</span><span class="en_s">click to see more info</span></div></div><div class="sq_b_bottom"></div></div>'})});Sq_bubble.info.html(a);b.each(function(e){var d=jQuery(this);var f=d.attr("info");if(d.attr("href")){var c=d.attr("href");d.click(function(g){show_draft(c,g);return false})}d.mouseover(function(g){fade_tip(f,g)});d.mouseout(function(){hide_tip()});d.mousemove(function(g){move_tip(g)})})}};var Technopark={init:function(a){Technopark.content=a;Technopark.mover=jQuery(".Imove");Technopark.content_mover=jQuery("#hight_changer");Technopark.pages=jQuery("#about_page, #weoffer_page, #logistics_page, #gallery_page, #contactus_page");ie6_check.init();Technopark.loader=jQuery("#loader");Technopark.menu=jQuery("#menu_container");Technopark.bg=jQuery("#bg_content");Technopark.about_page=jQuery("#about_page");Technopark.weoffer_page=jQuery("#weoffer_page");Technopark.logistics_page=jQuery("#logistics_page");Technopark.gallery_page=jQuery("#gallery_page");Technopark.contactus_page=jQuery("#contactus_page");Technopark.menu=jQuery("#menu");jQuery(window).load(function(){if(!Technopark.Gallery.loaded_data){Technopark.Gallery.loaded_data=true;Technopark.Gallery.init()}});Technopark.fade=400;Technopark.animate=400;Technopark.Construct.init();Technopark.Navigate.Go(window.location.hash);Technopark.loader.fadeOut(Technopark.fade)}};Technopark.Area={init:function(){jQuery(".map").maphilight();Sq_bubble.init(Technopark.weoffer_page.find("area"))}};Technopark.Gallery={init:function(){Technopark.Gallery.pages=jQuery("#gallery_page .second");var a=jQuery("<div>"+Technopark.content.gallery+"</div>");a.find("#pic_mover .p").each(function(d){var b=jQuery(this);var c="";b.find("img").each(function(){var e=jQuery(this);var f=Technopark.Gallery.prepare_src(e.attr("src"));var g=e.attr("alt");c+='<a title="'+g+'" href="'+f.href+'" rel="lightbox-tour id'+d+'" class="lightbox-enabled"><img width="100" height="100" alt="'+g+'" src="'+f.src+'"/></a>'});b.html(c);c=""});Technopark.Gallery.pages.html(a.html());Technopark.Gallery.mover_p=Technopark.Gallery.pages.find("#pic_mover .p");Technopark.Gallery.mover=Technopark.Gallery.pages.find("#pic_mover");Technopark.Gallery.navi=Technopark.Gallery.pages.find("#navi");Technopark.Gallery.navi.children().each(function(b){jQuery(this).click(function(){Technopark.Gallery.scroll_to(b)})});jQuery("#gallery_page .second").find("a").lightbox();$.Lightbox.construct({speed:Technopark.fade,show_linkback:true,keys:{close:"q",prev:"p",next:"n"},opacity:0.5,text:{image:"picture",of:"of",close:"close",closeInfo:"click anywhere to close",help:{close:"close",interact:""},about:{text:"",title:"",link:""}},files:{images:{prev:"i/lightbox/prev.gif",next:"i/lightbox/next.gif",blank:"i/lightbox/blank.gif",loading:"i/lightbox/loading.gif"}}})},scroll_to:function(a){Technopark.Gallery.navi.find(".g_current").removeClass();jQuery(Technopark.Gallery.navi.children()[a]).addClass("g_current");var b=24-jQuery(Technopark.Gallery.mover_p[a]).position().top;Technopark.Gallery.mover.animate({top:b+"px"},Technopark.animate)},prepare_src:function(c){var a=c.lastIndexOf("/");var b=c.slice(a);return{href:c.slice(0,c.lastIndexOf("thumbs"))+"realsize"+b,src:c}}};Technopark.Contact_us={init:function(){Sq_bubble.init(Technopark.contactus_page.find(".gb"))}};Technopark.Navigate={Go:function(a){Technopark.menu.removeClass();switch(a){case"#About_us":Technopark.Move.about();Technopark.menu.addClass("a");break;case"#We_offer":Technopark.Move.we_offer();Technopark.menu.addClass("w");break;case"#Logistics":Technopark.Move.logistics();Technopark.menu.addClass("l");break;case"#Gallery":Technopark.Move.gallery();Technopark.menu.addClass("g");break;case"#Contact_us":Technopark.Move.contact_us();Technopark.menu.addClass("cu");break;default:Technopark.Move.about();Technopark.menu.addClass("a");break}}};Technopark.Construct={init:function(){Technopark.Gallery.loaded_data=false;Technopark.Construct.reject();Glass_box.init();jQuery("#container").find(".page").each(function(){$(this).html(Glass_box.glass_block)});Technopark.Construct.onData();Technopark.Move.init();Technopark.Area.init();Technopark.Contact_us.init()},reject:function(){jQuery.reject({reject:{msie5:true,msie6:true,unknown:true},browserInfo:{firefox:{text:"Firefox 3.5+",url:"http://www.mozilla.com/firefox/"},safari:{text:"Safari 3+",url:"http://www.apple.com/safari/download/"},opera:{text:"Opera 10+",url:"http://www.opera.com/download/"},chrome:{text:"Chrome 4+",url:"http://www.google.com/chrome/"},msie:{text:"Internet Explorer 8+",url:"http://www.microsoft.com/windows/Internet-explorer/default.aspx"},gcf:{text:"Google Chrome Frame",url:"http://code.google.com/chrome/chromeframe/",allow:{all:false,msie:true}}},close:false,imagePath:"/i2/browsers/",header:"This website is not compatible with your browser",paragraph1:"A list of the most popular web browsers can be found below.",paragraph2:"Just click on the icons to get to the download page"})},onData:function(){jQuery("#about_page .second").append(Technopark.content.about);jQuery("#weoffer_page .second").append(Technopark.content.we_offer);jQuery("#logistics_page .second").append(Technopark.content.logistics);jQuery("#contactus_page .second").append(Technopark.content.contactus)}};Technopark.Move={init:function(){Technopark.Move.events_init(jQuery("body"))},events_init:function(a){a.find(".inner_ref").each(function(){var c=jQuery(this);var b=c.attr("href");c.click(function(){Technopark.Navigate.Go(b)})})},Fade_Page:function(a){if(Technopark.current_page!=null){Technopark.current_page.fadeOut(Technopark.fade)}a.fadeIn(Technopark.fade,function(){Technopark.current_page=a})},about:function(){Technopark.mover.animate({left:"0px"},Technopark.animate);Technopark.Move.Fade_Page(Technopark.about_page)},we_offer:function(){Technopark.mover.animate({left:"-1000px"},Technopark.animate);Technopark.Move.Fade_Page(Technopark.weoffer_page)},logistics:function(){Technopark.mover.animate({left:"-2242px"},Technopark.animate);Technopark.Move.Fade_Page(Technopark.logistics_page)},gallery:function(){Technopark.mover.animate({left:"-3192px"},Technopark.animate);Technopark.Move.Fade_Page(Technopark.gallery_page);if(!Technopark.Gallery.loaded_data){Technopark.Gallery.loaded_data=true;Technopark.Gallery.init()}},contact_us:function(){Technopark.mover.animate({left:"-4392px"},Technopark.animate);Technopark.Move.Fade_Page(Technopark.contactus_page)}};(function(a){if(typeof a.log==="undefined"){if(!a.browser.safari&&typeof window.console!=="undefined"&&typeof window.console.log==="function"){a.log=function(){var b=[];for(var c=0;c<arguments.length;c++){b.push(arguments[c])}window.console.log.apply(window.console,b)};a.console={log:a.log,debug:window.console.debug||a.log,warn:window.console.warn||a.log,error:window.console.error||a.log,trace:window.console.trace||a.log}}else{a.log=function(){};a.console={log:a.log,debug:a.log,warn:a.log,error:alert,trace:a.log}}}a.LightboxClass=function(){this.construct()};a.fn.lightbox=function(b){a.Lightbox=a.Lightbox||new a.LightboxClass();b=a.extend({start:false,events:true},b);var d=a(this);if(b.events){a(d).unbind("click").click(function(){var e=a(this);if(!a.Lightbox.init(a(e)[0],d)){return false}if(!a.Lightbox.start()){return false}return false});a(d).addClass("lightbox-enabled")}if(b.start){var c=a(this);if(!a.Lightbox.init(a(c)[0],d)){return this}if(!a.Lightbox.start()){return this}}return this};a.extend(a.LightboxClass.prototype,{images:{list:[],image:false,prev:function(b){if(typeof b==="undefined"){b=this.active();if(!b){return b}}if(this.first(b)){return false}return this.get(b.index-1)},next:function(b){if(typeof b==="undefined"){b=this.active();if(!b){return b}}if(this.last(b)){return false}return this.get(b.index+1)},first:function(b){if(typeof b==="undefined"){return this.get(0)}return b.index===0},last:function(b){if(typeof b==="undefined"){return this.get(this.size()-1)}return b.index===this.size()-1},single:function(){return this.size()===1},size:function(){return this.list.length},empty:function(){return this.size()===0},clear:function(){this.list=[];this.image=false},active:function(b){if(typeof b==="undefined"){return this.image}if(b!==false){b=this.get(b);if(!b){return b}}this.image=b;return true},add:function(d){if(d[0]){for(var b=0;b<d.length;b++){this.add(d[b])}return true}var c=this.create(d);if(!c){return c}c.index=this.size();this.list.push(c);return true},create:function(d){var c={src:"",title:"Untitled",description:"",name:"",index:-1,color:null,width:null,height:null,image:true};if(d.image){c.src=d.src||c.src;c.title=d.title||c.title;c.description=d.description||c.description;c.name=d.name||c.name;c.color=d.color||c.color;c.width=d.width||c.width;c.height=d.height||c.height;c.index=d.index||c.index}else{if(d.tagName){d=a(d);if(d.attr("src")||d.attr("href")){c.src=d.attr("src")||d.attr("href");c.title=d.attr("title")||d.attr("alt")||c.title;c.name=d.attr("name")||"";c.color=d.css("backgroundColor");var b=c.title.indexOf(": ");if(b>0){c.description=c.title.substring(b+2)||c.description;c.title=c.title.substring(0,b)||c.title}}else{c=false}}else{c=false}}if(!c){a.console.error("We dont know what we have:",d);return false}return c},get:function(e){if(typeof e==="undefined"||e===null){return this.active()}else{if(typeof e==="number"){e=this.list[e]||false}else{e=this.create(e);if(!e){return false}var d=false;for(var b=0;b<this.size();b++){var g=this.list[b];if(g.src===e.src&&g.title===e.title&&g.description===e.description){d=g}}e=d}}if(!e){a.console.error("The desired image does not exist: ",e,this.list);return false}return e},debug:function(){return a.Lightbox.debug(arguments)}},constructed:false,files:{images:{prev:"i/lightbox/prev.gif",next:"i/lightbox/next.gif",blank:"i/lightbox/blank.gif",loading:"i/lightbox/loading.gif"}},text:{image:"Image",of:"of",close:"Close X",closeInfo:"You can also click anywhere outside the image to close.",download:"Download.",help:{close:"Click to close",interact:"Hover to interact"},about:{text:"jQuery Lightbox Plugin (balupton edition)",title:"Licenced under the GNU Affero General Public License.",link:"http://jquery.com/plugins/project/jquerylightbox_bal"}},keys:{close:"c",prev:"p",next:"n"},handlers:{show:null},opacity:0.9,padding:null,speed:400,rel:"lightbox",auto_relify:true,auto_scroll:"follow",auto_resize:true,download_link:true,show_helper_text:true,show_linkback:true,show_info:"auto",show_extended_info:"auto",options:["show_helper_text","auto_scroll","auto_resize","download_link","show_info","show_extended_info","files","text","show_linkback","keys","opacity","padding","speed","rel","auto_relify"],construct:function(d){var c=typeof this.constructed==="undefined"||this.constructed===false;this.constructed=true;var f=c;d=d||{};if(c&&(typeof d.files==="undefined")){}else{if(typeof d.files!=="object"){f=false}}for(var e in this.options){var b=this.options[e];if((typeof d[b]==="object")&&(typeof this[b]==="object")){this[b]=a.extend(true,this[b],d[b])}else{if(typeof d[b]!=="undefined"){this[b]=d[b]}}}delete e;if(f||typeof d.download_link!=="undefined"||typeof d.files==="object"||typeof d.text==="object"||typeof d.show_linkback!=="undefined"||typeof d.scroll_with!=="undefined"){a(function(){a.Lightbox.domReady()})}return true},domReady:function(){a("#lightbox,#lightbox-overlay").remove();a("body").append('<div id="lightbox-overlay"><div id="lightbox-overlay-text">'+(this.show_linkback?'<p><span id="lightbox-overlay-text-about"><a href="#" title="'+this.text.about.title+'">'+this.text.about.text+"</a></span></p><p>&nbsp;</p>":"")+(this.show_helper_text?'<p><span id="lightbox-overlay-text-close">'+this.text.help.close+'</span><br/>&nbsp;<span id="lightbox-overlay-text-interact">'+this.text.help.interact+"</span></p>":"")+'</div></div><div id="lightbox"><div id="lightbox-imageBox"><div id="lightbox-imageContainer"><img id="lightbox-image" /><div id="lightbox-nav"><a href="#" id="lightbox-nav-btnPrev"></a><a href="#" id="lightbox-nav-btnNext"></a></div><div id="lightbox-loading"><a href="#" id="lightbox-loading-link"><img src="'+this.files.images.loading+'" /></a></div></div></div><div id="lightbox-infoBox"><div id="lightbox-infoContainer"><div id="lightbox-infoHeader"><span id="lightbox-caption">'+(this.download_link?'<a href="#" title="'+this.text.download+'" id="lightbox-caption-title"></a>':'<span id="lightbox-caption-title"></span>')+'<span id="lightbox-caption-seperator"></span><span id="lightbox-caption-description"></span></span></div><div id="lightbox-infoFooter"><span id="lightbox-currentNumber"></span><span id="lightbox-close"><a href="#" id="lightbox-close-button" title="'+this.text.closeInfo+'">'+this.text.close+'</a></span></div><div id="lightbox-infoContainer-clear"></div></div></div></div>');this.resizeBoxes();this.repositionBoxes();a("#lightbox,#lightbox-overlay,#lightbox-overlay-text-interact").hide();a.each(this.files.images,function(){var b=new Image();b.onload=function(){b.onload=null;b=null};b.src=this});a(window).unbind("resize").resize(function(){a.Lightbox.resizeBoxes("resized")});if(this.scroll==="follow"){a(window).scroll(function(){a.Lightbox.repositionBoxes()})}a("#lightbox-nav-btnPrev").unbind().hover(function(){a(this).css({background:"url("+a.Lightbox.files.images.prev+") left 45% no-repeat"})},function(){a(this).css({background:"transparent url("+a.Lightbox.files.images.blank+") no-repeat"})}).click(function(){a.Lightbox.showImage(a.Lightbox.images.prev());return false});a("#lightbox-nav-btnNext").unbind().hover(function(){a(this).css({background:"url("+a.Lightbox.files.images.next+") right 45% no-repeat"})},function(){a(this).css({background:"transparent url("+a.Lightbox.files.images.blank+") no-repeat"})}).click(function(){a.Lightbox.showImage(a.Lightbox.images.next());return false});if(this.show_linkback){a("#lightbox-overlay-text-about a").click(function(){window.open(a.Lightbox.text.about.link);return false})}a("#lightbox-overlay-text-close").unbind().hover(function(){a("#lightbox-overlay-text-interact").fadeIn()},function(){a("#lightbox-overlay-text-interact").fadeOut()});a("#lightbox-caption-title").click(function(){window.open(a(this).attr("href"));return false});a("#lightbox-overlay, #lightbox, #lightbox-loading-link, #lightbox-btnClose").unbind().click(function(){a.Lightbox.finish();return false});if(this.auto_relify){this.relify()}return true},relify:function(){var b={};var d=0;var c=this.rel;a.each(a("[rel*="+c+"]"),function(f,g){var e=a(g).attr("rel");if(e===c){e=d}if(typeof b[e]==="undefined"){b[e]=[];d++}b[e].push(g)});a.each(b,function(e,f){a(f).lightbox()});return true},init:function(c,b){if(typeof b==="undefined"){b=c;c=0}this.images.clear();if(!this.images.add(b)){return false}if(this.images.empty()){a.console.warn("WARNING","Lightbox started, but no images: ",c,b);return false}if(!this.images.active(c)){return false}return true},start:function(){this.visible=true;if(this.scroll==="disable"){a(document.body).css("overflow","hidden")}a("embed, object, select").css("visibility","hidden");this.resizeBoxes("general");this.repositionBoxes({speed:0});a("#lightbox-infoFooter").hide();a("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-infoBox").hide();a("#lightbox-overlay").css("opacity",this.opacity).fadeIn(400,function(){a("#lightbox").fadeIn(300);if(!a.Lightbox.showImage(a.Lightbox.images.active())){a.Lightbox.finish();return false}});return true},finish:function(){a("#lightbox").hide();a("#lightbox-overlay").fadeOut(function(){a("#lightbox-overlay").hide()});a("embed, object, select").css({visibility:"visible"});this.images.active(false);if(this.scroll==="disable"){a(document.body).css("overflow","visible")}this.visible=false},resizeBoxes:function(n){if(n!=="transition"){var h=a(document);a("#lightbox-overlay").css({width:h.width(),height:h.height()});delete h}switch(n){case"general":return true;break;case"resized":if(this.auto_resize===false){this.repositionBoxes({nHeight:p,speed:this.speed});return true}case"transition":default:break}var f=this.images.active();if(!f||!f.width||!this.visible){return false}var d=f.width;var b=f.height;var j=a(window).width();var o=a(window).height();if(this.auto_resize!==false){var r=Math.floor(j*(4/5));var q=Math.floor(o*(4/5));var c;while(d>r||b>q){if(d>r){c=r/d;d=r;b=Math.floor(b*c)}if(b>q){c=q/b;b=q;d=Math.floor(d*c)}}}var e=a("#lightbox-imageBox").width();var m=a("#lightbox-imageBox").height();var l=(d+(this.padding*2));var p=(b+(this.padding*2));var k=e-l;var g=m-p;a("#lightbox-nav-btnPrev,#lightbox-nav-btnNext").css("height",p);a("#lightbox-infoBox").css("width",l);if(n==="transition"){if(k===0&&g===0){this.pause(this.speed/3);this.showImage(null,3)}else{a("#lightbox-image").width(d).height(b);a("#lightbox-imageBox").animate({width:l,height:p},this.speed,function(){a.Lightbox.showImage(null,3)})}}else{a("#lightbox-image").animate({width:d,height:b},this.speed);a("#lightbox-imageBox").animate({width:l,height:p},this.speed)}this.repositionBoxes({nHeight:p,speed:this.speed});return true},repositioning:false,reposition_failsafe:false,repositionBoxes:function(c){if(this.repositioning){this.reposition_failsafe=true;return null}this.repositioning=true;c=a.extend({},c);c.callback=c.callback||null;c.speed=c.speed||"slow";var g=this.getPageScroll();var b=c.nHeight||parseInt(a("#lightbox").height(),10);var e=g.yScroll+(a(window).height()-b)/2.5;var f=g.xScroll;var d={left:f,top:e};if(c.speed){a("#lightbox").animate(d,"slow",function(){if(a.Lightbox.reposition_failsafe){a.Lightbox.repositioning=a.Lightbox.reposition_failsafe=false;a.Lightbox.repositionBoxes(c)}else{a.Lightbox.repositioning=false;if(c.callback){c.callback()}}})}else{a("#lightbox").css(d);if(this.reposition_failsafe){this.repositioning=this.reposition_failsafe=false;this.repositionBoxes(c)}else{this.repositioning=false}}return true},visible:false,showImage:function(g,f){g=this.images.get(g);if(!g){return g}f=f||1;var d=f>1&&this.images.active().src!==g.src;var c=f>2&&a("#lightbox-image").attr("src")!==g.src;if(d||c){a.console.info("We wanted to skip a few steps: ",g,f,d,c);f=1}switch(f){case 1:this.KeyboardNav_Disable();a("#lightbox-loading").show();a("#lightbox-image,#lightbox-nav,#lightbox-nav-btnPrev,#lightbox-nav-btnNext,#lightbox-infoBox").hide();a("#lightbox-imageBox").unbind();if(!this.images.active(g)){return false}if(g.width&&g.height){this.showImage(null,2)}else{var b=new Image();b.onload=function(){g.width=b.width;g.height=b.height;a.Lightbox.showImage(null,2);b.onload=null;b=null};b.src=g.src}break;case 2:a("#lightbox-image").attr("src",g.src);if(typeof this.padding==="undefined"||this.padding===null||isNaN(this.padding)){this.padding=parseInt(a("#lightbox-imageContainer").css("padding-left"),10)||parseInt(a("#lightbox-imageContainer").css("padding"),10)||0}this.resizeBoxes("transition");break;case 3:a("#lightbox-loading").hide();a("#lightbox-image").fadeIn(this.speed*1.5,function(){a.Lightbox.showImage(null,4)});this.preloadNeighbours();if(this.handlers.show!==null){this.handlers.show(g)}break;case 4:var e=a("#lightbox-caption-title").html(g.title||"Untitled");if(this.download_link){e.attr("href",this.download_link?g.src:"")}delete e;a("#lightbox-caption-seperator").html(g.description?": ":"");a("#lightbox-caption-description").html(g.description||"&nbsp;");if(this.images.size()>1){a("#lightbox-currentNumber").html(this.text.image+"&nbsp;"+(g.index+1)+"&nbsp;"+this.text.of+"&nbsp;"+this.images.size())}else{a("#lightbox-currentNumber").html("&nbsp;")}a("#lightbox-imageBox").unbind("mouseover").mouseover(function(){a("#lightbox-infoBox:not(:visible)").stop().slideDown("fast")});a("#lightbox-infoBox").unbind("mouseover").mouseover(function(){a("#lightbox-infoFooter:not(:visible)").stop().slideDown("fast")});if(this.show_extended_info===true){a("#lightbox-imageBox").trigger("mouseover");a("#lightbox-infoBox").trigger("mouseover")}else{if(this.show_info===true){a("#lightbox-imageBox").trigger("mouseover")}}a("#lightbox-nav-btnPrev, #lightbox-nav-btnNext").css({background:"transparent url("+this.files.images.blank+") no-repeat"});if(!this.images.first(g)){a("#lightbox-nav-btnPrev").show()}if(!this.images.last(g)){a("#lightbox-nav-btnNext").show()}a("#lightbox-nav").show();this.KeyboardNav_Enable();break;default:a.console.error("Don't know what to do: ",g,f);return this.showImage(g,1)}return true},preloadNeighbours:function(){if(this.images.single()||this.images.empty()){return true}var d=this.images.active();if(!d){return d}var c=this.images.prev(d);var e;if(c){e=new Image();e.src=c.src}var b=this.images.next(d);if(b){e=new Image();e.src=b.src}},KeyboardNav_Enable:function(){a(document).keydown(function(b){a.Lightbox.KeyboardNav_Action(b)})},KeyboardNav_Disable:function(){a(document).unbind("keydown")},KeyboardNav_Action:function(d){d=d||window.event;var b=d.keyCode;var c=d.DOM_VK_ESCAPE||27;var e=String.fromCharCode(b).toLowerCase();if(e===this.keys.close||b===c){return a.Lightbox.finish()}if(e===this.keys.prev||b===37){return a.Lightbox.showImage(a.Lightbox.images.prev())}if(e===this.keys.next||b===39){return a.Lightbox.showImage(a.Lightbox.images.next())}return true},getPageScroll:function(){var d,b;if(self.pageYOffset){b=self.pageYOffset;d=self.pageXOffset}else{if(document.documentElement&&document.documentElement.scrollTop){b=document.documentElement.scrollTop;d=document.documentElement.scrollLeft}else{if(document.body){b=document.body.scrollTop;d=document.body.scrollLeft}}}var c={xScroll:d,yScroll:b};return c},pause:function(d){var c=new Date();var b=null;do{b=new Date()}while(b-c<d)}});if(typeof a.Lightbox==="undefined"){a.Lightbox=new a.LightboxClass()}})(jQuery);
