function reDirect(page){

	//check we got old date

	var fullUrl="";
	//do valid date check here

	//var offset = buildOffSet(myDate);
	var offset = 0; //do i realy need this?
	//alert(offset);
	var splitArray = window.location.href.split('?'); //stop appending
	//alert("page");
	fullUrl = encodeURI(splitArray[0] +'?page=' + page);
	window.location.href= fullUrl;

}
