function noPage(city,country)
{
myDate = new Date;
day = myDate.getDate();
dayplus = (day + 1);
month = (myDate.getMonth() + 1);
monthplus = month;
yr = myDate.getYear(); // Gets today's year.

if (((yr % 4 == 0) && (yr % 100 != 0)) || (yr % 400 == 0))
			{febleap = 1;}
			// Leap Year is True.
			
		else
			{febleap = 0;}
			// Leap Year is False.
			
		if ((month == 0) || (month == 2) || (month == 4) ||(month == 6) || (month == 7) || (month == 9) || (month == 10))
		// January, March, May, July, August, October, December : 31 days
			{monthdif = 31}

		else if ((month == 1) && (febleap == 0))
		
		// Normal February : 28 days.
			{monthdif = 28}

		else if ((month == 1) && (febleap == 1))
		
		// Leap February : 29 days.
			{monthdif = 29}

		else
		// All other months : 30 days.
			{monthdif = 30}		

if (dayplus > monthdif) { dayplus = 1; monthplus += 1}
if (month == 12) {monthplus = 1;}

var url = "http://reservations.hotels-made-simple.com/nexres/search/power_results.cgi?src=10004868&header=mybrand&footer=mybrand&country=" +country+ "&city=" +city+ "&doa_dd=" +day+ "&dod_dd=" +dayplus+ "&doa_mm=" +month+ "&dod_mm=" +monthplus+ "&lang=ENG&view=BASIC";

document.location.href(url);

}









function noPageUsa(city,state)
{
myDate = new Date;
day = myDate.getDate();
dayplus = (day + 1);
month = (myDate.getMonth() + 1);
monthplus = month;
yr = myDate.getYear(); // Gets today's year.

if (((yr % 4 == 0) && (yr % 100 != 0)) || (yr % 400 == 0))
			{febleap = 1;}
			// Leap Year is True.
			
		else
			{febleap = 0;}
			// Leap Year is False.
			
		if ((month == 0) || (month == 2) || (month == 4) ||(month == 6) || (month == 7) || (month == 9) || (month == 10))
		// January, March, May, July, August, October, December : 31 days
			{monthdif = 31}

		else if ((month == 1) && (febleap == 0))
		
		// Normal February : 28 days.
			{monthdif = 28}

		else if ((month == 1) && (febleap == 1))
		
		// Leap February : 29 days.
			{monthdif = 29}

		else
		// All other months : 30 days.
			{monthdif = 30}		

if (dayplus > monthdif) { dayplus = 1; monthplus += 1}
if (month == 12) {monthplus = 1;}

var url = "http://reservations.hotels-made-simple.com/nexres/search/power_results.cgi?src=10004868&header=mybrand&footer=mybrand&country=US&state=" +state+ "&city=" +city+ "&doa_dd=" +day+ "&dod_dd=" +dayplus+ "&doa_mm=" +month+ "&dod_mm=" +monthplus+ "&lang=ENG&view=BASIC";

document.location.href(url);

}