 
    $(document).ready(function() { 
        $('ul.sf-menu').superfish({ 
            delay:       100,                            // one second delay on mouseout 
            animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
            speed:       'fast',                          // faster animation speed 
            autoArrows:  false,                           // disable generation of arrow mark-up 
            dropShadows: false                            // disable drop shadows 
        }); 
		
						$(".toggle").accordion({li: "a",
						autoHeight: false,
						collapsible: true
						});
						
						$("ul > li:last-child").addClass("none");
						
					
						Cufon.replace('h2' ,{ fontFamily: 'Times-Italic' });
						Cufon.replace('.maintxt a', { fontFamily: 'Times-Italic' });
						if($(".banner-img").length > 0)
{
   $(".banner-img").banner();
    }
					
												
		   }); 
//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';
   }
 };
