/*Hover Alert for My-InTouch.com*/


function loadHoverTable(){
	var strLine1 = '<div id="formshell" style="width:375px;"><form name="hoverad" method="post" action="http://formdriver.com/fdtcgi/wc.dll?FDProcess~SaveTokens~InTouch" onsubmit="dateField(document.hoverad.d_today,0);MM_validateForm(/"agnt_fname/",/"/",/"R/",/"First Name:/",/"Recipient/",/"/",/"R/",/"Email:/"); return document.MM_returnValue">';
	var strLine7 = '<input type="hidden" name="Form_Title" value="IBIFund" /><input type="hidden" name="FDFunctions" value="06" /><input type="hidden" name="d_today" value="" size="10" /><input type="hidden" name="ReturnEmail" value="My-InTouch <njon@formdriver.com>" />';
	var strLine8 = '<input type="hidden" name="Subject" value="Subscribed to My-InTouch.com Newsletter" /><input type="hidden" name="strMessage" value="Thank you for visiting us at My-InTouch.com. <br/><br/>We hope you find the information helpful for you to save money on your gasoline or diesel bills.<br/><br/>We promise not to spam you or fill your inbox with worthless e-mails.<br/><br/>You will typically receive our Newsletter on Thursday afternoon or evening every other week.<br/>';
	var strLine9 = '<br/>It will have links to sites that help you to increase your network, managing that network, interesting articles, and deals we will be passing on to you.<br/><br/>We Do That! Technologies is Can-Spam Act of 2003 compliant and will offer you the opportunity to opt-out of our list at the bottom of every e-mail.<br/><br/>Thanks again for joining us and welcome to My-InTouch.com and hopefully we will be able to help you Master networking and managing those contacts.<br/><br/>Please tell your friends about our site!<br/><br/>~nicholas st jon" /><input type="hidden" name="NextPage" value="http://www.My-InTouch.com/ThankyouSub.html" />';
	var strLine2 = '<div class="fbrow"><tt class="fsize12 navy left30">We have some of the best experts in the nation giving tips on how to Network and Manage those contacts.<br />Just one tip could be worth <br /><div align="center"><font size="+1" color="Red">THOUSANDS of dollars</font></div>to your business and bottom line.<br />Many of our experts Charge over $250 an hour, we&#39;ll be bringing them to you Free!<br /><b>Sign up NOW! for our <u><font color="Blue">FREE</font></u> Newsletter </b></tt></div><br />';
	var strLine3 = '<fieldset><legend>Subscribe</legend><div class="fbrow"><tt class="width125right">First Name:</tt><input type="text" name="agnt_fname" class="main reqd" value="" size="20" maxlength="20" onfocus="highlight(event);" onblur="fxEnable();" /></div>';
	var strLine4 = '<div class="fbrow"><tt class="width125right">Last Name:</tt><input type="text" name="agnt_lname" class="main reqd" value="" size="20" maxlength="20" onfocus="highlight(event);" onblur="fxEnable();" /></tt></div>';
	var strLine5 = '<div class="fbrow"><tt class="width125right">E-Mail Address:</tt><input type="text" name="Recipient" class="main reqd" value="" size="20" maxlength="40" onfocus="highlight(event);" onblur="checkEmail(this,true);fxEnable();" /></div></fieldset><br />';
	var strLine6 = '<div class="fbrow submitrow"><br />We hate spam as much as you do.<br /><button type="submit" name="submit" disabled="disabled" onmouseover=style.background="#91C8FF"; onmouseout=style.background="#D4D0C7";>Subscribe</button></div></form>';
	var strFullTable = strLine1 + strLine7 + strLine8 + strLine9 + strLine2 + strLine3 + strLine4 + strLine5 + strLine6;
	setTimeout("dismissbox()",(30000));	
	return strFullTable;
}

document.write('<DIV id="dropin" style="VISIBILITY: hidden; POSITION: absolute; TOP: 125px; HEIGHT: 335px">');
document.write('<table id="tbl" class="tbl" border="0">');
document.write('  <TBODY>');
document.write('  <TR><TD style="CURSOR: hand" vAlign="top" bgColor="#AEDFFF" height="12">');
document.write('      <DIV align="right" valign="top"><b>Networking & Contact Managing Newsletter</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;');
document.write('		<a style="FONT-SIZE: 10px; FONT-FAMILY: verdana" onclick="dismissbox();return false" href="#">[<U>Exit</U>]</A></DIV></TD></TR>');
document.write('  <TR><TD id="dragtext"></TD></TR>');
document.write('  </TBODY>');
document.write('</TABLE>');
document.write('</div>');
document.write('<SCRIPT language=Javascript>');
document.write('strFullTable = loadHoverTable();');
document.write('DropInBox("#FFFF00","Verdana",14,"#000000",strFullTable,"0","0","125","75","#CD0000","solid",3,2,false)');
document.write('</SCRIPT>');

