Ext.BLANK_IMAGE_URL='/public/scripts/extjs/resources/images/default/s.gif';Ext.namespace('BNCalSelectData');BNCalSelectData.months=[['01','January'],['02','Febuary'],['03','March'],['04','April'],['05','May'],['06','June'],['07','July'],['08','August'],['09','September'],['10','October'],['11','November'],['12','December']];BNCalSelectData.countries=[['840','United States','USA'],['071','Canada','Canada']];BNCalSelectData.provinces=[['NL','Newfoundland and Labrador'],['NS','Nova Scotia','NS'],['PE','Prince Edward Island'],['NB','New Brunswick'],['QC','Quebec'],['QC','Ontario'],['MB','Manitoba'],['SK','Saskatchewan'],['AB','Alberta'],['BC','British Columbia'],['NU','Nunavut'],['NT','Northwest Territories'],['YT','Yukon']];BNCalSelectData.states=[['AL','Alabama','The Heart of Dixie'],['AK','Alaska','The Land of the Midnight Sun'],['AZ','Arizona','The Grand Canyon State'],['AR','Arkansas','The Natural State'],['CA','California','The Golden State'],['CO','Colorado','The Mountain State'],['CT','Connecticut','The Constitution State'],['DE','Delaware','The First State'],['DC','District of Columbia',"The Nation's Capital"],['FL','Florida','The Sunshine State'],['GA','Georgia','The Peach State'],['HI','Hawaii','The Aloha State'],['ID','Idaho','Famous Potatoes'],['IL','Illinois','The Prairie State'],['IN','Indiana','The Hospitality State'],['IA','Iowa','The Corn State'],['KS','Kansas','The Sunflower State'],['KY','Kentucky','The Bluegrass State'],['LA','Louisiana','The Bayou State'],['ME','Maine','The Pine Tree State'],['MD','Maryland','Chesapeake State'],['MA','Massachusetts','The Spirit of America'],['MI','Michigan','Great Lakes State'],['MN','Minnesota','North Star State'],['MS','Mississippi','Magnolia State'],['MO','Missouri','Show Me State'],['MT','Montana','Big Sky Country'],['NE','Nebraska','Beef State'],['NV','Nevada','Silver State'],['NH','New Hampshire','Granite State'],['NJ','New Jersey','Garden State'],['NM','New Mexico','Land of Enchantment'],['NY','New York','Empire State'],['NC','North Carolina','First in Freedom'],['ND','North Dakota','Peace Garden State'],['OH','Ohio','The Heart of it All'],['OK','Oklahoma','Oklahoma is OK'],['OR','Oregon','Pacific Wonderland'],['PA','Pennsylvania','Keystone State'],['RI','Rhode Island','Ocean State'],['SC','South Carolina','Nothing Could be Finer'],['SD','South Dakota','Great Faces, Great Places'],['TN','Tennessee','Volunteer State'],['TX','Texas','Lone Star State'],['UT','Utah','Salt Lake State'],['VT','Vermont','Green Mountain State'],['VA','Virginia','Mother of States'],['WA','Washington','Green Tree State'],['WV','West Virginia','Mountain State'],['WI','Wisconsin',"America's Dairyland"],['WY','Wyoming','Like No Place on Earth']];var msgCt;var activeRow='none';var calInit=0;var stateBoxDrawn=0;var currentZip='';var monthStore=new Ext.data.SimpleStore({fields:['monthDay','monthName'],data:BNCalSelectData.months});var usaStore=new Ext.data.SimpleStore({fields:['state','stateName'],data:BNCalSelectData.states});var canadaStore=new Ext.data.SimpleStore({fields:['state','stateName'],data:BNCalSelectData.provinces});var btype=Ext.data.Record.create([{name:'businessType'},{name:'id'}]);var btypeStore=new Ext.data.Store({proxy:new Ext.data.HttpProxy({url:'/index/doBusinessType'}),reader:new Ext.data.JsonReader({root:'rows',totalProperty:'results',id:'id'},btype)});var bhours=Ext.data.Record.create([{name:'hourString'}]);var btypeHour=new Ext.data.Store({proxy:new Ext.data.HttpProxy({url:'/index/doBusinessType'}),reader:new Ext.data.JsonReader({root:'rows',totalProperty:'results',id:'hourString'},bhours)});