// JavaScript Document

//for faqs
function expandit(curobj,arr){e='';ns6=document.getElementById&&!document.all?1:0;e=ns6?document.getElementById(curobj).style:document.all[curobj].style;if(e.display=="none"){e.display="";}else{e.display="none";}}


/***********************************************
* Drop Down Date select script- by JavaScriptKit.com
* This notice MUST stay intact for use
* Visit JavaScript Kit at http://www.javascriptkit.com/ for this script and more
***********************************************/

var monthtext=['January','February','March','April','May','June','July','August','September','October','November','December'];function populatedropdown(dayfield,monthfield,yearfield){var today=new Date()
var dayfield=document.getElementById(dayfield)
var monthfield=document.getElementById(monthfield)
var yearfield=document.getElementById(yearfield)
for(var i=0;i<32;i++)
dayfield.options[i]=new Option(i,i+1)
dayfield.options[today.getDate()]=new Option(today.getDate(),today.getDate(),true,true)
for(var m=0;m<12;m++)
monthfield.options[m]=new Option(monthtext[m],monthtext[m])
monthfield.options[today.getMonth()]=new Option(monthtext[today.getMonth()],monthtext[today.getMonth()],true,true)
var thisyear=today.getFullYear()
for(var y=0;y<5;y++){yearfield.options[y]=new Option(thisyear,thisyear)
thisyear+=1}
yearfield.options[0]=new Option(today.getFullYear(),today.getFullYear(),true,true)}
function populatedropdown(dayfield2,monthfield2,yearfield2){var today=new Date()
var dayfield2=document.getElementById(dayfield2)
var monthfield2=document.getElementById(monthfield2)
var yearfield2=document.getElementById(yearfield2)
for(var i=0;i<32;i++)
dayfield2.options[i]=new Option(i,i+1)
dayfield2.options[today.getDate()]=new Option(today.getDate(),today.getDate(),true,true)
for(var m=0;m<12;m++)
monthfield2.options[m]=new Option(monthtext[m],monthtext[m])
monthfield2.options[today.getMonth()]=new Option(monthtext[today.getMonth()],monthtext[today.getMonth()],true,true)
var thisyear=today.getFullYear()
for(var y=0;y<5;y++){yearfield2.options[y]=new Option(thisyear,thisyear)
thisyear+=1}
yearfield2.options[0]=new Option(today.getFullYear(),today.getFullYear(),true,true)}
