Java Source Code



<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>CICorp Lead Form</title>
<script language='JavaScript'>window.status='Loading...';</script>
<script type='text/javascript' src='/javascript/NLUtil.jsp__NS_VER=2008.1.0&locale=en_US.nlqs'></script>
<script type='text/javascript' src='/javascript/NLCalendar.jsp__NS_VER=2008.1.0&locale=en_US.nlqs'></script>
<script language='JavaScript'>window.status='';</script>
<script language='JavaScript'>window.cursorIsInReadyState = true;
function setIsInited(wnd,value,isLoading) {
wnd.isinited = value;
if ( value || isLoading) wnd.loadcomplete = value;
resetCursorState(value);
}
setIsInited(window,false);
function resetCursorState(bPageIsReady) {
if( window.cursorIsInReadyState != bPageIsReady)
{
var cursorMode = bPageIsReady ? "default" : "wait";
var mainFields = document.getElementById("tr_mainfields");
if(mainFields != null) { mainFields.style.cursor = cursorMode; }
var mainButtons = document.getElementById("tr_mainbuttons");
if(mainButtons != null) { mainButtons.style.cursor = cursorMode; }
window.cursorIsInReadyState = bPageIsReady;
}
}</script>
<link rel='stylesheet' href='/core/styles/pagestyles.nl?ct=0&bglt=F2F4F6&bgmd=E0E4E8&bgdk=737A82&bgon=C1C8D2&bgoff=8492A5&bgbar=C1C8D2&tasktitletext=000000&crumbtext=000000&headertext=000000&ontab=000000&offtab=FFFFFF&text=000000&link=000000&bgbody=FFFFFF&bghead=FFFFFF&portlet=E0E4E8&portletlabel=000000&bgbutton=FFE599&bgrequiredfld=FFFFE5&font=Arial%2CHelvetica%2Csans-serif&size_site_content=9pt&size_site_title=9pt&size=1.0&nlinputstyles=F&NS_VER=2008.1.0'>
<script language='JavaScript'>window.status='Loading...';</script>
</head>
<body bgcolor='#FFFFFF' link='#000000' vlink='#000000' alink='#000000' text='#000000' style='margin: 5px 0px 5px 0px' onload="page_init()">
<div id='div__header'
class='noprint'
leftmargin='0' topmargin='0' marginwidth='1' >
<table border='0' cellspacing='0' cellpadding='0' width='100%'>
<tr bgcolor='#FFFFFF'>
<td>
<table border='0' cellspacing='0' cellpadding='0' width='100%'>
<tr>
<TD align='LEFT'><img src='/images/nav/stretch.gif' border='0'>
</TD></tr>
</table>
</td>
</tr>
</table>
</div>
<div id='div__title' style='margin: 0px;'>
</div>
<div id='div__label' class='scrollarea' style='margin: 0px; overflow:hidden;'>
</div>
<div id='div__body' style="margin: 0px; ">
<table border='0' cellspacing='0' cellpadding='5' width='100%'>
<tr>
<td width='100%' valign='top'>
<table border=0 cellspacing=0 cellpadding=0 width=100%>
<tr class='portletHandle' >
<td width='100%' valign=top>
<form id='main_form' name='main_form' method='post' action='/app/site/crm/externalleadpage.nl' style='margin: 0' enctype='UTF-8' onsubmit='if (window.isinited && window.isvalid && save_record(true)){ return true;} return false;' onkeypress='if ( getEventKeypress(event) == 13) { setEventCancelBubble( event );return true;} return true;'>
<table width='100%' border='0' cellspacing='0' cellpadding='0'>
<tr class='bgbar'>
<td><table border=0 cellspacing=0 cellpadding=1 width='100%'>
<tr>
<td class='text' width=8></td><td class='tasktitlemed' valign='top'>CICorp Lead Form</td>
<td align=right><table border=0 cellspacing=0 cellpadding=0>
<tr></tr>
</table></td>
</tr>
</table></td>
</tr>
<tr><td><table cellspacing="0" border="0" cellpadding="0" width="100%"><tr><td valign="top" class="text"><div>
<div class=bgmd>Thank your for your interest in C I Corporation's services.&nbsp; <BR>We look forward to helping your organization.</div>
<div class=bgmd>&nbsp;</div></td></tr></table></td></tr>
<TR id='tr_mainfields' style='cursor:wait;' >
<TD style='padding:4'>
<TABLE border='0' cellspacing='0' cellpadding='0' width='100%'>
<TR><TD valign='top'><TABLE border='0' cellspacing='2' cellpadding='0'>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="firstname_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">First Name</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="firstname_fs"><input maxlength="32" type="text" class="inputreq" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,32,true,true);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="firstname" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="firstname"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="lastname_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Last Name</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="lastname_fs"><input maxlength="32" type="text" class="inputreq" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,32,true,true);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="lastname" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="lastname"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="category_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Customer Category</A>&nbsp;</span></TD><TD nowrap><span id='category_fs' style="white-space: nowrap;">
<select name='category' id='category' class='input' flags='268566528' valuewhenrendered='' onKeyPress='return SelectKeyPressHandler (event);' onchange="setWindowChanged(window, true);" iFlags='268566528'>
<option value='' SELECTED></option>
<option value='1' >Corporate</option>
<option value='4' >Referral</option>
<option value='6' >Retail</option>
<option value='2' >Tax</option>
<option value='3' >Trial</option>
<option value='5' >Wholesale</option>
</select>
</span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="companyname_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Company Name</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="companyname_fs"><input maxlength="83" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,83,true,true);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="companyname" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="companyname"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="address1_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Address line 1</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="address1_fs"><input maxlength="150" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,150,true,true);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="address1" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="address1"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="address2_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Address line 2</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="address2_fs"><input maxlength="150" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,150,true,true);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="address2" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="address2"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="city_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">City</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="city_fs"><input maxlength="50" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,50,true,true);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="city" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="city"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="state_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">State</A>&nbsp;</span></TD><TD nowrap><span id='state_fs' style="white-space: nowrap;">
<select name='state' id='state' class='input' flags='268566528' valuewhenrendered='' onKeyPress='return SelectKeyPressHandler (event);' onchange="setWindowChanged(window, true);" iFlags='268566528'>
<option value='' SELECTED></option>
<option value='AL' >Alabama</option>
<option value='AK' >Alaska</option>
<option value='AB' >Alberta</option>
<option value='AZ' >Arizona</option>
<option value='AR' >Arkansas</option>
<option value='AA' >Armed Forces Americas</option>
<option value='AE' >Armed Forces Europe</option>
<option value='AP' >Armed Forces Pacific</option>
<option value='BC' >British Columbia</option>
<option value='CA' >California</option>
<option value='CO' >Colorado</option>
<option value='CT' >Connecticut</option>
<option value='DE' >Delaware</option>
<option value='DC' >District of Columbia</option>
<option value='FL' >Florida</option>
<option value='GA' >Georgia</option>
<option value='HI' >Hawaii</option>
<option value='ID' >Idaho</option>
<option value='IL' >Illinois</option>
<option value='IN' >Indiana</option>
<option value='IA' >Iowa</option>
<option value='KS' >Kansas</option>
<option value='KY' >Kentucky</option>
<option value='LA' >Louisiana</option>
<option value='ME' >Maine</option>
<option value='MB' >Manitoba</option>
<option value='MD' >Maryland</option>
<option value='MA' >Massachusetts</option>
<option value='MI' >Michigan</option>
<option value='MN' >Minnesota</option>
<option value='MS' >Mississippi</option>
<option value='MO' >Missouri</option>
<option value='MT' >Montana</option>
<option value='NE' >Nebraska</option>
<option value='NV' >Nevada</option>
<option value='NB' >New Brunswick</option>
<option value='NH' >New Hampshire</option>
<option value='NJ' >New Jersey</option>
<option value='NM' >New Mexico</option>
<option value='NY' >New York</option>
<option value='NL' >Newfoundland</option>
<option value='NC' >North Carolina</option>
<option value='ND' >North Dakota</option>
<option value='NT' >Northwest Territories</option>
<option value='NS' >Nova Scotia</option>
<option value='NU' >Nunavut</option>
<option value='OH' >Ohio</option>
<option value='OK' >Oklahoma</option>
<option value='ON' >Ontario</option>
<option value='OR' >Oregon</option>
<option value='PA' >Pennsylvania</option>
<option value='PE' >Prince Edward Island</option>
<option value='PR' >Puerto Rico</option>
<option value='QC' >Quebec</option>
<option value='RI' >Rhode Island</option>
<option value='SK' >Saskatchewan</option>
<option value='SC' >South Carolina</option>
<option value='SD' >South Dakota</option>
<option value='TN' >Tennessee</option>
<option value='TX' >Texas</option>
<option value='UT' >Utah</option>
<option value='VT' >Vermont</option>
<option value='VA' >Virginia</option>
<option value='WA' >Washington</option>
<option value='WV' >West Virginia</option>
<option value='WI' >Wisconsin</option>
<option value='WY' >Wyoming</option>
<option value='YT' >Yukon</option>
</select>
</span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="zipcode_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Zip/Postal Code</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="zipcode_fs"><input maxlength="36" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'text',true,false);this.checkvalid=false;if (this.isvalid) this.isvalid=validate_textfield_maxlen(this,36,true,false);return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" size="25" name="zipcode" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'text',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="zipcode"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="email_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Email</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="email_fs"><input maxlength="300" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'email',true,false);this.checkvalid=false;return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" style="; ime-mode:disabled" size="-1" name="email" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'email',false,false);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="email"></span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="phone_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Phone Number</A>&nbsp;</span></TD><TD nowrap><span style="white-space: nowrap" id="phone_fs"><input maxlength="100" type="text" class="input" onChange="setWindowChanged(window, true);this.isvalid=validate_field(this,'phone',true,true);this.checkvalid=false;return this.isvalid;" onFocus="if (this.isvalid == true || this.isvalid == false) this.checkvalid=true;" style="; ime-mode:disabled" size="-1" name="phone" onBlur="if (this.checkvalid == true) {this.isvalid=validate_field(this,'phone',false,true);} if (this.isvalid == false) {this.focus(); this.select(); return this.isvalid;}" id="phone"></span></TD></TR>
<TR><TD valign=top style='padding-top:3px' nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="comments_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Comments</A>&nbsp;</span></TD><TD nowrap><span id='comments_fs' style='white-space: nowrap'><textarea name='comments' id='comments' rows='4' class='input' wrap='VIRTUAL' cols='40' onfocus="this.isvalid=false;" onblur="this.isvalid=validate_textfield_maxlen(this,4000,false,false);return this.isvalid;" onchange="setWindowChanged(window, true);if (!this.isvalid) this.isvalid=validate_textfield_maxlen(this,4000,true,false);if (this.isvalid == false) {this.focus(); this.select(); };return this.isvalid;" onkeypress='event.cancelBubble = true; return true;'></textarea>
</span></TD></TR>
<TR><TD valign=baseline nowrap align=right class='smalltextnolink'><span style="white-space: wrap" id="leadsource_fs_lbl" class="smalltextnolink"><A class='smalltextnolink' onkeypress="event.cancelBubble = true; return true;" onmouseover="this.className='smalltextnolink'; return true;" onmouseout="this.className='smalltextnolink'; ">Lead Source</A>&nbsp;</span></TD><TD nowrap><span id='leadsource_fs' style="white-space: nowrap;">
<select name='leadsource' id='leadsource' class='input' flags='268566528' valuewhenrendered='' onKeyPress='return SelectKeyPressHandler (event);' onchange="setWindowChanged(window, true);" iFlags='268566528'>
<option value='' SELECTED></option>
<option value='150001' >ACT</option>
<option value='-2' >Ad</option>
<option value='-3' >Other</option>
<option value='-4' >Partner Referral</option>
<option value='-5' >Trade Show</option>
<option value='-6' >Web</option>
</select>
</span></TD></TR>
</TABLE>
</TD></TR>
</TABLE>
</TD>
</TR>
<TR id='tr_mainbuttons' style='cursor:wait;' ><TD align='right'><TABLE border=0 cellspacing=0 cellpadding=3><TR><TD><INPUT type='submit' style='' value='Submit' id='submitter' name='submitter' onkeypress="event.cancelBubble=true;"></TD><TD><INPUT type='button' style='' value='Reset' id='resetter' name='resetter' onkeypress="event.cancelBubble=true;" onclick="page_reset();return false;"></TD></TR></TABLE></TD></TR>
</table>
<input value="0" name="_eml_nkey_" type="hidden" id="_eml_nkey_">
<input value="" name="selectedtab" type="hidden" id="selectedtab">
<input type="hidden" name="id" id="id">
<input type="hidden" name="externalid" id="externalid">
<input value="Customer" name="type" type="hidden" id="type">
<input type="hidden" name="whence" id="whence">
<input value="e0d28109d1531483a62e" name="h" type="hidden" id="h">
<input value="CICORP" name="compid" type="hidden" id="compid">
<input value="2" name="formid" type="hidden" id="formid">
<input type="hidden" name="subsidiary" id="subsidiary">
<input value="F" name="taxable" type="hidden" id="taxable">
<input type="hidden" name="submitted" id="submitted">
<input value="UTF-8" name="encoding" type="hidden" id="encoding">
<input value="" name="_button" type="hidden" id="_button">
</form>
<iframe src='javascript:false' id='server_commands' name='server_commands' style='visibility:hidden' height=0 width=0></iframe>
</td>
</tr>
<tr class='portletHandle' >
<td class='text'>&nbsp;<BR>
C I Corporation<BR>510 N Street, SW, Suite N32<BR>
Washington, DC&nbsp; 20024<BR>
202-829-4444<BR>
&nbsp;<BR>
806 North 4th Street<BR>
Fairfield, Iowa 52556<BR>
641-472-5830</td>

