window.log=function(){log.history=log.history||[];log.history.push(arguments);if(this.console){arguments.callee=arguments.callee.caller;var a=[].slice.call(arguments);(typeof console.log==="object"?log.apply.call(console.log,console,a):console.log.apply(console,a))}};
(function(b){function c(){}for(var d="assert,count,debug,dir,dirxml,error,exception,group,groupCollapsed,groupEnd,info,log,timeStamp,profile,profileEnd,time,timeEnd,trace,warn".split(","),a;a=d.pop();){b[a]=b[a]||c}})((function(){try
{console.log();return window.console;}catch(err){return window.console={};}})());

/**
 * jQuery.ScrollTo - Easy element scrolling using jQuery.
 * Copyright (c) 2007-2009 Ariel Flesler - aflesler(at)gmail(dot)com | http://flesler.blogspot.com
 * Dual licensed under MIT and GPL.
 * Date: 5/25/2009
 * @author Ariel Flesler
 * @version 1.4.2
 *
 * http://flesler.blogspot.com/2007/10/jqueryscrollto.html
 */
;(function(d){var k=d.scrollTo=function(a,i,e){d(window).scrollTo(a,i,e)};k.defaults={axis:'xy',duration:parseFloat(d.fn.jquery)>=1.3?0:1};k.window=function(a){return d(window)._scrollable()};d.fn._scrollable=function(){return this.map(function(){var a=this,i=!a.nodeName||d.inArray(a.nodeName.toLowerCase(),['iframe','#document','html','body'])!=-1;if(!i)return a;var e=(a.contentWindow||a).document||a.ownerDocument||a;return d.browser.safari||e.compatMode=='BackCompat'?e.body:e.documentElement})};d.fn.scrollTo=function(n,j,b){if(typeof j=='object'){b=j;j=0}if(typeof b=='function')b={onAfter:b};if(n=='max')n=9e9;b=d.extend({},k.defaults,b);j=j||b.speed||b.duration;b.queue=b.queue&&b.axis.length>1;if(b.queue)j/=2;b.offset=p(b.offset);b.over=p(b.over);return this._scrollable().each(function(){var q=this,r=d(q),f=n,s,g={},u=r.is('html,body');switch(typeof f){case'number':case'string':if(/^([+-]=)?\d+(\.\d+)?(px|%)?$/.test(f)){f=p(f);break}f=d(f,this);case'object':if(f.is||f.style)s=(f=d(f)).offset()}d.each(b.axis.split(''),function(a,i){var e=i=='x'?'Left':'Top',h=e.toLowerCase(),c='scroll'+e,l=q[c],m=k.max(q,i);if(s){g[c]=s[h]+(u?0:l-r.offset()[h]);if(b.margin){g[c]-=parseInt(f.css('margin'+e))||0;g[c]-=parseInt(f.css('border'+e+'Width'))||0}g[c]+=b.offset[h]||0;if(b.over[h])g[c]+=f[i=='x'?'width':'height']()*b.over[h]}else{var o=f[h];g[c]=o.slice&&o.slice(-1)=='%'?parseFloat(o)/100*m:o}if(/^\d+$/.test(g[c]))g[c]=g[c]<=0?0:Math.min(g[c],m);if(!a&&b.queue){if(l!=g[c])t(b.onAfterFirst);delete g[c]}});t(b.onAfter);function t(a){r.animate(g,j,b.easing,a&&function(){a.call(this,n,b)})}}).end()};k.max=function(a,i){var e=i=='x'?'Width':'Height',h='scroll'+e;if(!d(a).is('html,body'))return a[h]-d(a)[e.toLowerCase()]();var c='client'+e,l=a.ownerDocument.documentElement,m=a.ownerDocument.body;return Math.max(l[h],m[h])-Math.min(l[c],m[c])};function p(a){return typeof a=='object'?a:{top:a,left:a}}})(jQuery);

/**
 * author Remy Sharp
 * url http://remysharp.com/2009/01/26/element-in-view-event-plugin/
 */          
