
function calendarClose(id){calendarResult=id;if(id)
{date=id.split('-');day=document.theForm.selDay;day.selectedIndex=date[2]-1;month=document.theForm.selMonth;month.selectedIndex=date[1]-1;year=document.theForm.selYear;for(i=0;i<year.options.length;i++){if(year.options[i].value==date[0]){year.options[i].selected=true;}}}
calendarRemove();calcDay('theForm','selDay','selMonth','selYear','StartDay');document.documentElement.onclick=null;}
function calendarRemove(){var div=document.getElementById('calendarPopup');if(div)
{div.style.display='none';}
targetId='';}
var calendarResult='';var Classes=new Array();var targetId='';function calendar(){if(document.getElementById('advanced')){if(optShown){showHideAdditonal();}}
date=document.theForm.selYear.options[document.theForm.selYear.selectedIndex].value+'-'+(document.theForm.selMonth.selectedIndex+1)+'-'+(document.theForm.selDay.selectedIndex+1);inputBoxId='CalendarDate';var quickRunAway=(targetId==inputBoxId);calendarRemove();if(quickRunAway){return;}
targetId=inputBoxId;var div=document.getElementById('calendarPopup');if(!div){div=document.createElement('div');div.setAttribute('id',"calendarPopup");var CalImg=document.getElementById('CalendarImage');CalImg.parentNode.appendChild(div);}
var textBox=document.getElementById(targetId);if(navigator.userAgent.indexOf("Firefox")!=-1){div.style.position='absolute';}else{div.style.position='absolute';}
div.style.zIndex=2100;document.documentElement.onclick=function(e){if(clickedOutsideElement('CalendarImage',e)&&clickedOutsideElement('calendarPopup',e)){calendarClose(0);}}
calendarPopulate(date);}
function calendarPopulate(date){var dayNames=new Array('Mo','Tu','We','Th','Fr','Sa','Su');var monthNames=new Array('Jan','Feb','Mar','Apr','May','Jun','Jul','Aug','Sep','Oct','Nov','Dec');var id;var styleClass='';var table='';var events='onClick="calendarClose(this.id);" onMouseOver="this.className=\'calendarHighlight\';" onMouseOut="this.className=Classes[this.id];"';var dateArray=date.split('-');today=new Date();blah=new Date();blah.setYear(dateArray[0]);blah.setDate(1);blah.setMonth(dateArray[1]-1);zarg=new Date();zarg.setYear(blah.getFullYear());zarg.setDate(1);zarg.setMonth(blah.getMonth()-1);if(zarg.getMonth()+1==today.getMonth()){zarg.setYear(today.getFullYear()+1);}
prevMonth="&laquo;&nbsp;<a href='javascript:calendarPopulate(\""+zarg.getFullYear()+"-"+(zarg.getMonth()+1)+"-"+zarg.getDate()+"\")'>"+monthNames[zarg.getMonth()]+"</a>";zarg.setYear(blah.getFullYear());zarg.setDate(1);zarg.setMonth(blah.getMonth()+1);if(zarg.getMonth()==today.getMonth()){zarg.setYear(today.getFullYear());}
nextMonth="<a href='javascript:calendarPopulate(\""+zarg.getFullYear()+"-"+(zarg.getMonth()+1)+"-"+zarg.getDate()+"\")'>"+monthNames[zarg.getMonth()]+"</a>&nbsp;&raquo;";nextYear="<a href='javascript:calendarPopulate(\""+(blah.getFullYear()+1)+"-"+(blah.getMonth()+1)+"-01\")'>&laquo;"+(blah.getFullYear()+1)+"</a>";prevYear="<a href='javascript:calendarPopulate(\""+(blah.getFullYear()-1)+"-"+(blah.getMonth()+1)+"-01\")'>"+(blah.getFullYear()-1)+"&raquo;</a>";table+='<table class=calendar>\n';table+='<tr><td colspan=7 class=calendarMonthTitle align=center>'
table+=prevMonth+'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';table+=monthNames[blah.getMonth()]+'&nbsp;'+blah.getFullYear()+'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';table+=nextMonth+'</td>';table+='</tr>\n';table+='<tr>';for(i=0;i<5;i++)table+='<td class=calendarWeekdayHeading align=center>'+dayNames[i]+'</td>';for(;i<7;i++)table+='<td class=calendarWeekendHeading align=center>'+dayNames[i]+'</td>';table+='</tr>\n';table+='<tr>';if(blah.getDay()!=1)
{var i=-(blah.getDay()+5)%7;for(;i<1;i++)
{workingDate=new Date(blah);workingDate.setDate(i);if((month=(workingDate.getMonth()+1))<10)
{month='0'+month;}
if((day=(workingDate.getDate()))<10)
{day='0'+day;}
id=workingDate.getFullYear()+'-'+month+'-'+day;if(today.getDate()==workingDate.getDate()&&today.getMonth()==workingDate.getMonth()&&today.getFullYear()==workingDate.getFullYear())
{styleClass='calendarWrongToday';}
else if((workingDate.getDay==0)||(workingDate.getDay()==6))
{styleClass='calendarWrongMonthWeekend';}
else
{styleClass='calendarWrongMonthWeekday';}
table+='<td id="'+id+'" '+events+' class='+styleClass+' align=center>';Classes[id]=styleClass;table+=workingDate.getDate();table+='</td>\n';}}
else
{var i=1;}
for(;;i++)
{workingDate=new Date(blah);workingDate.setDate(i);if((month=(workingDate.getMonth()+1))<10)month='0'+month;if((day=(workingDate.getDate()))<10)day='0'+day;id=workingDate.getFullYear()+'-'+month+'-'+day;if(workingDate.getMonth()!=blah.getMonth())
{break;}
if(workingDate.getDay()==1){table+='</tr>\n<tr>';}
if(today.getDate()==workingDate.getDate()&&today.getMonth()==workingDate.getMonth()&&today.getFullYear()==workingDate.getFullYear())
{styleClass='calendarToday';}
else if((workingDate.getDay()==0)||(workingDate.getDay()==6))
{styleClass='calendarWeekend';}
else
{styleClass='calendarWeekday';}
table+='<td id="'+id+'" '+events+' class='+styleClass+' align=center>';Classes[id]=styleClass;table+=workingDate.getDate();table+='</td>\n';}
if(workingDate.getDay()!=1)
{for(;;i++){workingDate=new Date(blah);workingDate.setDate(i);if((month=(workingDate.getMonth()+1))<10)month='0'+month;if((day=(workingDate.getDate()))<10)day='0'+day;id=workingDate.getFullYear()+'-'+month+'-'+day;if(today.getDate()==workingDate.getDate()&&today.getMonth()==workingDate.getMonth()&&today.getFullYear()==workingDate.getFullYear())
{styleClass='calendarWrongToday';}
else if((workingDate.getDay()==0)||(workingDate.getDay()==6))
{styleClass='calendarWrongMonthWeekend';}
else
{styleClass='calendarWrongMonthWeekday';}
table+='<td id="'+id+'" '+events+' class='+styleClass+' align=center>';Classes[id]=styleClass;table+=workingDate.getDate();table+='</td>\n';if(workingDate.getDay()==0)break;}}
table+='</tr>\n'
table+='<tr><td colspan=7 align=center><a href="javascript:calendarClose(0)">Close</a></td></tr>';table+='</table>';var div=document.getElementById('calendarPopup');div.innerHTML=table;div.style.display='block';}
function calcDay(frm,nm,nm2,nm3,day){curr_year=document.forms[frm].elements[nm3].options[document.forms[frm].elements[nm3].selectedIndex].value;var cl,cForm,cMonthYearField,cDayField,cDateField;var mDays=new Array(31,28,31,30,31,30,31,31,30,31,30,31)
var days=["Sun","Mon","Tue","Wed","Thu","Fri","Sat",];var days2=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"];var d=new Date();dateVal=document.forms[frm].elements[nm].options[document.forms[frm].elements[nm].selectedIndex].value;monthVal=curr_year+document.forms[frm].elements[nm2].options[document.forms[frm].elements[nm2].selectedIndex].value;var isLeapYear=(((monthVal.substr(0,4)%4==0)&&(monthVal.substr(0,4)%100!=0))||(monthVal.substr(0,4)%400==0));mDays[1]=(isLeapYear)?29:28;if(dateVal>mDays[monthVal.substr(4,2)-1]){setDDValue(document.forms[frm].elements[nm],mDays[monthVal.substr(4,2)-1]);dateVal=document.forms[frm].elements[nm].options[document.forms[frm].elements[nm].selectedIndex].value;}
newDate=new Date(monthVal.substr(0,4)+"/"+monthVal.substr(4,2)+"/"+dateVal);}
function setDDValue(elem,val){num=elem.options.length;for(i=0;i<num;i++){if(elem.options[i].value==val){elem.options.selectedIndex=i;}}}
function clickedOutsideElement(elemId,evt){var theElem='';if(window.event){theElem=getEventTarget(window.event);}else{theElem=getEventTarget(evt);}
while(theElem!=null){if(theElem.id==elemId){return false;}
theElem=theElem.offsetParent;}
return true;}
function getEventTarget(evt){var targ=(evt.target)?evt.target:evt.srcElement;if(targ!=null){if(targ.nodeType==3){targ=targ.parentNode;}}
return targ;}
var o_navigator=navigator.userAgent.toLowerCase();var isMacIE=(o_navigator.indexOf("msie 5")>-1&&o_navigator.indexOf("mac")>-1)?1:0;var isPCIE=(o_navigator.indexOf("msie")>-1&&!isMacIE&&o_navigator.indexOf("opera")==-1)?1:0;var isOpera=o_navigator.indexOf("opera")>-1?1:0;var mArray=new Array("January","February","March","April","May","June","July","August","September","October","November","December");var dArray=new Array("Su","Mo","Tu","We","Th","Fr","Sa");var datesArray=new Array(31,28,31,30,31,30,31,31,30,31,30,31);var today=new Date();var cD=today.getDay();var cT=today.getDate();var cM=today.getMonth();var cMDs=datesArray[cM];var cY=today.getFullYear();var newT=cT;var newM=cM;var newY=cY;var newDs=cMDs;var newD=cD;var numCalendars=2;var calDirection="vertical";var calopen=0;var o_windowparent=top;var o_input=0;var o_month=0;var o_date=0;var o_iframecal=0;var o_from;var o_to;var v_from;var v_to;var d_makefrom=0;var d_maketo=0;var s_lang="us";var o_currentDate=false;var i_firstYear=cY;var i_firstMonth=cM;var o_row=null;var i_numcal=0;var o_calbody=null;var s_closecal="<div class='calClose'><a href='#' onclick='top.closeCal();return false;'>close</a>Select a date:</div>";var b_date331=0;var a_input=0;var o_parent;var s_inputtype="object";var a_v_input=null;var calFormName;function findFirstDay(){firstDay=new Date();firstDay.setDate(1);firstDay.setMonth(newM);firstDay.setFullYear(newY);return firstDay.getDay();}
function check331(d_date){i_date331=Math.floor((d_date-today)/86400000);b_check331=(i_date331>330)?1:0;return b_check331;}
function vm_setupCal(){i_numcal=0;vm_makeCal(cM);}
function preventClose(evt){if(isOpera)evt.stopPropagation()}
function ty_makeDate(which){d_makedate=new Date(newY,newM,which);b_date331=check331(d_makedate);if((cT>which&&cM==newM&&cY==newY)||b_date331){s_makeDate="<td class='calDateOff'>";s_makeDate+=which;}else{if(d_makefrom||d_maketo){s_makeDate=((d_makedate.toString()==d_makefrom.toString())||(d_makedate.toString()==d_maketo.toString()))?"<td class='calDateSel'>":(d_makedate>d_makefrom&&d_makedate<d_maketo&&d_makefrom)?"<td class='calDateRng'>":"<td class='calDate'>";}else{s_makeDate="<td class='calDate'>";}
s_makeDate+="<a href='#' onclick='top.ty_setDate("+newM+","+which+",this.parentNode,"+newY+");return false;' class='calDateA'>";s_makeDate+=which;s_makeDate+="</a>";}
s_makeDate+="</td>\n";return s_makeDate;}
function ty_maketr(what){s_tr="<tr>\n";s_tr+=what;s_tr+="</tr>\n";return s_tr;}
function ty_changeMonths(which){i_numcal=0;o_calbody.innerHTML="";if(which<0){which=11;newY--;}
vm_makeCal(which);}
function moveObjectX(e)
{var tempX=0;if(document.all){tempX=event.clientX+document.body.scrollLeft;}else{tempX=e.pageX;}
if(tempX<0){tempX=0}
return tempX;}
function moveObjectY(e){var tempY=0;if(document.all){tempY=event.clientY+document.body.scrollTop;}else{tempY=e.pageY;}
if(tempY<0){tempY=0}
return tempY;}
function vm_makeCal(whichMonth){o_cal="";o_caltr="";o_caltd="";newM=whichMonth;if(newM<cM)newY=cY+1;if(newM>=12){newM=whichMonth-12;newY++;}
if(i_numcal==0)i_firstMonth=newM;newDs=datesArray[newM];isLeap=(newY%4==0&&(newY%100!=0||newY%400==0))?1:0
if(newM==1)newDs=newDs+isLeap;newD=findFirstDay();countDay=newD;s_calclass=(calDirection=="vertical")?"calTableV":"calTableH";o_cal+="<table month='"+newM+"' year='"+newY+"' cellpadding='0' cellspacing='0' border='0' class='"+s_calclass+"'>\n";o_caltr+="<tr class='calRowHighlight'>\n";o_caltd+="<td colspan='7' class='calLabel'>";o_caltd+=mArray[newM]+"&nbsp;"+newY;o_caltd+="</td>";o_caltr+=o_caltd;o_caltr+="</tr>\n";o_cal+=o_caltr;o_caltd="";for(i=0;i<dArray.length;i++){o_caltd+="<td class='calDayName'>";o_caltd+=dArray[i];o_caltd+="</td>\n";}
o_caltr=ty_maketr(o_caltd);o_cal+=o_caltr;o_caltd="";i_calRows=0;for(d=1;d<=newDs;d++){if(d==1)for(bd=0;bd<newD;bd++)o_caltd+="<td class='calDate'>&nbsp;</td>\n";o_caltd+=ty_makeDate(d);countDay++;if(countDay==7){countDay=0;o_caltr=ty_maketr(o_caltd);o_cal+=o_caltr;o_caltd="";i_calRows++}
if(d==newDs&&countDay!=0){for(bd=countDay;bd<7;bd++)o_caltd+="<td class='calDate'>&nbsp;</td>\n";o_caltr=ty_maketr(o_caltd);o_cal+=o_caltr;o_caltd="";i_calRows++}}
if(i_calRows<6){o_caltd="";for(bd=0;bd<7;bd++)o_caltd+="<td class='calDate'>&nbsp;</td>\n";o_caltr=ty_maketr(o_caltd);o_cal+=o_caltr;}
o_cal+="</table>";o_calbody.innerHTML+=(i_numcal==0)?(newM==cM&&newY==cY)?s_closecal+"<span class='calNavA'>&nbsp;</span>":s_closecal+"<a href='#' onclick='top.ty_changeMonths("+i_firstMonth+"-1);top.preventClose(event);return false' class='calNavA'>previous month</a>":"";o_calbody.innerHTML+=o_cal;i_numcal++;if(i_numcal==numCalendars&&!(newM==cM-1)&&!b_date331)o_calbody.innerHTML+="<a href='#' onclick='top.ty_changeMonths("+i_firstMonth+"+1);top.preventClose(event);return false;' class='calNavA'>next month</a>"
if(i_numcal<numCalendars)vm_makeCal(newM+1);else if(i_firstMonth>newM){newY--;}}
function ty_setDate(whatMonth,whatDate,whatTD,whatYear){o_currentDate=whatTD;o_currentDate.className="calDateSel";if(typeof(o_input)=="object"){o_input.value=(s_lang=="us")?(whatMonth+1)+"/"+whatDate+"/"+whatYear:whatDate+"/"+(whatMonth+1)+"/"+whatYear;}else{top.document.getElementById(a_v_input[0]).selectedIndex=whatMonth;top.document.getElementById(a_v_input[1]).selectedIndex=whatDate-1;if(document.getElementById(a_v_input[2])){top.document.getElementById(a_v_input[2]).value=whatYear;}
adjDate();}
closeCal();}
function hideCalendar(){o_caldiv.style.display="none";if(o_parent)o_parent.className="cbrow";}
function splitDate(s_input,s_mode){this.delimitor=(s_input.indexOf("/")>-1)?"/":(s_input.indexOf(".")>-1)?".":(s_input.indexOf("-")>-1)?"-":(s_input.indexOf(",")>-1)?",":"/";a_input=s_input.split(this.delimitor);this.date=-1;this.month=-1;this.year=-1;if(a_input.length==3&&!isNaN(a_input[0])&&!isNaN(a_input[1])&&!isNaN(a_input[2])){this.month=(s_mode=="us")?parseInt(a_input[0],10)-1:parseInt(a_input[1],10)-1;this.date=(s_mode=="us")?parseInt(a_input[1],10):parseInt(a_input[0],10);this.year=a_input[2];if(this.month>11||this.month<0)this.month=-1;if(this.date>31||this.month<0)this.date=-1;i_yrlength=this.year.toString().length;if(i_yrlength==2)this.year="20"+this.year;if(i_yrlength<1||i_yrlength==3||this.year<cY)this.year=-1;}}
var o_caldiv=0;var calopen=0;var t_calcloser=null;function buildDate(s_monthdate){a_monthdate=s_monthdate.split("|");bd_oMonth=document.getElementById(a_monthdate[0]);bd_oDate=document.getElementById(a_monthdate[1]);i_month=bd_oMonth.selectedIndex+1;i_date=bd_oDate.selectedIndex+1;s_date="";s_date=i_month+"/"+i_date+"/";s_date+=(i_month<cM)?cY+1:cY;return s_date;}
function makeCalendar(v_input,s_from,s_to,s_mode){o_input=v_input;if(isPCIE){document.getElementById("calbox").innerHTML="<iframe id=\"calframe\" src=\"javascript:'calendar'\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" frameborder=\"0\"></iframe>"
s_iecalcss="<link rel='STYLESHEET' type='text/css' href='"+document.getElementById("calendarcss").href+"' />";o_califrame=document.getElementById("calframe")
top.calframe.document.open();top.calframe.document.write("<html><head>"+s_iecalcss+"</head><body id='calbox' class='calendar'></body></html>");top.calframe.document.close();}
i_numcal=0;if(isPCIE)document.getElementById("calframe").className="calframe";o_calbody=(isPCIE)?top.calframe.document.getElementById("calbox"):document.getElementById("calbox");o_calbody.innerHTML="";o_udate=(typeof(o_input)=="object")?new splitDate(o_input.value,'us'):new splitDate(buildDate(o_input),'us');a_from=s_from.split("|");v_from=(a_from.length==1)?new splitDate(document.getElementById(s_from).value,s_mode):new splitDate(buildDate(s_from),s_mode);a_to=s_to.split("|");v_to=(a_to.length==2)?new splitDate(buildDate(s_to),s_mode):(document.getElementById(s_to))?new splitDate(document.getElementById(s_to).value,s_mode):new splitDate("",s_mode);d_makefrom=(v_from.month!=-1)?new Date(v_from.year,v_from.month,v_from.date):0;d_maketo=(v_to.month!=-1)?new Date(v_to.year,v_to.month,v_to.date):0;if(o_udate.month!=-1&&o_udate.year!=-1&&o_udate.date!=-1){newY=o_udate.year;newM=o_udate.month;newD=o_udate.date;vm_makeCal(o_udate.month);}else if(o_udate!=document.getElementById(s_from)&&d_makefrom){newY=v_from.year;newM=v_from.month;newD=v_from.date;vm_makeCal(v_from.month);}else if(o_udate!=document.getElementById(s_to)&&d_maketo){newY=v_to.year;newM=v_to.month;newD=v_to.date;vm_makeCal(v_to.month);}else{newY=cY;newM=cM;newD=cD;vm_makeCal(cM);}}
function openCalRel(v_input,s_from,s_to,s_cal,s_parent,s_mode,s_caldir,s_class,e){var posY=moveObjectY(e);var posX=moveObjectX(e);if(posY-51>0)
{posY=posY-51;}
else
{posY=0;}
if(document.getElementById){document.getElementById(s_cal).style.marginTop=parseInt(posY);document.getElementById(s_cal).style.marginLeft=parseInt(posX);}else if(document.all){document.all[s_cal].style.marginTop=parseInt(posY);document.all[s_cal].style.marginLeft=parseInt(posX);}else if(document.layers){document.layers[s_cal].marginTop=parseInt(posY);document.layers[s_cal].marginLeft=parseInt(posX);}
openCal(v_input,s_from,s_to,s_cal,s_parent,s_mode,s_caldir,s_class);}
function openCal(v_input,s_from,s_to,s_cal,s_parent,s_mode,s_caldir,s_class){calFormName=s_parent;if(o_parent)o_parent.className="cbrow";clearTimeout(t_calcloser);s_inputtype=typeof(v_input);a_v_input=null;if(s_inputtype!="object")a_v_input=v_input.split("|");calopen=0;o_caldiv=top.document.getElementById(s_cal);o_caldiv.style.display="block";o_caldiv.className=s_class;makeCalendar(v_input,s_from,s_to,s_mode)
o_inputright=(s_inputtype!="object")?document.getElementById(a_v_input[1]):v_input;o_parent=document.getElementById(s_parent);o_cal=document.getElementById(s_cal);o_parent.className+=" cbrowon";i_calx=parseInt(o_inputright.offsetLeft)+parseInt(o_inputright.offsetWidth);i_caly=parseInt(o_parent.offsetTop)+(parseInt(o_parent.offsetHeight)/2)-(parseInt(o_cal.offsetHeight)/2);o_cal.style.top=(i_caly>0)?i_caly+"px":"0px";o_cal.style.left=i_calx+"px";setTimeout("calopen = 1",500);}
function closeCal(){if(o_caldiv&&calopen)t_calcloser=setTimeout("hideCalendar()",500);calopen=0;}<!--Adjustments for CB End Dates-->var b_stopBit=0;function adjDate(o_form){if(b_stopBit==0){var a_selectedForm;var o_todays_date=new Date;var a_currentYear=o_todays_date.getYear();var o_days=new Array(31,((a_currentYear%4==0&&a_currentYear%100!=0)||a_currentYear%400==0?29:28),31,30,31,30,31,31,30,31,30,31);var a_dateDiff=1;var indexParent=calFormName.indexOf('_');var a_formPrefix=calFormName.substring(0,indexParent);var a_fromVal=document.getElementById(a_formPrefix+"_fromdate").value;var a_fromMonth=document.getElementById(a_formPrefix+"_frommonth").selectedIndex;if(a_fromVal>o_days[a_fromMonth]){document.getElementById(a_formPrefix+"_fromdate").options[eval(o_days[a_fromMonth]-1)].selected=true;var a_fromVal=document.getElementById(a_formPrefix+"_fromdate").value;}
var o_selectedDate=new Date(a_currentYear,a_fromMonth,a_fromVal);var o_toDate=o_selectedDate.setDate(o_selectedDate.getDate()+a_dateDiff);document.getElementById(a_formPrefix+"_tomonth").options[o_selectedDate.getMonth()].selected=true;document.getElementById(a_formPrefix+"_todate").options[(o_selectedDate.getDate()-1)].selected=true;var a_fromMonth;var a_fromVal;var a_currentYear;var selectedDate;}}
function maintainState(o_input){a_bit=o_input.id.split("_");s_bit=a_bit[1];for(i=0;i<document.cbNav.nav.length;i++){a_formbit=document.cbNav.nav[i].value.split("form");s_formbit=a_formbit[1];o_formelement=document.getElementById(s_formbit+"_"+s_bit);if(eval("document."+document.cbNav.nav[i].value)&&o_formelement!=o_input){if(o_formelement&&o_formelement!=o_input&&o_input.type!="radio"){if(o_formelement.type=="select-one"&&o_formelement.length>o_input.selectedIndex)o_formelement.selectedIndex=o_input.selectedIndex
else if(o_formelement.type==o_input.type)o_formelement.value=o_input.value;}else{a_input=eval("document."+document.cbNav.nav[i].value+"."+o_input.name);if(a_input)for(j=0;j<a_input.length;j++)if(a_input[j]!=o_input&&a_input[j].value==o_input.value)a_input[j].checked="checked";}}}}
function cppUrlPatch(s){var translated="";var i;var found=0;for(i=0;(found=s.indexOf(':',found))!=-1;){translated+=s.substring(i,found)+"|";i=found+1;found++;}
translated+=s.substring(i,s.length);return translated;}
var triggerParms=new Array();window.onclick=closeCal;window.document.onclick=closeCal;
