﻿jQuery(function($) {
	
		
	// Random tip on home page
	
	function initTips() {
		var tips = $('.tips li');
		if (tips.length > 0) {
			var tipIndex = Math.ceil(Math.random() * 50000) % tips.length;
			tips.removeClass('active').eq(tipIndex).addClass('active');
		}
	};
	
	initTips();
	
	
});
