reloadSifr();$(document).ready(function() {			$("#slider").easySlider({continuous:true, nextId : 'next-btn', prevId: 'prev-btn', controlsShow:false });	$('.clicker').bind('click', function() {		$currentActiveId = "#box-" + $('#b2 .active').attr('id');		$('.clicker').removeClass('active');		$(this).addClass('active');		$id = '#box-' + $(this).attr('id');		$($currentActiveId).fadeOut(function() {
			$($id).fadeIn(function() { reloadSifr(); });
		});			$nr = $id.substring($id.length-1);		$currentBox = 0;	});
	$currentBox = 1;
	$(document).everyTime(10000, function() {					if($currentBox > 0)			{	
			$boxActiveId = "#box-show-a" + $currentBox;
			$buttonActiveId = "#show-a" + $currentBox;
			//alert($currentBox);
			if($currentBox<3)
			{				$boxTo="#box-show-a" + ($currentBox+1);				$buttonTo = "#show-a" + ($currentBox+1);				$currentBox++;			}			else if($currentBox==3)			{				$boxTo="#box-show-a1";				$buttonTo = "#show-a1";				$currentBox=1;			}			$('.clicker').removeClass('active');			$($buttonTo).addClass('active');
			$($boxActiveId).fadeOut(function() {
				$($boxTo).fadeIn(function() { reloadSifr(); });
			});	
			}
		
		}, 0);
	
});

function reloadSifr()
{
		var fru = {
		  src: 'sifr/fru8.swf'
		  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
		};
		var myr = {
		  src: 'sifr/myr8.swf'
		  ,ratios: [7, 1.32, 11, 1.31, 13, 1.24, 14, 1.25, 19, 1.23, 27, 1.2, 34, 1.19, 42, 1.18, 47, 1.17, 48, 1.18, 69, 1.17, 74, 1.16, 75, 1.17, 1.16]
		};
		
		sIFR.compatMode = true;
		sIFR.activate(fru, myr);
	  
		sIFR.replace(fru, {
			selector: 'h1',
			wmode: 'transparent',
			css: {
					'.sIFR-root': { 'text-align': 'right', 'color': '#ffffff', 'font-weight': 'bold', 'letter-spacing': -2 }
			}
			  ,filters: {
				DropShadow: {
				  knockout: false
				  ,distance: 1
				  ,color: '#000000'
				  ,strength: 1
				}
			  }
			
		});
		sIFR.replace(myr, {
			selector: 'h2',
			wmode: 'transparent',
			css: {
					'.sIFR-root': { 'text-align': 'right', 'color': '#ffffff', 'leading': -5 }
			}
			  ,filters: {
				DropShadow: {
				  knockout: false
				  ,distance: 1
				  ,color: '#000000'
				  ,strength: 1
				}
			  }
		});	
}
