function rvalidate()
{
if ( document.frm1.fldEmail.value == '' )
{
	document.frm1.fldEmail.focus();
	alert('Please enter appropriate value for Email');
	return false;
};

if ( document.frm1.fldFName.value == '' )
{
	document.frm1.fldFName.focus();
	alert('Please enter appropriate value for First_Name');
	return false;
};

if ( document.frm1.fldLName.value == '' )
{
	document.frm1.fldLName.focus();
	alert('Please enter appropriate value for Last_Name');
	return false;
};

     document.frm1.submit();
};



function dounique() { var date = new Date() ; return date.getTime() ; }
var tracker_refresh = 10000 ; // 1000 = 1 second
var do_tracker_flag_1 = 1 ;
var start_tracker = dounique() ;
var time_elapsed ;
var refer = escape( document.referrer ) ;
var phplive_base_url = 'https://www.legal-forms-kit.com/phplive' ;
var initiate = chat_opened = 0 ;
var pullimage_1_1 = new Image ;
var date = new Date() ;
var unique = dounique() ;
var url = escape( location.toString() ) ;
var phplive_image_1_1 = "https://www.legal-forms-kit.com/phplive/image.php?l=minnie&x=1&deptid=1&page="+url+"&unique="+unique+"&refer="+refer+"&text=" ;
var lnk_url =  "<a class='atx' href='download/index.php'><font color='#ffffff' size='2' face='Tahoma'><b>&nbsp;LOGIN</b></font></a>";
//var status_image_1_1 = "<a href='JavaScript:void(0)' onMouseOver='window.status=\"Click for Live Support\"; return true;' onMouseOut='window.status=\"\"; return true;' OnClick='launch_support_1_1()'><img src="+phplive_image_1_1+" border=0 hspace=0 vspace=0 align=bottom></a>" ;
//var status_image_1_1 = "<!-- BEGIN ProvideSupport.com Custom Images Chat Button Code --> <div id='cirOfN' style='z-index:100;position:absolute'></div><div id='scrOfN' style='display:inline'> </div><div id='sdrOfN' style='display:none'></div><script type='text/javascript'>var serOfN=document.createElement('script');serOfN.type='text/javascript';serOfN.defer=true;serOfN.src=(location.protocol.indexOf('https')==0?'https://secure.providesupport.com/image':'http://image.providesupport.com')+'/js/virendermd/safe-standard.js?ps_h=rOfN\u0026ps_t='+new Date().getTime()+'\u0026online-image=https%3A//secure.providesupport.com/image/image/javarealm/online-491017792.gif\u0026offline-image=http%3A//www.legal-forms-kit.com/images/topbut_livechat_off.gif';document.getElementById('sdrOfN').appendChild(serOfN)</script><noscript><div style='display:inline'><a href='http://www.providesupport.com?messenger=virendermd'>Live Support</a></div></noscript><!-- END ProvideSupport.com Custom Images Chat Button Code -->"
if ( typeof(suserid)  != "undefined" ) 
 			if ( suserid != "" )  lnk_url =  "<a class='atx' href='/index.html'><font color='#ffffff' size='2' face='Tahoma'><b>&nbsp;LOGOUT</b></font></a>";



