var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}var environment=function(){switch(document.location.host){case('127.0.0.1'):var a='development';break;case('staging.sevenoakdesign.co.uk'):var a='staging';break;default:var a='production';break}return a};if(environment()=='production'){var gaJsHost=(("https:"==document.location.protocol)?"https://ssl.":"http://www.");document.write(unescape("%3Cscript src='"+gaJsHost+"google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"))}var tracked=false;var error=null;function trackPageView(){var a=document.getElementById('gajs').src.match(/\?id=(\d+)/)[1];var b='UA-1717907-'+a;if(b!=null&&environment()=='production'){try{var c=_gat._getTracker(b);c._trackPageview();tracked=true}catch(e){tracked=false;error=e}}}Directions=function(){this.destination='London, UK';this.map={site:'http://maps.google.co.uk/',type:'m'};this.errorMessage='Please provide a postcode.';this.inputId='_dr_postcode';this.debug=false;this.show=function(){try{var a=document.getElementById(this.inputId).value;if(a==null||a==''){alert(this.errorMessage)}else{window.open(this.URLFor(a,this.destination))}}catch(e){if(this.debug){alert(e)}}};this.URLFor=function(a,b){var c=encodeURIComponent(a);var d=encodeURIComponent(b);return this.map.site+'maps?&t='+this.map.type+'&saddr='+c+'&daddr='+d}};function _showDirections(){var a=new Directions;a.show()}function GoogleMap(c,d,f,g,h){this.element=document.getElementById(c);this.x=f;this.y=g;this.zoom=h;this.APIKeys={development:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBRi_j0U6kJrkFvY4-OX2XYmEAa76BRv0GfKnUoamkrTrjW2eSuV8917mg',staging:'ABQIAAAAGzb1SNZSwKRCEdBQBAnpgBTzb6HFbW65ugygd-aNDvW682eCphTb1LdU6Z7a0PzV3d0xzPwQPcCUBQ',production:d};this.APIKey=function(){var a=window.location.hostname;switch(a){case'127.0.0.1':return this.APIKeys.development;break;case'staging.sevenoakdesign.co.uk':return this.APIKeys.staging;break;default:return this.APIKeys.production}};this.load=function(){if(GBrowserIsCompatible()){var a=new GMap2(document.getElementById(c));var b=new GLatLng(g,f);a.addControl(new GLargeMapControl());a.checkResize();a.setCenter(b,h);a.addOverlay(new GMarker(b))}}}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}jQuery.preloadImages=function(){for(var a=0;a<arguments.length;a++){jQuery("<img>").attr("src",arguments[a])}};$.preloadImages('i/headers/1.jpg','i/headers/2.jpg','i/headers/3.jpg');var period=12000;var duration=1000;$(document).ready(function(){setTimeout(function(){showSlideOne();$('#header').css('background-image','none')},6000)});function showSlideOne(){fade('#slide_1');setTimeout(function(){showSlideTwo()},period)}function showSlideTwo(){fade('#slide_2');setTimeout(function(){showSlideThree()},period)}function showSlideThree(){fade('#slide_3');setTimeout(function(){showSlideOne()},period)}function fade(a){$('.slide').css('visibility','hidden');$(a).css('opacity','0').css('visibility','visible').animate({'opacity':1},duration,'linear',null)}