 
    $(document).ready(function() { 
        $('ul.sf-menu').superfish({ 
            delay:       100,                           
            animation:   {opacity:'show',height:'show'}, 
            speed:       'fast',                        
            autoArrows:  false,                     
            dropShadows: false                           
        }); 
		
						$(".toggle").accordion({li: "a",
						autoHeight: false,
						collapsible: true
						});	
						
						$("ul > li:last-child").addClass("none");

						Cufon.replace('h1', { fontFamily: 'Futura LT Condensed' });	
					
						Cufon.replace('h2', { fontFamily: 'Futura LT Condensed' });
						
						Cufon.replace('.listhead', { fontFamily: 'Futura LT Condensed' });
						
						Cufon.replace('.font', { fontFamily: 'Futura LT Condensed' });
						
						Cufon.replace('.phone-text', { fontFamily: 'Futura LT Condensed' });
						
						$('.banner').flash(   {  swf: 'banner.swf', height:294, width:960  }   );

   }); 
	
	//following script is used to fix firefox 3.6 mac flash issue
	
	window.onload = forceBrowserEven;
	window.onresize = forceBrowserEven;

	function forceBrowserEven(){
	//Detect Firefox less than 3.6
	  if (navigator.userAgent.indexOf("Firefox/3.6")!=-1){
		  		  

		if (document.width % 2 == 1) {
		  document.getElementsByTagName('html')[0].style.marginLeft = '-1px';
		}
	  } else { 
		if (document.width % 2 == 1) {
		  document.getElementsByTagName('html')[0].style.marginLeft = '-1px';
		}
	  }
	};