document.write("<table width='89%' height='39' border='0' cellpadding='0' cellspacing='0'>");
document.write("<tr>");
document.write("<td valign='center'><FONT color=#ffcc00 face=Tahoma size=2>Industry Leader in 'Download &amp; Edit' Legal &amp; Business Forms</FONT></td>");
document.write("<td valign='center'><div align='right'><font color='white' size='2' face='Tahoma'>&nbsp;Legal-Forms-Kit.com</font></div></td>");
document.write("</tr>");
document.write("<tr>");
document.write("<td width='80%' valign='center' colspan=2><div style=float:left;> <a class='atx' href='http://www.legal-forms-kit.com/'>Home</a>");
document.write("<font color='#FFFFFF'><strong> | </strong></font>");
document.write("<a class='atx' href='http://www.legal-forms-kit.com/aboutus.html'>About Us</a>");
document.write("<font color='#FFFFFF'><strong> | </strong></font>");
document.write("<a class='atx' href='http://www.legal-forms-kit.com/freelegalforms.html'>Free Legal Forms</a>");
document.write("<font color='#FFFFFF'><strong> | </strong></font>");
document.write("<a class='atx' href='http://www.legal-forms-kit.com/listofforms.php'>List of Forms</a>");
document.write("<font color='#FFFFFF'><strong> | </strong></font>");
document.write("<a class='atx' href='http://www.legal-forms-kit.com/faq.html'>FAQs</a>");
document.write("<font color='#FFFFFF'><strong> | </strong></font>");
document.write("<a class='atx' href='http://www.legal-forms-kit.com/testimonials.html'>Testimonials</a>");
document.write("<font color='#FFFFFF'><strong> | </strong></font>");
document.write("<strong><a class='atx' href='http://www.legal-forms-kit.com/order.html'><font color='yellow' size='2' face='Tahoma'>ORDER NOW</font></a></strong></div>");


document.write("<div style=float:right>" + lnk_url + "&nbsp;<div id='cirOfN' style='z-index:100;position:absolute'></div> <div id='scrOfN' style='display:inline'> </div> <div id='sdrOfN' style='display:none'></div></b></font></div></td>");


document.write("</tr>");
document.write("</table>");










/********************************************/
/********** survey settings: begin **********/
var scriptpad = "" ;
var ns=(document.layers);
var ie=(document.all);
var w3=(document.getElementById && !ie);
// var surveyInitialized is used so it opens again on SAME page session without reload
var surveyInitialized = survey_opened = 0 ;

//var serOfN=document.createElement('script');serOfN.type='text/javascript';serOfN.defer=true;serOfN.src=(location.protocol.indexOf('https')==0?'https://secure.providesupport.com/image':'https://image.providesupport.com')+'/js/virendermd/safe-standard.js?ps_h=rOfN\u0026ps_t='+new Date().getTime()+'\u0026online-image=https%3A//secure.providesupport.com/image/image/javarealm/online-491017792.gif\u0026offline-image=https%3A//www.legal-forms-kit.com/images/topbut_livechat_off.gif';document.getElementById('sdrOfN').appendChild(serOfN);


/********************************************/
/***** proactive image settings: begin ******/
var ProactiveDiv ;
var browser_width ;
var backtrack = 0 ;
var isclosed = 0 ;
var repeat = 1 ;
var timer = 20 ;
var halt = 0 ;

// write external style here.. it won't work if we put it directly in the DIV
style = "<style type=\"text/css\">" ;
style += "<!--" ;
style += "#ProactiveSupport_1_1 {visibility:hidden; position:absolute; height:1; width:1; top:0; left:0;}" ;
style += "-->" ;
style += "</style>" ;
document.write( style ) ;
if (ie||w3)
	browser_width = document.body.offsetWidth ;
else
	browser_width = window.outerWidth ;

function toggleMotion( flag )
{
	if ( flag )
		halt = 1 ;
	else
		halt = 0 ;
}

function initializeProactive(){

	if(!ns && !ie && !w3) return ;
	if(ie)		ProactiveDiv = eval('document.all.ProactiveSupport_1_1.style') ;
	else if(ns)	ProactiveDiv = eval('document.layers["ProactiveSupport_1_1"]') ;
	else if(w3)	ProactiveDiv = eval('document.getElementById("ProactiveSupport_1_1").style') ;

	if (ie||w3)
		ProactiveDiv.visibility = "visible" ;
	else
		ProactiveDiv.visibility = "show" ;

	backtrack = 0 ;
	isclosed = 0 ;
	repeat = 1 ;
	moveIt(20) ;
}

