// PNG replacement for IE6

    $(document).ready(function(){ 
        $(document).pngFix(); 
    });

function getWinsize()
{
	var _obj = new Object();
	if( typeof( window.innerWidth ) == "number" ) 
	{
	//Non-IE
		_obj.w = window.innerWidth;
		_obj.h = window.innerHeight;
	}         
	else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) 
	{
    //IE 6+ in 'standards compliant mode'
		_obj.w = document.documentElement.clientWidth;
		_obj.h = document.documentElement.clientHeight;        
	} 
	else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) 
	{
    //IE 4 compatible
        _obj.w = document.body.clientWidth;
        _obj.h = document.body.clientHeight;
	}
	return _obj;
}

// Cufon actions

        Cufon.replace('#menu, .phone, h1, h2, h3, #footer, #privacy h3', { hover: 'true'});


// Initialise sf menu

		jQuery(function(){
			jQuery('ul.sf-menu').superfish();
		});
