     $(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");
						
						$(".mainnav ul > li:last-child").addClass("none");
						
						$(".mainnav ul > li:first-child").addClass("first");

						$(".mainnav ul li ul > li:last-child").addClass("dropdown-bottom");
						
						$(".mainnav ul li ul > li:last-child").removeClass("none");
						
						$(".mainnav ul li ul > li:first-child").removeClass("first");
						$("form .textfield, form .text-area").wrap("<span>");
						
					
						
							
  if($(".banner-img").length > 0)
                            {
                                $(".banner-img").banner();
                            }
				
						
					
						
   
   // UI SELECT MENU SCRIPT STARTS HERE   
$(document).ready(function(){
    $('select#selectClientLang').selectmenu({style:'dropdown'});
});
// UI SELECT MENU SCRIPT ENDS HERE

				
						
						
												
						
   }); 
//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';
   }
 };