function moveIt( h )
{
	if (ie)
		documentHeight = document.body.offsetHeight/2+document.body.scrollTop-20 ;	
	else if (ns)
		documentHeight = window.innerHeight/2+window.pageYOffset-20 ;
	else if (w3)
		documentHeight = self.innerHeight/2+window.pageYOffset-20 ;
	ProactiveDiv.top = documentHeight-200 ;

	ProactiveDiv.left = h ;
	if ( h > ( browser_width - 350 ) )
		backtrack = 1 ;

	if ( backtrack && repeat && !halt )
		h -= 2 ;
	else if ( !backtrack && repeat && !halt )
		h += 2 ;

	if ( halt )
	{
		setTimeout("moveIt("+h+")",timer) ;
	}
	else if ( ( !backtrack || ( backtrack && ( h >= 20 ) ) ) && ( ( ProactiveDiv.visibility == "visible" ) || ( ProactiveDiv.visibility == "show" ) ) && repeat && !isclosed )
		setTimeout("moveIt("+h+")",timer) ;
	else if ( !isclosed )
	{
		backtrack = 0 ;
		repeat = 0 ;
		setTimeout("moveIt("+h+")",timer) ;
	}
	else
	{
		// incase it is closed during when it's off the page, set the position
		// back to the page so the horizontal scrollbars disappear (IE only)
		ProactiveDiv.left = h ;
	}
}

function DoClose(){
	if (ie||w3)
		ProactiveDiv.visibility = "hidden" ;
	else
		ProactiveDiv.visibility = "hide" ;
	isclosed = 1 ;
	halt = 0 ;
}

/********************************************/
/********************************************/



function initSurvey()
{
	if(!ns && !ie && !w3) return;
	if(ie && !surveyInitialized)
	{
		suDiv=eval('document.all.surveyDiv.style');
		document.all.surveyDiv.innerHTML = phplive_survey_string ;
		surveyInitialized = 1 ;
	}
	else if(ns && !surveyInitialized)
	{
		suDiv=eval('document.layers["surveyDiv"]');
		document.layers["surveyDiv"].document.open() ;
		document.layers["surveyDiv"].document.write( phplive_survey_string ) ;
		document.layers["surveyDiv"].document.close() ;
		surveyInitialized = 1 ;
	}
	else if(w3 && !surveyInitialized)
	{
		suDiv=eval('document.getElementById("surveyDiv").style');
		document.getElementById('surveyDiv').innerHTML = phplive_survey_string ;
		surveyInitialized = 1 ;
	}
	if (ie||w3) { suDiv.visibility="visible"; }
	else { suDiv.visibility ="show"; }
	showSurvey() ;
}

function showSurvey()
{
	if (ie){documentWidth  =document.body.offsetWidth/2+document.body.scrollLeft-20;
	documentHeight =document.body.offsetHeight/2+document.body.scrollTop-20;}	
	else if (ns){documentWidth=window.innerWidth/2+window.pageXOffset-20;
	documentHeight=window.innerHeight/2+window.pageYOffset-20;} 
	else if (w3){documentWidth=self.innerWidth/2+window.pageXOffset-20;
	documentHeight=self.innerHeight/2+window.pageYOffset-20;} 
	suDiv.left=documentWidth-200;suDiv.top =documentHeight-200;
	setTimeout( "showSurvey()",100 );
}

function closeSurvey( surveyid, shutdown )
{
	if (ie||w3) { suDiv.visibility="hidden"; }
	else {suDiv.visibility ="hide"; }
	if ( shutdown )
	{
		var close_survey_image = new Image ;
		close_survey_image.src = "/phplive/pull/survey.php?action=reject&aspid=1&surveyid="+surveyid ;
	}
	survey_opened = 0 ;
}

function PHPLiveSubmitSurvey(form) {
	newwin = window.open( "/phplive/web/index.php", "newwin", 'scrollbars=no,menubar=no,resizable=0,location=no,screenX=50,screenY=100,width=450,height=350' ) ;
	closeSurvey(0, 0);
	form.target = "newwin" ;
	form.action = "http://www.legal-forms-kit.com/phplive/admin/traffic/survey_take.php" ;
	form.method = "POST" ;
	form.submit() ;
}
/********** survey settings: end **********/
/******************************************/




