

		


		
		
		
	
	
	
		
		
	


			function sIFR() {
		var fdetect = deconcept.SWFObjectUtil.getPlayerVersion();
		if (fdetect['major'] != 0) {
			$.sifr({
				path: '/images/skin/',
				save: true
			});
			$('.dosifr').sifr({ font: 'skinv1-font1', color: '#58A01F', fontSize:'24px' });
		}
	}	
	
	jQuery().ready(function() {

		$('#sortable tr:odd, .sortable tr:odd').addClass('odd');
		$('#sortable tr:even, .sortable tr:even').addClass('even');

		richhtmlticker.define({
			id: "twhtmlticker", 
			msgclass: "messagediv", 
			msgsource: "inline", 
			rotatespeed: 8000, 
			animateduration: 1000 
		});

		$.ajaxSetup ({ cache: false });

		$("#events a,.calevent").click(function(event) {
			event.preventDefault();

			$.fancybox({
				'href'					: $(this).attr("href") + "?ajax=yes",
				'hideOnContentClick'	: false,
				'width'					: 500,
				'height'				: Math.min($(window).height()-100, 400),
				'autoDimensions'		: false,
				'overlayShow'			: false,
				'zoomSpeedIn'			: 600,
				'zoomSpeedOut'			: 500,
				'easingIn'				: 'easeOutBack',
				'easingOut'				: 'easeInBack'
			});
		});
			

		$('img#mainpic').load(function(){ $('.mainpicInfo').removeClass('portfolioLoader'); }); 

		$("img").pngfix();		

	});

	

	

