var ShowExitPopup = true;



function ExitPage()
{
	if (ShowExitPopup)
		{
		ShowExitPopup = false;
		location.href = "index-discount.html";

		return '*************************************************\nOK, I really think that this guide will help you\n*************************************************\n\nSo I want to offer you a better deal\n\nIf you click the CANCEL button, you will get a discount of $10, thus getting the product for $37 -- that is more than 20% OFF the initial price of $47\n\nYou will get the entire guide for only $37.\n\nI know how it feels trying to pass the driving test and really think that this guide will help you!\n\n*************************************************\nClick the CANCEL button and you will get the guide for only $37\n*************************************************\n';
}
}

var ShowExitPopup = true;



function ExitPage2()
{
	if (ShowExitPopup)
		{
		ShowExitPopup = false;
		location.href = "index-final-discount.html";

		return '*************************************************\nOK, I REALLY think that this guide will help you\n*************************************************\n\nSo I want to offer you the best deal I can give\n\nIf you click the CANCEL button, you will get another discount of $10, thus getting the product for $27 -- that is more than 40% OFF the initial price of $47!\n\nYou will get the entire guide for only $27.\n\nI know how it feels trying to pass the driving test, and I really feel that you will regret not reading this guide on time\n\n*************************************************\nClick the CANCEL button and you will get the guide for only $27\n*************************************************\n';
}
}

function ExitPage3()
{
	if (ShowExitPopup)
		{
		ShowExitPopup = false;
		location.href = "index-installments.html";

		return '*************************************************\nWell, I see that there is something preventing you from getting Pass Your Driving Test\n*************************************************\n\nI know that the economy is not in its best right now, so I want to help you. Click CANCEL to receive an offer that could make your life a little easier with Pass Your Driving Test.\n\nI know how it feels trying to pass the driving test, and I really feel that you will regret not reading this guide on time\n\n*************************************************\nClick the CANCEL button and you will get the guide for only $4.97 right now.\n*************************************************\n';
}
}

function ExitPagec()
{
	if (ShowExitPopup)
		{
		ShowExitPopup = false;
		location.href = "index-discountc2s.html";

		return '*************************************************\nOK, I really think that this guide will help you\n*************************************************\n\nSo I want to offer you a better deal\n\nIf you click the CANCEL button, you will get a discount of $10, thus getting the product for $37 -- that is more than 20% OFF the initial price of $47\n\nYou will get the entire guide for only $37.\n\nI know how it feels trying to pass the driving test and really think that this guide will help you!\n\n*************************************************\nClick the CANCEL button and you will get the guide for only $37\n*************************************************\n';
}
}

var ShowExitPopup = true;



function ExitPagec2()
{
	if (ShowExitPopup)
		{
		ShowExitPopup = false;
		location.href = "index-final-discountc2s.html";

		return '*************************************************\nOK, I REALLY think that this guide will help you\n*************************************************\n\nSo I want to offer you the best deal I can give\n\nIf you click the CANCEL button, you will get another discount of $10, thus getting the product for $27 -- that is more than 40% OFF the initial price of $47!\n\nYou will get the entire guide for only $27.\n\nI know how it feels trying to pass the driving test, and I really feel that you will regret not reading this guide on time\n\n*************************************************\nClick the CANCEL button and you will get the guide for only $27\n*************************************************\n';
}
}

function ExitPagec3()
{
	if (ShowExitPopup)
		{
		ShowExitPopup = false;
		location.href = "index-installmentsc2s.html";

		return '*************************************************\nWell, I see that there is something preventing you from getting Pass Your Driving Test\n*************************************************\n\nI know that the economy is not in its best right now, so I want to help you. Click CANCEL to receive an offer that could make your life a little easier with Pass Your Driving Test.\n\nI know how it feels trying to pass the driving test, and I really feel that you will regret not reading this guide on time\n\n*************************************************\nClick the CANCEL button and you will get the guide for only $27, with a special surprise\n*************************************************\n';
}
}

function showDate() {
a = new Date();
day = a.getDay();
date = a.getDate();
month = a.getMonth();
year = a.getYear();
switch (month) {
case 0:
month = "January";
break;
case 1:
month = "February";
break;
case 2:
month = "March";
break;
case 3:
month = "April";
break;
case 4:
month = "May";
break;
case 5:
month = "June";
break;
case 6:
month = "July";
break;
case 7:
month = "August";
break;
case 8:
month = "September";
break;
case 9:
month = "October";
break;
case 10:
month = "November";
break;
case 11:
month = "December";
break;
}
switch (day) {
case 0:
day = "Sunday";
break;
case 1:
day = "Monday";
break;
case 2:
day = "Tuesday";
break;
case 3:
day = "Wednesday";
break;
case 4:
day = "Thursday";
break;
case 5:
day = "Friday";
break;
case 6:
day = "Saturday";
break;
}
document.write(day + ", " + month + " " + date + ", " + year);
}

function twoDays() {
a = new Date();
b = a.getTime() + 1209600000
a = new Date(b);
day = a.getDay();
date = a.getDate();
month = a.getMonth();
year = a.getYear();
switch (month) {
case 0:
month = "January";
break;
case 1:
month = "February";
break;
case 2:
month = "March";
break;
case 3:
month = "April";
break;
case 4:
month = "May";
break;
case 5:
month = "June";
break;
case 6:
month = "July";
break;
case 7:
month = "August";
break;
case 8:
month = "September";
break;
case 9:
month = "October";
break;
case 10:
month = "November";
break;
case 11:
month = "December";
break;
}
switch (day) {
case 0:
day = "Sunday";
break;
case 1:
day = "Monday";
break;
case 2:
day = "Tuesday";
break;
case 3:
day = "Wednesday";
break;
case 4:
day = "Thursday";
break;
case 5:
day = "Friday";
break;
case 6:
day = "Saturday";
break;
}
document.write(day + ", " + month + " " + date);
}
function showAvailable() {
document.all['showMe'].style.display = 'block';
}