(function(c){function p(){var d,a={height:h.innerHeight,width:h.innerWidth};if(!a.height&&((d=i.compatMode)||!c.support.boxModel))d=d==="CSS1Compat"?k:i.body,a={height:d.clientHeight,width:d.clientWidth};return a}var m={},e,a,i=document,h=window,k=i.documentElement,j=c.expando;c.event.special.inview={add:function(a){m[a.guid+"-"+this[j]]={data:a,$element:c(this)}},remove:function(a){try{delete m[a.guid+"-"+this[j]]}catch(c){}}};c(h).bind("scroll resize",function(){e=a=null});setInterval(function(){var d=
c(),j,l=0;c.each(m,function(a,b){var c=b.data.selector,e=b.$element;d=d.add(c?e.find(c):e)});if(j=d.length){e=e||p();for(a=a||{top:h.pageYOffset||k.scrollTop||i.body.scrollTop,left:h.pageXOffset||k.scrollLeft||i.body.scrollLeft};l<j;l++)if(c.contains(k,d[l])){var g=c(d[l]),f={height:g.height(),width:g.width()},b=g.offset(),n=g.data("inview"),o;if(!a||!e)break;b.top+f.height>a.top&&b.top<a.top+e.height&&b.left+f.width>a.left&&b.left<a.left+e.width?(o=a.left>b.left?"right":a.left+e.width<b.left+f.width?
"left":"both",f=a.top>b.top?"bottom":a.top+e.height<b.top+f.height?"top":"both",b=o+"-"+f,(!n||n!==b)&&g.data("inview",b).trigger("inview",[!0,o,f])):n&&g.data("inview",!1).trigger("inview",[!1])}}},250)})(jQuery);

/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2008 George McGinley Smith
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written permission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
*/

// t: current time, b: begInnIng value, c: change In value, d: duration
jQuery.easing['jswing'] = jQuery.easing['swing'];

