// PNG replacement for IE6

    $(document).ready(function(){ 
        $(document).pngFix(); 
    });

// Cufon actions

	Cufon.replace('h1, h2, h3', { hover: 'true'});


// Initialise sf menu

    $(document).ready(function(){ 
        $("ul.sf-menu").superfish({ 
            animation: {height:'show'},   // slide-down effect without fade-in 
            delay:     1200               // 1.2 second delay on mouseout 
        }); 
    }); 


		$(document).ready(function() {
			/*
			*   Examples - images
			*/

			$("a#popup").fancybox({
				'titlePosition'	: 'inside'
			});

		});

// Analytics

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-2312203-29']);
  _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);
  })();

