window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var b=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,b):console.log.apply(console,b))}};(function(e){function h(){}for(var g="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),f;f=g.pop();){e[f]=e[f]||h}})((function(){try{console.log();return window.console}catch(a){return window.console={}}})());$(function(){$("#accessibility_bar img").click(function(){var d=$("body");var b=d.css("fontSize");var a=parseFloat(b,10);var c=b.slice(-2);if(this.id=="large"){a=19}else{if(this.id=="normal"){a=17}else{if(this.id=="small"){a=13}}}d.animate({fontSize:a+c},600)})});function clearText(a){if(a.defaultValue==a.value){a.value=""}else{if(a.value==""){a.value=a.defaultValue}}}function initialize(){var c=[{featureType:"all",stylers:[{saturation:-80},]}];var b={center:new google.maps.LatLng(51.605065,-3.814487),zoom:14,scrollwheel:false,mapTypeId:google.maps.MapTypeId.ROADMAP,styles:c};var f=new google.maps.Map(document.getElementById("map_canvas"),b);var e=new google.maps.MarkerImage("http://userfusion.com/dev_2011/img/userfusion_gmarker2.png",new google.maps.Size(190,73),new google.maps.Point(0,0),new google.maps.Point(10,73));var d=new google.maps.LatLng(51.60446,-3.83095);var a=new google.maps.Marker({position:d,map:f,icon:e})}$(function(){function d(e){return e.replace(/^\//,"").replace(/(index|default).[a-zA-Z]{3,4}$/,"").replace(/\/$/,"")}var c=d(location.pathname);var b=a("html","body");$("a[href*=#]").each(function(){var f=d(this.pathname)||c;if(c==f&&(location.hostname==this.hostname||!this.hostname)&&this.hash.replace(/#/,"")){var e=$(this.hash),g=this.hash;if(g){var h=e.offset().top;$(this).click(function(i){i.preventDefault();$(b).animate({scrollTop:h},400,function(){location.hash=g})})}}});function a(h){for(var g=0,k=arguments.length;g<k;g++){var j=arguments[g],e=$(j);if(e.scrollTop()>0){return j}else{e.scrollTop(1);var f=e.scrollTop()>0;e.scrollTop(0);if(f){return j}}}return[]}});$(document).ready(function(){$("a#example2").fancybox({overlayShow:false,transitionIn:"elastic",transitionOut:"elastic"})});
