// JavaScript Document forside tips tips1

this.randomtip1 = function(){
	var length = $("#tips1 li").length; // this is where we put the id of the list
	var ran = Math.floor(Math.random()*length) + 1;
	$("#tips1 li:nth-child(" + ran + ")").show();
};

$(document).ready(function(){	
	randomtip1();
});







// JavaScript Document forside tips tips2

this.randomtip2 = function(){
	var length = $("#tips2 li").length; // this is where we put the id of the list
	var ran = Math.floor(Math.random()*length) + 1;
	$("#tips2 li:nth-child(" + ran + ")").show();
};

$(document).ready(function(){	
	randomtip2();
});

