 
    $(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 a', { fontFamily: 'Optima' });
						Cufon.replace('.small a', { fontFamily: 'Optima' });
						Cufon.replace('h2', { fontFamily: 'Optima' });
						Cufon.replace('.number', { fontFamily: 'Optima' });
						Cufon.replace('.text', { fontFamily: 'Optima' });
						
						  if($(".banner-img").length > 0)
                            {
                                $(".banner-img").banner();
                            }
						
							$('#maincol .inputbutton').wrap('<div class="inputBTNspan">');
								$('#bottom-content .inputbutton').wrap('<div class="inputBTNspan">');
   }); 



//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';
   }
 };