</tr>
</table>
</td>
</tr>
</table>
</div>
<div id='div__footer' class='noprint' leftmargin='0' topmargin='0' marginwidth='1' marginheight='1'>
</div>
<script language='JavaScript'>
function page_init() {
window.weekstart ='1';
window.dateformat ='MM/DD/YYYY';
window.longdateformat ='Month DD, YYYY';
window.timeformat ='fmHH:fmMI am';
window.datetime_am_string ='am';
window.datetime_pm_string ='pm';
window.datetime_short_months = new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","");window.phoneformat ="123 456 7890";
window.isvalid = true;
setWindowChanged(window, false);
setIsInited(window,false);
page_init2();
page_init3();
setWindowChanged(window, false);
page_init4();
setIsInited(window,true);
window.status = '';
}
</script>
<script type='text/javascript'>
function page_unload() {
if (window.ischanged)
return('You have not yet submitted this record.') }
function page_reset() {
document.page_is_resetting=true;
document.forms['main_form'].reset();
setWindowChanged(window, false);
page_init3();
var savechanged = window.ischanged;
setWindowChanged(window, savechanged);
window.isvalid = true;
window.clickCount=0;
if (window.clickCount == 0)
{
if ( isFocusable( document.forms['main_form'].elements['firstname'] ) ) { document.forms['main_form'].elements['firstname'].focus();}
}
document.page_is_resetting=false;
}
function save_record(lastcall) {

if (!window.isinited) return false;
var form = document.forms['main_form'];
if (form.submitted) {
if (form.submitted.value == 'T') {
var resubmit = false;
resubmit = confirm('You have already submitted this form, would you like to submit it again?');
if(!resubmit) return false;
}
}
try {
var emptylabels = checkMandatoryFields(new Array(document.forms['main_form'].elements['firstname'],document.forms['main_form'].elements['lastname']),new Array('First Name','Last Name'));if (emptylabels.length>0) {
alert('Please enter value(s) for: ' + emptylabels);
return false;
}
} catch(err) {
alert('You cannot submit this form due to an unexpected error.'); return false;
}
setWindowChanged(window, false);
if(lastcall == true && form.submitted) form.submitted.value='T';
return true;
}
function delete_record(url) {
if (confirm('Are you sure you want to ' + (url == 'void.jsp' ? 'void' : 'delete') + ' this '+'transaction?')) {
document.forms['main_form'].onsubmit=null;
setWindowChanged(window, false);
return true;
}
else return false;
}
function Synccategory(fieldspec, linenum, onlySlaveSelect, mach, addlparams)
{
}
function Listcategory(fld, multi,addlparams) {
var displayField = document.forms['main_form'].elements['category'];if ( displayField != null && !displayField.isvalid) { displayField.isvalid = true; window.isvalid = true; displayField.value = '';}NLPopupSelect_displayLoadingDiv('category', false);var serverUrl = '/app/site/crm/externalleadpage.nl?staticunlayered=T&h=e0d28109d1531483a62e&compid=CICORP&formid=2&subsidiary=null&q=category&l=T&t=main:category'+(multi ? '&multi=T' : '')+''+(addlparams?'&'+addlparams:'')+'';
document.frames['server_commands'].document.location.replace(serverUrl); }

