$(document).ready(function () {  
					
$(".slidetabs").tabs(".images > div", {
 
	// enable "cross-fading" effect
	effect: 'fade',
	fadeOutSpeed: "slow",
 
	// start from the beginning after the last tab
	rotate: true

}).slideshow({ autoplay:true,interval:3000,autopause:false});
       
 $('ul.navlist li').hover(   
        function () {   
            //show its submenu   
           $('ul', this).slideDown(100);   
  
       },    
        function () {   
           //hide its submenu   
            $('ul', this).slideUp(100);            
        }
    );
    //hidetext
        $(function () {
           
            var n = 1;
            var theID = "";

            theID = "#" + this.id;

            $(".button").click(function () {
                n = parseInt(this.id);
                $("#para" + n).toggle();
                $(".batchpara" + n).toggle();
            } //end inner function
						  ); //end para click
            $(".test").click(function () {
                n = parseInt(this.id);
            } //end inner function
						  ); //end para click
        }); //end initial function 

        $("a.design").click(function () { window.open(this.href); return false; }).attr("King Creation Ltd", "Opens in a new window");		      
});  

