Host a Partner Event
Albuquerque Legal Services
NM
'; if(d >= firstday && cday ' + cday + ' '; cday++; }else{ rtnvar += ' '; } } rtnvar += ' '; } return rtnvar; }, replaceCal: function (id, sDate) { var cal = this.createCal(id, sDate, false); if (document.getElementById(id + '_calendar')) { document.getElementById(id + '_calendar').innerHTML = cal; } else { var newDomElm = document.createElement('div'); newDomElm.style.position = 'absolute'; newDomElm.innerHTML = cal; newDomElm.id = id + '_calendar'; if (document.getElementById('fieldcontainer_' + id)) { document.getElementById('fieldcontainer_' + id).appendChild(newDomElm); } } return; }, updateDate: function(id, curDate){ document.getElementById(id).value = curDate; //document.getElementById(id).onchange(); if(document.getElementById(id + '_calendar')){ document.getElementById('fieldcontainer_' + id).removeChild(document.getElementById(id + '_calendar')); } if(document.getElementById('datepicker_' + id)){ document.getElementById('datepicker_' + id).onclick = function(){ svcrm.formBuilderScripts.fbCalendar.showDatePicker(document.getElementById(id), document.getElementById(id).value); }; } }, showDatePicker: function(domElm, curDate){ var cleanID = domElm.id.replace('datepicker_', ''); var sDate = new Date(); if(!document.getElementById(cleanID + '_calendar')){ if(document.getElementById(cleanID)){ try{ if(curDate){ sDate = this.convertToUSDate(curDate); if(sDate == 'Invalid Date'){ sDate = new Date(); } } }catch(e){ sDate = new Date(); } this.getCalendar(cleanID, sDate); } }else{ document.getElementById('fieldcontainer_' + cleanID).removeChild(document.getElementById(cleanID + '_calendar')); } }, getCalendar: function(id, curDate){ var newDomElm = document.createElement('div'); newDomElm.style.position = 'absolute'; newDomElm.innerHTML = this.createCal(id, curDate, true); newDomElm.id = id + '_calendar'; newDomElm.className = 'svcrm_datepicker'; document.getElementById('fieldcontainer_' + id).appendChild(newDomElm); }, convertToUSDate: function(dte){ var rtnvar = false; var wrk = dte.split(crm_locale.YAHOO_DATE_FIELD_DELIMITER); var wrkdate = []; var mydate = ''; if(wrk.length > 0){ wrkdate[0] = parseInt(wrk[crm_locale.YAHOO_MDY_DAY_POSITION-1],10); //always holds the day wrkdate[1] = parseInt(wrk[crm_locale.YAHOO_MDY_MONTH_POSITION-1],10); //always holds the month wrkdate[2] = parseInt(wrk[crm_locale.YAHOO_MDY_YEAR_POSITION-1],10); //always holds the year if(wrkdate[1] > 0 && wrkdate[1] 0 && wrkdate[0] 0){ wrkdate[0] = parseInt(wrk[1],10); //always holds the day wrkdate[1] = parseInt(wrk[0],10); //always holds the month wrkdate[2] = parseInt(wrk[2],10); //always holds the year if(wrkdate[1] > 0 && wrkdate[1] 0 && wrkdate[0] /*** Styling for Forms ***/ form.simpleForm {} form.simpleForm fieldset {} form.simpleForm legend {} form.simpleForm label {} form.simpleForm label.label_hidden { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;} form.simpleForm .formreq { color: #B30000;} form.simpleForm input[type="radio"], form.simpleForm input[type="checkbox"] {} form.simpleForm input[type="text"] {} form.simpleForm input.date { cursor: pointer;} form.simpleForm select {} form.simpleForm table { background: none; border: none; margin: 0;} form.simpleForm table tr td { padding: 0;} form.simpleForm .captcha {} #capimage { height: 17px; width:17px;} form.simpleForm .svcrm_datepicker { z-index: 3; } #fbCalendar{ background-color: white; border:1px solid #336699; border-radius:2px; box-shadow: #336699 1px 1px; } #fbCalendar TD { font-size: 12px; font-family: Arial } #fbCalendar .Day { font-size: 12px; color: #000000; border:1px solid transparent;} #fbCalendar .CH { font-size: 12px; color: #336699; font-weight: bold; bgcolor: #cccccc; } #fbCalendar A.today:link, #fbCalendar A.today:visited{text-decoration:none; color:#000000; font-weight: bold;} #fbCalendar A.today:hover{text-decoration:none; color:#CC3300; font-weight: bold;} #fbCalendar A.Day:link, #fbCalendar A.Day:visited{text-decoration:none; color:#990000; font-weight: normal;} #fbCalendar A.Day:hover{text-decoration:none; color:#CC3300; font-weight: normal; border:1px solid #000000;} #fbCalendar A.CH:link, #fbCalendar A.CH:visited{text-decoration:none; color:#336699;} #fbCalendar A.CH:hover{text-decoration:none; color:#0033FF;} #fbCalendar A.close:link, #fbCalendar A.close:visited{font-size: 10px; text-decoration:none; color:#666666;} #fbCalendar A.close:hover{font-size: 10px; text-decoration:underline; color:#666666;} #fbCalendar A:link, #fbCalendar A:visited{text-decoration:none; color:#000099;} #fbCalendar A:hover{text-decoration:none; color:#0000FF;} #fbCalendar .currentDay{border:1px solid #336699; padding: 2px;} #fbCalendar div.fbCalCloseBtn{ background:transparent url(https://Albuquerque.simpleviewcrm.com/core_crm/Resources/images/calx.gif) no-repeat; width:17px; height:13px; float:right; border:2px solid #ffffff; } #fbCalendar div.fbCalCloseBtn:hover{ cursor: pointer; border:2px solid #336699; } /*** Mobile ***/ @media only screen and (max-width: 40em) {} /*** Tablet ***/ @media only screen and (min-width: 40.063em) and (max-width: 64em) {} /*** Desktop ***/ @media only screen and (min-width: 64.063em) { form.simpleForm label { max-width: 430px; text-align: right;} }
Apply on firm site →