function myDropDown(){$(".categorySelect select").change(function(){this.options[this.selectedIndex]!=null&&$(this).next().val(this.options[this.selectedIndex].text)})}function multicolor(){var n=["blue","blue2","pink","orange","orange2","yellow","green","green2","green3"],t="",r=$("ul.portfolioList li .borderBottom"),i;r.each(function(){var u=$(this),r;do r=Math.floor(Math.random()*n.length);while(r==t);u.addClass(n[r]),t=r}),i=$("ul.speakList li"),i.each(function(){var u=$(this),r;do r=Math.floor(Math.random()*n.length);while(r==t);u.addClass(n[r]),t=r})}function tabpointerColor(){var t=$(".tabbed_content .tabs .tab_item"),n=$(".tabbed_content .tabs .moving_bg .pointer");$(n).css({"border-bottom-color":"#0077b9"}),$(t).hover(function(){$(this).hasClass("firstTabItem")&&$(n).css({"border-bottom-color":"#0077b9"}),$(this).hasClass("secondTabItem")&&$(n).css({"border-bottom-color":"#33b656"}),$(this).hasClass("thirdTabItem")&&$(n).css({"border-bottom-color":"#ec6464"}),$(this).hasClass("fourthTabItem")&&$(n).css({"border-bottom-color":"#f78f21"}),$(this).hasClass("fifthTabitem")&&$(n).css({"border-bottom-color":"#159EC0"}),$(this).hasClass("sixthTabitem")&&$(n).css({"border-bottom-color":"#164871"}),$(this).hasClass("seventhitem")&&$(n).css({"border-bottom-color":"#18A489"})})}function testimonialSlider(){$("#slider-eg-1").heliumSlider({paneFade:!0,paneXOffset:[50,50,50],paneYOffset:[50,50,50],paneDelay:[1200,1e3,800],paneSpeed:[500,500,500],mainFadeIn:!1,mainFadeOut:!1,speed:500,autoPlay:3e3,pauseControls:!0,autoStopSlide:!1,autoStopLoop:!1,autoStopPause:!1,pauseOnHover:!0,pauseOnFocus:!1,easing:"linear"})}function gridRresponsive(){var n=$(window).width(),t;n>=1024&&n<=1169?(t=1024,col=3):n>=768&&n<=1023?(t=768,col=3):n>=600&&n<=640?(t=600,col=2):n>=600&&n<=640?(t=600,col=2):n>=480&&n<=599?(t=480,col=2):n<=360?(t=320,col=1):(t=1170,col=3),t!=currentWidth&&(currentWidth=t,$("#container").width(t),$("#container").BlocksIt({numOfCol:col,offsetX:0,offsetY:15}))}function homeSliderImgChange(){var n=$(window).width();n<=767?($(".my_image").attr("src","images/slider_image_1_2.jpg"),$(".my_image_2").attr("src","images/slider_image_2_2.jpg")):($(".my_image").attr("src","images/slider_image_1.jpg"),$(".my_image_2").attr("src","images/slider_image_2.jpg"))}function openVideoPopup(){$(".open-pop-up-1").click(function(n){n.preventDefault(),$("#pop-up-1").popUpWindow({action:"open",size:"video"}),$("body").addClass("hider"),$(".fixedHeader").css({"padding-right":"17px"})})}function DropDown(n){this.dd=n,this.placeholder=this.dd.children("span"),this.opts=this.dd.find("ul.dropdown > li"),this.val="",this.index=-1,this.initEvents()}function screenShotSliderResponsiveSize(){var n=$(window).width();n>=1024&&n<=1169?$("#banner-slide").bjqs({animtype:"slide",width:700,height:410,responsive:!0}):n>=768&&n<=1023?$("#banner-slide").bjqs({animtype:"slide",width:600,height:350,responsive:!0}):n>=600&&n<=640?$("#banner-slide").bjqs({animtype:"slide",width:600,height:350,responsive:!0}):n>=480&&n<=599?$("#banner-slide").bjqs({animtype:"slide",width:450,height:262,responsive:!0}):n<=360&&$("#banner-slide").bjqs({animtype:"slide",width:290,height:169,responsive:!0})}$(document).ready(function(){setTabPointer(),TabbedContent.init(),firstTabSelected(),$("#main-slider").liquidSlider(),$(function(){}),$(".fader").hover(function(){$(this).find(".lastImage").fadeToggle()}),equalheight(".whyArthisoft li .textBox"),jQuery("header nav").meanmenu(),$().UItoTop({easingType:"easeOutQuart"}),multicolor(),tabpointerColor(),openVideoPopup(),$(".categorySelect select").each(function(){this.options[this.selectedIndex]!=null&&$(this).next().val(this.options[this.selectedIndex].text)}),$(".categorySelect").each(function(){$(this).find("input").prop("disabled",!0)}),myDropDown()}),$(window).bind("load",function(){$(".dot1").each(function(){$(this).dotdotdot()}),gridRresponsive(),screenShotSliderResponsiveSize()}),$(window).resize(function(){setTabPointer(),firstTabSelected(),tabpointerColor(),$(".dot1").each(function(){$(this).dotdotdot()}),gridRresponsive(),equalheight(".whyArthisoft li .textBox")}),$(window).scroll(function(){$(window).scrollTop()>=100?$("header").addClass("fixedHeader"):$("header").removeClass("fixedHeader")});var currentWidth=1170;DropDown.prototype={initEvents:function(){var n=this;n.dd.on("click",function(){return $(this).toggleClass("active"),$(".pointer").toggle(500),!1});n.opts.on("click",function(){var t=$(this);n.val=t.text(),n.index=t.index(),n.placeholder.text(n.val)})},getValue:function(){return this.val},getIndex:function(){return this.index}},$(function(){var n=new DropDown($("#dd"));$(document).click(function(){$(".wrapper-dropdown-3").removeClass("active")})}),equalheight=function(n){var r=0,u=0,i=[],t,f=0;$(n).each(function(){if(t=$(this),$(t).height("auto"),topPostion=t.position().top,u!=topPostion){for(currentDiv=0;currentDiv<i.length;currentDiv++)i[currentDiv].height(r);i.length=0,u=topPostion,r=t.height(),i.push(t)}else i.push(t),r=r<t.height()?t.height():r;for(currentDiv=0;currentDiv<i.length;currentDiv++)i[currentDiv].height(r)})}