function slideSwitch() {
var active = $('#slideshow a.active');
if ( active.length == 0 ) active = jQuery('#slideshow a:last');
var next =  active.next().length ? active.next()
	: jQuery('#slideshow a:first');
active.addClass('last-active');
next.css({opacity: 0.0})
	.addClass('active')
	.animate({opacity: 1.0}, 1000, function() {
		active.removeClass('active last-active');
	});
}
jQuery(function() {
    setInterval( "slideSwitch()", 5000 );
});
$(document).ready(function(){
			$.sifr({
				path: 'images_new/',
				save: true
			});
			$('h3.flashTxt1, h3.flashTxt2').sifr({
			font: 'wcs',
			});
	var userAgent = navigator.userAgent.toLowerCase();
	if(userAgent.indexOf('mac') != -1 && userAgent.indexOf('firefox')!=-1) 
	   {
		$("#rightArea .top .left .obj2 .flashTxt1").addClass("flashTxtFF");
	   }
});