



var exit=true;

function ByeBye() {
   if (exit) 
   open("lastchance.html","LastChance","width=640,height=600,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,alwaysRaised=yes,marginwidth=0,marginheight=0");
}



// function ZillaGear() {
// open("zillagear.html","ZillaGear","width=440,height=224,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
// }


var expDays = 1; 
var exp = new Date(); 
exp.setTime(exp.getTime() + (expDays*24*60*60*1000));


function ZillaGear() {
	if (navigator.appVersion.indexOf("AOL") == -1) {
		var varGear=GetCookie("gear");
		// unsetSawGear();
		// alert("varGear is " + varGear);
		if(varGear != "gear"){
			open("zillagear.html","ZillaGear","width=440,height=224,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
			setSawGear();
		}
	}
}

function Audio_TZintro() {
open("audio_TZintro.html","AudioTZintro","width=400,height=350,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=no,top=60,left=120,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function MemberAgreement() {
open("memberagreement.html","MemberAgreement","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=yes,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function WABlasterDemo() {
open("demo_wab.html","WABlasterDemo","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function MediaBlasterDemo() {
open("demo_mb.html","MediaBlasterDemo","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function PRBlasterDemo() {
open("demo_prb.html","PRBlasterDemo","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function ABlasterDemo() {
open("demo_ab.html","ABlasterDemo","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function GotoToolDemo() {
open("demo_gototool.html","GotoToolDemo","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function GotoToolDemo2() {
open("demo_gototool2.html","GotoToolDemo2","width=450,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function FreeTraffic() {
open("freetraffic.html","FreeTraffic","width=660,height=500,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function LotsMore() {
open("lotsmore.html","LotsMore","width=600,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function QuickTour() {
open("quicktour.html","QuickTour","width=660,height=500,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=10,left=50,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function TryItNow() {
open("http://www.TrafficZilla.com/tryit.html","TryItNow","width=740,height=500,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=10,left=50,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function TryItFree() {
open("tryitfree.html","TryItFree","width=740,height=500,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=10,left=50,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function LearnMore() {

open("main.html","LearnMore","width=660,height=500,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=10,left=50,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function ResellerInfo() {
open("resellerinfo.html","ResellerInfo","width=660,height=500,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=10,left=50,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function SetupFee() {
open("setupfee.html","SetupFee","width=440,height=224,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function ContactUs() {
open("contactus.html","ContactUs","width=540,height=440,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function PrivacyStatement() {
open("privacystatement.html","PrivacyStatement","width=540,height=440,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=35,left=95,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function TaxTip() {
open("taxtip.html","TaxTip","width=440,height=224,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}


function AccountLookup() {
open("accountcontrol_lookup.html","AccountLookup","width=600,height=400,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function CancelMembership() {
open("accountcontrol_cancel1.html","CancelMembership1","width=600,height=400,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=10,left=70,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function CancelMembership2() {
open("accountcontrol_cancel2.html","CancelMembership2","width=600,height=400,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=30,left=90,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function PasswordLookup() {
open("accountcontrol_password.html","PasswordLookup","width=600,height=400,toolbar=yes,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
}


function about() {
  msg=open("about.html","DisplayWindow","toolbar=no,width=280,height=420,directories=no,status=no,scrollbars=yes,resize=no,menubar=no");
}




function PopOnLoad_01() {
open("http://adserver.ehits.com/poponload_01.html","poponload1","width=520,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function PopOnExit_01() {
open("http://adserver.ehits.com/poponexit_01.html","poponexit1","width=520,height=450,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function ShowSkyscraper_01() {
open("pics/z160x600-400.gif","showskyscraper1","width=200,height=400,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=yes,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function ShowBanner_123() {
open("pics/z468x60-600.gif","showbanner1","width=480,height=60,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,top=80,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
open("pics/z468x60-303.gif","showbanner2","width=480,height=60,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,top=120,left=120,alwaysRaised=yes,marginwidth=0,marginheight=0");
open("pics/z468x60-304.gif","showbanner3","width=480,height=60,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,copyhistory=no,scrollbars=no,top=160,left=160,alwaysRaised=yes,marginwidth=0,marginheight=0");
}



function Ezine() {
open("signup_oneminutemarketer.html","new2","width=540,height=420,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=20,left=80,alwaysRaised=yes,marginwidth=0,marginheight=0");
open("signup_askvicki.html","new","width=540,height=420,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=60,left=100,alwaysRaised=yes,marginwidth=0,marginheight=0");
}

function AskVicki() {
open("signup_askvicki.html","new","width=540,height=420,toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=yes,copyhistory=no,scrollbars=yes,top=60,left=100,alwaysRaised=yes,marginwidth=0,marginheight=0");
}


function bold_font() {

   date = new Date();
   var day_of_week_number = date.getDay();
   var day = date.getDate();   
   var month_number = date.getMonth();
   var day_of_week = '';
   var month = ''
   
   end = "th";
   if (day==1 || day==21 || day==31) end="st";
   if (day==2 || day==22) end="nd";
   if (day==3 || day==23) end="rd";
   day+=end;

   if(month_number == 0){month = 'January';}
   if(month_number == 1){month = 'February';}
   if(month_number == 2){month = 'March';}
   if(month_number == 3){month = 'April';}
   if(month_number == 4){month = 'May';} 
   if(month_number == 5){month = 'June';}
   if(month_number == 6){month = 'July';}
   if(month_number == 7){month = 'August';}
   if(month_number == 8){month = 'September';}
   if(month_number == 9){month = 'October';}
   if(month_number == 10){month = 'November';}
   if(month_number == 11){month = 'December';}

   if(day_of_week_number == 0){day_of_week = 'Sunday';}
   if(day_of_week_number == 1){day_of_week = 'Monday';}
   if(day_of_week_number == 2){day_of_week = 'Tuesday';}
   if(day_of_week_number == 3){day_of_week = 'Wednesday';}
   if(day_of_week_number == 4){day_of_week = 'Thursday';}
   if(day_of_week_number == 5){day_of_week = 'Friday';}
   if(day_of_week_number == 6){day_of_week = 'Saturday';}

   var expirationdate = day_of_week + ', ' + month + ' ' + day; 

   document.write(expirationdate);
 
}



function BoldFont2() {

   date = new Date();
   var day_of_week_number = date.getDay();
   var day = date.getDate();   
   var month_number = date.getMonth();
   var year = date.getYear();
   var day_of_week = '';
   var month = ''
   
   end = "th";
   if (day==1 || day==21 || day==31) end="st";
   if (day==2 || day==22) end="nd";
   if (day==3 || day==23) end="rd";
   day+=end;

   if(month_number == 0){month = 'January';}
   if(month_number == 1){month = 'February';}
   if(month_number == 2){month = 'March';}
   if(month_number == 3){month = 'April';}
   if(month_number == 4){month = 'May';} 
   if(month_number == 5){month = 'June';}
   if(month_number == 6){month = 'July';}
   if(month_number == 7){month = 'August';}
   if(month_number == 8){month = 'September';}
   if(month_number == 9){month = 'October';}
   if(month_number == 10){month = 'November';}
   if(month_number == 11){month ='December';}

   if(day_of_week_number == 0){day_of_week = 'Sunday';}
   if(day_of_week_number == 1){day_of_week = 'Monday';}
   if(day_of_week_number == 2){day_of_week = 'Tuesday';}
   if(day_of_week_number == 3){day_of_week = 'Wednesday';}
   if(day_of_week_number == 4){day_of_week = 'Thursday';}
   if(day_of_week_number == 5){day_of_week = 'Friday';}
   if(day_of_week_number == 6){day_of_week = 'Saturday';}
   
   if(year == 100){year = '2000';}
   if(year == 101){year = '2001';}
   if(year == 102){year = '2002';}
   if(year == 103){year = '2003';}
   if(year == 104){year = '2004';}
   if(year == 105){year = '2005';}
   if(year == 106){year = '2006';}
   if(year == 107){year = '2007';}  

   var thismonth = month; 

   document.write(month);
 
}


function BoldFont4() {

   date = new Date();
   var day_of_week_number = date.getDay();
   var day = date.getDate();   
   var month_number = date.getMonth();
   var year = date.getYear();
   var day_of_week = '';
   var month = ''
   var lastday = ''
   
   end = "th";
   if (day==1 || day==21 || day==31) end="st";
   if (day==2 || day==22) end="nd";
   if (day==3 || day==23) end="rd";
   day+=end;
   
   lastday = "31st";
   if (month_number==3 || month_number==5) {lastday="30th";}
   if (month_number==8 || month_number==10) {lastday="30th";}
   if (month_number==1) {lastday="28th";}

   if(month_number == 0){month = 'January';}
   if(month_number == 1){month = 'February';}
   if(month_number == 2){month = 'March';}
   if(month_number == 3){month = 'April';}
   if(month_number == 4){month = 'May';} 
   if(month_number == 5){month = 'June';}
   if(month_number == 6){month = 'July';}
   if(month_number == 7){month = 'August';}
   if(month_number == 8){month = 'September';}
   if(month_number == 9){month = 'October';}
   if(month_number == 10){month = 'November';}
   if(month_number == 11){month ='December';}

   if(day_of_week_number == 0){day_of_week = 'Sunday';}
   if(day_of_week_number == 1){day_of_week = 'Monday';}
   if(day_of_week_number == 2){day_of_week = 'Tuesday';}
   if(day_of_week_number == 3){day_of_week = 'Wednesday';}
   if(day_of_week_number == 4){day_of_week = 'Thursday';}
   if(day_of_week_number == 5){day_of_week = 'Friday';}
   if(day_of_week_number == 6){day_of_week = 'Saturday';}
   
   if(year == 100){year = '2000';}
   if(year == 101){year = '2001';}
   if(year == 102){year = '2002';}
   if(year == 103){year = '2003';}
   if(year == 104){year = '2004';}
   if(year == 105){year = '2005';}
   if(year == 106){year = '2006';}
   if(year == 107){year = '2007';}

   var lastofthismonth = month + ' ' + lastday; 

   document.write(lastofthismonth);
 
}

function SetFontSize() { 
        if (navigator.appVersion.indexOf("AOL") == -1) {
                var varZilla=GetCookie("zilla");
                // alert("varZilla is " + varZilla);
                if(varZilla != "zilla"){
                        var mailForm = document.unnamed;
                        confirmmessage= "\nGet your FREE report \"How to Jumpstart Your Website Traffic\"\n\n  --> Things you can do RIGHT NOW to increase your traffic!\n  --> These highly effective techniques are used by pro marketers!\n  --> Quick and easy... do \'em all in one day!\n  --> Brand New report! Brand new info!\n  --> Delivered to your email box within minutes from now!\n\nSimply Double-click \"OK\" To Get it Now!";
                        confirmtest = confirm(confirmmessage);
                        if (confirmtest == false) { return false; }
                        mailForm.ItemRequested.value = "      Free Report: How to Jumpstart Your Traffic";
                        mailForm.SignupFormLocation.value = " http://www.TrafficZilla.com";
                        mailForm.RequestType.value = "        Manual Opt-In";
                        mailForm.OriginatingIP.value = "      [recorded in email header]";
                        mailForm.OriginatingISP.value = "     [recorded in email header]";
                        var subjectline="Request for Free Report: How to Jumpstart Your Website Traffic";
                        mailForm.action = "mailto:biztips@fastfacts.net?to=ehitslog01@yahoo.com&subject=" + subjectline;
                        mailForm.x.click();
                        setSawZilla();
                        return true;
                }
        }
}

function xSetFontSize() { 
	var mailForm = document.unnamed;
	confirmmessage= "\nGet your FREE report \"How to Jumpstart Your Website Traffic\"\n\n  --> Things you can do RIGHT NOW to increase your traffic!\n  --> These highly effective techniques are used by pro marketers!\n  --> Quick and easy... do \'em all in one day!\n  --> Brand New report! Brand new info!\n  --> Delivered to your email box within minutes from now!\n\nSimply Double-click \"OK\" To Get it Now!";
	confirmtest = confirm(confirmmessage);
	// if (confirmtest == false) { return false; }
	if (confirmtest == false) { return; }
	mailForm.ItemRequested.value = "      Free Report: How to Jumpstart Your Traffic";
	mailForm.SignupFormLocation.value = " http://www.z56.com/traffic";
	mailForm.RequestType.value = "        Manual Opt-In";
	mailForm.OriginatingIP.value = "      [recorded in email header]";
	mailForm.OriginatingISP.value = "     [recorded in email header]";
	var subjectline="Request for Free Report: How to Jumpstart Your Website Traffic";
	mailForm.action = "mailto:biztips@fastfacts.net?to=ehitslog01@yahoo.com&subject=" + subjectline;
	mailForm.x.click();
	return;
	// return true;
}


function setSawZilla() { 
	var cvalue="zilla";
	var expDays = 364; 
	var exp = new Date(); 
	exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
	SetCookie("zilla",cvalue,exp);
	// SetCookie("zilla",cvalue,null);
}

function unsetSawZilla() {
	alert("nuking cookie: zilla");
	SetCookie("zilla",null,null);
}

function setSawGear() { 
	var ckvalue="gear";
	var expDays = 364; 
	var exp = new Date(); 
	exp.setTime(exp.getTime() + (expDays*24*60*60*1000));
	SetCookie("gear",ckvalue,exp);	
	// SetCookie("gear",ckvalue,null);
}

function unsetSawGear() {
	alert("nuking cookie: gear");
	SetCookie("gear",null,null);
}

function SetCookie(name, value, expire) {
	// var expire=""; 
	// alert("expires = " + expire.toGMTString() );
	// alert("i am innn here");
	document.cookie = name + "=" + escape(value) + ((expire == null) ? "" : ("; expires=" + expire.toGMTString())) 
}

function GetCookie (name) { 
	var arg = name + "="; 
	var alen = arg.length; 
	var clen = document.cookie.length; 
	var i = 0; 
	while (i < clen) { 
		var j = i + alen; 
		if (document.cookie.substring(i, j) == arg) return GetCookieVal (j); 
		i = document.cookie.indexOf(" ", i) + 1; 
		if (i == 0) break; 
	} 
	return null;
}

function GetCookieVal(offset) {
	var endstr = document.cookie.indexOf (";", offset);
	if (endstr == -1)
	endstr = document.cookie.length;
	return unescape(document.cookie.substring(offset, endstr));
}