function fxEnable(){
	if(document.hoverad.agnt_fname.value==""){
	 	document.hoverad.submit.disabled=true;
 		return;}
	if(document.hoverad.agnt_lname.value==""){
	 	document.hoverad.submit.disabled=true;
 		return;}
	if(document.hoverad.Recipient.value==""){
	 	document.hoverad.submit.disabled=true;
 		return;}

 	document.hoverad.submit.disabled=false;
}

var ie=document.all
var dom=document.getElementById
var ns4=document.layers
var ns6=document.getElementById&&!document.all
var calunits=document.layers? "" : "px"

var bouncelimit=8 //(number of bounces)
bouncelimit = bouncelimit * 8;
var direction="up"
var lpos


function initbox(){
if (!dom&&!ie&&!ns4) 
return
crossobj=(dom)?document.getElementById("dropin").style : ie? document.all.dropin : document.dropin
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
crossobj.top=scroll_top-250+calunits
crossobj.visibility=(dom||ie)? "visible" : "show"
dropstart=setInterval("dropin()",2)
}

function dropin(){
scroll_top=(ie)? truebody().scrollTop : window.pageYOffset
if (parseInt(crossobj.top)<lpos)
crossobj.top=parseInt(crossobj.top)+25+calunits
else{
clearInterval(dropstart)
bouncestart=setInterval("bouncein()",50)
}
}

function bouncein(){
crossobj.top=parseInt(crossobj.top)-bouncelimit+calunits
if (bouncelimit<0)
bouncelimit+=8
bouncelimit=bouncelimit*-1
if (bouncelimit==0){
clearInterval(bouncestart)
}
}

function dismissbox(){
if (window.bouncestart) clearInterval(bouncestart)
crossobj.visibility=(dom||ie)? "hidden" : "show";
}


function truebody(){
return (document.compatMode!="BackCompat")? document.documentElement : document.body
}
function delay(x)
{
	var d=new Date()
	d=d.getSeconds()+x
	if (d>=60) d=d-60
	while (true)
	{
		var d1=new Date()
		if(d==d1.getSeconds())
			break;
	}	
}


function Delaynew()
{
	if (!ns4)
	{	
		document.getElementById("dropin").style.visibility="visible";
			
	}	
	else
		document.dropin.visibility="show";
	
	return;
}

function DropInBox(main_bgcolor,main_texttype,main_textsize,main_textcolor,textbar,height,width,top,left,bordercolor,borderstyle,borderwidth,sec,showeverytime)
{
	lpos = top
	ans="no"
	var chkshow=false;
	if (!showeverytime) chkshow=Validate_Cookie("My-InTouch");

	if(!chkshow)
	{ 
		if (ns4)
		{
			templayer=document.layers[0]				
			templayer.left=left				
			templayer.top=top
			templayer.width=width
			templayer.height=height
		}
		else if (ns6)
		{
			document.getElementById("tbl").style.border = bordercolor+' '+borderwidth+'px '+borderstyle
			document.getElementById("dragtext").innerHTML=textbar
				
			document.getElementById("dropin").style.height=height +'px'
			document.getElementById("dropin").style.width =width +'px'
			document.getElementById("dropin").style.left =left +'px'
			document.getElementById("dropin").style.top =top +'px'
			document.getElementById("dragtext").style.backgroundColor=main_bgcolor
			document.getElementById("dragtext").style.color = main_textcolor
			document.getElementById("dragtext").style.fontFamily = main_texttype
			document.getElementById("dragtext").style.fontSize = main_textsize+'px'
		}
		else 
		{
			document.getElementById("tbl").style.border = bordercolor+' '+borderwidth+'px '+borderstyle
			document.getElementById("dragtext").innerHTML=textbar
				
			document.getElementById("dropin").style.height=height +'px'
			document.getElementById("dropin").style.width =width +'px'
			document.getElementById("dropin").style.left =left +'px'
			document.getElementById("dropin").style.top =top +'px'
			document.getElementById("dragtext").style.backgroundColor=main_bgcolor
			document.getElementById("dragtext").style.color = main_textcolor
			document.getElementById("dragtext").style.fontFamily = main_texttype
			document.getElementById("dragtext").style.fontSize = main_textsize+'px'
		}
		setTimeout("initbox()",(sec*1000));	
	}

}