function Syncstate(fieldspec, linenum, onlySlaveSelect, mach, addlparams)
{
}
function Liststate(fld, multi,addlparams) {
var displayField = document.forms['main_form'].elements['state'];if ( displayField != null && !displayField.isvalid) { displayField.isvalid = true; window.isvalid = true; displayField.value = '';}NLPopupSelect_displayLoadingDiv('state', false);var serverUrl = '/app/site/crm/externalleadpage.nl?staticunlayered=T&h=e0d28109d1531483a62e&compid=CICORP&formid=2&subsidiary=null&q=state&l=T&t=main:state'+(multi ? '&multi=T' : '')+''+(addlparams?'&'+addlparams:'')+'';
document.frames['server_commands'].document.location.replace(serverUrl); }

function Syncleadsource(fieldspec, linenum, onlySlaveSelect, mach, addlparams)
{
}
function Listleadsource(fld, multi,addlparams) {
var displayField = document.forms['main_form'].elements['leadsource'];if ( displayField != null && !displayField.isvalid) { displayField.isvalid = true; window.isvalid = true; displayField.value = '';}NLPopupSelect_displayLoadingDiv('leadsource', false);var serverUrl = '/app/site/crm/externalleadpage.nl?staticunlayered=T&h=e0d28109d1531483a62e&compid=CICORP&formid=2&subsidiary=null&q=leadsource&l=T&t=main:leadsource'+(multi ? '&multi=T' : '')+''+(addlparams?'&'+addlparams:'')+'';
document.frames['server_commands'].document.location.replace(serverUrl); }

