$(document).ready(function(){ 
	 // Superfish
	 $('ul.sf-menu').superfish({ 
	 		delay:         300,
            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 
     }); 
	 
	 // initialize scrollable together with the autoscroll plugin
	var root = $("#scroller").scrollable({circular: true}).autoscroll(5000, { autoplay: true }, { autopause: true });

	// provide scrollable API for the action buttons
	window.api = root.data("scrollable");
	
	// jQuery Cycle Plugin (Banner Slide)
	$('#banner-slide').cycle({ 
			fx:     'scrollUp', 
			timeout: 6000, 
			delay:  -2000 
		});
	
	// Tultip
	$(".brand_options").tooltip({position:'bottom center'});
	
	// script for Serii accordion	
	$( '#accordion' ).accordion({autoHeight: false});
	
	
	$('.display_pdf div').replaceWith($('div.hidden_pdfs div.active'));
	
	$(".show_pdfs").click(function () {
		$("div.hidden_pdfs div").slideDown();
		$(".show_pdfs").hide();
    });
	
	



}); 
	// Clear input default value onclick
	 function clearText(field) {
		if (field.defaultValue == field.value) field.value = '';
	 }
	 function restoreText(field) {
		if (field.value == '') field.value = field.defaultValue;
	 }
