function createSplash(){jQuery(".nav_step").hover(function(){jQuery(this).not(".currentstep").parents("div.newnav").addClass("highlight")},function(){jQuery(this).parents("div.newnav").removeClass("highlight")});var A="<div class='splashbox' id='secondSlide'>   <span class='splashimage'><img src='http://images.noamdesign.com/redesign/cms-templates.png' height='475' width='430' alt='CMS Templates' /></span> <span class='splashcontent'> 	<div class='splashtitle'><span class='splashtitleheader'>Award winning <b>CMS website templates</b></span></div> 	<div class='splashtextcontent'> 	<p> 	Our CMS website templates are feature-rich 100% ready made professional website templates featuring award winning web design. All our templates are custom designed and come with an easy-to-use extensive Content Management System so that you can fully customize, control and manage your website from anywhere, and at anytime! We created <a title='Templateacion.com' href='http://templateaction.com/' class='spopup' target='_blank'>Template Action</a> to make it easy to browse through our large selection and immediately download the CMS website template you like the most! 	</p> 	<p class='subtext'> 	Template Action is the world number 1 provider of CMS templates! <a title='CMS Video Demo' href='http://templateaction.com/cms-demo' class='spopup'  onclick=\"window.open('http://templateaction.com/cms-demo','cmsdemo','toolbar=0, location=0, directories=0, status=0, scrollbars=no, resizable=1, copyhistory=0, menuBar=0, width=640, height=510, left=100, top=100'); return false;\">Watch a demo</a> or  <a title='Browse CMS Templates' href='http://templateaction.com/cms-templates' class='spopup' target='_blank'>browse selection</a></p> <p class='contact'><a title='Contact Us' onclick='affContact(); return(false);' href='/Web-design-contact'>Get in touch</a></p> </div></span></div>";var C=A+"	<div class='splashbox'> <span class='splashimage'><img src='http://images.noamdesign.com/redesign/magento-templates.png'  height='475' width='430' alt='Magento Templates'  /></span>	<span class='splashcontent'>		<div class='splashtitle'><span class='splashtitleheader'>The best <b>Magento templates</b> - made by the experts </span></div>			<div class='splashtextcontent'>			<p>			Through our <a title='Magentist.com' href='http://Magentist.com/' class='spopup' target='_blank'>Magentist</a> branch we offer The Best Magento Ecommerce templates available on the market. We've been working with Magento since the very beginning and have established ourselves as The Experts at designing and developing for the Magento Ecommerce platform. Magentist's templates feature high-end designs crafted by our in-house staff of world-class designers. You won't find this quality anywhere else! Our ever growing client base is mostly made of professionals. 			</p>			<p class='subtext'>			All our Magento Ecommerce templates are available for immediate download - <a title='Magento Ecommerce Templates' href='http://magentist.com/' class='spopup' target='_blank'>find yours now!</a></p>  <p class='contact'><a title='Contact us' onclick='affContact(); return(false);' href='/Web-design-contact'>Get in touch</a></p> </div></span> </div>	<div class='splashbox'> <span class='splashimage'><img src='http://images.noamdesign.com/redesign/flash-cms-templates.png' height='475'  width='430' alt='Flash CMS Templates' /></span> <span class='splashcontent'> 	<div class='splashtitle'><span class='splashtitleheader'>Cutting edge <b>Flash CMS templates</b>... for just $49!</span></div> 	<div class='splashtextcontent'> 	<p> 	Our stunning Flash CMS templates are available for immediate download on our <a title='Templateaction.com' href='http://templateaction.com/' class='spopup' target='_blank'>Template Action</a> branch. All the Flash templates include 2-minute installation instructions and come with an intuitive interface to easily edit and manage your content (images, texts, menus, etc). So you not only get a feature-rich Flash website with high-end designs, animations, and advanced interactiviy; you also get the power and the freedom to control your site and its content anytime, anywhere! 	</p> 	<p class='subtext'> 	We're the market leader in Flash CMS template design! <a title='Flash CMS Video Demo' href='http://templateaction.com/flash-cms-demo' class='spopup'  onclick=\"window.open('http://templateaction.com/cms-demo','cmsdemo','toolbar=0, location=0, directories=0, status=0, scrollbars=no, resizable=1, copyhistory=0, menuBar=0, width=640, height=390, left=100, top=100'); return false;\">Watch a demo</a> and  <a title='Flash CMS Templates' href='http://templateaction.com/flash-cms-templates' class='spopup' target='_blank'>grab your template today!</a></p> <p class='contact'><a title='Contact Web Design Company' onclick='affContact(); return(false);' href='/Web-design-contact'>Get in touch</a></p> </div></span> </div>";function B(E){this.currentSlide=0;this.containerId=E;this.btnNextId="next";this.btnPreviousId="previous";this.navigationEnabled=true;this.imagesLoaded=0;this.slideContentLoaded=[true,false,false,false,false]}B.prototype={showNavigationButtons:function(){if(this.imagesLoaded==2){jQuery("#"+this.btnNextId).show();jQuery("#"+this.btnPreviousId).show();jQuery("#navigationBar").show()}},init:function(){jQuery("#light, #fade").show();jQuery("#fade").css("opacity",0.7);var H={width:(967),height:(532),left:("50%"),top:("50%")};jQuery("#fade").show();var E={position:"absolute",height:30,width:100,left:1196,top:150,opacity:1};jQuery("#light").css(E).show().animate(H,400,function(){});mySlide=this;var G="<div id='firstSlide' class='splashbox'>	<div style='color:#F3F3F3; font-size:54px; height:67px; margin-top:35px; text-align:center; width:100%;'>We Create. You Control.</div><div style='color:#c3c3c3; font-size:36px; height:30px; text-align:center; width:100%;'>A Better Way To Get A Website</div><div style='margin-left: 48px;height:85px; text-align:center; width:100%; margin-top:38px; background-image: url(http://images.noamdesign.com/redesign/splash/splash-slide1.png); background-repeat: no-repeat; '><a href='#' onclick=\"jQuery('#nav_step_1').trigger('click'); return false;\" style='text-decoration: none;' title='CMS Website Templates'><div style='float:left;color:#c3c3c3; font-size:28px; text-align:center; width:218px;height:80px;'>&nbsp;</div></a><a href='#' onclick=\"jQuery('#nav_step_2').trigger('click'); return false;\" style='text-decoration: none;' title='Magento Ecommerce Templates'><div style='margin-left: 75px;float:left;color:#c3c3c3; font-size:28px; text-align:center; width:218px;height:80px;'>&nbsp;</div></a><a href='#' onclick=\"jQuery('#nav_step_3').trigger('click'); return false;\" style='text-decoration: none;' title='Flash CMS Templates'><div style='margin-left: 75px;float:left;color:#c3c3c3; font-size:28px; text-align:center; width:218px;height:80px;'>&nbsp;</div></a></div><div><div style='float:left;margin-left:54px; color:#c3c3c3; font-size:28px; text-align:center; width:218px;'><a href='#' onclick=\"jQuery('#nav_step_1').trigger('click'); return false;\" style='text-decoration: none;'  title='CMS Website Templates'>Award Winning<br />CMS Websites</a></div><div style='float:left;margin-left:71px; color:#c3c3c3; font-size:28px; text-align:center; width:218px;'><a href='#' onclick=\"jQuery('#nav_step_2').trigger('click'); return false;\" style='text-decoration: none;' title='Magento Ecommerce Templates'>Unique Magento<br />Ecommerce Sites</a></div><div style='float:left;margin-left:71px; color:#c3c3c3; font-size:28px; text-align:center; width:218px;'><a href='#' onclick=\"jQuery('#nav_step_3').trigger('click'); return false;\" style='text-decoration: none;'  title='Flash CMS Templates'>Stunning Flash<br />CMS Websites</a></div></div><div style=''><div style='margin-top:20px;float:left;margin-left:54px; color:#c3c3c3; font-size:12px; text-align:justify; width:218px;'><a title='Templateaction.com' href='http://templateaction.com/' class='spopup' target='_blank'>Template Action</a> is where you'll find awesome CMS website templates you can easily edit and manage. Our professional templates feature award winning web design, state-of-the-art web technologies, and powerful administration tools to edit and manage your site anytime, anywhere!</div><div style='margin-top:20px;float:left;margin-left:71px; color:#c3c3c3; font-size:12px; text-align:justify; width:218px;'><a title='Magentist.com' href='http://magentist.com/' class='spopup' target='_blank'>Magentist</a> offers The Best Magento Ecommerce Templates out there. Period. We also offer the largest selection of high quality Magento templates with most Ecommerce industries covered. Our designs are created with conversions in mind - check out <a title='Magentist.com' href='http://magentist.com/' class='spopup' target='_blank'>Magentist</a> today!</div><div style='margin-top:20px;float:left;margin-left:71px; color:#c3c3c3; font-size:12px; text-align:justify; width:218px;'>If you are looking for a jaw dropping website with stunning design and Flash effects - this is for you! All the Flash templates include easy 2 minute installation instructions and come with an intuitive interface to easily edit and manage your content (images, texts, menus, etc).</div></div></div>";if(jQuery("#"+mySlide.containerId).find("div[id=firstSlide]").size()===0){jQuery("#"+mySlide.containerId).html(G)}jQuery("#"+this.btnNextId).unbind("click");jQuery("#"+this.btnNextId).bind("click",function(){mySlide.nextSlide();return false});jQuery("#"+this.btnPreviousId).unbind("click");jQuery("#"+this.btnPreviousId).bind("click",function(){mySlide.previousSlide();return false});jQuery("#nav_step_1").unbind("click").bind("click",function(){mySlide.currentSlide=1;mySlide.moveSlideToCurrent();mySlide.showNavigationButtons();return false});jQuery("#nav_step_2").unbind("click").bind("click",function(){mySlide.currentSlide=2;mySlide.moveSlideToCurrent();mySlide.showNavigationButtons();return false});jQuery("#nav_step_3").unbind("click").bind("click",function(){mySlide.currentSlide=3;mySlide.moveSlideToCurrent();mySlide.showNavigationButtons();return false});this.showNavigationButtons();sp1=new Image();sp1.onload=function(){mySlide.imagesLoaded++;if(mySlide.imagesLoaded==2){mySlide.showNavigationButtons()}};sp1.src="http://images.noamdesign.com/redesign/splash/splash-slide1.png";sp2=new Image();sp2.onload=function(){mySlide.imagesLoaded++;if(mySlide.imagesLoaded==2){mySlide.showNavigationButtons()}};sp2.src="http://images.noamdesign.com/redesign/cms-templates.png";sp3=new Image();sp3.src="http://images.noamdesign.com/redesign/magento-templates.png";sp4=new Image();sp4.src="http://images.noamdesign.com/redesign/flash-cms-templates.png";var F=jQuery.browser.version.split(".");browserversion=F[0]+F[1]+F[2];if((jQuery.browser.mozilla)&&(browserversion==="190")){jQuery(".navsplash").css("top","45%")}},moveSlideToCurrent:function(){this.navigationEnabled=false;jQuery(".nav_step").parents("div.newnav").removeClass("current");jQuery("#nav_step_"+this.currentSlide).parents("div.newnav").addClass("current");var E;switch(this.currentSlide){case 0:E=0;break;case 1:E=-907;break;case 2:E=-1814;break;case 3:E=-2721;break}if(!this.slideContentLoaded[this.currentSlide]){if(jQuery("#"+mySlide.containerId).find("div[id=secondSlide]").size()===0){jQuery("#"+this.containerId).append(C)}this.slideContentLoaded=[true,true,true,true,true]}mySlide=this;jQuery("#"+mySlide.containerId).animate({marginLeft:E+"px"},{duration:900,easing:"easeOutExpo"},function(){mySlide.navigationEnabled=true})},previousSlide:function(){switch(this.currentSlide){case 0:this.currentSlide=3;break;default:this.currentSlide=this.currentSlide-1}this.moveSlideToCurrent();this.showNavigationButtons()},nextSlide:function(){this.currentSlide=(this.currentSlide+1)%4;this.moveSlideToCurrent();this.showNavigationButtons()}};var D=new B("splashslidercontainer");D.init();jQuery("#closesplash, .black_overlay").click(closeSplash)}function closeSplash(){var D=jQuery("#getstarted").offset();var A={opacity:0,height:30,width:30,left:(D.left*1.5),top:(D.top)};jQuery("#fade").fadeOut("slow");jQuery("#light").animate(A,400,function(){jQuery("#light").css({position:"absolute"})});var C={backgroundColor:"#aaa"};var B={backgroundColor:"#232323"};jQuery("#getstarted").animate(C,250,function(){jQuery(this).animate(B,250)});return false};
