function rangeRandom( num1,num2 )
{
	if( (num1 - num2) > 0 )
	{
		var big = num1
		var small = num2
	}else{
		var big = num2
		var small = num1
	}
	var range = big - small + 1
	var number = Math.floor( Math.random()*range ) + small
	return( number )
}

todayLink = new Array()
todayLink[0] = "home.html"
todayLink[1] = "home.html"
todayLink[2] = "home.html"
todayLink[3] = "home.html"
todayLink[4] = "home.html"
todayLink[5] = "home.html"
todayLink[6] = "home.html"
todayLink[7] = "home.html"
todayLink[8] = "home.html"
todayLink[9] = "home.html"
todayLink[10] = "home.html"
todayLink[11] = "home.html"
todayLink[12] = "home.html"
todayLink[13] = "home.html"
todayLink[14] = "home.html"
todayLink[15] = "home.html"
todayLink[16] = "home.html"
todayLink[17] = "home.html"
todayLink[18] = "home.html"
todayLink[19] = "home.html"
todayLink[20] = "home.html"
todayLink[21] = "home.html"
todayLink[22] = "home.html"
todayLink[23] = "home.html"
todayLink[24] = "home.html"
todayLink[25] = "home.html"
todayLink[26] = "home.html"
todayLink[27] = "home.html"
todayLink[28] = "home.html"
todayLink[29] = "home.html"
todayLink[30] = "home.html"
todayLink[31] = "home.html"
todayLink[32] = "home.html"
todayLink[33] = "home.html"
todayLink[34] = "home.html"
todayLink[35] = "home.html"
todayLink[36] = "home.html"
todayLink[37] = "home.html"
todayLink[38] = "home.html"
todayLink[39] = "home.html"
todayLink[40] = "home.html"
todayLink[41] = "home.html"
todayLink[42] = "home.html"
todayLink[43] = "home.html"
todayLink[44] = "home.html"
todayLink[45] = "home.html"
todayLink[46] = "home.html"
todayLink[47] = "another/home.html"
todayLink[48] = "another/home.html"
todayLink[49] = "another/simple.htm"


function rangeRandom( b1,b2 )
{
	if( (b1 - b2) > 0 )
	{
		var big = b1
		var small = b2
	} else	{
		var big = b2
		var small = b1
	}
	var range = big - small + 1
	var number = Math.floor( Math.random()*range ) + small
	return( number )
}

function jumpPage()
{
	var num = rangeRandom( 1,20 )
	if( num == 1 ){
		document.location = "home.html"
	} else if( num == 2 ){
		document.location = "home.html"
	} else if( num == 3 ){
		document.location = "home.html"
	} else if( num == 4 ){
		document.location = "home.html"
	} else if( num == 5 ){
		document.location = "home.html"
	} else if( num == 6 ){
		document.location = "home.html"
	} else if( num == 7 ){
		document.location = "home.html"
	} else if( num == 8 ){
		document.location = "home.html"
	} else if( num == 9 ){
		document.location = "home.html"
	} else if( num == 10 ){
		document.location = "home.html"
	} else if( num == 11 ){
		document.location = "home.html"
	} else if( num == 12 ){
		document.location = "home.html"
	} else if( num == 13 ){
		document.location = "home.html"
	} else if( num == 14 ){
		document.location = "home.html"
	} else if( num == 15 ){
		document.location = "home.html"
	} else if( num == 16 ){
		document.location = "home.html"
	} else if( num == 17 ){
		document.location = "home.html"
	} else if( num == 18 ){
		document.location = "home.html"
	} else if( num == 19 ){
		document.location = "home.html"
	} else if( num == 20 ){
		document.location = "another/home.html"
	}
}

