var flag=0;$(document).ready(function(){$(document).pngFix();var a=$(window).width();$("#container").scrollLeft(a);$("#aniobject1").animate({top:"19%"},2000,easing="linear");$("#aniobject1ie").animate({top:"16%"},{duration:2000,easing:"linear",queue:false});$("#aniobject2").animate({top:"10%"},2000,easing="linear");$("#aniobject2ie").animate({top:"8%"},2000,easing="linear");$("#aniobject3").animate({top:"16%"},2000,easing="linear");$("#aniobject3ie").animate({top:"14%"},2000,easing="linear");$("#aniobject4").animate({top:"8%"},2000,easing="linear");$("#aniobject4ie").animate({top:"8%"},2000,easing="linear");$("#aniobject5").animate({top:"13%"},2000,easing="linear");$("#aniobject5ie").animate({top:"13%"},2000,easing="linear");$("#aniobject6").animate({top:"3%"},2000,easing="linear");$("#aniobject6ie").animate({top:"3%"},2000,easing="linear");$("#aura").fadeIn(5000);$("#auraie").fadeIn(5000);cacher()});function pullbackindex(a){var b=a;if(flag==0){$("#aniobject1ie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aniobject1ie").animate({top:"-100%"},{duration:1000,easing:"linear",queue:true});$("#aniobject2ie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aniobject2ie").animate({top:"-100%"},{duration:1000,easing:"linear",queue:true});$("#aniobject3ie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aniobject3ie").animate({top:"-100%"},{duration:1000,easing:"linear",queue:true});$("#aniobject4ie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aniobject4ie").animate({top:"-100%"},{duration:1000,easing:"linear",queue:true});$("#aniobject5ie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aniobject5ie").animate({top:"-100%"},{duration:1000,easing:"linear",queue:true});$("#aniobject6ie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aniobject6ie").animate({top:"-100%"},{duration:1000,easing:"linear",queue:true});flag=1}if(flag==2){$("#aboutoncloudie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aboutoncloudie").animate({top:"-200%"},{duration:500,easing:"linear",queue:true});$("#aboutoncloud6").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aboutoncloud6").animate({top:"-200%"},{duration:1000,easing:"linear",queue:true});flag=1}$("#aniobject1").animate({top:"-100%"},2000,easing="linear");$("#aniobject2").animate({top:"-100%"},2000);$("#aniobject3").animate({top:"-100%"},2000);$("#aniobject4").animate({top:"-100%"},2000);$("#aniobject5").animate({top:"-100%"},2000);$("#aniobject6").animate({top:"-100%"},2000);$("#aura").fadeOut(1500);$("#auraie").fadeOut(1000);$("#aura6").animate({marginTop:"-105%"},1000);$(".welcomecontent").animate({right:"-55%"},1000);$(".welcomecontentie").animate({right:"-55%"},1000);$(".welcomecontent6").animate({right:"-55%"},1000);$("#bottomcontent").animate({left:"-95%"},1000);$("#bottomcontentie").animate({left:"-95%"},1000);$("#bottomcontent6").animate({marginLeft:"-115%"},1000);$("#uppercloud").animate({marginTop:"-20%"},2000);$("#uppercloudie").animate({marginTop:"-20%"},2000);$("#loweraura").animate({opacity:"0"},500,easing="linear",queue=false);$("#loweraura").animate({left:"-67%"},1000);$("#lowerauraie").animate({opacity:"0"},500,easing="linear",queue=false);$("#lowerauraie").animate({left:"-50%"},1000);$("#loweraura6").animate({left:"-151%"},1000);$("#infrastrccloud").animate({left:"-150%"},1000);$("#infrastrccloudie").animate({left:"-120%"},1000);$("#infrastrccloud6").animate({left:"-120%"},1000);$("#infrastrccontent").animate({left:"110%"},1000);$("#infrastrccontentie").animate({left:"110%"},1000);$("#infrastrccontent6").animate({left:"110%"},1000);$("#scloudcontent").animate({left:"110%"},{duration:1000,easing:"linear"});$("#scloudcontentie").animate({left:"110%"},1000);$("#scloud").animate({left:"-105%"},{duration:1000,easing:"linear"});$("#scloudie").animate({left:"-125%"},1000);$("#aboutoncloud").animate({top:"-200%"},1000);$("#aboutcontent").animate({top:"-200%"},1000);$("#aboutcontentie").animate({top:"-210%"},1000);$("#aboutcontent6").animate({top:"-210%"},1000);$("#logo4otr").animate({left:"3%"},1000);$("#logo4otrie").animate({left:"3%"},1000);$("#offer").animate({left:"-50%"},1000);$("#offerie").animate({left:"-50%"},1000);if(b=="onlinedesktop"){showonlinedesktop()}else{if(b=="infrastructure"){showinfrastructure()}else{if(b=="aboutus"){showaboutus()}}}}function showonlinedesktop(){$("#scloud").animate({left:"2%"},{duration:1500,easing:"linear",queue:false});$("#scloudie").animate({left:"2%"},1000);$("#offer").animate({left:"10%"},1000);$("#offerie").animate({left:"10%"},1000);$("#scloudcontent").animate({left:"58%"},{duration:1500,easing:"linear",queue:false});$("#scloudcontentie").animate({left:"55%"},{duration:2000,easing:"linear",queue:false});$("#loweraura").animate({left:"-9%"},2000);$("#loweraura").animate({opacity:"1"},1000);$("#lowerauraie").animate({left:"-7%"},1000);$("#lowerauraie").animate({opacity:"1"},1000);$("#loweraura6").animate({left:"-7%"},1000)}function showaboutus(){$("#aboutoncloud").animate({top:"39%"},{duration:1500,easing:"linear",queue:false});$("#aboutoncloudie").animate({top:"23%"},1500,easing="linear");$("#aboutoncloud6").animate({top:"29%"},1500,easing="linear");$("#aboutcontent").animate({top:"2%"},{duration:1500,easing:"linear",queue:false});$("#aboutcontentie").animate({top:"2%"},1500,easing="linear");$("#aboutcontent6").animate({top:"1%"},1500,easing="linear");$("#loweraura").animate({left:"-10%"},2000);$("#loweraura").animate({opacity:"1"},1000);$("#lowerauraie").animate({left:"-7%"},2000);$("#lowerauraie").animate({opacity:"1"},1000);$("#loweraura6").animate({left:"-7%"},1000);flag=2}function lightbottom(){$("loweraura").animate({opacity:"1"},2000)}function showappcontent(){$("#appcontent").fadeIn(1000);$("#stocontent").fadeOut(500);$("#collabcontent").fadeOut(500);$("#appcontentie").fadeIn(1000);$("#stocontentie").fadeOut(500);$("#collabcontentie").fadeOut(500)}function showstocontent(){$("#appcontent").fadeOut(500);$("#stocontent").fadeIn(1000);$("#collabcontent").fadeOut(500);$("#appcontentie").fadeOut(500);$("#stocontentie").fadeIn(1000);$("#collabcontentie").fadeOut(500)}function showcollabcontent(){$("#appcontent").fadeOut(500);$("#stocontent").fadeOut(500);$("#collabcontent").fadeIn(1000);$("#appcontentie").fadeOut(500);$("#stocontentie").fadeOut(500);$("#collabcontentie").fadeIn(1000)}function showhome(){$("#logo4otr").animate({left:"-60%"},1000);$("#logo4otrie").animate({left:"-150%"},1000);$("#aboutoncloud").animate({top:"-200%"},1500,easing="linear");$("#aboutcontent").animate({top:"-250%"},1500,easing="linear");if(flag==2){$("#aboutoncloudie").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aboutoncloudie").animate({top:"-200%"},{duration:500,easing:"linear",queue:true});$("#aboutoncloud6").animate({top:"0%"},{duration:1000,easing:"linear",queue:true});$("#aboutoncloud6").animate({top:"-200%"},{duration:1000,easing:"linear",queue:true})}$("#aboutcontentie").animate({top:"-210%"},1500,easing="linear");$("#aboutcontent6").animate({top:"-210%"},1000);$("#scloudcontent").animate({left:"110%"},1000);$("#scloud").animate({left:"-105%"},1000);$("#offer").animate({left:"-50%"},1000);$("#offerie").animate({left:"-50%"},1000);$("#scloudie").animate({left:"-125%"},1000);$("#scloudcontentie").animate({left:"110%"},1000);$("#infrastrccloud").animate({left:"-100%"},1000);$("#infrastrccloudie").animate({left:"-120%"},1000);$("#infrastrccloud6").animate({left:"-120%"},1000);$("#infrastrccontent").animate({left:"110%"},1000);$("#infrastrccontentie").animate({left:"110%"},1000);$("#infrastrccontent6").animate({left:"110%"},1000);$("#loweraura").animate({opacity:"0"},500);$("#loweraura").animate({left:"-50%"},3000);$("#lowerauraie").animate({opacity:"0"},500,easing="linear",queue=false);$("#lowerauraie").animate({left:"-50%"},1000);$("#loweraura6").animate({left:"-151%"},1000);$("#uppercloud").animate({marginTop:"0%"},{duration:2000,easing:"linear",queue:false});$(".welcomecontent").animate({right:"0.3%"},1000);$("#bottomcontent").animate({left:"0%"},1000);$("#aniobject1").animate({top:"19%"},2000,easing="linear");$("#aniobject2").animate({top:"10%"},2000,easing="linear");$("#aniobject3").animate({top:"16%"},2000,easing="linear");$("#aniobject4").animate({top:"8%"},2000,easing="linear");$("#aniobject5").animate({top:"13%"},2000,easing="linear");$("#aniobject6").animate({top:"3%"},2000,easing="linear");$("#aura").fadeIn(5000);$("#uppercloudie").animate({marginTop:"-0.2%"},2000);$(".welcomecontentie").animate({right:"0.3%"},1000);$(".welcomecontent6").animate({right:"0.3%",top:"-5%"},1000);$("#bottomcontentie").animate({left:"0%"},1000);$("#bottomcontent6").animate({marginLeft:"-15%",top:"1%"},1000);$("#aniobject1ie").animate({top:"16%"},2000,easing="linear");$("#aniobject2ie").animate({top:"8%"},2000,easing="linear");$("#aniobject3ie").animate({top:"14%"},2000,easing="linear");$("#aniobject4ie").animate({top:"8%"},2000,easing="linear");$("#aniobject5ie").animate({top:"13%"},2000,easing="linear");$("#aniobject6ie").animate({top:"3%"},2000,easing="linear");$("#auraie").fadeIn(5000);$("#aura6").animate({marginTop:"-25%"},1500);flag=0}function showinfrastructure(){$("#infrastrccloud").animate({left:"-1%"},{duration:1000,easing:"linear",queue:false});$("#infrastrccloudie").animate({left:"-1%"},1000);$("#infrastrccloud6").animate({left:"-1%"},1000);$("#infrastrccontent").animate({left:"58%"},1000);$("#infrastrccontentie").animate({left:"55%"},1000);$("#infrastrccontent6").animate({left:"55%"},1000);$("#loweraura").animate({left:"-8%"},2000);$("#loweraura").animate({opacity:"1"},1000);$("#lowerauraie").animate({left:"-7%"},1000);$("#lowerauraie").animate({opacity:"1"},1000);$("#loweraura6").animate({left:"-7%"},1000)}function cacher(){var f=new Image();var e=new Image();var d=new Image();var c=new Image();var b=new Image();var a=new Image();f.src="images/about.png";e.src="images/aboutus.gif";d.src="images/infrastruc.gif";c.src="images/loweraura.png";b.src="images/scloud.gif";a.src="images/logo.png"};