/**********************

	ExPop 1.0.1
	On-Page Exit Popup Controller
	(c) Copyright 2007-8 Gecko Tribe, LLC
	All Rights Reserved
	by Antone Roundy

	*** THIS IS NOT FREE SOFTWARE ***

	Unauthorized copying and creating
	derivative code based on parts of this
	code are forbidden by copyright law.
	If you're going to use this script or
	any part of it, please do so legally
	and honestly by buying a copy at:

	http://www.geckotribe.com/expop/

	Resale of this script or derivative
	code is prohibited unless resale rights
	have been purchased from the copyright
	owner.  (Resale rights may not be
	available for purchase at this time).

	Thank you.  Your honesty makes it possible
	for me to take time from other work to
	create and support scripts like this.

**********************/


var output = "<style>\n"+
"body { position:relative; }\n"+
"#pop {\n"+
"	top:30px;\n"+
"	width:500px;\n"+
"/*	margin-left:-250px; */\n"+
"	margin-left:-315px;\n"+
"	left:50%;\n"+
"	display:none;\n"+
"	position:fixed;\n"+
"	z-index:100000;\n"+
"	color: black;\n"+
"}\n"+
"#pop a {\n"+
"	color: black;\n"+
"}\n"+
"#popstyle {\n"+
"/*	background-color:#fff;\n"+
"	border:5px solid #79b;\n"+
"	padding:10px 15px;\n"+
"	text-align:center;\n"+
"*/\n"+
"}\n"+
"#popdim {\n"+
"/*	background-color:#3c4043; */\n"+
"	background-color:#bbbbbb;\n"+
"	opacity: 0.8;\n"+
"	filter:alpha(opacity=80);\n"+
"	position:fixed;\n"+
"	left:0;\n"+
"	top:0;\n"+
"	width:100%;\n"+
"	height:100%;\n"+
"	display:none;\n"+
"	z-index:99999;\n"+
"}\n"+
"\n"+
"</style>";

document.write(output);

var t = '';
var urlquery = location.search.split('t=');
if(urlquery[1] != null){
  urlquery=urlquery[1].split('&');
  t = urlquery[0];
}

var html = "\n"+
"<!-- BEGIN: EXIT POP FORM -->\n"+
"<div id=\"popdim\"></div> \n"+
"<div id=\"pop\">\n"+
"<table class=\"formcode\"  border=\"0\" bgcolor='#FFFFFF' cellpadding='10' width=700 align=center style=\"border:5px solid #79b;\"><tr><td>\n"+
"<table  border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\">\n"+
"          <tr><td width=\"185\" valign=\"top\"><p><img src=\"http://AttractWealthAtHome.com/zmasterT/images/stop.jpg\" alt=\"STOP\" width=\"173\" height=\"150\" /><br />\n"+
"          </p>\n"+
"            <p align=\"center\"><b><img border=\"0\" src=\"http://AttractWealthAtHome.com/zmasterT/images/appinsideout.jpg\" width=\"155\" height=\"145\" align=\"right\" hspace=\"5\" /><br />\n"+
"              <font size='+1' color='#CC0000'><b class=\"atranslate\">Don&rsquo;t miss this!</b></font></b></p></td>\n"+
"            <td width=\"15\">&nbsp;</td>\n"+
"            <td valign=\"top\">\n"+
"            <!-- <span class=\"style211 atranslate\"><img src=\"http://AttractWealthAtHome.com/zmasterT/images/Jay Kubassek and Aaron Parkinson.jpg\" width=\"150\" hspace=\"4\" align=\"left\" /></span> -->\n"+
"            <span class=\"atranslate\"><b>It's okay...</b> you <font size='+1' color='#CC0000'><b>should continue to exit the page...</b></font> but only if you do NOT want to find out <b>how to  solve</b> the &ldquo;top 3 barriers&rdquo; every Entrepreneur faces in the 21st Century&hellip;</span><br />\n"+
"            <br />\n"+
"              <span class=\"atranslate\">We are really only looking for people that follow through... but even if you don't, today we are going to give you a special chance to <font size='+1' color='#CC0000'><b>receive FREE</b></font> <b>&ldquo;INSIDEOUT II&rdquo; DVD</b><b> &amp; Workbook ($49 value)</b> just for checking us out... there is no risk.</span><br /><br />\n"+
"              <span class=\"atranslate\">INSIDE you will discover:</span>\n"+
"              <ul class=\"atranslate\">\n"+
"                <li><b>Marketing</b>: How to get an unlimited number of qualified prospects begging to work with you and buy your product.</li>\n"+
"                <li style=\"padding-top:6px\"><b>Mindset</b>: How becoming a Millionaire starts on the inside.</li>\n"+
"                <li style=\"padding-top:6px\"><b>Mission</b>: Who are you, where are you going, and why should anyone follow you?</li>\n"+
"              </ul>              </td>\n"+
"        </tr>\n"+
"</table>\n"+
"<center>\n"+
"\n"+
"<!--BEGIN FORM CODE -->\n"+
"<form method=\"post\" action=\"http://www.aweber.com/scripts/addlead.pl\">\n"+
"<input type=\"hidden\" name=\"unit\" value=\"tamccleads\">\n"+
"<input type=\"hidden\" name=\"custom Url\" value=\"AttractWealthAtHome.com\"> \n"+
"<input type=\"hidden\" name=\"custom thankyou\" value=\"\">\n"+
"<input type=\"hidden\" name=\"redirect\" value=\"http://AttractWealthAtHome.com/redirect.php\">\n"+
"<input type=\"hidden\" name=\"meta_redirect_onlist\" value=\"http://AttractWealthAtHome.com/redirect.php\">\n"+
"<INPUT TYPE=\"hidden\" name=\"meta_adtracking\" value=\"#T#\">\n"+
"<INPUT TYPE=\"hidden\" name=\"custom t\" value=\"#T#`\">\n"+
"<INPUT TYPE=\"hidden\" name=\"custom tracking\" value=\"?t=#T#\">\n"+
"<input type=\"hidden\" name=\"custom member_id\" value=\"16065\">\n"+
"<input type=\"hidden\" name=\"custom landingpage\" value=\"Custom\">\n"+
"<input type=\"hidden\" name=\"meta_message\" value=\"1\">\n"+
"<input type=\"hidden\" name=\"meta_required\" value=\"name,from\">\n"+
"<input type=\"hidden\" name=\"meta_forward_vars\" value=\"1\">\n"+
"<table align=center>\n"+
"<tr><td align=right><font color=\"green\"><b>First Name:</b></font></td><td>\n"+
"<input type=\"text\" name=\"name\" value=\"\" size=\"20\"></td></tr>\n"+
"<tr><td align=right><font color=\"green\"><b>Email:</b></font></td><td>\n"+
"<input type=\"text\" name=\"from\" value=\"\" size=\"20\"></td></tr>\n"+
"<tr><td align=right><font color=\"green\"><b>Phone</b> (optional):</font></td><td>\n"+
"<input type=\"text\" name=\"phone\" value=\"\" size=\"20\"></td></tr>\n"+
"<tr><td align=\"center\" colspan=\"2\"><input type=\"submit\" name=\"submit\" value=\"Submit\"></td></tr>\n"+
"</table>\n"+
"</form>\n"+
"<!--END FORM CODE -->\n"+
"\n"+
"<p><a href=\"javascript:exPopUnPop();\" class=\"atranslate\">Close Message</a> </p>\n"+
"</center>\n"+
"</td></tr></table>\n"+
"</div> \n"+
"<!-- END: EXIT POP FORM -->\n"+
"";

html = html.replace(/#T#/g, t);

document.write(html);