jQuery.extend( jQuery.easing,
{
	def: 'easeOutQuad',
	swing: function (x, t, b, c, d) {
		//alert(jQuery.easing.default);
		return jQuery.easing[jQuery.easing.def](x, t, b, c, d);
	},
	easeInQuad: function (x, t, b, c, d) {
		return c*(t/=d)*t + b;
	},
	easeOutQuad: function (x, t, b, c, d) {
		return -c *(t/=d)*(t-2) + b;
	},
	easeInOutQuad: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t + b;
		return -c/2 * ((--t)*(t-2) - 1) + b;
	},
	easeInCubic: function (x, t, b, c, d) {
		return c*(t/=d)*t*t + b;
	},
	easeOutCubic: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t + 1) + b;
	},
	easeInOutCubic: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t + b;
		return c/2*((t-=2)*t*t + 2) + b;
	},
	easeInQuart: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t + b;
	},
	easeOutQuart: function (x, t, b, c, d) {
		return -c * ((t=t/d-1)*t*t*t - 1) + b;
	},
	easeInOutQuart: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t + b;
		return -c/2 * ((t-=2)*t*t*t - 2) + b;
	},
	easeInQuint: function (x, t, b, c, d) {
		return c*(t/=d)*t*t*t*t + b;
	},
	easeOutQuint: function (x, t, b, c, d) {
		return c*((t=t/d-1)*t*t*t*t + 1) + b;
	},
	easeInOutQuint: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return c/2*t*t*t*t*t + b;
		return c/2*((t-=2)*t*t*t*t + 2) + b;
	},
	easeInSine: function (x, t, b, c, d) {
		return -c * Math.cos(t/d * (Math.PI/2)) + c + b;
	},
	easeOutSine: function (x, t, b, c, d) {
		return c * Math.sin(t/d * (Math.PI/2)) + b;
	},
	easeInOutSine: function (x, t, b, c, d) {
		return -c/2 * (Math.cos(Math.PI*t/d) - 1) + b;
	},
	easeInExpo: function (x, t, b, c, d) {
		return (t==0) ? b : c * Math.pow(2, 10 * (t/d - 1)) + b;
	},
	easeOutExpo: function (x, t, b, c, d) {
		return (t==d) ? b+c : c * (-Math.pow(2, -10 * t/d) + 1) + b;
	},
	easeInOutExpo: function (x, t, b, c, d) {
		if (t==0) return b;
		if (t==d) return b+c;
		if ((t/=d/2) < 1) return c/2 * Math.pow(2, 10 * (t - 1)) + b;
		return c/2 * (-Math.pow(2, -10 * --t) + 2) + b;
	},
	easeInCirc: function (x, t, b, c, d) {
		return -c * (Math.sqrt(1 - (t/=d)*t) - 1) + b;
	},
	easeOutCirc: function (x, t, b, c, d) {
		return c * Math.sqrt(1 - (t=t/d-1)*t) + b;
	},
	easeInOutCirc: function (x, t, b, c, d) {
		if ((t/=d/2) < 1) return -c/2 * (Math.sqrt(1 - t*t) - 1) + b;
		return c/2 * (Math.sqrt(1 - (t-=2)*t) + 1) + b;
	},
	easeInElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return -(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
	},
	easeOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d)==1) return b+c;  if (!p) p=d*.3;
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		return a*Math.pow(2,-10*t) * Math.sin( (t*d-s)*(2*Math.PI)/p ) + c + b;
	},
	easeInOutElastic: function (x, t, b, c, d) {
		var s=1.70158;var p=0;var a=c;
		if (t==0) return b;  if ((t/=d/2)==2) return b+c;  if (!p) p=d*(.3*1.5);
		if (a < Math.abs(c)) { a=c; var s=p/4; }
		else var s = p/(2*Math.PI) * Math.asin (c/a);
		if (t < 1) return -.5*(a*Math.pow(2,10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )) + b;
		return a*Math.pow(2,-10*(t-=1)) * Math.sin( (t*d-s)*(2*Math.PI)/p )*.5 + c + b;
	},
	easeInBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*(t/=d)*t*((s+1)*t - s) + b;
	},
	easeOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158;
		return c*((t=t/d-1)*t*((s+1)*t + s) + 1) + b;
	},
	easeInOutBack: function (x, t, b, c, d, s) {
		if (s == undefined) s = 1.70158; 
		if ((t/=d/2) < 1) return c/2*(t*t*(((s*=(1.525))+1)*t - s)) + b;
		return c/2*((t-=2)*t*(((s*=(1.525))+1)*t + s) + 2) + b;
	},
	easeInBounce: function (x, t, b, c, d) {
		return c - jQuery.easing.easeOutBounce (x, d-t, 0, c, d) + b;
	},
	easeOutBounce: function (x, t, b, c, d) {
		if ((t/=d) < (1/2.75)) {
			return c*(7.5625*t*t) + b;
		} else if (t < (2/2.75)) {
			return c*(7.5625*(t-=(1.5/2.75))*t + .75) + b;
		} else if (t < (2.5/2.75)) {
			return c*(7.5625*(t-=(2.25/2.75))*t + .9375) + b;
		} else {
			return c*(7.5625*(t-=(2.625/2.75))*t + .984375) + b;
		}
	},
	easeInOutBounce: function (x, t, b, c, d) {
		if (t < d/2) return jQuery.easing.easeInBounce (x, t*2, 0, c, d) * .5 + b;
		return jQuery.easing.easeOutBounce (x, t*2-d, 0, c, d) * .5 + c*.5 + b;
	}
});
/*
 *
 * TERMS OF USE - EASING EQUATIONS
 * 
 * Open source under the BSD License. 
 * 
 * Copyright Â© 2001 Robert Penner
 * All rights reserved.
 * 
 * Redistribution and use in source and binary forms, with or without modification, 
 * are permitted provided that the following conditions are met:
 * 
 * Redistributions of source code must retain the above copyright notice, this list of 
 * conditions and the following disclaimer.
 * Redistributions in binary form must reproduce the above copyright notice, this list 
 * of conditions and the following disclaimer in the documentation and/or other materials 
 * provided with the distribution.
 * 
 * Neither the name of the author nor the names of contributors may be used to endorse 
 * or promote products derived from this software without specific prior written p rmission.
 * 
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY 
 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
 *  COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
 *  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
 *  GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 
 * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
 *  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 
 * OF THE POSSIBILITY OF SUCH DAMAGE. 
 *
 */
