 
    $(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('.maintxt,', { fontFamily: 'JaneAusten' });
						Cufon.replace('.text,.number,', { fontFamily: 'nevis' });
						Cufon.replace('h1,h2', { fontFamily: 'Myriad Pro' });
						Cufon.replace('h3', { fontFamily: 'HelveticaNeue LT 55 Roman' });
						
						$('.banner').flash(   {  swf: 'banner.swf', height:314, width:940}   );
						

   }); 

//Following Script is to solve issues of banner in Firefox 3.6 MAC 
 window.onload = forceBrowserEven;
 window.onresize = forceBrowserEven;

function forceBrowserEven(){
 //Detect Firefox less than 3.6 & Mac
   if (navigator.platform.indexOf("Mac")!=-1 && navigator.userAgent.indexOf("Firefox/3.6")!=-1 && document.width % 2 == 1){
    document.getElementsByTagName('html')[0].style.marginLeft = '-1px';
   }
 };
