function slideSwitch() {
             var $active = $('#slideshow img.active');
             if ( $active.length == 0 ) $active = $('#slideshow img:last');
             var $next =  $active.next().length ? $active.next() : $('#slideshow img:first');
             $active.addClass('last-active');
             $next.css({opacity: 0.0})
                 .addClass('active')
                 .animate({opacity: 1.0}, 1000, function() {
                     $active.removeClass('active last-active');
               });
         }
         $(function() {
             setInterval( "slideSwitch()", 4000 );
         });
		 
		 
		 
 $(function(){
            $("#demo img[title]").tooltip('#demotip');
            $(".download_now").tooltip({ effect: 'slide',offset: [30,0]
		     });
            // initialize tooltip
            $("#dyna img[title]").tooltip({
               // use single tooltip element for all tips
               tip: '#dynatip', 
               // tweak the position
               offset: [10, 2],
               // use "slide" effect
               effect: 'slide'
            // add dynamic plugin 
            }).dynamic( {
               // customized configuration on bottom edge
               bottom: {
                  // slide downwards
                  direction: 'down',
                  // bounce back when closed
                  bounce: true
               }
            });
         });
    
	
	function OpenWin(){
var win1 = window.open('NewWin','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,width=600,height=700');
}
