//****** Advanced DHTML Popup Pro Version 2.430.0246.203.021,  Build: 150 ******

// Copyright (c) Digital Flow Software 2006-2007
// The present javascript code is property of Digital Flow Software.
// This code can only be used inside Internet/Intranet web sites located on *web servers*, as the outcome of a licensed Advanced DHTML Popup application only. 
// This code *cannot* be used inside distributable implementations (such as demos, applications or CD-based webs), unless this implementation is licensed with an "Advanced DHTML Popup License for Distributed Applications". 
// Any unauthorized use, reverse-engineering, alteration, transmission, transformation, facsimile, or copying of any means (electronic or not) is strictly prohibited and will be prosecuted.
// ***Removal of the present copyright notice is strictly prohibited***

var df,rf=false,na=navigator.userAgent,dt=document,op=(na.indexOf('Opera')!=-1),dm=(dt.getElementById)?true:false,ie5x=(dt.all&&dm),mci=(na.indexOf('Mac')!=-1);df=((ie5x||op)&&mci);decide();function decide(){if(df){return;}else{rf=true;}}
if(rf){
function initADP(){bdf=0;
// *** Begin advanced user scripting area ***
   htmlstring="<div align=\"center\"><form style=\"margin:0px;\" method=\"post\" action=\"http://www.ttbconnect.com/form.php?form=3\" id=\"frmSS3\" onSubmit=\"return CheckForm3(this);\">  <table border=\"0\" cellpadding=\"2\" cellspacing=\"0\" width=\"474\">    <tr>      <td width=\"116\"><a style=\"BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px\" href=\"http://www.greenlivingtips.com/pages/Tree-planting-program.html\"><img alt=\"Subscribe and we'll plant a tree!\" src=\"http://www.greenlivingtips.com/images/planting-trees.jpg\" border=\"0\" width=\"115\" height=\"60\"></a></td>      <td align=\"center\" width=\"228\"><font face=\"verdana\" size=\"2\" color=\"#608E07\">Green Living Tips free newsletter!<br>        &nbsp;We plant a&nbsp;tree        for each<br>        &nbsp;confirmed subscriber!</font></td>      <td align=\"center\" width=\"112\"><input type=\"text\" name=\"CustomFields[1]\" id=\"CustomFields_1_3\" value=\"first name\" onfocus=\"this.value='';\" class=\"formfield\" size=\"16\"><br><img src=\"http://www.greenlivingtips.com/spacer.gif\" width=\"1\" height=\"1\" border=\"0\"><br><input type=\"text\" name=\"email\" value=\"email address\" onfocus=\"this.value='';\" class=\"formfield\" size=\"16\"><br><img src=\"http://www.greenlivingtips.com/spacer.gif\" width=\"1\" height=\"1\" border=\"0\"><br><input type=\"hidden\" name=\"format\" value=\"h\"><input type=\"submit\" value=\"Submit\"  class=\"formbutton\" /></td>    </tr>    <tr>      <td align=\"center\" colspan=\"3\" bgcolor=\"#608E07\" width=\"468\"><font color=\"#F4FAD6\" face=\"arial\" size=\"2\">We value your subscription and do not spam. The tips newsletter is a free service</font>      </td>    </tr>  </table>  </form>  <div style=\"position:absolute;top:0px;left:0px;\">&nbsp;</div><script defer language=\"javascript\">			function CheckMultiple3(frm, name) {				for (var i=0; i < frm.length; i++)				{					fldObj = frm.elements[i];					fldId = fldObj.id;					if (fldId) {						var fieldnamecheck=fldObj.id.indexOf(name);						if (fieldnamecheck != -1) {							if (fldObj.checked) {								return true;							}						}					}				}				return false;			}		function CheckForm3(f) {			if (f.email.value == \"\") {				alert(\"Please enter your email address.\");				f.email.focus();				return false;			}					var fname = \"CustomFields_1_3\";			var fld = document.getElementById(fname);			if (fld.value == \"\") {				alert(\"Please enter a value for field First name\");				fld.focus();				return false;			}						return true;			};		</script>  </div>"
   new adp("template01",htmlstring,"Earth friendly tips to your inbox!");
   if(isc)return;
   adpFadein('template01');
// *** End advanced user scripting area ***
}
if(window.attachEvent){window.attachEvent('onload', initADP);}else{if(typeof window.onload == 'function'){var preADP = window.onload;window.onload = function(){preADP();initADP();}}else{window.onload = initADP;}}
}