function checkemailaccess(id) {
document.frames['server_commands'].document.location.replace('/app/common/entity/checkemailaccess.nl?compid=CICORP&id='+id+'&email='+document.forms['main_form'].elements['email'].value);
}
function addShortcut() {
nlOpenWindow('/core/pages/addShortcut.nl?label='+escape('CICorp Lead Form')+'&taskid=null&params=h%3De0d28109d1531483a62e%26compid%3DCICORP%26formid%3D2%26subsidiary%3Dnull','addshortcut','scrollbars=no,width=400,height=150');
}
function localEval(s) {
return eval(s);
}
function page_init3() {
}
</script>
<script type='text/javascript'>
var vismachs = new Array();
var allmachs = new Array();
allmachs['main']='';
function page_init2() {
}
function page_init4() {
if (window.clickCount == 0)
{
if ( isFocusable( document.forms['main_form'].elements['firstname'] ) ) { document.forms['main_form'].elements['firstname'].focus();}
}
}
</script>
</body>
</html>

<!-- 208 38% #56-->
<!-- [ a.j70.sv ] [ 2008.1.0.92 ]-->
<!-- [ CICORP ] [ onlineformuser@CICORP.com ] [ /app/site/crm/externalleadpage.nl ] [ Sun Jul 27 21:27:21 PDT 2008 ] -->
<!-- Not logging slowest SQL -->