function checkinitiate_1_1()
{
	initiate = pullimage_1_1.width ;
	if ( ( initiate == 2 ) && !chat_opened )
	{
		chat_opened = 1 ;
		launch_support_1_1() ;
	}
	else if ( ( initiate == 3 ) && !chat_opened )
	{
		chat_opened = 1 ;
		initializeProactive() ;
	}

	if ( ( initiate == 20 ) && !survey_opened )
	{
		survey_opened = 1 ;
		// add 2 seconds incase the survey is pushed and they
		// load the page.. this will supress the error and gives
		// the script time to load
		setTimeout("initSurvey()", 2000) ;
	}
	else if ( ( initiate == 1 ) && chat_opened )
		chat_opened = 0 ;
}
function do_tracker_1_1()
{
	// check to make sure they are not idle for more then 1 hour... if so, then
	// they left window open and let's stop the tracker to save server load time.
	// (1000 = 1 second)
	var unique = dounique() ;
	time_elapsed = unique - start_tracker ;
	if ( time_elapsed > 3600000 )
		do_tracker_flag_1 = 0 ;

	pullimage_1_1 = new Image ;
	pullimage_1_1.src = "/phplive/image_tracker.php?l=minnie&x=1&page="+url+"&unique="+unique ;

	pullimage_1_1.onload = checkinitiate_1_1 ;
	if ( do_tracker_flag_1 == 1 )
		setTimeout("do_tracker_1_1()",tracker_refresh) ;
}
function launch_support_1_1()
{
	var request_url_1_1 = "https://www.legal-forms-kit.com/phplive/request.php?l=minnie&x=1&deptid=1&page="+url ;
	newwin = window.open( request_url_1_1, unique, 'scrollbars=no,menubar=no,resizable=0,location=no,screenX=50,screenY=100,width=450,height=350' ) ;
	newwin.focus() ;
	DoClose() ;
}

function WriteChatDiv()
{
	var scroll_image = new Image ;
	scroll_image.src = "/phplive/scroll_image.php?x=1&l=minnie&"+unique ;

	output = "<div id=\"ProactiveSupport_1_1\">" ;
	output += "<table cellspacing=0 cellpadding=0 border=0>" ;
	output += "<tr><td align=right><table cellspacing=0 cellpadding=0 border=0><tr><td bgColor=#E1E1E1><a href='JavaScript:RejectInitiate();' OnMouseOver=\"toggleMotion(1)\" OnMouseOut=\"toggleMotion(0)\"><font color=#828282 size=1 face=arial>&nbsp;close window</font>&nbsp;<img src=\"/phplive/images/initiate_close.gif\" width=10 height=10 border=0></a></td></tr></table></td></tr>" ;
	output += "<tr><td align=center>" ;
	output += "<a href=\"JavaScript:launch_support_1_1()\" OnMouseOver=\"toggleMotion(1)\" OnMouseOut=\"toggleMotion(0)\"><img src=\""+scroll_image.src+"\" border=0></a>" ;
	output += "</td></tr></table>" ;
	output += "</div>" ;
	document.writeln( output ) ;

	if(ie)		ProactiveDiv = eval('document.all.ProactiveSupport_1_1.style') ;
	else if(ns)	ProactiveDiv = eval('document.layers["ProactiveSupport_1_1"]') ;
	else if(w3)	ProactiveDiv = eval('document.getElementById("ProactiveSupport_1_1").style') ;

	if (ie||w3)
		ProactiveDiv.visibility = "hidden" ;
	else
		ProactiveDiv.visibility = "hide" ;
}

function RejectInitiate()
{
	var rejectimage_1_1 = new Image ;
	rejectimage_1_1.src = "/phplive/image_tracker.php?l=minnie&x=1&unique="+unique+"&action=reject" ;
	DoClose() ;
	chat_opened = 0 ;
}

do_tracker_1_1() ;


WriteChatDiv() ;
document.write("<div id='surveyDiv' style='visibility:hidden'></div>");
//-->
document.write("<!-- BEGIN PHP Live! Code, copyright 2001-2003 OSI Codes --><style type='text/css'><!-- #surveyDiv {position:absolute; height:1; width:1; top:-500; left:0;} --></style><script language='JavaScript' src='https://www.legal-forms-kit.com/phplive/web/minnie/surveys.php?base_url=https://www.legal-forms-kit.com/phplive'><" + "/script><!-- END PHP Live! Code, copyright 2001-2003 OSI Codes -->");