;
(function ($) {
    
    $.IPad = (navigator.userAgent.indexOf('iPad')  != -1 ? true : false);
    $.Jump = false;
    
    var siteViewRollover =
    {
        init : function ()
        {
            $('#sites .site').each( function() {
                //If JS is off the fallback is that .link element will take user to the site, JS on the a tag in site info is the meothod of navigation
               $(this).children('.name-logo .link').click( function(e){e.preventDefault();});
               $(this).mouseenter( function(){$(this).children('.site-info').stop(true, true).fadeIn();});
               $(this).mouseleave( function(){$(this).children('.site-info').stop(true, true).fadeOut();});
            });
        }

    }

    var jumpNav =
    {
        init : function()
        {
            var $$ = this, navSpeed;
            
            navSpeed  = ($.IPad  === true  ? 3400 : 1000);

            //Main Nav
            $('.front .main-menu li a').each( function() {
                
                $(this).click(function(e) {
                     $.Jump = true;
                    $$.pointerUpdate(this);
                    e.preventDefault();
                    if($.IPad  === true)
                        $('#navigation').hide();

                    $$.jump(this, navSpeed); 
                });
            });
            
            //All Other Jumps
             $('.jump').each( function() {
                $(this).click(function(e) {
                     $.Jump = true;
                     $$.pointerUpdate( $('.front .main-menu li a[href^="/'+ (this.hash == '#resources' ? '#stats' :  this.hash )+'"]' )  ) ;
                    e.preventDefault();
                    $(this).stop(true);
                    $$.jump(this, 1000); 
                });
            });

        },

        jump : function (element, speed )
        {
           
            $('html, body').stop(true).animate({        
                scrollTop:  (element.hash == '' ? 0  : $(element.hash).offset().top - 70 )
             }, speed,  'easeInOutQuad', function() {
                $.Jump = false;
                if($.IPad  === true)
                    moveNavigation.updateNav('#navigation');
                     
           //     window.location.hash =   element.hash;

             });

        },
        
        pointerUpdate : function(element)
        {
  
            var pos, widthOffset, leftValue;
            
            $('.active-item').removeClass('active-item');
            
            if($(element).length == 1 ) {
                pos = $(element).position();
                widthOffset = $(element).width() / 2  ;
                leftValue = pos.left + widthOffset - 11;//11  = half th width of pointer
                $(element).addClass('active-item');
            } else {
                //Return pointer to orginal postion / more than one link has been matched or there are no matches
                leftValue = 10; 
           
            }

           $('.pointer').stop(true).animate({
               left :  leftValue 
           }, 'fast');
                   
            return true;
        }
        
        
    }
    
    var panelScroller = 
    {        
        init : function () {
            
            $('.window').bind('inview', function (event, visible) 
            {

              var $$ = $(this),
              imageElement = $$.children('.window-image'),
              scroll = false;
                
              $(window).bind('scroll', function() {
                scroll = true;   
              });
                      
              //Element in viewport
              if (visible == true) {
                  
                var windowTop, elTop, calc, newCoord ;
               
                setInterval(function() {   
                     
                    if(scroll) {

                        scroll = false;
                        windowTop = $(window).scrollTop();   
                        elTop = imageElement.offset();
                        calc =  ( elTop.top -  windowTop - 495) ;
                        newCoord = -calc *  - 0.4;
                        if(newCoord <= 0  && newCoord >= -202)
                            imageElement.css({"background-position": "center "+  newCoord + "px"});
                    }
                
                }, 10 );
                  
              } else {
                // element has gone out of viewport
                scroll = false;
              }
              
            });
        }
    }
    
    var moveNavigation = 
    {
        init : function () 
        {

            var nav = this,
              navEl =  $('#navigation');
              
              navEl.css('position', 'absolute');   
              
              $(window).bind('scroll', function() {
                   nav.updateNav('#navigation');       
              });
         
        },
        
        updateNav : function(navElement) 
        {
           var navPositon = $(document).scrollTop();
           $(navElement).stop().animate({top: navPositon}, 70 , function() {    
               $(navElement).show('fast');
           });

        }
    }
    
    
    var formPlaceholders  =
    {
        
        init : function(form)
        {
            $(form).find('label').each( function() 
            {
                var inputToUpdate, labelText; 
                
                $(this).hide();
                
                inputToUpdate = '#'+ $(this).attr('for');
                labelText = $(this).text().replace('*', '');
              
                if($(inputToUpdate).val() == '' ) 
                  $(inputToUpdate).val(   labelText);
                
                
                 $(inputToUpdate).live('click, focus', function() {
                       if($(this).val()  ==  labelText) 
                          $(this).val('');
                 });
              
                  $(inputToUpdate).live('blur', function() {                        
                       if($(this).val()  ==  '') 
                         $(this).val(labelText);
                 });
            });
 
        }
    }
    
    
    var formSubmission =
    {
        
        init : function(form)
        {
            
            $(form).ajaxStart(function(){
               $(form ).addClass('loading');
               
               $(form + ' :input').css('opacity', '0.3');
               $(form).find('#edit-submit').val('Loading').click(function(e){e.preventDefault();});
               
               
            });
            
            $(form).live('submit', function(e) {
                
              $(this).children('.messages').remove();
                e.preventDefault();
                
              var $inputs = $(form + ' :input'),
                  values = {},
                  postTo =$(form).attr('action');

                $inputs.each(function() {
                    values[this.name] = $(this).val();
                });
                
                $.ajax({
                    type: 'POST',
                    url:   postTo,
                    cache:false,
                    data: values,
                    context : $(form),
                    error : function(){

                        $('<p class="messages error">Sorry the form could not be submitted.</p>').prependTo(this);
                     
                    },
                    success: function(data) {

                       var message = $(data).find('.messages');
                       if(message.hasClass('error') === false) 
                           $($inputs).remove();
                       
                      //$(img).prependTo(this);
                       message.prependTo(this);
           
                    },
                    complete : function(){
                      $(this).find(':input').css('opacity', '1')
                      $(this).find('#edit-submit').val('Submit').unbind('click'); 
                       this.removeClass('loading');  
                    },
                    dataType: 'html'
                });
                
            });
            
        }
        
    }

    $(document).ready(function($) {    
       

       // Site ContentType Rolloverxs
       siteViewRollover.init();
       //Start Jump Menu
       jumpNav.init(); 
       //Placeholders for non html5
       formPlaceholders.init('#contact form'); 
       //Ajax Form
       formSubmission.init('#contact form'); 
       
       //If Its IPad use the moveNavigation function
       //To handle lack of position fixed support on Ipad
       if($.IPad  === true)  {
         moveNavigation.init();
         moveNavigation.updateNav('#navigation');
          
         window.onorientationchange  = function() {
           moveNavigation.updateNav('#navigation');
        };
        
       }else {
            // Only start the Parrallax style movement
            // as IPAD doesn't like  it / looks wierd
            panelScroller.init();
       }
       
       
       //If soneone hits the site on url/#contact  update nav postion
       if(window.location.hash ) {
            var Hash = window.location.hash;
            $.scrollTo($(Hash), {duration : 1,   offset : -70});
            moveNavigation.updateNav('#navigation');
            jumpNav.pointerUpdate( $('.front .main-menu li a[href^="/'+ Hash +'"]' )  ) ;
 
       }
       

          $(window).bind('scroll', function() {
                scroll = true;   
          });

     
 
       
       $('.panel').bind('inview', function (event, visible) 
        {

            var id  =$(this).attr('id')
            var jumpEle = $('.front .main-menu li a[href^="/#'+ id +'"]' );
                
            if(visible == true && id != 'resources' && $.Jump === false ) {
                jumpNav.pointerUpdate(jumpEle ) ;     
            }else if(visible == true && id == 'resources' && $.Jump === false ) {
                jumpNav.pointerUpdate( $('.front .main-menu li a[href^="/#stats"]' )  ) ;     
            }

         
      
        });
       


       //Nasty open external links in new window
       $("#main a[href^='http://']").live('click', function(e) {
        e.preventDefault();
        e.stopPropagation();
        window.open(this.href, '_blank');
       });
        
     });

})(jQuery);;
  var _gaq = _gaq || [];

  _gaq.push(['_setAccount', 'UA-26205952-1']);

  _gaq.push(['_trackPageview']);



  (function() {

    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';

    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);

  })();;

