tellform/docs/OscarHost/UpdateDemographic.response.har
2015-09-10 15:06:28 -07:00

4985 lines
1.1 MiB
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"log": {
"version": "1.2",
"creator": {
"name": "WebInspector",
"version": "537.36"
},
"pages": [
{
"startedDateTime": "2015-09-10T17:16:14.593Z",
"id": "page_3",
"title": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp",
"pageTimings": {
"onContentLoad": 1856.392000001506,
"onLoad": 1849.9960000044666
}
}
],
"entries": [
{
"startedDateTime": "2015-09-10T17:16:14.593Z",
"time": 248.90000000596046,
"request": {
"method": "POST",
"url": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Origin",
"value": "https://secure11.oscarhost.ca"
},
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "Upgrade-Insecure-Requests",
"value": "1"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Content-Type",
"value": "application/x-www-form-urlencoded"
},
{
"name": "Accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
},
{
"name": "Cache-Control",
"value": "max-age=0"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Content-Length",
"value": "1332"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 910,
"bodySize": 1332,
"postData": {
"mimeType": "application/x-www-form-urlencoded",
"text": "demographic_no=189164&last_name=TEST&first_name=ACCOUNT&title=MR&official_lang=English&spoken_lang=English&address=500+Somewhere+Ave&city=TEST+CITY&province=BC&postal=V6V262&phone=604-123-4333&hPhoneExt=&hPhoneExtOrig=&phone2=&wPhoneExt=&wPhoneExtOrig=&demo_cell=6041118888&demo_cellOrig=6041118888&countryOfOrigin=AT&email=someone%40tsnstnhs.com&myOscarUserName=&newsletter=No&sin=&year_of_birth=1994&month_of_birth=06&date_of_birth=15&age=21&sex=M&hin=9146509343&ver=&eff_date_year=2015&eff_date_month=05&eff_date_date=01&hc_renew_date_year=&hc_renew_date_month=&hc_renew_date_date=&hc_type=BC&cytolNum=&cytolNumOrig=&provider_no=&resident=&midwife=&nurse=&r_doctor=&r_doctor_ohip=&initial_rosterstatus=&roster_status=&roster_date_year=&roster_date_month=&roster_date_day=&roster_termination_date_year=&roster_termination_date_month=&roster_termination_date_day=&roster_termination_reason=&initial_patientstatus=AC&patient_status=AC&patientstatus_date_year=2015&patientstatus_date_month=09&patientstatus_date_day=10&chart_no=&wlId=&list_id=0&waiting_list_note=&waiting_list_referral_date=&date_joined_year=2015&date_joined_month=09&date_joined_date=10&end_date_year=2016&end_date_month=09&end_date_date=10&rxInteractionWarningLevelOrig=&rxInteractionWarningLevel=0&alert=&notes=&dboperation=update_record&displaymode=Update+Record",
"params": [
{
"name": "demographic_no",
"value": "189164"
},
{
"name": "last_name",
"value": "TEST"
},
{
"name": "first_name",
"value": "ACCOUNT"
},
{
"name": "title",
"value": "MR"
},
{
"name": "official_lang",
"value": "English"
},
{
"name": "spoken_lang",
"value": "English"
},
{
"name": "address",
"value": "500+Somewhere+Ave"
},
{
"name": "city",
"value": "TEST+CITY"
},
{
"name": "province",
"value": "BC"
},
{
"name": "postal",
"value": "V6V262"
},
{
"name": "phone",
"value": "604-123-4333"
},
{
"name": "hPhoneExt",
"value": ""
},
{
"name": "hPhoneExtOrig",
"value": ""
},
{
"name": "phone2",
"value": ""
},
{
"name": "wPhoneExt",
"value": ""
},
{
"name": "wPhoneExtOrig",
"value": ""
},
{
"name": "demo_cell",
"value": "6041118888"
},
{
"name": "demo_cellOrig",
"value": "6041118888"
},
{
"name": "countryOfOrigin",
"value": "AT"
},
{
"name": "email",
"value": "someone%40tsnstnhs.com"
},
{
"name": "myOscarUserName",
"value": ""
},
{
"name": "newsletter",
"value": "No"
},
{
"name": "sin",
"value": ""
},
{
"name": "year_of_birth",
"value": "1994"
},
{
"name": "month_of_birth",
"value": "06"
},
{
"name": "date_of_birth",
"value": "15"
},
{
"name": "age",
"value": "21"
},
{
"name": "sex",
"value": "M"
},
{
"name": "hin",
"value": "9146509343"
},
{
"name": "ver",
"value": ""
},
{
"name": "eff_date_year",
"value": "2015"
},
{
"name": "eff_date_month",
"value": "05"
},
{
"name": "eff_date_date",
"value": "01"
},
{
"name": "hc_renew_date_year",
"value": ""
},
{
"name": "hc_renew_date_month",
"value": ""
},
{
"name": "hc_renew_date_date",
"value": ""
},
{
"name": "hc_type",
"value": "BC"
},
{
"name": "cytolNum",
"value": ""
},
{
"name": "cytolNumOrig",
"value": ""
},
{
"name": "provider_no",
"value": ""
},
{
"name": "resident",
"value": ""
},
{
"name": "midwife",
"value": ""
},
{
"name": "nurse",
"value": ""
},
{
"name": "r_doctor",
"value": ""
},
{
"name": "r_doctor_ohip",
"value": ""
},
{
"name": "initial_rosterstatus",
"value": ""
},
{
"name": "roster_status",
"value": ""
},
{
"name": "roster_date_year",
"value": ""
},
{
"name": "roster_date_month",
"value": ""
},
{
"name": "roster_date_day",
"value": ""
},
{
"name": "roster_termination_date_year",
"value": ""
},
{
"name": "roster_termination_date_month",
"value": ""
},
{
"name": "roster_termination_date_day",
"value": ""
},
{
"name": "roster_termination_reason",
"value": ""
},
{
"name": "initial_patientstatus",
"value": "AC"
},
{
"name": "patient_status",
"value": "AC"
},
{
"name": "patientstatus_date_year",
"value": "2015"
},
{
"name": "patientstatus_date_month",
"value": "09"
},
{
"name": "patientstatus_date_day",
"value": "10"
},
{
"name": "chart_no",
"value": ""
},
{
"name": "wlId",
"value": ""
},
{
"name": "list_id",
"value": "0"
},
{
"name": "waiting_list_note",
"value": ""
},
{
"name": "waiting_list_referral_date",
"value": ""
},
{
"name": "date_joined_year",
"value": "2015"
},
{
"name": "date_joined_month",
"value": "09"
},
{
"name": "date_joined_date",
"value": "10"
},
{
"name": "end_date_year",
"value": "2016"
},
{
"name": "end_date_month",
"value": "09"
},
{
"name": "end_date_date",
"value": "10"
},
{
"name": "rxInteractionWarningLevelOrig",
"value": ""
},
{
"name": "rxInteractionWarningLevel",
"value": "0"
},
{
"name": "alert",
"value": ""
},
{
"name": "notes",
"value": ""
},
{
"name": "dboperation",
"value": "update_record"
},
{
"name": "displaymode",
"value": "Update+Record"
}
]
}
},
"response": {
"status": 302,
"statusText": "Moved Temporarily",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Location",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:15 GMT"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "0"
},
{
"name": "Content-Type",
"value": "text/html;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 0,
"mimeType": "text/html",
"compression": 0
},
"redirectURL": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail",
"headersSize": 390,
"bodySize": 0,
"_transferSize": 390
},
"cache": {},
"timings": {
"blocked": 121.160000009695,
"dns": 8.149999994203014,
"connect": 31.417999998665977,
"send": 0.15600000915600276,
"wait": 87.247999996179,
"receive": 0.7679999980614696,
"ssl": 14.513999994961011
},
"connection": "138426",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:14.844Z",
"time": 222.10400000039954,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "Upgrade-Insecure-Requests",
"value": "1"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
},
{
"name": "Cache-Control",
"value": "max-age=0"
}
],
"queryString": [
{
"name": "demographic_no",
"value": "189164"
},
{
"name": "displaymode",
"value": "edit"
},
{
"name": "dboperation",
"value": "search_detail"
}
],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 870,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:15 GMT"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Transfer-Encoding",
"value": "chunked"
},
{
"name": "Content-Type",
"value": "text/html;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 144721,
"mimeType": "text/html",
"compression": -149,
"text": "\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n<html lang=\"en\">\n<head>\n<title>PATIENT DETAIL INFO</title>\n<base href=\"https://secure11.oscarhost.ca/kensington/demographic/demographiceditdemographic.jsp\">\n<!-- calendar stylesheet -->\n<link rel=\"stylesheet\" type=\"text/css\" media=\"all\"\n\thref=\"../share/calendar/calendar.css\" title=\"win2k-cold-1\" />\n\n<script type=\"text/javascript\" src=\"../share/javascript/prototype.js\"></script>\n<script type=\"text/javascript\" src=\"/kensington/js/jquery.js\"></script>\n\n\n<link rel=\"stylesheet\" type=\"text/css\" href=\"https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/blitzer/jquery-ui.css\"/>\n<link rel=\"stylesheet\" href=\"../css/jquery.autocomplete.css\" type=\"text/css\">\n\n\n<!-- main calendar program -->\n<script type=\"text/javascript\" src=\"../share/calendar/calendar.js\"></script>\n\n<!-- language for the calendar -->\n<script type=\"text/javascript\"\n\tsrc=\"../share/calendar/lang/calendar-en.js\"></script>\n\n<!-- the following script defines the Calendar.setup helper function, which makes\n adding a calendar a matter of 1 or 2 lines of code. -->\n<script type=\"text/javascript\" src=\"../share/calendar/calendar-setup.js\"></script>\n\n<script type=\"text/javascript\" src=\"/kensington/js/check_hin.js\"></script>\n\n<!-- calendar stylesheet -->\n<link rel=\"stylesheet\" type=\"text/css\" media=\"all\"\n\thref=\"../share/calendar/calendar.css\" title=\"win2k-cold-1\" />\n\n <link rel=\"stylesheet\" type=\"text/css\" href=\"../oscarEncounter/encounterStyles.css\">\n <link rel=\"stylesheet\" type=\"text/css\" href=\"../share/css/searchBox.css\">\n <script type=\"text/javascript\" src=\"/kensington/js/global.js\"></script>\n\n<script language=\"javascript\" type=\"text/javascript\"\n\tsrc=\"../share/javascript/Oscar.js\"></script>\n\n<!--popup menu for encounter type -->\n<script src=\"/kensington/share/javascript/popupmenu.js\"\n\ttype=\"text/javascript\"></script>\n<script src=\"/kensington/share/javascript/menutility.js\"\n\ttype=\"text/javascript\"></script>\n <script>\n jQuery.noConflict();\n </script>\n\n<link rel=\"stylesheet\" href=\"/kensington/js/custom/global.css\" type=\"text/css\">\n<script src=\"/kensington/js/custom/default/global.js\"></script>\n<script src=\"/kensington/js/custom/default/master.js\"></script>\n\n\n<script language=\"JavaScript\" type=\"text/javascript\">\n\nfunction rs(n,u,w,h,x) {\n args=\"width=\"+w+\",height=\"+h+\",resizable=yes,scrollbars=yes,status=0,top=360,left=30\";\n remote=window.open(u,n,args);\n if (remote != null) {\n if (remote.opener == null)\n remote.opener = self;\n }\n if (x == 1) { return remote; }\n}\n\nvar awnd=null;\nfunction ScriptAttach() {\n awnd=rs('swipe','zdemographicswipe.htm',600,600,1);\n awnd.focus();\n}\n\nfunction setfocus() {\n this.focus();\n document.titlesearch.keyword.focus();\n document.titlesearch.keyword.select();\n}\nfunction upCaseCtrl(ctrl) {\n\tctrl.value = ctrl.value.toUpperCase();\n}\nfunction popupPage(vheight,vwidth,varpage) { //open a new popup window\n var page = \"\" + varpage;\n windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,screenX=50,screenY=50,top=20,left=20\";\n var popup=window.open(page, \"demodetail\", windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self;\n }\n popup.focus();\n }\n}\n\n\nfunction popupEChart(vheight,vwidth,varpage) { //open a new popup window\n var page = \"\" + varpage;\n windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,screenX=50,screenY=50,top=20,left=20\";\n var popup=window.open(page, \"Encounter\", windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self;\n }\n popup.focus();\n }\n}\nfunction popupOscarRx(vheight,vwidth,varpage) { //open a new popup window\n var page = varpage;\n windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,screenX=0,screenY=0,top=0,left=0\";\n var popup=window.open(varpage, \"oscarRx\", windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self;\n }\n popup.focus();\n }\n}\nfunction popupS(varpage) {\n\tif (! window.focus)return true;\n\tvar href;\n\tif (typeof(varpage) == 'string')\n\t href=varpage;\n\telse\n\t href=varpage.href;\n\twindow.open(href, \"fullwin\", ',type=fullWindow,fullscreen,scrollbars=yes');\n\treturn false;\n}\nfunction checkTypeIn() {\n var dob = document.titlesearch.keyword; typeInOK = false;\n\n if (dob.value.indexOf('%b610054') == 0 && dob.value.length > 18){\n document.titlesearch.keyword.value = dob.value.substring(8,18);\n document.titlesearch.search_mode[4].checked = true;\n }\n\n if(document.titlesearch.search_mode[2].checked) {\n if(dob.value.length==8) {\n dob.value = dob.value.substring(0, 4)+\"-\"+dob.value.substring(4, 6)+\"-\"+dob.value.substring(6, 8);\n //alert(dob.value.length);\n typeInOK = true;\n }\n if(dob.value.length != 10) {\n alert(\"You have a wrong DOB input!!!\");\n typeInOK = false;\n }\n\n return typeInOK ;\n } else {\n return true;\n }\n}\n\nfunction checkName() {\n\tvar typeInOK = false;\n\tif(document.updatedelete.last_name.value!=\"\" && document.updatedelete.first_name.value!=\"\" && document.updatedelete.last_name.value!=\" \" && document.updatedelete.first_name.value!=\" \") {\n\t typeInOK = true;\n\t} else {\n\t\talert (\"You must type in the following fields: Last Name, First Name.\");\n }\n\treturn typeInOK;\n}\nfunction checkDate(yyyy,mm,dd,err_msg) {\n\n\tvar typeInOK = false;\n\n\tif(checkTypeNum(yyyy) && checkTypeNum(mm) && checkTypeNum(dd) ){\n var check_date = new Date(yyyy,(mm-1),dd);\n\t\tvar now = new Date();\n\t\tvar year=now.getFullYear();\n\t\tvar month=now.getMonth()+1;\n\t\tvar date=now.getDate();\n\t\t//alert(yyyy + \" | \" + mm + \" | \" + dd + \" \" + year + \" \" + month + \" \" +date);\n\n\t\tvar young = new Date(year,month,date);\n\t\tvar old = new Date(1800,01,01);\n\t\t//alert(check_date.getTime() + \" | \" + young.getTime() + \" | \" + old.getTime());\n\t\tif (check_date.getTime() <= young.getTime() && check_date.getTime() >= old.getTime() && yyyy.length==4) {\n\t\t typeInOK = true;\n\t\t}\n\t\tif ( yyyy == \"0000\"){\n typeInOK = false;\n }\n }\n\n\tif (!isValidDate(dd,mm,yyyy) || !typeInOK){\n alert (err_msg+\"\\nDate entered should be correct and in the past\");\n typeInOK = false;\n }\n\n\treturn typeInOK;\n}\nfunction checkDob() {\n\tvar yyyy = document.updatedelete.year_of_birth.value;\n\tvar mm = document.updatedelete.month_of_birth.value;\n\tvar dd = document.updatedelete.date_of_birth.value;\n\n return checkDate(yyyy,mm,dd,\"You have a wrong DOB input!!!\");\n}\n\nfunction isValidDate(day,month,year){\n month = ( month - 1 );\n dteDate=new Date(year,month,day);\n //alert(dteDate);\n return ((day==dteDate.getDate()) && (month==dteDate.getMonth()) && (year==dteDate.getFullYear()));\n}\n\nfunction checkHin() {\n\tvar hin = document.updatedelete.hin.value;\n\tvar province = document.updatedelete.hc_type.value;\n\n\tif (!isValidHin(hin, province))\n\t{\n\t\talert (\"You must type in the right HIN.\");\n\t\treturn(false);\n\t}\n\n\treturn(true);\n}\n\nfunction checkRosterStatus() {\n\tif (rosterStatusChangedNotBlank()) {\n\t\tif (document.updatedelete.roster_status.value==\"RO\") { //Patient rostered\n\t\t\tif (!rosterStatusDateValid(false)) return false;\n\t\t}\n\t\telse {\n\t\t\tif (!rosterStatusTerminationDateValid(false)) return false;\n\t\t\tif (!rosterStatusTerminationReasonNotBlank()) return false;\n\t\t}\n\t}\n\n\tif (rosterStatusDateAllowed()) {\n\t\tif (document.updatedelete.roster_status.value==\"RO\") { //Patient rostered\n\t\t\tif (!rosterStatusDateValid(false)) return false;\n\t\t}\n\t\telse {\n\t\t\tif (!rosterStatusTerminationDateValid(true)) return false;\n\t\t}\n\t} else {\n\t\treturn false;\n\t}\n\tif (!rosterStatusDateValid(true)) return false;\n\tif (!rosterStatusTerminationDateValid(true)) return false;\n\treturn true;\n}\n\nfunction rosterStatusChanged() {\n\treturn (document.updatedelete.initial_rosterstatus.value!=document.updatedelete.roster_status.value);\n}\n\nfunction rosterStatusChangedNotBlank() {\n\tif (rosterStatusChanged()) {\n\t\tif (document.updatedelete.roster_status.value==\"\") {\n\t\t\talert (\"You must pick a Roster Status!\");\n\t\t\tdocument.updatedelete.roster_status.focus();\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t}\n\treturn false;\n}\n\nfunction rosterStatusDateAllowed() {\n\tif (document.updatedelete.roster_status.value==\"\") {\n\t yyyy = document.updatedelete.roster_date_year.value.trim();\n\t mm = document.updatedelete.roster_date_month.value.trim();\n\t dd = document.updatedelete.roster_date_day.value.trim();\n\n\t if (yyyy!=\"\" || mm!=\"\" || dd!=\"\") {\n\t \talert (\"You cannot enter Roster Date when Roster Status is Blank!\");\n\t \treturn false;\n\t }\n\t return true;\n\t}\n\treturn true;\n}\n\nfunction rosterStatusDateValid(trueIfBlank) {\n yyyy = document.updatedelete.roster_date_year.value.trim();\n mm = document.updatedelete.roster_date_month.value.trim();\n dd = document.updatedelete.roster_date_day.value.trim();\n var errMsg = \"Invalid Roster Date!\";\n\n if (trueIfBlank) {\n \terrMsg += \"\\nYou may leave it blank.\";\n \tif (yyyy==\"\" && mm==\"\" && dd==\"\") return true;\n }\n return checkDate(yyyy,mm,dd,errMsg);\n}\n\nfunction rosterStatusTerminationDateValid(trueIfBlank) {\n yyyy = document.updatedelete.roster_termination_date_year.value.trim();\n mm = document.updatedelete.roster_termination_date_month.value.trim();\n dd = document.updatedelete.roster_termination_date_day.value.trim();\n var errMsg = \"Invalid Roster Termination Date!\";\n\n if (trueIfBlank) {\n \terrMsg += \"\\nYou may leave it blank.\";\n \tif (yyyy==\"\" && mm==\"\" && dd==\"\") return true;\n }\n return checkDate(yyyy,mm,dd,errMsg);\n}\n\nfunction rosterStatusTerminationReasonNotBlank() {\n\tif (document.updatedelete.roster_termination_reason.value==\"\") {\n\t\talert (\"You must pick a Roster Termination Reason!\");\n\t\treturn false;\n\t}\n\treturn true;\n}\n\nfunction checkPatientStatus() {\n\tif (patientStatusChanged()) {\n\t\treturn patientStatusDateValid(false);\n\t}\n\treturn patientStatusDateValid(true);\n}\n\nfunction patientStatusChanged() {\n\treturn (document.updatedelete.initial_patientstatus.value!=document.updatedelete.patient_status.value);\n}\n\nfunction patientStatusDateValid(trueIfBlank) {\n var yyyy = document.updatedelete.patientstatus_date_year.value.trim();\n var mm = document.updatedelete.patientstatus_date_month.value.trim();\n var dd = document.updatedelete.patientstatus_date_day.value.trim();\n\n if (trueIfBlank) {\n \tif (yyyy==\"\" && mm==\"\" && dd==\"\") return true;\n }\n return checkDate(yyyy,mm,dd,\"Invalid Patient Status Date!\");\n}\nfunction checkCustomRequiredFields(){\n\tvar field_mapping = {\n\t\t\tphone: \"Phone (H)\",\n\t\t\tphone2: \"Phone (W)\",\n\t\t\tcellphone: \"Cell Phone\",\n\t\t\tdemo_cell: \"Cell Phone\",\n\t\t\temail: \"Email\",\n\t\t};\n\n\tif((document.updatedelete.phone_checkbox !== undefined &&\n\t\t!document.updatedelete.phone_checkbox.checked &&\n\t\tdocument.updatedelete.phone.value.length==0\n\t\t) ||\n\t\t(document.updatedelete.phone_checkbox === undefined &&\n\t\tdocument.updatedelete.phone !== undefined &&\n\t\tdocument.updatedelete.phone.value.length==0)\n\t\n\t\t|| (document.updatedelete.phone.value == \"604-\")\n\t\t|| document.updatedelete.phone.value.length < 7\n\t\n\t){\n\t\talert(\"You must provide the following field: \"+field_mapping.phone);\n\t\treturn false;\n\t}\n\n\tif((document.updatedelete.cellphone_checkbox !== undefined &&\n\t\t!document.updatedelete.cellphone_checkbox.checked &&\n\t\tdocument.updatedelete.cellphone.value.length==0\n\t\t) ||\n\t\t(document.updatedelete.cellphone_checkbox === undefined &&\n\t\tdocument.updatedelete.cellphone !== undefined &&\n\t\tdocument.updatedelete.cellphone.value.length==0)\n\t\n\t){\n\t\talert(\"You must provide the following field: \"+field_mapping.cellphone);\n\t\treturn false;\n\t}\n\n\tif((document.updatedelete.email_checkbox !== undefined &&\n\t\t!document.updatedelete.email_checkbox.checked &&\n\t\tdocument.updatedelete.email.value.length==0\n\t\t) ||\n\t\t(document.updatedelete.email_checkbox === undefined &&\n\t\tdocument.updatedelete.email !== undefined &&\n\t\tdocument.updatedelete.email.value.length==0)\n\t\n\t){\n\t\talert(\"You must provide the following field: \"+field_mapping.email);\n\t\treturn false;\n\t}\n\n\tif((document.updatedelete.demo_cell_checkbox !== undefined &&\n\t\t!document.updatedelete.demo_cell_checkbox.checked &&\n\t\tdocument.updatedelete.demo_cell.value.length==0\n\t\t) ||\n\t\t(document.updatedelete.demo_cell_checkbox === undefined &&\n\t\tdocument.updatedelete.demo_cell !== undefined &&\n\t\tdocument.updatedelete.demo_cell.value.length==0)\n\t\n\t){\n\t\talert(\"You must provide the following field: \"+field_mapping.demo_cell);\n\t\treturn false;\n\t}\n\n\treturn true;\n\n}\nfunction checkTypeInEdit() {\n if ( !checkName() ) return false;\n if ( !checkDob() ) return false;\n if ( !checkHin() ) return false;\n if ( !checkRosterStatus() ) return false;\n if ( !checkPatientStatus() ) return false;\n if ( !checkCustomRequiredFields() ) return false;\n return(true);\n}\n\nfunction formatPhoneNum() {\n if (document.updatedelete.phone.value.length == 10) {\n document.updatedelete.phone.value = document.updatedelete.phone.value.substring(0,3) + \"-\" + document.updatedelete.phone.value.substring(3,6) + \"-\" + document.updatedelete.phone.value.substring(6);\n }\n if (document.updatedelete.phone.value.length == 11 && document.updatedelete.phone.value.charAt(3) == '-') {\n document.updatedelete.phone.value = document.updatedelete.phone.value.substring(0,3) + \"-\" + document.updatedelete.phone.value.substring(4,7) + \"-\" + document.updatedelete.phone.value.substring(7);\n }\n if (document.updatedelete.phone2.value.length == 10) {\n document.updatedelete.phone2.value = document.updatedelete.phone2.value.substring(0,3) + \"-\" + document.updatedelete.phone2.value.substring(3,6) + \"-\" + document.updatedelete.phone2.value.substring(6);\n }\n if (document.updatedelete.phone2.value.length == 11 && document.updatedelete.phone2.value.charAt(3) == '-') {\n document.updatedelete.phone2.value = document.updatedelete.phone2.value.substring(0,3) + \"-\" + document.updatedelete.phone2.value.substring(4,7) + \"-\" + document.updatedelete.phone2.value.substring(7);\n }\n}\n\nfunction checkONReferralNo() {\n\t\n var referralNo = document.updatedelete.r_doctor_ohip.value ;\n if (document.updatedelete.hc_type.value == 'ON' && referralNo.length > 0 && referralNo.length != 6) {\n alert(\"The referral doctor's no. is wrong. Please correct it!\") ;\n }\n\n \n}\n\n\n //\nfunction rs(n,u,w,h,x) {\n args=\"width=\"+w+\",height=\"+h+\",resizable=yes,scrollbars=yes,status=0,top=60,left=30\";\n remote=window.open(u,n,args);\n}\nfunction referralScriptAttach2(elementName, name2) {\n var d = elementName;\n t0 = escape(\"document.forms[1].elements[\\'\"+d+\"\\'].value\");\n t1 = escape(\"document.forms[1].elements[\\'\"+name2+\"\\'].value\");\n rs('att',('../billing/CA/ON/searchRefDoc.jsp?param='+t0+'&param2='+t1),600,600,1);\n}\n\nfunction newStatus() {\n newOpt = prompt(\"Please enter the new status:\", \"\");\n if(newOpt == null)\n \treturn;\n if (newOpt != \"\") {\n document.updatedelete.patient_status.options[document.updatedelete.patient_status.length] = new Option(newOpt, newOpt);\n document.updatedelete.patient_status.options[document.updatedelete.patient_status.length-1].selected = true;\n } else {\n alert(\"Invalid Entry\");\n }\n}\n\nfunction newStatus1() {\n newOpt = prompt(\"Please enter the new status:\", \"\");\n if(newOpt == null)\n \treturn;\n if (newOpt != \"\") {\n document.updatedelete.roster_status.options[document.updatedelete.roster_status.length] = new Option(newOpt, newOpt);\n document.updatedelete.roster_status.options[document.updatedelete.roster_status.length-1].selected = true;\n } else {\n alert(\"Invalid Entry\");\n }\n}\n\nfunction removeAccents(s){\n var r=s.toLowerCase();\n r = r.replace(new RegExp(\"\\\\s\", 'g'),\"\");\n r = r.replace(new RegExp(\"[������]\", 'g'),\"a\");\n r = r.replace(new RegExp(\"�\", 'g'),\"ae\");\n r = r.replace(new RegExp(\"�\", 'g'),\"c\");\n r = r.replace(new RegExp(\"[����]\", 'g'),\"e\");\n r = r.replace(new RegExp(\"[����]\", 'g'),\"i\");\n r = r.replace(new RegExp(\"�\", 'g'),\"n\");\n r = r.replace(new RegExp(\"[�����]\", 'g'),\"o\");\n r = r.replace(new RegExp(\"?\", 'g'),\"oe\");\n r = r.replace(new RegExp(\"[����]\", 'g'),\"u\");\n r = r.replace(new RegExp(\"[��]\", 'g'),\"y\");\n r = r.replace(new RegExp(\"\\\\W\", 'g'),\"\");\n return r;\n}\n\n\n\n</script>\n<script language=\"JavaScript\">\n\nfunction showEdit(){\n document.getElementById('editDemographic').style.display = 'block';\n document.getElementById('viewDemographics2').style.display = 'none';\n document.getElementById('updateButton').style.display = 'block';\n document.getElementById('swipeButton').style.display = 'block';\n document.getElementById('editBtn').style.display = 'none';\n document.getElementById('closeBtn').style.display = 'inline';\n}\n\nfunction showHideDetail(){\n showHideItem('editDemographic');\n showHideItem('viewDemographics2');\n showHideItem('updateButton');\n showHideItem('swipeButton');\n\n showHideBtn('editBtn');\n showHideBtn('closeBtn');\n}\n\n// Used to display demographic sections, where sections is an array of id's for\n// div elements with class \"demographicSection\"\nfunction showHideMobileSections(sections) {\n showHideItem('mobileDetailSections');\n for (var i = 0; i < sections.length; i++) {\n showHideItem(sections[i]);\n }\n // Change behaviour of cancel button\n var cancelValue = \"Cancel\";\n var backValue = \"Back\";\n var cancelBtn = document.getElementById('cancelButton');\n if (cancelBtn.value == cancelValue) {\n cancelBtn.value = backValue;\n cancelBtn.onclick = function() { showHideMobileSections(sections); };\n } else {\n cancelBtn.value = cancelValue;\n cancelBtn.onclick = function() { self.close(); };\n }\n}\n\nfunction showHideItem(id){\n if(document.getElementById(id).style.display == 'inline' || document.getElementById(id).style.display == 'block')\n document.getElementById(id).style.display = 'none';\n else\n document.getElementById(id).style.display = 'block';\n}\n\nfunction showHideBtn(id){\n if(document.getElementById(id).style.display == 'none')\n document.getElementById(id).style.display = 'inline';\n else\n document.getElementById(id).style.display = 'none';\n}\n\n\nfunction showItem(id){\n document.getElementById(id).style.display = 'inline';\n}\n\nfunction hideItem(id){\n document.getElementById(id).style.display = 'none';\n}\n\n\nvar numMenus = 1;\nvar encURL = \"/kensington/oscarEncounter/IncomingEncounter.do?providerNo=141&appointmentNo=&demographicNo=189164&curProviderNo=&reason=Tel-Progress+Notes&encType=telephone+encounter+with+client&userName=David+Baldwin&curDate=2015-9-10&appointmentDate=&startTime=&status=\";\nfunction showMenu(menuNumber, eventObj) {\n var menuId = 'menu' + menuNumber;\n return showPopup(menuId, eventObj);\n}\n\n\n\nfunction add2url(txt) {\n var reasonLabel = \"reason=\";\n var encTypeLabel = \"encType=\";\n var beg = encURL.indexOf(reasonLabel);\n beg+= reasonLabel.length;\n var end = encURL.indexOf(\"&\", beg);\n var part1 = encURL.substring(0,beg);\n var part2 = encURL.substr(end);\n encURL = part1 + encodeURI(txt) + part2;\n beg = encURL.indexOf(encTypeLabel);\n beg += encTypeLabel.length;\n end = encURL.indexOf(\"&\", beg);\n part1 = encURL.substring(0,beg);\n part2 = encURL.substr(end);\n encURL = part1 + encodeURI(txt) + part2;\n popupEChart(710, 1024,encURL);\n return false;\n}\n\nfunction customReason() {\n var txtInput;\n var list = document.getElementById(\"listCustom\");\n if( list.style.display == \"block\" )\n list.style.display = \"none\";\n else {\n list.style.display = \"block\";\n txtInput = document.getElementById(\"txtCustom\");\n txtInput.focus();\n }\n\n return false;\n}\n\nfunction grabEnterCustomReason(event){\n\n var txtInput = document.getElementById(\"txtCustom\");\n if(window.event && window.event.keyCode == 13){\n add2url(txtInput.value);\n }else if (event && event.which == 13){\n add2url(txtInput.value);\n }\n\n return true;\n}\n\nfunction addToPatientSet(demoNo, patientSet) {\n if (patientSet==\"-\") return;\n window.open(\"addDemoToPatientSet.jsp?demoNo=\"+demoNo+\"&patientSet=\"+patientSet, \"addpsetwin\", \"width=50,height=50\");\n}\n\n\nvar demographicNo='189164';\n\n\nfunction checkRosterStatus(){\n\t\n\treturn true;\n}\n\n</script>\n\n<style type=\"text/css\">\ndiv.demographicSection{\n width:100%;\n margin-top: 2px;\n margin-left:3px;\n border-top: 1px solid #ccccff;\n border-bottom: 1px solid #ccccff;\n border-left: 1px solid #ccccff;\n border-right: 1px solid #ccccff;\n float: left;\n}\n\ndiv.demographicSection h3 {\n background-color: #ccccff;\n font-size: 8pt;\n font-variant:small-caps;\n font-weight:bold;\n margin-top:0px;\n padding-top:0px;\n margin-bottom:0px;\n padding-bottom:0px;\n}\n\ndiv.demographicSection ul{\n\n list-style:none;\n list-style-type:none;\n list-style-position:outside;\n padding-left:1px;\n margin-left:1px;\n margin-top:0px;\n padding-top:1px;\n margin-bottom:0px;\n padding-bottom:0px;\n}\n\n\ndiv.demographicSection li {\npadding-right: 15px;\nwhite-space: nowrap;\n}\n\n\ndiv.demographicWrapper {\n background-color: #eeeeff;\n margin-top: 5px;\n margin-left:1px;\n margin-right:1px;\n}\n\n/* popup menu style for encounter reason */\n.menu {\n position: absolute;\n visibility: hidden;\n background-color: #6699cc;\n /*layer-background-color: #6699cc;*/\n color: white;\n border-left: 1px solid black;\n border-top: 1px solid black;\n border-bottom: 3px solid black;\n border-right: 3px solid black;\n padding: 3px;\n z-index: 10;\n font-size: 9px;\n width: 25em;\n}\n\n.menu a {\n text-decoration: none;\n color:white;\n}\n</style>\n</head>\n<body onLoad=\"setfocus(); checkONReferralNo(); formatPhoneNum();checkRosterStatus();\"\n\ttopmargin=\"0\" leftmargin=\"0\" rightmargin=\"0\">\n<table class=\"MainTable\" id=\"scrollNumber1\" name=\"encounterTable\">\n\t<tr class=\"MainTableTopRow\">\n\t\t<td class=\"MainTableTopRowLeftColumn\">PATIENT'S MASTER FILE\n\t\t</td>\n\t\t<td class=\"MainTableTopRowRightColumn\">\n\t\t<table class=\"TopStatusBar\">\n\t\t\t<tr>\n\t\t\t\t<td>\n\t\t\t\t TEST,\n\t\t\t\tACCOUNT M\n\t\t\t\t21 years &nbsp;\n\t\t\t\t\n\n\t\t\t\t<span style=\"margin-left: 20px;font-style:italic\">\n\t\t\t\tNext Appointment: \n\t\t\t\t</span>\n\n\t\t\t\t\n\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</table>\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td class=\"MainTableLeftColumn\" valign=\"top\">\n\t\t<table border=0 cellspacing=0 width=\"100%\" id=\"appt_table\">\n\t\t\t<tr class=\"Header\">\n\t\t\t\t<td style=\"font-weight: bold\">Appointment</td>\n\t\t\t</tr>\n\t\t\t<tr id=\"appt_hx\">\n\t\t\t\t<td><a\n\t\t\t\t\thref='demographiccontrol.jsp?demographic_no=189164&last_name=TEST&first_name=ACCOUNT&orderby=appttime&displaymode=appt_history&dboperation=appt_history&limit1=0&limit2=25'>Appt.History</a>\n\t\t\t\t</td>\n\t\t\t</tr>\n\n\n\n\t\t\t<tr class=\"Header\">\n\t\t\t\t<td style=\"font-weight: bold\">Billing</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>\n\n\t\t\t\t<a href=\"#\"\n\t\t\t\t\tonclick=\"popupPage(800,1000,'../billing/CA/BC/billStatus.jsp?lastName=TEST&firstName=ACCOUNT&filterPatient=true&demographicNo=189164');return false;\">\n\t\t\t\tInvoice List</a>\n\n\n <br/>\n <a href=\"javascript: void();\" onclick=\"return !showMenu('2', event);\" onmouseover=\"callEligibilityWebService('../billing/CA/BC/ManageTeleplan.do','returnTeleplanMsg');\">Check Eligibility</a>\n\t\t\t\t\t<div id='menu2' class='menu' onclick='event.cancelBubble = true;' style=\"width:350px;\">\n <span id=\"search_spinner\" >Loading ...</span>\n <span id=\"returnTeleplanMsg\"></span>\n\t\t\t\t\t</div>\n\n\t\t\t\t</td>\n\t\t\t</tr>\n\n\t\t\t<tr>\n\t\t\t\t<td><a\n href=\"javascript: function myFunction() {return false; }\"\n \n onClick=\"popupPage(700, 1000, '../billing.do?billRegion=BC&billForm=GP&hotclick=&appointment_no=0&demographic_name=TEST%2CACCOUNT&demographic_no=189164&providerview=1&user_no=141&apptProvider_no=none&appointment_date=2015-9-10&start_time=0:00&bNewForm=1&status=t');return false;\"\n \n\t\t\t\t\ttitle=\"bill a patient\">Create Invoice</a></td>\n\t\t\t</tr>\n\n\n\n\t\t\t<tr class=\"Header\">\n\t\t\t\t<td style=\"font-weight: bold\">Clinical Modules</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td><a\n\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\tonClick=\"popupPage(700,960,'../oscarEncounter/oscarConsultationRequest/DisplayDemographicConsultationRequests.jsp?de=189164&proNo=')\">Consultations</a></td>\n\t\t\t</tr>\n\n\t\t\t<tr>\n\t\t\t\t<td><a\n\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\tonClick=\"popupOscarRx(700,1027,'../oscarRx/choosePatient.do?providerNo=141&demographicNo=189164')\">Prescriptions</a>\n\t\t\t\t</td>\n\t\t\t</tr>\n\n\t\t\t\n \n <tr><td>\n\t\t\t\t\t<a href=\"javascript: function myFunction() {return false; }\" onClick=\"popupEChart(710, 1024,encURL);return false;\" title=\"E-Chart\">\n\t\t\t\t\tE-Chart</a>&nbsp;<a style=\"text-decoration: none;\" href=\"javascript: function myFunction() {return false; }\" onmouseover=\"return !showMenu('1', event);\">+</a>\n\t\t\t\t\t<div id='menu1' class='menu' onclick='event.cancelBubble = true;'>\n\t\t\t\t\t<h3 style='text-align: center'>Encounter Type</h3>\n\t\t\t\t\t<br>\n\t\t\t\t\t<ul>\n\t\t\t\t\t\t<li><a href=\"#\" onmouseover='this.style.color=\"black\"' onmouseout='this.style.color=\"white\"' onclick=\"return add2url('face to face encounter with client');\">face to face encounter with client\n\t\t\t\t\t\t</a><br>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li><a href=\"#\" onmouseover='this.style.color=\"black\"' onmouseout='this.style.color=\"white\"' onclick=\"return add2url('telephone encounter with client');\">telephone encounter with client\n\t\t\t\t\t\t</a><br>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li><a href=\"#\" onmouseover='this.style.color=\"black\"' onmouseout='this.style.color=\"white\"' onclick=\"return add2url('encounter without client');\">encounter without client\n\t\t\t\t\t\t</a><br>\n\t\t\t\t\t\t</li>\n\t\t\t\t\t\t<li><a href=\"#\" onmouseover='this.style.color=\"black\"' onmouseout='this.style.color=\"white\"' onclick=\"return customReason();\">Custom</a></li>\n\t\t\t\t\t\t<li id=\"listCustom\" style=\"display: none;\"><input id=\"txtCustom\" type=\"text\" size=\"16\" maxlength=\"32\" onkeypress=\"return grabEnterCustomReason(event);\"></li>\n\t\t\t\t\t</ul>\n\t\t\t\t\t</div>\n </td></tr>\n \n \n\t\t\t\t<tr>\n\t\t\t\t\t<td><a\n\t\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\t\tonClick=\"popupPage(700,960,'/kensington/oscarPrevention/index.jsp?demographic_no=189164');return false;\">\n\t\t\t\t\tPreventions</a></td>\n\t\t\t\t</tr>\n\t\t\t\n \n\t\t\t<tr>\n\t\t\t\t<td>\n\t\t\t\t\n\t\t\t\t<a\n\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\tonClick=\"popupPage(700,1000,'../tickler/ticklerDemoMain.jsp?demoview=189164');return false;\">\n\t\t\t\tTickler</a>\n\t\t\t\t\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td><a\n\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\tonClick=\"popup(700,960,'../oscarMessenger/SendDemoMessage.do?demographic_no=189164','msg')\">\n\t\t\t\tSend a Message</a></td>\n\t\t\t</tr>\n <tr>\n <td> <a href=\"#\" onclick=\"popup(300,300,'demographicCohort.jsp?demographic_no=189164', 'cohort'); return false;\">Add Patient Set</a>\n </td>\n </tr>\n\n \n\t\t\t\n\n\t\t\t<tr class=\"Header\">\n\t\t\t\t<td style=\"font-weight: bold\">R<u>e</u>sources</td>\n\t\t\t</tr>\n \n \n\t\t\t<tr><td>\n\t\t\t\t<a href=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\tonClick=\"popupPage(710,970,'../dms/documentReport.jsp?function=demographic&doctype=lab&functionid=189164&curUser=141')\">Documents</a></td>\n\t\t\t</tr>\n \n\t\t\t<tr>\n\t\t\t\t<td><a\n\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\tonClick=\"popupPage(710,970,'../dms/documentReport.jsp?function=demographic&doctype=lab&functionid=189164&curUser=141&mode=add')\">Add Document</a></td>\n\t\t\t</tr>\n \n \n\t\t\t<tr>\n\t\t\t\t<td><a\n\t\t\t\t\thref=\"../eform/efmpatientformlist.jsp?demographic_no=189164&apptProvider=null&appointment=null\">Current eForms</a></td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td><a\n\t\t\t\t\thref=\"../eform/efmformslistadd.jsp?demographic_no=189164&appointment=null\">\n\t\t\t\tAdd eForm </a></td>\n\t\t\t</tr>\n\t\t</table>\n\t\t</td>\n\t\t<td class=\"MainTableRightColumn\" valign=\"top\">\n <!-- A list used in the mobile version for users to pick which information they'd like to see -->\n <div id=\"mobileDetailSections\" style=\"display:none;\">\n <ul class=\"wideList\">\n \n <li><a onClick=\"showHideMobileSections(new Array('demographic'))\">Demographic</a></li>\n <li><a onClick=\"showHideMobileSections(new Array('contactInformation'))\">Contact Information</a></li>\n <li><a onClick=\"showHideMobileSections(new Array('otherContacts'))\">Other Contacts</a></li>\n <li><a onClick=\"showHideMobileSections(new Array('healthInsurance'))\">Health Insurance</a></li>\n <li><a onClick=\"showHideMobileSections(new Array('patientClinicStatus','clinicStatus'))\">Clinic Status</a></li>\n <li><a onClick=\"showHideMobileSections(new Array('notes'))\">Notes</a></li>\n </ul>\n </div>\n\t\t<table border=0 width=\"100%\">\n\t\t\t<tr id=\"searchTable\">\n\t\t\t\t<td colspan=\"4\">\n\t\t\t\t\n\n\n\n\n\n\n\n\n\n<script language=\"JavaScript\">\nfunction searchInactive() {\n document.titlesearch.ptstatus.value=\"inactive\";\n if (checkTypeIn()) document.titlesearch.submit();\n}\n\nfunction searchAll() {\n document.titlesearch.ptstatus.value=\"\";\n if (checkTypeIn()) document.titlesearch.submit();\n}\n\nfunction searchOutOfDomain() {\n document.titlesearch.outofdomain.value=\"true\";\n if (checkTypeIn()) document.titlesearch.submit();\n}\n\n</script>\n\n<form method=\"get\" name=\"titlesearch\" action=\"demographiccontrol.jsp\"\n\tonsubmit=\"return checkTypeIn()\">\n<div class=\"searchBox\">\n<div class=\"RowTop header\">\n <div class=\"title\">\n Search\n </div>\n</div>\n<ul>\n <li>\n <div class=\"label\">By:\n </div>\n\t\n <select class=\"wideInput\" name=\"search_mode\">\n <option value=\"search_name\" selected>\n Name\n </option>\n <option value=\"search_phone\" >\n Phone\n </option>\n <option value=\"search_dob\" >\n DOB yyyy-mm-dd\n </option>\n <option value=\"search_address\" >\n Address\n </option>\n <option value=\"search_hin\" >\n Health Ins. #\n </option>\n <option value=\"search_chart_no\" >\n Chart No\n </option>\n </select>\n </li>\n <li>\n <div class=\"label\">Input:\n </div>\n <input class=\"wideInput\" type=\"text\" NAME=\"keyword\" VALUE=\"\" SIZE=\"17\" MAXLENGTH=\"100\">\n </li>\n <li>\n\t\t\t\t<INPUT TYPE=\"hidden\" NAME=\"orderby\" VALUE=\"last_name, first_name\">\n\t\t\t\t<INPUT TYPE=\"hidden\" NAME=\"dboperation\" VALUE=\"search_titlename\">\n <INPUT TYPE=\"hidden\" NAME=\"limit1\" VALUE=\"0\">\n <INPUT TYPE=\"hidden\" NAME=\"limit2\" VALUE=\"10\">\n <INPUT TYPE=\"hidden\" NAME=\"displaymode\" VALUE=\"Search\">\n <INPUT TYPE=\"hidden\" NAME=\"ptstatus\" VALUE=\"active\">\n <INPUT TYPE=\"hidden\" NAME=\"fromMessenger\" VALUE=\"false\">\n\t\t\t\t\t<INPUT TYPE=\"hidden\" NAME=\"outofdomain\" VALUE=\"\">\n <INPUT TYPE=\"SUBMIT\" class=\"rightButton blueButton top\" VALUE=\"Search\" SIZE=\"17\"\n\t\t\t\t\tTITLE=\"Search active patients\">\n\t\t\t\t&nbsp;&nbsp;&nbsp; <INPUT TYPE=\"button\" onclick=\"searchInactive();\"\n\t\t\t\t\tTITLE=\"Search inactive patients\"\n\t\t\t\t\tVALUE=\"Inactive\">\n\t\t\t\t<INPUT TYPE=\"button\" onclick=\"searchAll();\"\n\t\t\t\t\tTITLE=\"Search all patients\"\n\t\t\t\t\tVALUE=\"All\">\n\t\t\t\t\t\n </li>\n</ul>\n</div>\n</form>\n\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t\t<tr>\n\t\t\t\t<td>\n\t\t\t\t<form method=\"post\" name=\"updatedelete\" id=\"updatedelete\"\n\t\t\t\t\taction=\"demographiccontrol.jsp\"\n\t\t\t\t\tonSubmit=\"return checkTypeInEdit();\"><input type=\"hidden\"\n\t\t\t\t\tname=\"demographic_no\"\n\t\t\t\t\tvalue=\"189164\">\n\t\t\t\t<table width=\"100%\" class=\"demographicDetail\">\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=\"RowTop\">\n\t\t\t\t\t\t<b><span class=\"rec\">Record ( 189164\n\t\t\t\t\t\t ) </span></b>\n \n <a id=\"editBtn\" href=\"javascript: showHideDetail();\">Edit</a>\n <a id=\"closeBtn\" href=\"javascript: showHideDetail();\" style=\"display:none;\">Close</a>\n \n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\n\t\t\t\t\t\n\n\t\t\t\t\t<tr>\n\t\t\t\t\t\t<td class=\"lightPurple\"><!---new-->\n\t\t\t\t\t\t<div style=\"display: inline;\" id=\"viewDemographics2\">\n\t\t\t\t\t\t<div class=\"demographicWrapper\">\n\t\t\t\t\t\t<div class=\"leftSection\">\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"demographic\">\n\t\t\t\t\t\t<h3>&nbsp;Demographic</h3>\n\t\t\t\t\t\t<ul>\n <li><span class=\"label\">Last Name:</span>\n <span class=\"info\">TEST</span>\n </li>\n <li><span class=\"label\">\n\t\t\t\t\t\t\tFirst Name:</span>\n <span class=\"info\">ACCOUNT</span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Title:</span>\n <span class=\"info\">MR</span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Sex:</span>\n <span class=\"info\">M</span>\n </li>\n <li><span class=\"label\">Age:</span>\n <span class=\"info\">21&nbsp;(DOB: 1994-06-15)\n </span>\n </li>\n <li><span class=\"label\">Language:</span>\n <span class=\"info\">English</span>\n </li>\n\t\t\t\t\t\t\n <li><span class=\"label\">Country Of Origin:</span>\n <span class=\"info\">AUSTRIA</span>\n </li>\n\t\t\t\t\t\t\n <li><span class=\"label\">Spoken Language:</span>\n <span class=\"info\">English</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"otherContacts\">\n\t\t\t\t\t\t<h3>&nbsp;Other Contacts: <b><a\n\t\t\t\t\t\t\thref=\"javascript: function myFunction() {return false; }\"\n\t\t\t\t\t\t\tonClick=\"popup(700,960,'AddAlternateContact.jsp?demo=189164','AddRelation')\">\n\t\t\t\t\t\tAdd Relation<!--i18n--></a></b></h3>\n\t\t\t\t\t\t<ul>\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"clinicStatus\">\n\t\t\t\t\t\t<h3>&nbsp;Clinic Status (<a href=\"#\" onclick=\"popup(1000, 650, 'EnrollmentHistory.jsp?demographicNo=189164', 'enrollmentHistory'); return false;\">Enrollment History</a>)</h3>\n\t\t\t\t\t\t<ul>\n <li><span class=\"label\">Roster Status:</span>\n <span class=\"info\"></span>\n </li>\n <li><span class=\"label\">Roster Date:</span>\n <span class=\"info\"></span>\n </li>\n <li><span class=\"label\">Termination Date:</span>\n <span class=\"info\"></span>\n </li>\n\n <li><span class=\"label\">Patient Status:</span>\n <span class=\"info\">\n\t\t\t\t\t\t\t\n AC\n\t\t\t\t\t\t\t\n </span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Chart No.:</span>\n <span class=\"info\"></span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n <li><span class=\"label\">Cytology #:</span>\n <span class=\"info\"></span></li>\n <li><span class=\"label\">Date Joined:</span>\n\t\t\t\t\t\t\t<span class=\"info\">2015-09-10</span>\n </li><li>\n <span class=\"label\">End Date:</span>\n <span class=\"info\">2016-09-10</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"alert\">\n\t\t\t\t\t\t<h3>&nbsp;Alert</h3>\n <b style=\"color: brown;\"></b>\n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"rxInteractionWarningLevel\">\n\t\t\t\t\t\t<h3>&nbsp;Rx Interaction Warning Level</h3>\n \n\t\t\t\t\t\t&nbsp;\n\t\t\t\t\t\t<b>Not Specified</b>\n\t\t\t\t\t\t</div>\n\n\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t<div class=\"rightSection\">\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"contactInformation\">\n\t\t\t\t\t\t<h3>&nbsp;Contact Information</h3>\n\t\t\t\t\t\t<ul>\n <li><span class=\"label\">Phone(H):</span>\n <span class=\"info\">604-123-4333 </span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Phone(W):</span>\n <span class=\"info\"> </span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Cell Phone:</span>\n <span class=\"info\">6041118888</span></li>\n <li><span class=\"label\">Address:</span>\n <span class=\"info\">500 Somewhere Ave</span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">City:</span>\n <span class=\"info\">TEST CITY</span>\n </li>\n <li><span class=\"label\">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tProvince :</span>\n <span class=\"info\">BC</span></li>\n <li><span class=\"label\">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tPostal :</span>\n <span class=\"info\">V6V262</span></li>\n\n <li><span class=\"label\">Email:</span>\n <span class=\"info\">someone@tsnstnhs.com</span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Newsletter:</span>\n <span class=\"info\">No</span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"healthInsurance\">\n\t\t\t\t\t\t<h3>&nbsp;Health Insurance</h3>\n\t\t\t\t\t\t<ul>\n <li><span class=\"label\">Health Ins. #:</span>\n <span class=\"info\">9146509343\n\t\t\t\t\t\t\t&nbsp; </span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">HC Type:</span>\n <span class=\"info\">BC</span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">EFF Date:</span>\n <span class=\"info\">2015-05-01</span>\n </li>\n <li><span class=\"label\">Renew Date:</span>\n <span class=\"info\"></span>\n </li>\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\n\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"patientClinicStatus\">\n\t\t\t\t\t\t<h3>&nbsp;Patient Clinic Status</h3>\n\t\t\t\t\t\t<ul>\n <li><span class=\"label\">\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\tDoctor\n :</span><span class=\"info\">\n \n \n \n </span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Nurse:</span><span class=\"info\"></span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Midwife:</span><span class=\"info\"></span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Resident:</span>\n <span class=\"info\"></span></li>\n <li><span class=\"label\">Referral Doctor:</span><span class=\"info\"></span>\n\t\t\t\t\t\t\t</li>\n <li><span class=\"label\">Referral Doctor #:</span><span class=\"info\"></span>\n\t\t\t\t\t\t\t</li>\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t</ul>\n\t\t\t\t\t\t</div>\n\n\n\t\t\t\t\t\t<div class=\"demographicSection\" id=\"notes\">\n\t\t\t\t\t\t<h3>&nbsp;Notes</h3>\n\n &nbsp;\n\n\n\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\n\t\t\t\t\t\t\n\t\t\t\t\t\t</div>\n\n\n\n\n\t\t\t\t\t\t<!--newEnd-->\n\n\t\t\t\t\t\t<table width=\"100%\" bgcolor=\"#EEEEFF\" border=0\n\t\t\t\t\t\t\tid=\"editDemographic\" style=\"display: none;\">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td align=\"right\"\n\t\t\t\t\t\t\t\t\ttitle='189164'>\n\t\t\t\t\t\t\t\t<b>Last Name: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"last_name\" \n\t\t\t\t\t\t\t\t\tsize=\"30\" value=\"TEST\"\n\t\t\t\t\t\t\t\t\tonBlur=\"upCaseCtrl(this)\"></td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>First Name:\n\t\t\t\t\t\t\t\t</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"first_name\" \n\t\t\t\t\t\t\t\t\tsize=\"30\" value=\"ACCOUNT\"\n\t\t\t\t\t\t\t\t\tonBlur=\"upCaseCtrl(this)\"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t <td align=\"right\"> <b>Title: </b></td>\n\t\t\t\t\t\t\t <td align=\"left\">\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t<select name=\"title\" >\n\t\t\t\t\t\t\t\t\t<option value=\"\" >-Not Set-</option>\n\t\t\t\t\t\t\t\t <option value=\"MS\" >MS</option>\n\t\t\t\t\t\t\t\t <option value=\"MISS\" >MISS</option>\n\t\t\t\t\t\t\t\t <option value=\"MRS\" >MRS</option>\n\t\t\t\t\t\t\t\t <option value=\"MR\" selected >MR</option>\n\t\t\t\t\t\t\t\t <option value=\"MSSR\" >MSSR</option>\n\t\t\t\t\t\t\t\t <option value=\"PROF\" >PROF</option>\n\t\t\t\t\t\t\t\t <option value=\"REEVE\" >REEVE</option>\n\t\t\t\t\t\t\t\t <option value=\"REV\" >REV</option>\n\t\t\t\t\t\t\t\t <option value=\"RT_HON\" >RT_HON</option>\n\t\t\t\t\t\t\t\t <option value=\"SEN\" >SEN</option>\n\t\t\t\t\t\t\t\t <option value=\"SGT\" >SGT</option>\n\t\t\t\t\t\t\t\t <option value=\"SR\" >SR</option>\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t </td>\n\t\t\t\t\t\t\t <td align=\"right\"><b>Language: </b> </td>\n\t\t\t\t\t\t\t <td align=\"left\">\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t<select name=\"official_lang\" >\n <option value=\"\">--</option>\n\t\t\t\t\t\t\t\t <option value=\"English\" selected >English</option>\n\t\t\t\t\t\t\t\t <option value=\"French\" >French</option>\n\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t <td colspan=\"2\">&nbsp;</td>\n <td align=\"right\">\n\t\t\t\t\t\t\t <b>Spoken: </b>\n\t\t\t\t\t\t\t </td>\n\t\t\t\t\t\t\t <td>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<select name=\"spoken_lang\" >\n\n <option value=\"\" ></option>\n\n <option value=\"Abkhazian\" >Abkhazian</option>\n\n <option value=\"Achinese\" >Achinese</option>\n\n <option value=\"Acoli\" >Acoli</option>\n\n <option value=\"Adangme\" >Adangme</option>\n\n <option value=\"Adyghe\" >Adyghe</option>\n\n <option value=\"Afar\" >Afar</option>\n\n <option value=\"Afrihili\" >Afrihili</option>\n\n <option value=\"Afrikaans\" >Afrikaans</option>\n\n <option value=\"Afro-Asiatic (Other)\" >Afro-Asiatic (Other)</option>\n\n <option value=\"Ainu\" >Ainu</option>\n\n <option value=\"Akan\" >Akan</option>\n\n <option value=\"Akkadian\" >Akkadian</option>\n\n <option value=\"Albanian\" >Albanian</option>\n\n <option value=\"Aleut\" >Aleut</option>\n\n <option value=\"Algonquian Languages\" >Algonquian Languages</option>\n\n <option value=\"Altaic (Other)\" >Altaic (Other)</option>\n\n <option value=\"Amharic\" >Amharic</option>\n\n <option value=\"Angika\" >Angika</option>\n\n <option value=\"Apache Languages\" >Apache Languages</option>\n\n <option value=\"Arabic\" >Arabic</option>\n\n <option value=\"Aramaic\" >Aramaic</option>\n\n <option value=\"Arapaho\" >Arapaho</option>\n\n <option value=\"Araucanian\" >Araucanian</option>\n\n <option value=\"Arawak\" >Arawak</option>\n\n <option value=\"Argonese\" >Argonese</option>\n\n <option value=\"Armenian\" >Armenian</option>\n\n <option value=\"Aromanian\" >Aromanian</option>\n\n <option value=\"Artificial (Other)\" >Artificial (Other)</option>\n\n <option value=\"Assamese\" >Assamese</option>\n\n <option value=\"Asturian\" >Asturian</option>\n\n <option value=\"Athapascan Languages\" >Athapascan Languages</option>\n\n <option value=\"Australian Languages\" >Australian Languages</option>\n\n <option value=\"Austronesian (Other)\" >Austronesian (Other)</option>\n\n <option value=\"Avaric\" >Avaric</option>\n\n <option value=\"Avestan\" >Avestan</option>\n\n <option value=\"Awadhi\" >Awadhi</option>\n\n <option value=\"Aymara\" >Aymara</option>\n\n <option value=\"Azerbaijani\" >Azerbaijani</option>\n\n <option value=\"Balinese\" >Balinese</option>\n\n <option value=\"Baltic (Other)\" >Baltic (Other)</option>\n\n <option value=\"Baluchi\" >Baluchi</option>\n\n <option value=\"Bambara\" >Bambara</option>\n\n <option value=\"Bamileke Languages\" >Bamileke Languages</option>\n\n <option value=\"Banda\" >Banda</option>\n\n <option value=\"Bantu (Other)\" >Bantu (Other)</option>\n\n <option value=\"Basa\" >Basa</option>\n\n <option value=\"Bashkir\" >Bashkir</option>\n\n <option value=\"Basque\" >Basque</option>\n\n <option value=\"Batak (Indonesia)\" >Batak (Indonesia)</option>\n\n <option value=\"Beja\" >Beja</option>\n\n <option value=\"Belarusian\" >Belarusian</option>\n\n <option value=\"Bemba\" >Bemba</option>\n\n <option value=\"Bengali\" >Bengali</option>\n\n <option value=\"Berber (Other)\" >Berber (Other)</option>\n\n <option value=\"Bhojpuri\" >Bhojpuri</option>\n\n <option value=\"Bihari\" >Bihari</option>\n\n <option value=\"Bikol\" >Bikol</option>\n\n <option value=\"Bini\" >Bini</option>\n\n <option value=\"Bislama\" >Bislama</option>\n\n <option value=\"Blin\" >Blin</option>\n\n <option value=\"Bokmål, Norwegian\" >Bokmål, Norwegian</option>\n\n <option value=\"Bosnian\" >Bosnian</option>\n\n <option value=\"Braj\" >Braj</option>\n\n <option value=\"Breton\" >Breton</option>\n\n <option value=\"Buginese\" >Buginese</option>\n\n <option value=\"Bulgarian\" >Bulgarian</option>\n\n <option value=\"Buriat\" >Buriat</option>\n\n <option value=\"Burmese\" >Burmese</option>\n\n <option value=\"Caddo\" >Caddo</option>\n\n <option value=\"Cantonese\" >Cantonese</option>\n\n <option value=\"Carib\" >Carib</option>\n\n <option value=\"Catalan\" >Catalan</option>\n\n <option value=\"Caucasian (Other)\" >Caucasian (Other)</option>\n\n <option value=\"Cebuano\" >Cebuano</option>\n\n <option value=\"Celtic (Other)\" >Celtic (Other)</option>\n\n <option value=\"Central American Indian (Other)\" >Central American Indian (Other)</option>\n\n <option value=\"Chagatai\" >Chagatai</option>\n\n <option value=\"Chamic Languages\" >Chamic Languages</option>\n\n <option value=\"Chamorro\" >Chamorro</option>\n\n <option value=\"Chechen\" >Chechen</option>\n\n <option value=\"Cherokee\" >Cherokee</option>\n\n <option value=\"Cheyenne\" >Cheyenne</option>\n\n <option value=\"Chibcha\" >Chibcha</option>\n\n <option value=\"Chichewa\" >Chichewa</option>\n\n <option value=\"Chinese\" >Chinese</option>\n\n <option value=\"Chinook Jargon\" >Chinook Jargon</option>\n\n <option value=\"Chipewyan\" >Chipewyan</option>\n\n <option value=\"Choctaw\" >Choctaw</option>\n\n <option value=\"Chuukese\" >Chuukese</option>\n\n <option value=\"Chuvash\" >Chuvash</option>\n\n <option value=\"Classical Nepal Bhasa\" >Classical Nepal Bhasa</option>\n\n <option value=\"Coptic\" >Coptic</option>\n\n <option value=\"Cornish\" >Cornish</option>\n\n <option value=\"Corsican\" >Corsican</option>\n\n <option value=\"Cree\" >Cree</option>\n\n <option value=\"Creek\" >Creek</option>\n\n <option value=\"Creoles And Pidgins (Other)\" >Creoles And Pidgins (Other)</option>\n\n <option value=\"Creoles And Pidgins, English-Based (Other)\" >Creoles And Pidgins, English-Based (Other)</option>\n\n <option value=\"Creoles And Pidgins, French-Based (Other)\" >Creoles And Pidgins, French-Based (Other)</option>\n\n <option value=\"Creoles And Pidgins, Portuguese-Based (Other)\" >Creoles And Pidgins, Portuguese-Based (Other)</option>\n\n <option value=\"Crimean Tatar\" >Crimean Tatar</option>\n\n <option value=\"Croatian\" >Croatian</option>\n\n <option value=\"Cushitic (Other)\" >Cushitic (Other)</option>\n\n <option value=\"Czech\" >Czech</option>\n\n <option value=\"Dakota\" >Dakota</option>\n\n <option value=\"Danish\" >Danish</option>\n\n <option value=\"Dargwa\" >Dargwa</option>\n\n <option value=\"Dayak\" >Dayak</option>\n\n <option value=\"Delaware\" >Delaware</option>\n\n <option value=\"Dhivehi\" >Dhivehi</option>\n\n <option value=\"Dinka\" >Dinka</option>\n\n <option value=\"Dogri\" >Dogri</option>\n\n <option value=\"Dogrib\" >Dogrib</option>\n\n <option value=\"Dravidian (Other)\" >Dravidian (Other)</option>\n\n <option value=\"Duala\" >Duala</option>\n\n <option value=\"Dutch\" >Dutch</option>\n\n <option value=\"Dyula\" >Dyula</option>\n\n <option value=\"Dzongkha\" >Dzongkha</option>\n\n <option value=\"Eastern Frisian\" >Eastern Frisian</option>\n\n <option value=\"Efik\" >Efik</option>\n\n <option value=\"Egyptian (Ancient)\" >Egyptian (Ancient)</option>\n\n <option value=\"Ekajuk\" >Ekajuk</option>\n\n <option value=\"Elamite\" >Elamite</option>\n\n <option value=\"English\" selected>English</option>\n\n <option value=\"Erzya\" >Erzya</option>\n\n <option value=\"Esperanto\" >Esperanto</option>\n\n <option value=\"Estonian\" >Estonian</option>\n\n <option value=\"Ewe\" >Ewe</option>\n\n <option value=\"Ewondo\" >Ewondo</option>\n\n <option value=\"Fang\" >Fang</option>\n\n <option value=\"Fanti\" >Fanti</option>\n\n <option value=\"Faroese\" >Faroese</option>\n\n <option value=\"Fijian\" >Fijian</option>\n\n <option value=\"Filipino; Pilipino\" >Filipino; Pilipino</option>\n\n <option value=\"Finnish\" >Finnish</option>\n\n <option value=\"Finno-Ugrian (Other)\" >Finno-Ugrian (Other)</option>\n\n <option value=\"Fon\" >Fon</option>\n\n <option value=\"French\" >French</option>\n\n <option value=\"Friulian\" >Friulian</option>\n\n <option value=\"Fulah\" >Fulah</option>\n\n <option value=\"Ga\" >Ga</option>\n\n <option value=\"Gaelic\" >Gaelic</option>\n\n <option value=\"Gallegan\" >Gallegan</option>\n\n <option value=\"Ganda\" >Ganda</option>\n\n <option value=\"Gayo\" >Gayo</option>\n\n <option value=\"Gbaya\" >Gbaya</option>\n\n <option value=\"Geez\" >Geez</option>\n\n <option value=\"Georgian\" >Georgian</option>\n\n <option value=\"German\" >German</option>\n\n <option value=\"Germanic (Other)\" >Germanic (Other)</option>\n\n <option value=\"Gikuyu\" >Gikuyu</option>\n\n <option value=\"Gilbertese\" >Gilbertese</option>\n\n <option value=\"Gondi\" >Gondi</option>\n\n <option value=\"Gorontalo\" >Gorontalo</option>\n\n <option value=\"Gothic\" >Gothic</option>\n\n <option value=\"Grebo\" >Grebo</option>\n\n <option value=\"Greek, Modern (1453-)\" >Greek, Modern (1453-)</option>\n\n <option value=\"Guarani\" >Guarani</option>\n\n <option value=\"Gujarati\" >Gujarati</option>\n\n <option value=\"Gwich'in\" >Gwich'in</option>\n\n <option value=\"Haida\" >Haida</option>\n\n <option value=\"Haitian Creole\" >Haitian Creole</option>\n\n <option value=\"Hausa\" >Hausa</option>\n\n <option value=\"Hawaiian\" >Hawaiian</option>\n\n <option value=\"Hebrew\" >Hebrew</option>\n\n <option value=\"Herero\" >Herero</option>\n\n <option value=\"Hiligaynon\" >Hiligaynon</option>\n\n <option value=\"Himachali\" >Himachali</option>\n\n <option value=\"Hindi\" >Hindi</option>\n\n <option value=\"Hiri Motu\" >Hiri Motu</option>\n\n <option value=\"Hittite\" >Hittite</option>\n\n <option value=\"Hmong\" >Hmong</option>\n\n <option value=\"Hungarian\" >Hungarian</option>\n\n <option value=\"Hupa\" >Hupa</option>\n\n <option value=\"Iban\" >Iban</option>\n\n <option value=\"Icelandic\" >Icelandic</option>\n\n <option value=\"Ido\" >Ido</option>\n\n <option value=\"Igbo\" >Igbo</option>\n\n <option value=\"Ijo\" >Ijo</option>\n\n <option value=\"Iloko\" >Iloko</option>\n\n <option value=\"Inari Sami\" >Inari Sami</option>\n\n <option value=\"Indic (Other)\" >Indic (Other)</option>\n\n <option value=\"Indo-European (Other)\" >Indo-European (Other)</option>\n\n <option value=\"Indonesian\" >Indonesian</option>\n\n <option value=\"Ingush\" >Ingush</option>\n\n <option value=\"Interlingua (International Auxiliary Lang. Assoc.)\" >Interlingua (International Auxiliary Lang. Assoc.)</option>\n\n <option value=\"Interlingue\" >Interlingue</option>\n\n <option value=\"Inuktitut\" >Inuktitut</option>\n\n <option value=\"Inupiaq\" >Inupiaq</option>\n\n <option value=\"Iranian (Other)\" >Iranian (Other)</option>\n\n <option value=\"Irish\" >Irish</option>\n\n <option value=\"Iroquoian Languages\" >Iroquoian Languages</option>\n\n <option value=\"Italian\" >Italian</option>\n\n <option value=\"Japanese\" >Japanese</option>\n\n <option value=\"Javanese\" >Javanese</option>\n\n <option value=\"Judeo-Arabic\" >Judeo-Arabic</option>\n\n <option value=\"Judeo-Persian\" >Judeo-Persian</option>\n\n <option value=\"Kabardian\" >Kabardian</option>\n\n <option value=\"Kabyle\" >Kabyle</option>\n\n <option value=\"Kachin\" >Kachin</option>\n\n <option value=\"Kalaallisut\" >Kalaallisut</option>\n\n <option value=\"Kalmyk\" >Kalmyk</option>\n\n <option value=\"Kamba\" >Kamba</option>\n\n <option value=\"Kannada\" >Kannada</option>\n\n <option value=\"Kanuri\" >Kanuri</option>\n\n <option value=\"Kara-Kalpak\" >Kara-Kalpak</option>\n\n <option value=\"Karachay-Balkar\" >Karachay-Balkar</option>\n\n <option value=\"Karelian\" >Karelian</option>\n\n <option value=\"Karen\" >Karen</option>\n\n <option value=\"Kashmiri\" >Kashmiri</option>\n\n <option value=\"Kashubian\" >Kashubian</option>\n\n <option value=\"Kawi\" >Kawi</option>\n\n <option value=\"Kazakh\" >Kazakh</option>\n\n <option value=\"Khasi\" >Khasi</option>\n\n <option value=\"Khmer\" >Khmer</option>\n\n <option value=\"Khoisan (Other)\" >Khoisan (Other)</option>\n\n <option value=\"Khotanese\" >Khotanese</option>\n\n <option value=\"Kimbundu\" >Kimbundu</option>\n\n <option value=\"Kinyarwanda\" >Kinyarwanda</option>\n\n <option value=\"Kirghiz\" >Kirghiz</option>\n\n <option value=\"Klingon\" >Klingon</option>\n\n <option value=\"Komi\" >Komi</option>\n\n <option value=\"Kongo\" >Kongo</option>\n\n <option value=\"Konkani\" >Konkani</option>\n\n <option value=\"Korean\" >Korean</option>\n\n <option value=\"Kosraean\" >Kosraean</option>\n\n <option value=\"Kpelle\" >Kpelle</option>\n\n <option value=\"Kru\" >Kru</option>\n\n <option value=\"Kumyk\" >Kumyk</option>\n\n <option value=\"Kurdish\" >Kurdish</option>\n\n <option value=\"Kurukh\" >Kurukh</option>\n\n <option value=\"Kutenai\" >Kutenai</option>\n\n <option value=\"Kwanyama\" >Kwanyama</option>\n\n <option value=\"Ladino\" >Ladino</option>\n\n <option value=\"Lahnda\" >Lahnda</option>\n\n <option value=\"Lamba\" >Lamba</option>\n\n <option value=\"Lao\" >Lao</option>\n\n <option value=\"Latin\" >Latin</option>\n\n <option value=\"Latvian\" >Latvian</option>\n\n <option value=\"Lezghian\" >Lezghian</option>\n\n <option value=\"Limburgish\" >Limburgish</option>\n\n <option value=\"Lingala\" >Lingala</option>\n\n <option value=\"Lithuanian\" >Lithuanian</option>\n\n <option value=\"Lojban\" >Lojban</option>\n\n <option value=\"Low German\" >Low German</option>\n\n <option value=\"Lower Sorbian\" >Lower Sorbian</option>\n\n <option value=\"Lozi\" >Lozi</option>\n\n <option value=\"Luba-Katanga\" >Luba-Katanga</option>\n\n <option value=\"Luba-Lulua\" >Luba-Lulua</option>\n\n <option value=\"Luiseno\" >Luiseno</option>\n\n <option value=\"Lule Sami\" >Lule Sami</option>\n\n <option value=\"Lunda\" >Lunda</option>\n\n <option value=\"Luo (Kenya And Tanzania)\" >Luo (Kenya And Tanzania)</option>\n\n <option value=\"Lushai\" >Lushai</option>\n\n <option value=\"Luxembourgish\" >Luxembourgish</option>\n\n <option value=\"Macedonian\" >Macedonian</option>\n\n <option value=\"Madurese\" >Madurese</option>\n\n <option value=\"Magahi\" >Magahi</option>\n\n <option value=\"Maithili\" >Maithili</option>\n\n <option value=\"Makasar\" >Makasar</option>\n\n <option value=\"Malagasy\" >Malagasy</option>\n\n <option value=\"Malay\" >Malay</option>\n\n <option value=\"Malayalam\" >Malayalam</option>\n\n <option value=\"Maltese\" >Maltese</option>\n\n <option value=\"Manchu\" >Manchu</option>\n\n <option value=\"Mandar\" >Mandar</option>\n\n <option value=\"Mandarin\" >Mandarin</option>\n\n <option value=\"Mandingo\" >Mandingo</option>\n\n <option value=\"Manipuri\" >Manipuri</option>\n\n <option value=\"Manobo Languages\" >Manobo Languages</option>\n\n <option value=\"Manx\" >Manx</option>\n\n <option value=\"Maori\" >Maori</option>\n\n <option value=\"Marathi\" >Marathi</option>\n\n <option value=\"Mari\" >Mari</option>\n\n <option value=\"Marshall\" >Marshall</option>\n\n <option value=\"Marwari\" >Marwari</option>\n\n <option value=\"Masai\" >Masai</option>\n\n <option value=\"Mayan Languages\" >Mayan Languages</option>\n\n <option value=\"Mende\" >Mende</option>\n\n <option value=\"Micmac\" >Micmac</option>\n\n <option value=\"Minangkabau\" >Minangkabau</option>\n\n <option value=\"Mirandese\" >Mirandese</option>\n\n <option value=\"Miscellaneous Languages\" >Miscellaneous Languages</option>\n\n <option value=\"Mohawk\" >Mohawk</option>\n\n <option value=\"Moksha\" >Moksha</option>\n\n <option value=\"Moldavian\" >Moldavian</option>\n\n <option value=\"Mon-Khmer (Other)\" >Mon-Khmer (Other)</option>\n\n <option value=\"Mongo\" >Mongo</option>\n\n <option value=\"Mongolian\" >Mongolian</option>\n\n <option value=\"Mossi\" >Mossi</option>\n\n <option value=\"Multiple Languages\" >Multiple Languages</option>\n\n <option value=\"Munda Languages\" >Munda Languages</option>\n\n <option value=\"N'Ko\" >N'Ko</option>\n\n <option value=\"Nahuatl\" >Nahuatl</option>\n\n <option value=\"Nauru\" >Nauru</option>\n\n <option value=\"Navajo\" >Navajo</option>\n\n <option value=\"Ndonga\" >Ndonga</option>\n\n <option value=\"Neapolitan\" >Neapolitan</option>\n\n <option value=\"Nepal Bhasa\" >Nepal Bhasa</option>\n\n <option value=\"Nepali\" >Nepali</option>\n\n <option value=\"Nias\" >Nias</option>\n\n <option value=\"Niger-Kordofanian (Other)\" >Niger-Kordofanian (Other)</option>\n\n <option value=\"Nilo-Saharan (Other)\" >Nilo-Saharan (Other)</option>\n\n <option value=\"Niuean\" >Niuean</option>\n\n <option value=\"Nogai\" >Nogai</option>\n\n <option value=\"Norse, Old\" >Norse, Old</option>\n\n <option value=\"North American Indian (Other)\" >North American Indian (Other)</option>\n\n <option value=\"North Ndebele\" >North Ndebele</option>\n\n <option value=\"Northern Frisian\" >Northern Frisian</option>\n\n <option value=\"Northern Sami\" >Northern Sami</option>\n\n <option value=\"Northern Sotho\" >Northern Sotho</option>\n\n <option value=\"Norwegian\" >Norwegian</option>\n\n <option value=\"Norwegian Nynorsk\" >Norwegian Nynorsk</option>\n\n <option value=\"Nubian Languages\" >Nubian Languages</option>\n\n <option value=\"Nyamwezi\" >Nyamwezi</option>\n\n <option value=\"Nyankole\" >Nyankole</option>\n\n <option value=\"Nyoro\" >Nyoro</option>\n\n <option value=\"Nzima\" >Nzima</option>\n\n <option value=\"Occitan (Post 1500)\" >Occitan (Post 1500)</option>\n\n <option value=\"Ojibwa\" >Ojibwa</option>\n\n <option value=\"Old Church Slavonic\" >Old Church Slavonic</option>\n\n <option value=\"Oriya\" >Oriya</option>\n\n <option value=\"Oromo\" >Oromo</option>\n\n <option value=\"Osage\" >Osage</option>\n\n <option value=\"Ossetic\" >Ossetic</option>\n\n <option value=\"Otomian Languages\" >Otomian Languages</option>\n\n <option value=\"Pahlavi\" >Pahlavi</option>\n\n <option value=\"Palauan\" >Palauan</option>\n\n <option value=\"Pali\" >Pali</option>\n\n <option value=\"Pampanga\" >Pampanga</option>\n\n <option value=\"Pangasinan\" >Pangasinan</option>\n\n <option value=\"Papiamento\" >Papiamento</option>\n\n <option value=\"Papuan (Other)\" >Papuan (Other)</option>\n\n <option value=\"Persian\" >Persian</option>\n\n <option value=\"Philippine (Other)\" >Philippine (Other)</option>\n\n <option value=\"Phoenician\" >Phoenician</option>\n\n <option value=\"Pohnpeian\" >Pohnpeian</option>\n\n <option value=\"Polish\" >Polish</option>\n\n <option value=\"Portuguese\" >Portuguese</option>\n\n <option value=\"Prakrit Languages\" >Prakrit Languages</option>\n\n <option value=\"Punjabi\" >Punjabi</option>\n\n <option value=\"Pushto\" >Pushto</option>\n\n <option value=\"Quechua\" >Quechua</option>\n\n <option value=\"Raeto-Romance\" >Raeto-Romance</option>\n\n <option value=\"Rajasthani\" >Rajasthani</option>\n\n <option value=\"Rapanui\" >Rapanui</option>\n\n <option value=\"Rarotongan\" >Rarotongan</option>\n\n <option value=\"Romance (Other)\" >Romance (Other)</option>\n\n <option value=\"Romanian\" >Romanian</option>\n\n <option value=\"Romany\" >Romany</option>\n\n <option value=\"Rundi\" >Rundi</option>\n\n <option value=\"Russian\" >Russian</option>\n\n <option value=\"Salishan Languages\" >Salishan Languages</option>\n\n <option value=\"Samaritan Aramaic\" >Samaritan Aramaic</option>\n\n <option value=\"Sami Languages\" >Sami Languages</option>\n\n <option value=\"Samoan\" >Samoan</option>\n\n <option value=\"Sandawe\" >Sandawe</option>\n\n <option value=\"Sango\" >Sango</option>\n\n <option value=\"Sanskrit\" >Sanskrit</option>\n\n <option value=\"Santali\" >Santali</option>\n\n <option value=\"Sardinian\" >Sardinian</option>\n\n <option value=\"Sasak\" >Sasak</option>\n\n <option value=\"Scots\" >Scots</option>\n\n <option value=\"Selkup\" >Selkup</option>\n\n <option value=\"Semitic (Other)\" >Semitic (Other)</option>\n\n <option value=\"Serbian\" >Serbian</option>\n\n <option value=\"Serer\" >Serer</option>\n\n <option value=\"Shan\" >Shan</option>\n\n <option value=\"Shona\" >Shona</option>\n\n <option value=\"Sichuan Yi\" >Sichuan Yi</option>\n\n <option value=\"Sicilian\" >Sicilian</option>\n\n <option value=\"Sidamo\" >Sidamo</option>\n\n <option value=\"Sign Languages\" >Sign Languages</option>\n\n <option value=\"Siksika\" >Siksika</option>\n\n <option value=\"Sindhi\" >Sindhi</option>\n\n <option value=\"Sinhalese\" >Sinhalese</option>\n\n <option value=\"Sino-Tibetan (Other)\" >Sino-Tibetan (Other)</option>\n\n <option value=\"Siouan Languages\" >Siouan Languages</option>\n\n <option value=\"Skolt Sami\" >Skolt Sami</option>\n\n <option value=\"Slave (Athapascan)\" >Slave (Athapascan)</option>\n\n <option value=\"Slavic (Other)\" >Slavic (Other)</option>\n\n <option value=\"Slovak\" >Slovak</option>\n\n <option value=\"Slovenian\" >Slovenian</option>\n\n <option value=\"Sogdian\" >Sogdian</option>\n\n <option value=\"Somali\" >Somali</option>\n\n <option value=\"Songhai\" >Songhai</option>\n\n <option value=\"Soninke\" >Soninke</option>\n\n <option value=\"Sorbian Languages\" >Sorbian Languages</option>\n\n <option value=\"Sotho, Southern\" >Sotho, Southern</option>\n\n <option value=\"South American Indian (Other)\" >South American Indian (Other)</option>\n\n <option value=\"South Ndebele\" >South Ndebele</option>\n\n <option value=\"Southern Altai\" >Southern Altai</option>\n\n <option value=\"Southern Sami\" >Southern Sami</option>\n\n <option value=\"Spanish; Castilian\" >Spanish; Castilian</option>\n\n <option value=\"Sranan Togo\" >Sranan Togo</option>\n\n <option value=\"Sukuma\" >Sukuma</option>\n\n <option value=\"Sumerian\" >Sumerian</option>\n\n <option value=\"Sundanese\" >Sundanese</option>\n\n <option value=\"Susu\" >Susu</option>\n\n <option value=\"Swahili\" >Swahili</option>\n\n <option value=\"Swati\" >Swati</option>\n\n <option value=\"Swedish\" >Swedish</option>\n\n <option value=\"Swiss German\" >Swiss German</option>\n\n <option value=\"Syriac\" >Syriac</option>\n\n <option value=\"Tagalog\" >Tagalog</option>\n\n <option value=\"Tahitian\" >Tahitian</option>\n\n <option value=\"Tai (Other)\" >Tai (Other)</option>\n\n <option value=\"Tajik\" >Tajik</option>\n\n <option value=\"Tamashek\" >Tamashek</option>\n\n <option value=\"Tamil\" >Tamil</option>\n\n <option value=\"Tatar\" >Tatar</option>\n\n <option value=\"Telugu\" >Telugu</option>\n\n <option value=\"Tereno\" >Tereno</option>\n\n <option value=\"Tetum\" >Tetum</option>\n\n <option value=\"Thai\" >Thai</option>\n\n <option value=\"Tibetan\" >Tibetan</option>\n\n <option value=\"Tigre\" >Tigre</option>\n\n <option value=\"Tigrinya\" >Tigrinya</option>\n\n <option value=\"Timne\" >Timne</option>\n\n <option value=\"Tiv\" >Tiv</option>\n\n <option value=\"Tlingit\" >Tlingit</option>\n\n <option value=\"Tok Pisin\" >Tok Pisin</option>\n\n <option value=\"Tokelau\" >Tokelau</option>\n\n <option value=\"Tonga (Nyasa)\" >Tonga (Nyasa)</option>\n\n <option value=\"Tonga (Tonga Islands)\" >Tonga (Tonga Islands)</option>\n\n <option value=\"Tsimshian\" >Tsimshian</option>\n\n <option value=\"Tsonga\" >Tsonga</option>\n\n <option value=\"Tswana\" >Tswana</option>\n\n <option value=\"Tumbuka\" >Tumbuka</option>\n\n <option value=\"Tupi Languages\" >Tupi Languages</option>\n\n <option value=\"Turkish\" >Turkish</option>\n\n <option value=\"Turkmen\" >Turkmen</option>\n\n <option value=\"Tuvalu\" >Tuvalu</option>\n\n <option value=\"Tuvinian\" >Tuvinian</option>\n\n <option value=\"Twi\" >Twi</option>\n\n <option value=\"Udmurt\" >Udmurt</option>\n\n <option value=\"Ugaritic\" >Ugaritic</option>\n\n <option value=\"Ukrainian\" >Ukrainian</option>\n\n <option value=\"Umbundu\" >Umbundu</option>\n\n <option value=\"Undetermined\" >Undetermined</option>\n\n <option value=\"Upper Sorbian\" >Upper Sorbian</option>\n\n <option value=\"Urdu\" >Urdu</option>\n\n <option value=\"Uyghur\" >Uyghur</option>\n\n <option value=\"Uzbek\" >Uzbek</option>\n\n <option value=\"Vai\" >Vai</option>\n\n <option value=\"Venda\" >Venda</option>\n\n <option value=\"Vietnamese\" >Vietnamese</option>\n\n <option value=\"Volapuk\" >Volapuk</option>\n\n <option value=\"Votic\" >Votic</option>\n\n <option value=\"Wakashan Languages\" >Wakashan Languages</option>\n\n <option value=\"Walamo\" >Walamo</option>\n\n <option value=\"Walloon\" >Walloon</option>\n\n <option value=\"Waray\" >Waray</option>\n\n <option value=\"Washo\" >Washo</option>\n\n <option value=\"Welsh\" >Welsh</option>\n\n <option value=\"Western Frisian\" >Western Frisian</option>\n\n <option value=\"Wolof\" >Wolof</option>\n\n <option value=\"Xhosa\" >Xhosa</option>\n\n <option value=\"Yakut\" >Yakut</option>\n\n <option value=\"Yao\" >Yao</option>\n\n <option value=\"Yapese\" >Yapese</option>\n\n <option value=\"Yiddish\" >Yiddish</option>\n\n <option value=\"Yoruba\" >Yoruba</option>\n\n <option value=\"Yupik Languages\" >Yupik Languages</option>\n\n <option value=\"Zande\" >Zande</option>\n\n <option value=\"Zapotec\" >Zapotec</option>\n\n <option value=\"Zazaki\" >Zazaki</option>\n\n <option value=\"Zenaga\" >Zenaga</option>\n\n <option value=\"Zhuang\" >Zhuang</option>\n\n <option value=\"Zulu\" >Zulu</option>\n\n <option value=\"Zuni\" >Zuni</option>\n\n\t\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t </td>\n\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Address: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"address\" \n\t\t\t\t\t\t\t\t\tsize=\"30\" value=\"500 Somewhere Ave\">\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>City: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"city\" size=\"30\" \n\t\t\t\t\t\t\t\t\tvalue=\"TEST CITY\"></td>\n\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b> \n\t\t\t\t\t\t\t\tProvince : </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t <select\n\t\t\t\t\t\t\t\t\tname=\"province\" style=\"width: 200px\" >\n\t\t\t\t\t\t\t\t\t<option value=\"OT\"\n\t\t\t\t\t\t\t\t\t\t>Other</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AB\" >AB-Alberta</option>\n\t\t\t\t\t\t\t\t\t<option value=\"BC\" selected>BC-British Columbia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"MB\" >MB-Manitoba</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NB\" >NB-New Brunswick</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NL\" >NL-Newfoundland Labrador</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NT\" >NT-Northwest Territory</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NS\" >NS-Nova Scotia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NU\" >NU-Nunavut</option>\n\t\t\t\t\t\t\t\t\t<option value=\"ON\" >ON-Ontario</option>\n\t\t\t\t\t\t\t\t\t<option value=\"PE\" >PE-Prince Edward Island</option>\n\t\t\t\t\t\t\t\t\t<option value=\"QC\" >QC-Quebec</option>\n\t\t\t\t\t\t\t\t\t<option value=\"SK\" >SK-Saskatchewan</option>\n\t\t\t\t\t\t\t\t\t<option value=\"YT\" >YT-Yukon</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US\" >US resident</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AK\" >US-AK-Alaska</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AL\" >US-AL-Alabama</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AR\" >US-AR-Arkansas</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AZ\" >US-AZ-Arizona</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CA\" >US-CA-California</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CO\" >US-CO-Colorado</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CT\" >US-CT-Connecticut</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CZ\" >US-CZ-Canal Zone</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-DC\" >US-DC-District Of Columbia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-DE\" >US-DE-Delaware</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-FL\" >US-FL-Florida</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-GA\" >US-GA-Georgia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-GU\" >US-GU-Guam</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-HI\" >US-HI-Hawaii</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-IA\" >US-IA-Iowa</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-ID\" >US-ID-Idaho</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-IL\" >US-IL-Illinois</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-IN\" >US-IN-Indiana</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-KS\" >US-KS-Kansas</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-KY\" >US-KY-Kentucky</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-LA\" >US-LA-Louisiana</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MA\" >US-MA-Massachusetts</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MD\" >US-MD-Maryland</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-ME\" >US-ME-Maine</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MI\" >US-MI-Michigan</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MN\" >US-MN-Minnesota</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MO\" >US-MO-Missouri</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MS\" >US-MS-Mississippi</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MT\" >US-MT-Montana</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NC\" >US-NC-North Carolina</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-ND\" >US-ND-North Dakota</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NE\" >US-NE-Nebraska</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NH\" >US-NH-New Hampshire</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NJ\" >US-NJ-New Jersey</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NM\" >US-NM-New Mexico</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NU\" >US-NU-Nunavut</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NV\" >US-NV-Nevada</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NY\" >US-NY-New York</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-OH\" >US-OH-Ohio</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-OK\" >US-OK-Oklahoma</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-OR\" >US-OR-Oregon</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-PA\" >US-PA-Pennsylvania</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-PR\" >US-PR-Puerto Rico</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-RI\" >US-RI-Rhode Island</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-SC\" >US-SC-South Carolina</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-SD\" >US-SD-South Dakota</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-TN\" >US-TN-Tennessee</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-TX\" >US-TX-Texas</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-UT\" >US-UT-Utah</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-VA\" >US-VA-Virginia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-VI\" >US-VI-Virgin Islands</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-VT\" >US-VT-Vermont</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WA\" >US-WA-Washington</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WI\" >US-WI-Wisconsin</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WV\" >US-WV-West Virginia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WY\" >US-WY-Wyoming</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select> \n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b> \n\t\t\t\t\t\t\t\tPostal : </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"postal\" size=\"30\" \n\t\t\t\t\t\t\t\t\tvalue=\"V6V262\"\n\t\t\t\t\t\t\t\t\tonBlur=\"upCaseCtrl(this)\"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Phone(H)<font color=\"red\">:</font> </b> </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"phone\" onblur=\"formatPhoneNum();\" \n\t\t\t\t\t\t\t\t\tstyle=\"display: inline; width: auto;\"\n\t\t\t\t\t\t\t\t\tvalue=\"604-123-4333\"> Ext:<input\n\t\t\t\t\t\t\t\t\ttype=\"text\" name=\"hPhoneExt\" \n\t\t\t\t\t\t\t\t\tvalue=\"\"\n\t\t\t\t\t\t\t\t\tsize=\"4\" /> <input type=\"hidden\" name=\"hPhoneExtOrig\"\n\t\t\t\t\t\t\t\t\tvalue=\"\" />\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Phone(W):</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"phone2\" \n\t\t\t\t\t\t\t\t\tonblur=\"formatPhoneNum();\"\n\t\t\t\t\t\t\t\t\tstyle=\"display: inline; width: auto;\"\n\t\t\t\t\t\t\t\t\tvalue=\"\"> Ext:<input\n\t\t\t\t\t\t\t\t\ttype=\"text\" name=\"wPhoneExt\" \n\t\t\t\t\t\t\t\t\tvalue=\"\"\n\t\t\t\t\t\t\t\t\tstyle=\"display: inline\" size=\"4\" /> <input type=\"hidden\"\n\t\t\t\t\t\t\t\t\tname=\"wPhoneExtOrig\"\n\t\t\t\t\t\t\t\t\tvalue=\"\" />\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Cell Phone<font color=\"red\">:</font> </b> </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"demo_cell\" onblur=\"formatPhoneNum();\"\n\t\t\t\t\t\t\t\t\tstyle=\"display: inline; width: auto;\" \n\t\t\t\t\t\t\t\t\tvalue=\"6041118888\">\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"demo_cellOrig\"\n\t\t\t\t\t\t\t\t\tvalue=\"6041118888\" />\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Country Of Origin: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><select name=\"countryOfOrigin\" >\n\t\t\t\t\t\t\t\t\t<option value=\"-1\">-Not Set-</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AF\"\n\t\t\t\t\t\t\t\t\t\t>AFGHANISTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AX\"\n\t\t\t\t\t\t\t\t\t\t>LAND ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AL\"\n\t\t\t\t\t\t\t\t\t\t>ALBANIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"DZ\"\n\t\t\t\t\t\t\t\t\t\t>ALGERIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AS\"\n\t\t\t\t\t\t\t\t\t\t>AMERICAN SAMOA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AD\"\n\t\t\t\t\t\t\t\t\t\t>ANDORRA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AO\"\n\t\t\t\t\t\t\t\t\t\t>ANGOLA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AI\"\n\t\t\t\t\t\t\t\t\t\t>ANGUILLA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AQ\"\n\t\t\t\t\t\t\t\t\t\t>ANTARCTICA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AG\"\n\t\t\t\t\t\t\t\t\t\t>ANTIGUA AND BARBUDA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AR\"\n\t\t\t\t\t\t\t\t\t\t>ARGENTINA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AM\"\n\t\t\t\t\t\t\t\t\t\t>ARMENIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AW\"\n\t\t\t\t\t\t\t\t\t\t>ARUBA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AU\"\n\t\t\t\t\t\t\t\t\t\t>AUSTRALIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AT\"\n\t\t\t\t\t\t\t\t\t\tSELECTED>AUSTRIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AZ\"\n\t\t\t\t\t\t\t\t\t\t>AZERBAIJAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BS\"\n\t\t\t\t\t\t\t\t\t\t>BAHAMAS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BH\"\n\t\t\t\t\t\t\t\t\t\t>BAHRAIN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BD\"\n\t\t\t\t\t\t\t\t\t\t>BANGLADESH</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BB\"\n\t\t\t\t\t\t\t\t\t\t>BARBADOS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BY\"\n\t\t\t\t\t\t\t\t\t\t>BELARUS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BE\"\n\t\t\t\t\t\t\t\t\t\t>BELGIUM</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BZ\"\n\t\t\t\t\t\t\t\t\t\t>BELIZE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BJ\"\n\t\t\t\t\t\t\t\t\t\t>BENIN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BM\"\n\t\t\t\t\t\t\t\t\t\t>BERMUDA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BT\"\n\t\t\t\t\t\t\t\t\t\t>BHUTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BO\"\n\t\t\t\t\t\t\t\t\t\t>BOLIVIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BA\"\n\t\t\t\t\t\t\t\t\t\t>BOSNIA AND HERZEGOVINA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BW\"\n\t\t\t\t\t\t\t\t\t\t>BOTSWANA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BV\"\n\t\t\t\t\t\t\t\t\t\t>BOUVET ISLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BR\"\n\t\t\t\t\t\t\t\t\t\t>BRAZIL</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IO\"\n\t\t\t\t\t\t\t\t\t\t>BRITISH INDIAN OCEAN TERRITORY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BN\"\n\t\t\t\t\t\t\t\t\t\t>BRUNEI DARUSSALAM</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BG\"\n\t\t\t\t\t\t\t\t\t\t>BULGARIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BF\"\n\t\t\t\t\t\t\t\t\t\t>BURKINA FASO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BI\"\n\t\t\t\t\t\t\t\t\t\t>BURUNDI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KH\"\n\t\t\t\t\t\t\t\t\t\t>CAMBODIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CM\"\n\t\t\t\t\t\t\t\t\t\t>CAMEROON</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CA\"\n\t\t\t\t\t\t\t\t\t\t>CANADA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CV\"\n\t\t\t\t\t\t\t\t\t\t>CAPE VERDE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KY\"\n\t\t\t\t\t\t\t\t\t\t>CAYMAN ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CF\"\n\t\t\t\t\t\t\t\t\t\t>CENTRAL AFRICAN REPUBLIC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TD\"\n\t\t\t\t\t\t\t\t\t\t>CHAD</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CL\"\n\t\t\t\t\t\t\t\t\t\t>CHILE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CN\"\n\t\t\t\t\t\t\t\t\t\t>CHINA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CX\"\n\t\t\t\t\t\t\t\t\t\t>CHRISTMAS ISLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CC\"\n\t\t\t\t\t\t\t\t\t\t>COCOS (KEELING) ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CO\"\n\t\t\t\t\t\t\t\t\t\t>COLOMBIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KM\"\n\t\t\t\t\t\t\t\t\t\t>COMOROS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CG\"\n\t\t\t\t\t\t\t\t\t\t>CONGO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CD\"\n\t\t\t\t\t\t\t\t\t\t>CONGO, THE DEMOCRATIC REPUBLIC OF THE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CK\"\n\t\t\t\t\t\t\t\t\t\t>COOK ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CR\"\n\t\t\t\t\t\t\t\t\t\t>COSTA RICA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CI\"\n\t\t\t\t\t\t\t\t\t\t>CïTE D IVOIRE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"HR\"\n\t\t\t\t\t\t\t\t\t\t>CROATIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CU\"\n\t\t\t\t\t\t\t\t\t\t>CUBA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CY\"\n\t\t\t\t\t\t\t\t\t\t>CYPRUS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CZ\"\n\t\t\t\t\t\t\t\t\t\t>CZECH REPUBLIC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"DK\"\n\t\t\t\t\t\t\t\t\t\t>DENMARK</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"DJ\"\n\t\t\t\t\t\t\t\t\t\t>DJIBOUTI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"DM\"\n\t\t\t\t\t\t\t\t\t\t>DOMINICA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"DO\"\n\t\t\t\t\t\t\t\t\t\t>DOMINICAN REPUBLIC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"EC\"\n\t\t\t\t\t\t\t\t\t\t>ECUADOR</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"EG\"\n\t\t\t\t\t\t\t\t\t\t>EGYPT</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SV\"\n\t\t\t\t\t\t\t\t\t\t>EL SALVADOR</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GQ\"\n\t\t\t\t\t\t\t\t\t\t>EQUATORIAL GUINEA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ER\"\n\t\t\t\t\t\t\t\t\t\t>ERITREA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"EE\"\n\t\t\t\t\t\t\t\t\t\t>ESTONIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ET\"\n\t\t\t\t\t\t\t\t\t\t>ETHIOPIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"FK\"\n\t\t\t\t\t\t\t\t\t\t>FALKLAND ISLANDS (MALVINAS)</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"FO\"\n\t\t\t\t\t\t\t\t\t\t>FAROE ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"FJ\"\n\t\t\t\t\t\t\t\t\t\t>FIJI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"FI\"\n\t\t\t\t\t\t\t\t\t\t>FINLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"FR\"\n\t\t\t\t\t\t\t\t\t\t>FRANCE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GF\"\n\t\t\t\t\t\t\t\t\t\t>FRENCH GUIANA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PF\"\n\t\t\t\t\t\t\t\t\t\t>FRENCH POLYNESIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TF\"\n\t\t\t\t\t\t\t\t\t\t>FRENCH SOUTHERN TERRITORIES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GA\"\n\t\t\t\t\t\t\t\t\t\t>GABON</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GM\"\n\t\t\t\t\t\t\t\t\t\t>GAMBIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GE\"\n\t\t\t\t\t\t\t\t\t\t>GEORGIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"DE\"\n\t\t\t\t\t\t\t\t\t\t>GERMANY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GH\"\n\t\t\t\t\t\t\t\t\t\t>GHANA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GI\"\n\t\t\t\t\t\t\t\t\t\t>GIBRALTAR</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GR\"\n\t\t\t\t\t\t\t\t\t\t>GREECE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GL\"\n\t\t\t\t\t\t\t\t\t\t>GREENLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GD\"\n\t\t\t\t\t\t\t\t\t\t>GRENADA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GP\"\n\t\t\t\t\t\t\t\t\t\t>GUADELOUPE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GU\"\n\t\t\t\t\t\t\t\t\t\t>GUAM</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GT\"\n\t\t\t\t\t\t\t\t\t\t>GUATEMALA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GG\"\n\t\t\t\t\t\t\t\t\t\t>GUERNSEY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GN\"\n\t\t\t\t\t\t\t\t\t\t>GUINEA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GW\"\n\t\t\t\t\t\t\t\t\t\t>GUINEA-BISSAU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GY\"\n\t\t\t\t\t\t\t\t\t\t>GUYANA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"HT\"\n\t\t\t\t\t\t\t\t\t\t>HAITI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"HM\"\n\t\t\t\t\t\t\t\t\t\t>HEARD ISLAND AND MCDONALD ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VA\"\n\t\t\t\t\t\t\t\t\t\t>HOLY SEE (VATICAN CITY STATE)</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"HN\"\n\t\t\t\t\t\t\t\t\t\t>HONDURAS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"HK\"\n\t\t\t\t\t\t\t\t\t\t>HONG KONG</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"HU\"\n\t\t\t\t\t\t\t\t\t\t>HUNGARY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IS\"\n\t\t\t\t\t\t\t\t\t\t>ICELAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IN\"\n\t\t\t\t\t\t\t\t\t\t>INDIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ID\"\n\t\t\t\t\t\t\t\t\t\t>INDONESIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IR\"\n\t\t\t\t\t\t\t\t\t\t>IRAN, ISLAMIC REPUBLIC OF</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IQ\"\n\t\t\t\t\t\t\t\t\t\t>IRAQ</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IE\"\n\t\t\t\t\t\t\t\t\t\t>IRELAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IM\"\n\t\t\t\t\t\t\t\t\t\t>ISLE OF MAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IL\"\n\t\t\t\t\t\t\t\t\t\t>ISRAEL</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"IT\"\n\t\t\t\t\t\t\t\t\t\t>ITALY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"JM\"\n\t\t\t\t\t\t\t\t\t\t>JAMAICA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"JP\"\n\t\t\t\t\t\t\t\t\t\t>JAPAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"JE\"\n\t\t\t\t\t\t\t\t\t\t>JERSEY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"JO\"\n\t\t\t\t\t\t\t\t\t\t>JORDAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KZ\"\n\t\t\t\t\t\t\t\t\t\t>KAZAKHSTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KE\"\n\t\t\t\t\t\t\t\t\t\t>KENYA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KI\"\n\t\t\t\t\t\t\t\t\t\t>KIRIBATI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KP\"\n\t\t\t\t\t\t\t\t\t\t>KOREA, DEMOCRATIC PEOPLES REPUBLIC OF</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KR\"\n\t\t\t\t\t\t\t\t\t\t>KOREA, REPUBLIC OF</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KW\"\n\t\t\t\t\t\t\t\t\t\t>KUWAIT</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KG\"\n\t\t\t\t\t\t\t\t\t\t>KYRGYZSTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LA\"\n\t\t\t\t\t\t\t\t\t\t>LAO PEOPLES DEMOCRATIC REPUBLIC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LV\"\n\t\t\t\t\t\t\t\t\t\t>LATVIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LB\"\n\t\t\t\t\t\t\t\t\t\t>LEBANON</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LS\"\n\t\t\t\t\t\t\t\t\t\t>LESOTHO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LR\"\n\t\t\t\t\t\t\t\t\t\t>LIBERIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LY\"\n\t\t\t\t\t\t\t\t\t\t>LIBYAN ARAB JAMAHIRIYA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LI\"\n\t\t\t\t\t\t\t\t\t\t>LIECHTENSTEIN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LT\"\n\t\t\t\t\t\t\t\t\t\t>LITHUANIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LU\"\n\t\t\t\t\t\t\t\t\t\t>LUXEMBOURG</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MO\"\n\t\t\t\t\t\t\t\t\t\t>MACAO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MK\"\n\t\t\t\t\t\t\t\t\t\t>MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MG\"\n\t\t\t\t\t\t\t\t\t\t>MADAGASCAR</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MW\"\n\t\t\t\t\t\t\t\t\t\t>MALAWI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MY\"\n\t\t\t\t\t\t\t\t\t\t>MALAYSIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MV\"\n\t\t\t\t\t\t\t\t\t\t>MALDIVES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ML\"\n\t\t\t\t\t\t\t\t\t\t>MALI</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MT\"\n\t\t\t\t\t\t\t\t\t\t>MALTA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MH\"\n\t\t\t\t\t\t\t\t\t\t>MARSHALL ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MQ\"\n\t\t\t\t\t\t\t\t\t\t>MARTINIQUE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MR\"\n\t\t\t\t\t\t\t\t\t\t>MAURITANIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MU\"\n\t\t\t\t\t\t\t\t\t\t>MAURITIUS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"YT\"\n\t\t\t\t\t\t\t\t\t\t>MAYOTTE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MX\"\n\t\t\t\t\t\t\t\t\t\t>MEXICO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"FM\"\n\t\t\t\t\t\t\t\t\t\t>MICRONESIA, FEDERATED STATES OF</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MD\"\n\t\t\t\t\t\t\t\t\t\t>MOLDOVA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MC\"\n\t\t\t\t\t\t\t\t\t\t>MONACO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MN\"\n\t\t\t\t\t\t\t\t\t\t>MONGOLIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ME\"\n\t\t\t\t\t\t\t\t\t\t>MONTENEGRO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MS\"\n\t\t\t\t\t\t\t\t\t\t>MONTSERRAT</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MA\"\n\t\t\t\t\t\t\t\t\t\t>MOROCCO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MZ\"\n\t\t\t\t\t\t\t\t\t\t>MOZAMBIQUE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MM\"\n\t\t\t\t\t\t\t\t\t\t>MYANMAR</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NA\"\n\t\t\t\t\t\t\t\t\t\t>NAMIBIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NR\"\n\t\t\t\t\t\t\t\t\t\t>NAURU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NP\"\n\t\t\t\t\t\t\t\t\t\t>NEPAL</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NL\"\n\t\t\t\t\t\t\t\t\t\t>NETHERLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AN\"\n\t\t\t\t\t\t\t\t\t\t>NETHERLANDS ANTILLES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NC\"\n\t\t\t\t\t\t\t\t\t\t>NEW CALEDONIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NZ\"\n\t\t\t\t\t\t\t\t\t\t>NEW ZEALAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NI\"\n\t\t\t\t\t\t\t\t\t\t>NICARAGUA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NE\"\n\t\t\t\t\t\t\t\t\t\t>NIGER</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NG\"\n\t\t\t\t\t\t\t\t\t\t>NIGERIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NU\"\n\t\t\t\t\t\t\t\t\t\t>NIUE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NF\"\n\t\t\t\t\t\t\t\t\t\t>NORFOLK ISLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MP\"\n\t\t\t\t\t\t\t\t\t\t>NORTHERN MARIANA ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NO\"\n\t\t\t\t\t\t\t\t\t\t>NORWAY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"OM\"\n\t\t\t\t\t\t\t\t\t\t>OMAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PK\"\n\t\t\t\t\t\t\t\t\t\t>PAKISTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PW\"\n\t\t\t\t\t\t\t\t\t\t>PALAU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PS\"\n\t\t\t\t\t\t\t\t\t\t>PALESTINIAN TERRITORY, OCCUPIED</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PA\"\n\t\t\t\t\t\t\t\t\t\t>PANAMA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PG\"\n\t\t\t\t\t\t\t\t\t\t>PAPUA NEW GUINEA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PY\"\n\t\t\t\t\t\t\t\t\t\t>PARAGUAY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PE\"\n\t\t\t\t\t\t\t\t\t\t>PERU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PH\"\n\t\t\t\t\t\t\t\t\t\t>PHILIPPINES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PN\"\n\t\t\t\t\t\t\t\t\t\t>PITCAIRN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PL\"\n\t\t\t\t\t\t\t\t\t\t>POLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PT\"\n\t\t\t\t\t\t\t\t\t\t>PORTUGAL</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PR\"\n\t\t\t\t\t\t\t\t\t\t>PUERTO RICO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"QA\"\n\t\t\t\t\t\t\t\t\t\t>QATAR</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"RE\"\n\t\t\t\t\t\t\t\t\t\t>RƒUNION</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"RO\"\n\t\t\t\t\t\t\t\t\t\t>ROMANIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"RU\"\n\t\t\t\t\t\t\t\t\t\t>RUSSIAN FEDERATION</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"RW\"\n\t\t\t\t\t\t\t\t\t\t>RWANDA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"BL\"\n\t\t\t\t\t\t\t\t\t\t>SAINT BARTHƒLEMY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SH\"\n\t\t\t\t\t\t\t\t\t\t>SAINT HELENA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"KN\"\n\t\t\t\t\t\t\t\t\t\t>SAINT KITTS AND NEVIS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LC\"\n\t\t\t\t\t\t\t\t\t\t>SAINT LUCIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"MF\"\n\t\t\t\t\t\t\t\t\t\t>SAINT MARTIN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"PM\"\n\t\t\t\t\t\t\t\t\t\t>SAINT PIERRE AND MIQUELON</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VC\"\n\t\t\t\t\t\t\t\t\t\t>SAINT VINCENT AND THE GRENADINES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"WS\"\n\t\t\t\t\t\t\t\t\t\t>SAMOA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SM\"\n\t\t\t\t\t\t\t\t\t\t>SAN MARINO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ST\"\n\t\t\t\t\t\t\t\t\t\t>SAO TOME AND PRINCIPE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SA\"\n\t\t\t\t\t\t\t\t\t\t>SAUDI ARABIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SN\"\n\t\t\t\t\t\t\t\t\t\t>SENEGAL</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"RS\"\n\t\t\t\t\t\t\t\t\t\t>SERBIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SC\"\n\t\t\t\t\t\t\t\t\t\t>SEYCHELLES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SL\"\n\t\t\t\t\t\t\t\t\t\t>SIERRA LEONE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SG\"\n\t\t\t\t\t\t\t\t\t\t>SINGAPORE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SK\"\n\t\t\t\t\t\t\t\t\t\t>SLOVAKIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SI\"\n\t\t\t\t\t\t\t\t\t\t>SLOVENIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SB\"\n\t\t\t\t\t\t\t\t\t\t>SOLOMON ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SO\"\n\t\t\t\t\t\t\t\t\t\t>SOMALIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ZA\"\n\t\t\t\t\t\t\t\t\t\t>SOUTH AFRICA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GS\"\n\t\t\t\t\t\t\t\t\t\t>SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ES\"\n\t\t\t\t\t\t\t\t\t\t>SPAIN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"LK\"\n\t\t\t\t\t\t\t\t\t\t>SRI LANKA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SD\"\n\t\t\t\t\t\t\t\t\t\t>SUDAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SR\"\n\t\t\t\t\t\t\t\t\t\t>SURINAME</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SJ\"\n\t\t\t\t\t\t\t\t\t\t>SVALBARD AND JAN MAYEN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SZ\"\n\t\t\t\t\t\t\t\t\t\t>SWAZILAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SE\"\n\t\t\t\t\t\t\t\t\t\t>SWEDEN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"CH\"\n\t\t\t\t\t\t\t\t\t\t>SWITZERLAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"SY\"\n\t\t\t\t\t\t\t\t\t\t>SYRIAN ARAB REPUBLIC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TW\"\n\t\t\t\t\t\t\t\t\t\t>TAIWAN, PROVINCE OF CHINA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TJ\"\n\t\t\t\t\t\t\t\t\t\t>TAJIKISTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TZ\"\n\t\t\t\t\t\t\t\t\t\t>TANZANIA, UNITED REPUBLIC OF</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TH\"\n\t\t\t\t\t\t\t\t\t\t>THAILAND</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TL\"\n\t\t\t\t\t\t\t\t\t\t>TIMOR-LESTE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TG\"\n\t\t\t\t\t\t\t\t\t\t>TOGO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TK\"\n\t\t\t\t\t\t\t\t\t\t>TOKELAU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TO\"\n\t\t\t\t\t\t\t\t\t\t>TONGA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TT\"\n\t\t\t\t\t\t\t\t\t\t>TRINIDAD AND TOBAGO</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TN\"\n\t\t\t\t\t\t\t\t\t\t>TUNISIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TR\"\n\t\t\t\t\t\t\t\t\t\t>TURKEY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TM\"\n\t\t\t\t\t\t\t\t\t\t>TURKMENISTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TC\"\n\t\t\t\t\t\t\t\t\t\t>TURKS AND CAICOS ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"TV\"\n\t\t\t\t\t\t\t\t\t\t>TUVALU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"UG\"\n\t\t\t\t\t\t\t\t\t\t>UGANDA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"UA\"\n\t\t\t\t\t\t\t\t\t\t>UKRAINE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AE\"\n\t\t\t\t\t\t\t\t\t\t>UNITED ARAB EMIRATES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"GB\"\n\t\t\t\t\t\t\t\t\t\t>UNITED KINGDOM</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"US\"\n\t\t\t\t\t\t\t\t\t\t>UNITED STATES</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"UM\"\n\t\t\t\t\t\t\t\t\t\t>UNITED STATES MINOR OUTLYING ISLANDS</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"UY\"\n\t\t\t\t\t\t\t\t\t\t>URUGUAY</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"UZ\"\n\t\t\t\t\t\t\t\t\t\t>UZBEKISTAN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VU\"\n\t\t\t\t\t\t\t\t\t\t>VANUATU</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VA\"\n\t\t\t\t\t\t\t\t\t\t>VATICAN CITY STATE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VE\"\n\t\t\t\t\t\t\t\t\t\t>VENEZUELA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VN\"\n\t\t\t\t\t\t\t\t\t\t>VIET NAM</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VG\"\n\t\t\t\t\t\t\t\t\t\t>VIRGIN ISLANDS, BRITISH</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"VI\"\n\t\t\t\t\t\t\t\t\t\t>VIRGIN ISLANDS, U.S.</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"WF\"\n\t\t\t\t\t\t\t\t\t\t>WALLIS AND FUTUNA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"EH\"\n\t\t\t\t\t\t\t\t\t\t>WESTERN SAHARA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"YE\"\n\t\t\t\t\t\t\t\t\t\t>YEMEN</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ZM\"\n\t\t\t\t\t\t\t\t\t\t>ZAMBIA</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"ZW\"\n\t\t\t\t\t\t\t\t\t\t>ZIMBABWE</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Email<font color=\"red\">:</font> </b> </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"email\" size=\"30\" \n\t\t\t\t\t\t\t\t\tvalue=\"someone@tsnstnhs.com\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<input type=\"checkbox\" name=\"email_checkbox\"/> Not available\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>MyOscar UserName: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"myOscarUserName\" size=\"30\" \n\t\t\t\t\t\t\t\t\tvalue=\"\"><br />\n\t\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<a href=\"javascript:\"\n\t\t\t\t\t\t\t\t\tonclick=\"alert('Please login to MyOscar first.')\"><sub\n\t\t\t\t\t\t\t\t\tstyle=\"white-space: nowrap;\">Register for MyOSCAR</sub></a> \n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Newsletter:\n\t\t\t\t\t\t\t\t</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t <select name=\"newsletter\" >\n\t\t\t\t\t\t\t\t\t<option value=\"Unknown\" >Unknown</option>\n\t\t\t\t\t\t\t\t\t<option value=\"No\" selected\n\t\t\t\t\t\t\t\t\t\t>No</option>\n\t\t\t\t\t\t\t\t\t<option value=\"Paper\" >Paper</option>\n\t\t\t\t\t\t\t\t\t<option value=\"Electronic\"\n\t\t\t\t\t\t\t\t\t\t>Electronic</option>\n\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>SIN:</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"sin\" size=\"30\" \n\t\t\t\t\t\t\t\t\tvalue=\"\"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>DOB</b><font size=\"-2\">(yyyymmdd)</font><b>:</b>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"left\" nowrap><input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"year_of_birth\" \n\t\t\t\t\t\t\t\t\tvalue=\"1994\"\n\t\t\t\t\t\t\t\t\tsize=\"3\" maxlength=\"4\">\n\n\t\t\t\t\t\t\t\t\t\n\t\t\t <select name=\"month_of_birth\" id=\"month_of_birth\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"01\">01</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"02\">02</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"03\">03</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"04\">04</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"05\">05</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"06\" selected>06</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"07\">07</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"08\">08</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"09\">09</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"10\">10</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"11\">11</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"12\">12</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t</select>\n\n\t\t\t <select name=\"date_of_birth\" id=\"date_of_birth\">\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"01\">01</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"02\">02</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"03\">03</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"04\">04</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"05\">05</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"06\">06</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"07\">07</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"08\">08</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"09\">09</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"10\">10</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"11\">11</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"12\">12</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"13\">13</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"14\">14</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"15\" selected>15</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"16\">16</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"17\">17</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"18\">18</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"19\">19</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"20\">20</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"21\">21</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"22\">22</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"23\">23</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"24\">24</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"25\">25</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"26\">26</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"27\">27</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"28\">28</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"29\">29</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"30\">30</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t<option value=\"31\">31</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t</select>\n\n\t\t\t\t\t\t\t\t\t<b>Age: <input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"age\" readonly value=\"21\" size=\"3\"> </b></td>\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Sex:</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\" valign=\"top\"><input type=\"text\" name=\"sex\"\n\t\t\t\t\t\t\t\t\tstyle=\"width: 20px;\" \n\t\t\t\t\t\t\t\t\tvalue=\"M\"\n\t\t\t\t\t\t\t\t\tonBlur=\"upCaseCtrl(this)\" size=\"1\" maxlength=\"1\">\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Health Ins. #: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\" nowrap><input type=\"text\" name=\"hin\" \n\t\t\t\t\t\t\t\t\tvalue=\"9146509343\" size=\"17\">\n\t\t\t\t\t\t\t\t<b>Ver.</b> <input\n\t\t\t\t\t\t\t\t\ttype=\"text\" name=\"ver\" \n\t\t\t\t\t\t\t\t\tvalue=\"\" size=\"3\"\n\t\t\t\t\t\t\t\t\tonBlur=\"upCaseCtrl(this)\"></td>\n\t\t\t\t\t\t\t\t<td align=\"right\">\n\t\t\t\t\t\t\t\t\t<b>EFF Date:</b>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t <input type=\"text\" name=\"eff_date_year\" \n\t\t\t\t\t\t\t\t\tsize=\"4\" maxlength=\"4\" value=\"2015\"> <input\n\t\t\t\t\t\t\t\t\ttype=\"text\" name=\"eff_date_month\" size=\"2\" maxlength=\"2\" \n\t\t\t\t\t\t\t\t\tvalue=\"05\"> <input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"eff_date_date\" size=\"2\" maxlength=\"2\" \n\t\t\t\t\t\t\t\t\tvalue=\"01\">\n\t\t\t\t\t\t\t\t&nbsp;<b>Renew Date:</b>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"hc_renew_date_year\" size=\"4\" maxlength=\"4\" value=\"\" >\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"hc_renew_date_month\" size=\"2\" maxlength=\"2\" value=\"\" >\n\t\t\t\t\t\t\t\t<input type=\"text\" name=\"hc_renew_date_date\" size=\"2\" maxlength=\"2\" value=\"\" >\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>HC Type:</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t<select name=\"hc_type\" style=\"width: 200px\" >\n\t\t\t\t\t\t\t\t\t<option value=\"OT\"\n\t\t\t\t\t\t\t\t\t\t>Other</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"AB\" >AB-Alberta</option>\n\t\t\t\t\t\t\t\t\t<option value=\"BC\" selected>BC-British Columbia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"MB\" >MB-Manitoba</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NB\" >NB-New Brunswick</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NF\" >NF-Newfoundland & Labrador</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"NT\" >NT-Northwest Territory</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NS\" >NS-Nova Scotia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NU\" >NU-Nunavut</option>\n\t\t\t\t\t\t\t\t\t<option value=\"ON\" >ON-Ontario</option>\n\t\t\t\t\t\t\t\t\t<option value=\"PE\" >PE-Prince Edward Island</option>\n\t\t\t\t\t\t\t\t\t<option value=\"QC\" >QC-Quebec</option>\n\t\t\t\t\t\t\t\t\t<option value=\"SK\" >SK-Saskatchewan</option>\n\t\t\t\t\t\t\t\t\t<option value=\"YT\" >YT-Yukon</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US\" >US resident</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AK\" >US-AK-Alaska</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AL\" >US-AL-Alabama</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AR\" >US-AR-Arkansas</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-AZ\" >US-AZ-Arizona</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CA\" >US-CA-California</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CO\" >US-CO-Colorado</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CT\" >US-CT-Connecticut</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-CZ\" >US-CZ-Canal Zone</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-DC\" >US-DC-District Of Columbia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-DE\" >US-DE-Delaware</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-FL\" >US-FL-Florida</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-GA\" >US-GA-Georgia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-GU\" >US-GU-Guam</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-HI\" >US-HI-Hawaii</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-IA\" >US-IA-Iowa</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-ID\" >US-ID-Idaho</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-IL\" >US-IL-Illinois</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-IN\" >US-IN-Indiana</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-KS\" >US-KS-Kansas</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-KY\" >US-KY-Kentucky</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-LA\" >US-LA-Louisiana</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MA\" >US-MA-Massachusetts</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MD\" >US-MD-Maryland</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-ME\" >US-ME-Maine</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MI\" >US-MI-Michigan</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MN\" >US-MN-Minnesota</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MO\" >US-MO-Missouri</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MS\" >US-MS-Mississippi</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-MT\" >US-MT-Montana</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NC\" >US-NC-North Carolina</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-ND\" >US-ND-North Dakota</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NE\" >US-NE-Nebraska</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NH\" >US-NH-New Hampshire</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NJ\" >US-NJ-New Jersey</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NM\" >US-NM-New Mexico</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NU\" >US-NU-Nunavut</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NV\" >US-NV-Nevada</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-NY\" >US-NY-New York</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-OH\" >US-OH-Ohio</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-OK\" >US-OK-Oklahoma</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-OR\" >US-OR-Oregon</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-PA\" >US-PA-Pennsylvania</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-PR\" >US-PR-Puerto Rico</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-RI\" >US-RI-Rhode Island</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-SC\" >US-SC-South Carolina</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-SD\" >US-SD-South Dakota</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-TN\" >US-TN-Tennessee</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-TX\" >US-TX-Texas</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-UT\" >US-UT-Utah</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-VA\" >US-VA-Virginia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-VI\" >US-VI-Virgin Islands</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-VT\" >US-VT-Vermont</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WA\" >US-WA-Washington</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WI\" >US-WI-Wisconsin</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WV\" >US-WV-West Virginia</option>\n\t\t\t\t\t\t\t\t\t<option value=\"US-WY\" >US-WY-Wyoming</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select> \n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b> Cytology #:</b></td>\n\t\t\t\t\t\t\t\t<td><input type=\"text\" name=\"cytolNum\" \n\t\t\t\t\t\t\t\t\tstyle=\"display: inline; width: auto;\"\n\t\t\t\t\t\t\t\t\tvalue=\"\">\n\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"cytolNumOrig\"\n\t\t\t\t\t\t\t\t\tvalue=\"\" />\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tDoctor\n\t\t\t\t\t\t\t\t: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><select name=\"provider_no\" \n\t\t\t\t\t\t\t\t\tstyle=\"width: 200px\">\n\t\t\t\t\t\t\t\t\t<option value=\"\"></option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"10\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tAvinashi,Ramesh 6473</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"1\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldelli,Robert 2510</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"13\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldwin,Gregory 0077</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"20\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBarlow,Amanda 24151</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"138\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChaudhry,Tahir</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"14\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChisholm,Sherrie 062</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"6\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tClinic,Kids</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"136\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tFox,Joel</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"16\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick,Marla 2785</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"88\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick, Mel,Melvi</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999900\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tHost,Oscar</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"4\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Walk</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"22\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Call</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"18\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJanzen,Derek 28131</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"72\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJung,Gordon 66902</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"17\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKee,Heather 03792</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"24\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKMC,KMC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"144\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKubatskyy,Vitaliy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"19\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tLevis,Nicole 27103</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999998\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMickolwin,Jeremy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"25\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMJW,Hospital</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"7\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPee,.</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"21\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPolonsky,Shervyn 600</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"08\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRana,Babra 24383</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"33\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tReferrals,Referrals</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"12\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRutkunas ,Zita 05979</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"146\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSu,Johnny</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"9\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSymon,Keith 23421</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"11\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tViegas ,Desmond 2357</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"145\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWang,Jay</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"02\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWardill,Karen 08521</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"05\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWinters ,Michael 273</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Nurse: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><select name=\"resident\" \n\t\t\t\t\t\t\t\t\tstyle=\"width: 200px\">\n\t\t\t\t\t\t\t\t\t<option value=\"\"></option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"10\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tAvinashi,Ramesh 6473</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"1\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldelli,Robert 2510</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"13\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldwin,Gregory 0077</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"20\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBarlow,Amanda 24151</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"138\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChaudhry,Tahir</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"14\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChisholm,Sherrie 062</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"6\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tClinic,Kids</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"136\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tFox,Joel</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"16\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick,Marla 2785</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"88\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick, Mel,Melvi</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999900\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tHost,Oscar</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"4\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Walk</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"22\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Call</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"18\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJanzen,Derek 28131</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"72\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJung,Gordon 66902</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"17\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKee,Heather 03792</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"24\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKMC,KMC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"144\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKubatskyy,Vitaliy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"19\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tLevis,Nicole 27103</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999998\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMickolwin,Jeremy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"25\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMJW,Hospital</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"7\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPee,.</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"21\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPolonsky,Shervyn 600</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"08\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRana,Babra 24383</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"33\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tReferrals,Referrals</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"12\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRutkunas ,Zita 05979</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"146\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSu,Johnny</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"9\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSymon,Keith 23421</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"11\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tViegas ,Desmond 2357</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"145\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWang,Jay</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"02\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWardill,Karen 08521</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"05\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWinters ,Michael 273</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Midwife: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><select name=\"midwife\" \n\t\t\t\t\t\t\t\t\tstyle=\"width: 200px\">\n\t\t\t\t\t\t\t\t\t<option value=\"\"></option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"10\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tAvinashi,Ramesh 6473</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"1\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldelli,Robert 2510</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"13\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldwin,Gregory 0077</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"20\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBarlow,Amanda 24151</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"138\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChaudhry,Tahir</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"14\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChisholm,Sherrie 062</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"6\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tClinic,Kids</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"136\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tFox,Joel</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"16\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick,Marla 2785</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"88\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick, Mel,Melvi</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999900\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tHost,Oscar</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"4\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Walk</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"22\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Call</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"18\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJanzen,Derek 28131</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"72\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJung,Gordon 66902</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"17\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKee,Heather 03792</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"24\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKMC,KMC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"144\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKubatskyy,Vitaliy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"19\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tLevis,Nicole 27103</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999998\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMickolwin,Jeremy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"25\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMJW,Hospital</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"7\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPee,.</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"21\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPolonsky,Shervyn 600</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"08\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRana,Babra 24383</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"33\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tReferrals,Referrals</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"12\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRutkunas ,Zita 05979</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"146\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSu,Johnny</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"9\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSymon,Keith 23421</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"11\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tViegas ,Desmond 2357</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"145\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWang,Jay</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"02\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWardill,Karen 08521</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"05\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWinters ,Michael 273</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Resident:</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><select name=\"nurse\" style=\"width: 200px\" >\n\t\t\t\t\t\t\t\t\t<option value=\"\"></option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"10\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tAvinashi,Ramesh 6473</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"1\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldelli,Robert 2510</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"13\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBaldwin,Gregory 0077</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"20\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tBarlow,Amanda 24151</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"138\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChaudhry,Tahir</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"14\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tChisholm,Sherrie 062</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"6\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tClinic,Kids</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"136\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tFox,Joel</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"16\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick,Marla 2785</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"88\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tGuralnick, Mel,Melvi</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999900\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tHost,Oscar</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"4\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Walk</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"22\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIn,Call</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"18\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJanzen,Derek 28131</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"72\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tJung,Gordon 66902</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"17\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKee,Heather 03792</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"24\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKMC,KMC</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"144\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tKubatskyy,Vitaliy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"19\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tLevis,Nicole 27103</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"999998\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMickolwin,Jeremy</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"25\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMJW,Hospital</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"7\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPee,.</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"21\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tPolonsky,Shervyn 600</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"08\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRana,Babra 24383</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"33\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tReferrals,Referrals</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"12\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRutkunas,Zita 05979</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"146\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSu,Johnny</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"9\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tSymon,Keith 23421</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"11\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tViegas,Desmond 23578</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"145\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWang,Jay</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"02\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWardill,Karen 08521</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option value=\"05\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tWinters,Michael 2730</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Referral Doctor: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t <input type=\"text\" name=\"r_doctor\" size=\"30\" maxlength=\"40\" \n\t\t\t\t\t\t\t\t\tvalue=\"\"> \n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Referral Doctor #: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"r_doctor_ohip\" \n\t\t\t\t\t\t\t\t\tsize=\"20\" maxlength=\"6\" value=\"\"> \n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<!-- Family Doctor -->\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Roster Status:\n\t\t\t\t\t\t\t\t</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t\n <input type=\"hidden\" name=\"initial_rosterstatus\" value=\"\"/>\n\t\t\t\t\t\t\t\t<select id=\"roster_status\" name=\"roster_status\" style=\"width: 120px\" onchange=\"checkRosterStatus()\">\n\t\t\t\t\t\t\t\t\t<option value=\"\"></option>\n\t\t\t\t\t\t\t\t\t<option value=\"RO\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tRO - rostered</option>\n\t\t\t\t\t\t\t\t\t<option value=\"NR\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tNR - not rostered</option>\n\t\t\t\t\t\t\t\t\t<option value=\"TE\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tTE - terminated</option>\n\t\t\t\t\t\t\t\t\t<option value=\"FS\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tFS - fee for service</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select> <input type=\"button\" onClick=\"newStatus1();\" value=\"Add New\">\n\t\t\t\t\t\t\t\t</td>\n \n\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Roster Date: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roster_date_year\" size=\"4\" maxlength=\"4\" value=\"\">\n\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roster_date_month\" size=\"2\" maxlength=\"2\" value=\"\">\n\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roster_date_day\" size=\"2\" maxlength=\"2\" value=\"\">\n\t\t\t\t\t\t\t\t\t<b>Termination Date: </b>\n\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roster_termination_date_year\" size=\"4\" maxlength=\"4\" value=\"\">\n\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roster_termination_date_month\" size=\"2\" maxlength=\"2\" value=\"\">\n\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"roster_termination_date_day\" size=\"2\" maxlength=\"2\" value=\"\">\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Termination Reason: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\" colspan=\"3\">\n\t\t\t\t\t\t\t\t\t<select name=\"roster_termination_reason\">\n\t\t\t\t\t\t\t\t\t\t<option value=\"\">N/A</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"12\" >Health Number error</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"14\" >Patient identified as deceased on ministry database</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"24\" >Patient added to roster in error</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"30\" >Pre-member/ Assigned member ended; now enrolled or registered with red and white health card</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"32\" >Pre-member/ Assigned member ended; now enrolled or registered with photo health card</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"33\" >Termination reason cannot be released (due to patient confidentiality)</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"35\" >Patient transferred from roster per physician request</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"36\" >Original enrolment ended; patient now re-enroled</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"37\" >Original enrolment ended; patient now enrolled as Long Term Care</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"38\" >Long Term Care enrolment ended; patient has left Long Term Care</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"39\" >Assigned member status ended; roster transferred per physician request</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"40\" >Physician reported member as deceased</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"41\" >Patient no longer meets selection criteria for your roster - assigned to another physician</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"42\" >Physician ended enrolment; patient entered Long Term Care facility</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"44\" >Physician ended patient enrolment</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"51\" >Patient no longer meets selection criteria for your roster</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"53\" >Physician ended enrolment; patient moved out of geographic area</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"54\" >Physician ended enrolment; patient left province</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"56\" >Physician ended enrolment; per patient request</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"57\" >Enrolment terminated by patient</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"59\" >Enrolment ended; patient out of geographic area</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"60\" >No current eligibility</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"61\" >Patient out of geographic area; address over-ride applied</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"62\" >Patient out of geographic area; address over-ride removed</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"73\" >No current eligibility</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"74\" >No current eligibility</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"82\" >Ministry has not received enrolment/ Consent form</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"84\" >Termination reason cannot be released (due to patient confidentiality)</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"90\" >Termination reason cannot be released (due to patient confidentiality)</option>\n\n\t\t\t\t\t\t\t\t\t\t<option value=\"91\" >Termination reason cannot be released (due to patient confidentiality)</option>\n\n\t\t\t\t\t\t\t\t\t</select>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Patient Status:</b>\n\t\t\t\t\t\t\t\t<b> </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t\n <input type=\"hidden\" name=\"initial_patientstatus\" value=\"AC\">\n\t\t\t\t\t\t\t\t<select name=\"patient_status\" style=\"width: 120px\" >\n\t\t\t\t\t\t\t\t\t<option value=\"AC\"\n\t\t\t\t\t\t\t\t\t\t selected>\n\t\t\t\t\t\t\t\t\tAC - Active</option>\n\t\t\t\t\t\t\t\t\t<option value=\"IN\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tIN - Inactive</option>\n\t\t\t\t\t\t\t\t\t<option value=\"DE\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tDE - Deceased</option>\n\t\t\t\t\t\t\t\t\t<option value=\"MO\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tMO - Moved</option>\n\t\t\t\t\t\t\t\t\t<option value=\"FI\"\n\t\t\t\t\t\t\t\t\t\t>\n\t\t\t\t\t\t\t\t\tFI - Fired</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<option\n\t\t\t\t\t\t\t\t\t\t>null</option>\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</select> <input type=\"button\" onClick=\"newStatus();\" value=\"Add New\">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Patient Status Date: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n <input type=\"text\" name=\"patientstatus_date_year\" size=\"4\" maxlength=\"4\" value=\"2015\">\n <input type=\"text\" name=\"patientstatus_date_month\" size=\"2\" maxlength=\"2\" value=\"09\">\n <input type=\"text\" name=\"patientstatus_date_day\" size=\"2\" maxlength=\"2\" value=\"10\">\n\t\t\t\t\t\t\t\t</td>\n </tr>\n <tr>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>Chart No.:</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\" name=\"chart_no\"\n\t\t\t\t\t\t\t\t\tsize=\"30\" value=\"\" >\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<!-- Scanned Chart -->\n\t\t\t\t\t \n\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t\t<!-- start -->\n\t\t\t\t\t\t\t\n\n\t\t\t\t\t\t\t<!-- end -->\n\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td colspan=\"4\">\n\t\t\t\t\t\t\t\t<table border=\"1\" width=\"100%\">\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t<td align=\"right\" width=\"16%\" nowrap><b>\n\t\t\t\t\t\t\t\t\t\tWaiting List:</b></td>\n\t\t\t\t\t\t\t\t\t\t<td align=\"left\" width=\"31%\">\n\t\t\t\t\t\t\t\t\t\t <input type=\"hidden\" name=\"wlId\"\n\t\t\t\t\t\t\t\t\t\t\tvalue=\"\"> <select name=\"list_id\">\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t<option value=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t--Please Create Waiting List Name first--</option>\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t</select></td>\n\t\t\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Waiting List Note: </b></td>\n\t\t\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\"\n\t\t\t\t\t\t\t\t\t\t\tname=\"waiting_list_note\" value=\"\" size=\"34\"\n\t\t\t\t\t\t\t\t\t\t\treadonly></td>\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t<td colspan=\"2\">&nbsp;</td>\n\t\t\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Date of request: </b></td>\n\t\t\t\t\t\t\t\t\t\t<td align=\"left\"><input type=\"text\"\n\t\t\t\t\t\t\t\t\t\t\tname=\"waiting_list_referral_date\"\n\t\t\t\t\t\t\t\t\t\t\tid=\"waiting_list_referral_date\" size=\"11\"\n\t\t\t\t\t\t\t\t\t\t\tvalue=\"\" readonly><img\n\t\t\t\t\t\t\t\t\t\t\tsrc=\"../images/cal.gif\" id=\"referral_date_cal\">(yyyy-mm-dd)\n\t\t\t\t\t\t\t\t\t\t</td>\n\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td align=\"right\" nowrap><b>Date Joined:\n\t\t\t\t\t\t\t\t</b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t <input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"date_joined_year\" size=\"4\" maxlength=\"4\"\n\t\t\t\t\t\t\t\t\tvalue=\"2015\"> <input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"date_joined_month\" size=\"2\" maxlength=\"2\"\n\t\t\t\t\t\t\t\t\tvalue=\"09\"> <input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"date_joined_date\" size=\"2\" maxlength=\"2\"\n\t\t\t\t\t\t\t\t\tvalue=\"10\"></td>\n\t\t\t\t\t\t\t\t<td align=\"right\"><b>End Date: </b></td>\n\t\t\t\t\t\t\t\t<td align=\"left\">\n\t\t\t\t\t\t\t\t <input type=\"text\" name=\"end_date_year\"\n\t\t\t\t\t\t\t\t\tsize=\"4\" maxlength=\"4\" value=\"2016\"> <input\n\t\t\t\t\t\t\t\t\ttype=\"text\" name=\"end_date_month\" size=\"2\" maxlength=\"2\"\n\t\t\t\t\t\t\t\t\tvalue=\"09\"> <input type=\"text\"\n\t\t\t\t\t\t\t\t\tname=\"end_date_date\" size=\"2\" maxlength=\"2\"\n\t\t\t\t\t\t\t\t\tvalue=\"10\"></td>\n\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\n\n<tr valign=\"top\">\n<td nowrap colspan=\"4\">\n<b>Rx Interaction Warning Level</b>\n<input type=\"hidden\" name=\"rxInteractionWarningLevelOrig\"\n\t\t\t\t\t\t\t\t\tvalue=\"0\" />\n\t\t\t\t\t<select id=\"rxInteractionWarningLevel\" name=\"rxInteractionWarningLevel\">\n\t\t\t\t\t\t<option value=\"0\" selected=\"selected\">Not Specified</option>\n\t\t\t\t\t\t<option value=\"1\" >Low</option>\n\t\t\t\t\t\t<option value=\"2\" >Medium</option>\n\t\t\t\t\t\t<option value=\"3\" >High</option>\n\t\t\t\t\t\t<option value=\"4\" >None</option>\n\t\t\t\t\t</select>\n\t\t\t\t\t\n\n</td>\n</tr>\n\t\t\t\t\t\t\t<tr valign=\"top\">\n\t\t\t\t\t\t\t\t<td nowrap colspan=\"4\">\n\t\t\t\t\t\t\t\t<table width=\"100%\" bgcolor=\"#EEEEFF\">\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t<td width=\"7%\" align=\"right\"><font color=\"#FF0000\"><b>Alert: </b></font></td>\n\t\t\t\t\t\t\t\t\t\t<td><textarea name=\"alert\" style=\"width: 100%\" cols=\"80\"\n\t\t\t\t\t\t\t\t\t\t\trows=\"2\"></textarea></td>\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t\t\t<td align=\"right\"><b>Notes: </b></td>\n\t\t\t\t\t\t\t\t\t\t<td><textarea name=\"notes\" style=\"width: 100%\" cols=\"60\"></textarea>\n\t\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t</tr>\n\t\t\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t</tr>\n\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t\t<tr class=\"darkPurple\">\n\t\t\t\t\t\t<td colspan=\"4\">\n\t\t\t\t\t\t<table border=\"0\" width=\"100%\" cellpadding=\"0\" cellspacing=\"0\">\n\t\t\t\t\t\t\t<tr>\n\t\t\t\t\t\t\t\t<td width=\"30%\" valign=\"top\"><input type=\"hidden\"\n\t\t\t\t\t\t\t\t\tname=\"dboperation\" value=\"update_record\"> \n\n <input type=\"button\"\n\t\t\t\t\t\t\t\t\tname=\"Button\" value=\"Back\"\n\t\t\t\t\t\t\t\t\tonclick=\"history.go(-1);return false;\"> <input\n\t\t\t\t\t\t\t\t\ttype=\"button\" name=\"Button\" id=\"cancelButton\" class=\"leftButton top\"\n\t\t\t\t\t\t\t\t\tvalue=\"Cancel\"\n\t\t\t\t\t\t\t\t\tonclick=self.close();>\n\t\t\t\t\t\t\t\t<br><input type=\"button\" value=\"Export this Demographic\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.open('demographicExport.jsp?demographicNo=189164');\">\n\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t<td width=\"30%\" align='center' valign=\"top\"><input\n\t\t\t\t\t\t\t\t\ttype=\"hidden\" name=\"displaymode\" value=\"Update Record\">\n\t\t\t\t\t\t\t\t<!-- security code block --> <span id=\"updateButton\"\n\t\t\t\t\t\t\t\t\tstyle=\"display: none;\"> \n\t\t\t\t\t\t\t\t\t<input type=\"submit\"\n\t\t\t\t\t\t\t\t\t\tvalue=\"Update Record\">\n\t\t\t\t\t\t\t\t </span> <!-- security code block --></td>\n\t\t\t\t\t\t\t\t<td width=\"40%\" align='right' valign=\"top\"><span\n\t\t\t\t\t\t\t\t\tid=\"swipeButton\" style=\"display: none;\"> <input\n\t\t\t\t\t\t\t\t\ttype=\"button\" name=\"Button\"\n\t\t\t\t\t\t\t\t\tvalue=\"Swipe Card\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.open('zdemographicswipe.jsp','', 'scrollbars=yes,resizable=yes,width=600,height=300, top=360, left=0')\">\n\t\t\t\t\t\t\t\t</span> <!--input type=\"button\" name=\"Button\" value=\"Swipe Card\" onclick=\"javascript:window.alert('Health Card Number Already Inuse');\"-->\n\t\t\t\t\t\t\t\t<input type=\"button\" size=\"110\" name=\"Button\"\n\t\t\t\t\t\t\t\t\tvalue=\"PDF Envelope\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.location='../report/GenerateEnvelopes.do?demos=189164'\">\n\t\t\t\t\t\t\t\t<input type=\"button\" size=\"110\" name=\"Button\"\n\t\t\t\t\t\t\t\t\tvalue=\"PDF Label\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.location='printDemoLabelAction.do?demographic_no=189164'\">\n\t\t\t\t\t\t\t\t<input type=\"button\" size=\"110\" name=\"Button\"\n\t\t\t\t\t\t\t\t\tvalue=\"PDF Address Label\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.location='printDemoAddressLabelAction.do?demographic_no=189164'\">\n\t\t\t\t\t\t\t\t<input type=\"button\" size=\"110\" name=\"Button\"\n\t\t\t\t\t\t\t\t\tvalue=\"PDF Chart Label\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.location='printDemoChartLabelAction.do?demographic_no=189164'\">\n\t\t\t\t\t\t\t\t<input type=\"button\" name=\"Button\" size=\"110\"\n\t\t\t\t\t\t\t\t\tvalue=\"Print Label\"\n\t\t\t\t\t\t\t\t\tonclick=\"window.location='demographiclabelprintsetting.jsp?demographic_no=189164'\">\n\t\t\t\t\t\t\t\t</td>\n </tr>\n\t\t\t\t\t\t</table>\n\t\t\t\t\t\t\n\t\t\t\t\t\t</td>\n\t\t\t\t\t</tr>\n\t\t\t\t</table>\n </form>\n\t\t\t\t\n\n\t\t</table>\n\t\t</td>\n\t</tr>\n\t<tr>\n\t\t<td class=\"MainTableBottomRowLeftColumn\"></td>\n\t\t<td class=\"MainTableBottomRowRightColumn\"></td>\n\t</tr>\n</table>\n\n\n<script type=\"text/javascript\">\nCalendar.setup({ inputField : \"waiting_list_referral_date\", ifFormat : \"%Y-%m-%d\", showsTime :false, button : \"referral_date_cal\", singleClick : true, step : 1 });\n\nfunction callEligibilityWebService(url,id){\n\n var ran_number=Math.round(Math.random()*1000000);\n var params = \"demographic=189164&method=checkElig&rand=\"+ran_number; //hack to get around ie caching the page\n new Ajax.Updater(id,url, {method:'get',parameters:params,asynchronous:true,onComplete:function(request){Element.hide('search_spinner')},onLoading:function(request){Element.show('search_spinner')}});\n }\n</script>\n\n\n\n<script src=\"https://www.google.com/jsapi\"></script>\n<script>\n google.load(\"jquery\", \"1\");\n google.load(\"jqueryui\", \"1\");\n</script>\n<script type=\"text/javascript\">\njQuery.noConflict();\njQuery(document).ready(function(){\n // AJAX autocomplete referrer doctors\n jQuery(\"input[name=r_doctor]\").keypress(function(){\n \tjQuery(\"input[name=r_doctor]\").autocomplete({\n source: \"../billing/CA/BC/billingReferCodeSearchApi.jsp?name=&name1=&name2=&search=&outputType=json&valueType=name\",\n select: function( event, ui){\n \tjQuery(\"input[name=r_doctor_ohip]\").val(ui.item.referral_no);\n }\n });\n });\n jQuery(\"input[name=r_doctor_ohip]\").keypress(function(){\n \tjQuery(\"input[name=r_doctor_ohip]\").autocomplete({\n source: \"../billing/CA/BC/billingReferCodeSearchApi.jsp?name=&name1=&name2=&search=&outputType=json&valueType=\",\n select: function( event, ui){\n \tjQuery(\"input[name=r_doctor]\").val(ui.item.namedesc);\n }\n });\n });\n});\n</script>\n\n</body>\n</html>\n\n\n\n"
},
"redirectURL": "",
"headersSize": 231,
"bodySize": 144870,
"_transferSize": 145101
},
"cache": {},
"timings": {
"blocked": 0.50599999667611,
"dns": -1,
"connect": -1,
"send": 0.12500000593718108,
"wait": 121.10299999767471,
"receive": 100.37000000011153,
"ssl": -1
},
"connection": "138426",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.221Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/calendar.css",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "Date",
"value": "Tue, 08 Sep 2015 18:20:35 GMT"
},
{
"name": "Last-Modified",
"value": "Tue, 17 Mar 2015 17:35:50 GMT"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "ETag",
"value": "\"4720-1426613750000\""
},
{
"name": "Content-Length",
"value": "4720"
},
{
"name": "Content-Type",
"value": "text/css;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 4720,
"mimeType": "text/css",
"text": "/*\n * \n * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. *\n * This software is published under the GPL GNU General Public License. \n * This program is free software; you can redistribute it and/or \n * modify it under the terms of the GNU General Public License \n * as published by the Free Software Foundation; either version 2 \n * of the License, or (at your option) any later version. * \n * This program is distributed in the hope that it will be useful, \n * but WITHOUT ANY WARRANTY; without even the implied warranty of \n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \n * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License \n * along with this program; if not, write to the Free Software \n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * \n * \n * <OSCAR TEAM>\n * \n * This software was written for the \n * Department of Family Medicine \n * McMaster University \n * Hamilton \n * Ontario, Canada \n */\n.calendar {\n\tposition: relative;\n\tdisplay: none;\n\tborder-top: 2px solid #fff;\n\tborder-right: 2px solid #000;\n\tborder-bottom: 2px solid #000;\n\tborder-left: 2px solid #fff;\n\tfont-size: 11px;\n\tcolor: #000;\n\tcursor: default;\n\tbackground: #c8d0d4;\n\tfont-family: Verdana, Arial, Helvetica, sans-serif;\n z-index: 150;\n}\n\n.calendar table {\n\tborder-top: 1px solid #000;\n\tborder-right: 1px solid #fff;\n\tborder-bottom: 1px solid #fff;\n\tborder-left: 1px solid #000;\n\tfont-size: 11px;\n\tcolor: #000;\n\tcursor: default;\n\tbackground: #ffffff;\n\tfont-family: Verdana, Arial, Helvetica, sans-serif;\n}\n\n.calendar .button {\n\ttext-align: center;\n\tpadding: 1px;\n\tborder-top: 1px solid #fff;\n\tborder-right: 1px solid #000;\n\tborder-bottom: 1px solid #000;\n\tborder-left: 1px solid #fff;\n}\n\n.calendar thead .title {\n\tfont-weight: bold;\n\tpadding: 1px;\n\tborder: 1px solid #000;\n\tbackground: #5F7BA4;\n\tcolor: #fff;\n\ttext-align: center;\n}\n\n.calendar thead .headrow {\n\t\n}\n\n.calendar thead .daynames {\n\t\n}\n\n.calendar thead .name {\n\tborder-bottom: 1px solid #000;\n\tpadding: 2px;\n\ttext-align: center;\n\tbackground: #ffffff;\n}\n\n.calendar thead .weekend {\n\tfont-weight: bold;\n\tcolor: #5f7ba4;\n}\n\n.calendar thead .hilite {\n\tborder-top: 2px solid #fff;\n\tborder-right: 2px solid #000;\n\tborder-bottom: 2px solid #000;\n\tborder-left: 2px solid #fff;\n\tpadding: 0px;\n\tbackground: #5F7BA4;\n}\n\n.calendar thead .active {\n\tpadding: 2px 0px 0px 2px;\n\tborder-top: 1px solid #000;\n\tborder-right: 1px solid #fff;\n\tborder-bottom: 1px solid #fff;\n\tborder-left: 1px solid #000;\n\tbackground: #5F7BA4;\n}\n\n.calendar tbody .day {\n\twidth: 2em;\n\ttext-align: right;\n\tpadding: 2px 4px 2px 2px;\n}\n\n.calendar table .wn {\n\tpadding: 2px 3px 2px 2px;\n\tborder-right: 1px solid #000;\n\tbackground: #D1DEE8;\n}\n\n.calendar tbody .rowhilite td {\n\tbackground: #D1DEE8;\n}\n\n.calendar tbody .rowhilite td.wn {\n\tbackground: #5F7BA4;\n}\n\n.calendar tbody td.hilite {\n\tpadding: 1px 3px 1px 1px;\n\tborder: 1px solid;\n\tborder-color: #fff #000 #000 #fff;\n}\n\n.calendar tbody td.active {\n\tpadding: 2px 2px 0px 2px;\n\tborder: 1px solid;\n\tborder-color: #000 #fff #fff #000;\n}\n\n.calendar tbody td.selected {\n\tfont-weight: bold;\n\tpadding: 2px 2px 0px 2px;\n\tborder: 1px solid;\n\tborder-color: #000 #fff #fff #000;\n\tbackground: #D1DEE8;\n}\n\n.calendar tbody td.weekend {\n\tfont-weight: bold;\n\tcolor: #5f7ba4;\n}\n\n.calendar tbody td.today {\n\tfont-weight: bold;\n\tcolor: #5F7BA4;\n}\n\n.calendar tbody .disabled {\n\tcolor: #999;\n}\n\n.calendar tbody .emptycell {\n\tvisibility: hidden;\n}\n\n.calendar tbody .emptyrow {\n\tdisplay: none;\n}\n\n.calendar tfoot .footrow {\n\t\n}\n\n.calendar tfoot .ttip {\n\tbackground: #ffffff;\n\tpadding: 1px;\n\tborder: 1px solid #000;\n\tbackground: #5F7BA4;\n\tcolor: #fff;\n\ttext-align: center;\n}\n\n.calendar tfoot .hilite {\n\tborder-top: 1px solid #fff;\n\tborder-right: 1px solid #000;\n\tborder-bottom: 1px solid #000;\n\tborder-left: 1px solid #fff;\n\tpadding: 1px;\n\tbackground: #5F7BA4;\n}\n\n.calendar tfoot .active {\n\tpadding: 2px 0px 0px 2px;\n\tborder-top: 1px solid #000;\n\tborder-right: 1px solid #fff;\n\tborder-bottom: 1px solid #fff;\n\tborder-left: 1px solid #000;\n}\n\n.combo {\n\tposition: absolute;\n\tdisplay: none;\n\twidth: 4em;\n\ttop: 0px;\n\tleft: 0px;\n\tcursor: default;\n\tborder-top: 1px solid #fff;\n\tborder-right: 1px solid #000;\n\tborder-bottom: 1px solid #000;\n\tborder-left: 1px solid #fff;\n\tbackground: #ffffff;\n\tfont-size: smaller;\n\tpadding: 1px;\n}\n\n.combo .label {\n\ttext-align: center;\n\tpadding: 1px;\n}\n\n.combo .active {\n\tbackground: #c8d0d4;\n\tpadding: 0px;\n\tborder-top: 1px solid #000;\n\tborder-right: 1px solid #fff;\n\tborder-bottom: 1px solid #fff;\n\tborder-left: 1px solid #000;\n}\n\n.combo .hilite {\n\tfont-size: 9pt;\n\tbackground: #5f7ba4;\n\tcolor: #d1dee8;\n}"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.243Z",
"time": 743.9400000002934,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/prototype.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 673,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"96311-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=98"
},
{
"name": "Content-Length",
"value": "96311"
}
],
"cookies": [],
"content": {
"size": 96311,
"mimeType": "text/javascript",
"compression": 0,
"text": "/* Prototype JavaScript framework, version 1.5.1.1\n * (c) 2005-2007 Sam Stephenson\n *\n * Prototype is freely distributable under the terms of an MIT-style license.\n * For details, see the Prototype web site: http://www.prototypejs.org/\n *\n/*--------------------------------------------------------------------------*/\n\nvar Prototype = {\n Version: '1.5.1.1',\n\n Browser: {\n IE: !!(window.attachEvent && !window.opera),\n Opera: !!window.opera,\n WebKit: navigator.userAgent.indexOf('AppleWebKit/') > -1,\n Gecko: navigator.userAgent.indexOf('Gecko') > -1 && navigator.userAgent.indexOf('KHTML') == -1\n },\n\n BrowserFeatures: {\n XPath: !!document.evaluate,\n ElementExtensions: !!window.HTMLElement,\n SpecificElementExtensions:\n (document.createElement('div').__proto__ !==\n document.createElement('form').__proto__)\n },\n\n ScriptFragment: '<script[^>]*>([\\\\S\\\\s]*?)<\\/script>',\n JSONFilter: /^\\/\\*-secure-([\\s\\S]*)\\*\\/\\s*$/,\n\n emptyFunction: function() { },\n K: function(x) { return x }\n}\n\nvar Class = {\n create: function() {\n return function() {\n this.initialize.apply(this, arguments);\n }\n }\n}\n\nvar Abstract = new Object();\n\nObject.extend = function(destination, source) {\n for (var property in source) {\n destination[property] = source[property];\n }\n return destination;\n}\n\nObject.extend(Object, {\n inspect: function(object) {\n try {\n if (object === undefined) return 'undefined';\n if (object === null) return 'null';\n return object.inspect ? object.inspect() : object.toString();\n } catch (e) {\n if (e instanceof RangeError) return '...';\n throw e;\n }\n },\n\n toJSON: function(object) {\n var type = typeof object;\n switch(type) {\n case 'undefined':\n case 'function':\n case 'unknown': return;\n case 'boolean': return object.toString();\n }\n if (object === null) return 'null';\n if (object.toJSON) return object.toJSON();\n if (object.ownerDocument === document) return;\n var results = [];\n for (var property in object) {\n var value = Object.toJSON(object[property]);\n if (value !== undefined)\n results.push(property.toJSON() + ': ' + value);\n }\n return '{' + results.join(', ') + '}';\n },\n\n keys: function(object) {\n var keys = [];\n for (var property in object)\n keys.push(property);\n return keys;\n },\n\n values: function(object) {\n var values = [];\n for (var property in object)\n values.push(object[property]);\n return values;\n },\n\n clone: function(object) {\n return Object.extend({}, object);\n }\n});\n\nFunction.prototype.bind = function() {\n var __method = this, args = $A(arguments), object = args.shift();\n return function() {\n return __method.apply(object, args.concat($A(arguments)));\n }\n}\n\nFunction.prototype.bindAsEventListener = function(object) {\n var __method = this, args = $A(arguments), object = args.shift();\n return function(event) {\n return __method.apply(object, [event || window.event].concat(args));\n }\n}\n\nObject.extend(Number.prototype, {\n toColorPart: function() {\n return this.toPaddedString(2, 16);\n },\n\n succ: function() {\n return this + 1;\n },\n\n times: function(iterator) {\n $R(0, this, true).each(iterator);\n return this;\n },\n\n toPaddedString: function(length, radix) {\n var string = this.toString(radix || 10);\n return '0'.times(length - string.length) + string;\n },\n\n toJSON: function() {\n return isFinite(this) ? this.toString() : 'null';\n }\n});\n\nDate.prototype.toJSON = function() {\n return '\"' + this.getFullYear() + '-' +\n (this.getMonth() + 1).toPaddedString(2) + '-' +\n this.getDate().toPaddedString(2) + 'T' +\n this.getHours().toPaddedString(2) + ':' +\n this.getMinutes().toPaddedString(2) + ':' +\n this.getSeconds().toPaddedString(2) + '\"';\n};\n\nvar Try = {\n these: function() {\n var returnValue;\n\n for (var i = 0, length = arguments.length; i < length; i++) {\n var lambda = arguments[i];\n try {\n returnValue = lambda();\n break;\n } catch (e) {}\n }\n\n return returnValue;\n }\n}\n\n/*--------------------------------------------------------------------------*/\n\nvar PeriodicalExecuter = Class.create();\nPeriodicalExecuter.prototype = {\n initialize: function(callback, frequency) {\n this.callback = callback;\n this.frequency = frequency;\n this.currentlyExecuting = false;\n\n this.registerCallback();\n },\n\n registerCallback: function() {\n this.timer = setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);\n },\n\n stop: function() {\n if (!this.timer) return;\n clearInterval(this.timer);\n this.timer = null;\n },\n\n onTimerEvent: function() {\n if (!this.currentlyExecuting) {\n try {\n this.currentlyExecuting = true;\n this.callback(this);\n } finally {\n this.currentlyExecuting = false;\n }\n }\n }\n}\nObject.extend(String, {\n interpret: function(value) {\n return value == null ? '' : String(value);\n },\n specialChar: {\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\\\\': '\\\\\\\\'\n }\n});\n\nObject.extend(String.prototype, {\n gsub: function(pattern, replacement) {\n var result = '', source = this, match;\n replacement = arguments.callee.prepareReplacement(replacement);\n\n while (source.length > 0) {\n if (match = source.match(pattern)) {\n result += source.slice(0, match.index);\n result += String.interpret(replacement(match));\n source = source.slice(match.index + match[0].length);\n } else {\n result += source, source = '';\n }\n }\n return result;\n },\n\n sub: function(pattern, replacement, count) {\n replacement = this.gsub.prepareReplacement(replacement);\n count = count === undefined ? 1 : count;\n\n return this.gsub(pattern, function(match) {\n if (--count < 0) return match[0];\n return replacement(match);\n });\n },\n\n scan: function(pattern, iterator) {\n this.gsub(pattern, iterator);\n return this;\n },\n\n truncate: function(length, truncation) {\n length = length || 30;\n truncation = truncation === undefined ? '...' : truncation;\n return this.length > length ?\n this.slice(0, length - truncation.length) + truncation : this;\n },\n\n strip: function() {\n return this.replace(/^\\s+/, '').replace(/\\s+$/, '');\n },\n\n stripTags: function() {\n return this.replace(/<\\/?[^>]+>/gi, '');\n },\n\n stripScripts: function() {\n return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), '');\n },\n\n extractScripts: function() {\n var matchAll = new RegExp(Prototype.ScriptFragment, 'img');\n var matchOne = new RegExp(Prototype.ScriptFragment, 'im');\n return (this.match(matchAll) || []).map(function(scriptTag) {\n return (scriptTag.match(matchOne) || ['', ''])[1];\n });\n },\n\n evalScripts: function() {\n return this.extractScripts().map(function(script) { return eval(script) });\n },\n\n escapeHTML: function() {\n var self = arguments.callee;\n self.text.data = this;\n return self.div.innerHTML;\n },\n\n unescapeHTML: function() {\n var div = document.createElement('div');\n div.innerHTML = this.stripTags();\n return div.childNodes[0] ? (div.childNodes.length > 1 ?\n $A(div.childNodes).inject('', function(memo, node) { return memo+node.nodeValue }) :\n div.childNodes[0].nodeValue) : '';\n },\n\n toQueryParams: function(separator) {\n var match = this.strip().match(/([^?#]*)(#.*)?$/);\n if (!match) return {};\n\n return match[1].split(separator || '&').inject({}, function(hash, pair) {\n if ((pair = pair.split('='))[0]) {\n var key = decodeURIComponent(pair.shift());\n var value = pair.length > 1 ? pair.join('=') : pair[0];\n if (value != undefined) value = decodeURIComponent(value);\n\n if (key in hash) {\n if (hash[key].constructor != Array) hash[key] = [hash[key]];\n hash[key].push(value);\n }\n else hash[key] = value;\n }\n return hash;\n });\n },\n\n toArray: function() {\n return this.split('');\n },\n\n succ: function() {\n return this.slice(0, this.length - 1) +\n String.fromCharCode(this.charCodeAt(this.length - 1) + 1);\n },\n\n times: function(count) {\n var result = '';\n for (var i = 0; i < count; i++) result += this;\n return result;\n },\n\n camelize: function() {\n var parts = this.split('-'), len = parts.length;\n if (len == 1) return parts[0];\n\n var camelized = this.charAt(0) == '-'\n ? parts[0].charAt(0).toUpperCase() + parts[0].substring(1)\n : parts[0];\n\n for (var i = 1; i < len; i++)\n camelized += parts[i].charAt(0).toUpperCase() + parts[i].substring(1);\n\n return camelized;\n },\n\n capitalize: function() {\n return this.charAt(0).toUpperCase() + this.substring(1).toLowerCase();\n },\n\n underscore: function() {\n return this.gsub(/::/, '/').gsub(/([A-Z]+)([A-Z][a-z])/,'#{1}_#{2}').gsub(/([a-z\\d])([A-Z])/,'#{1}_#{2}').gsub(/-/,'_').toLowerCase();\n },\n\n dasherize: function() {\n return this.gsub(/_/,'-');\n },\n\n inspect: function(useDoubleQuotes) {\n var escapedString = this.gsub(/[\\x00-\\x1f\\\\]/, function(match) {\n var character = String.specialChar[match[0]];\n return character ? character : '\\\\u00' + match[0].charCodeAt().toPaddedString(2, 16);\n });\n if (useDoubleQuotes) return '\"' + escapedString.replace(/\"/g, '\\\\\"') + '\"';\n return \"'\" + escapedString.replace(/'/g, '\\\\\\'') + \"'\";\n },\n\n toJSON: function() {\n return this.inspect(true);\n },\n\n unfilterJSON: function(filter) {\n return this.sub(filter || Prototype.JSONFilter, '#{1}');\n },\n\n isJSON: function() {\n var str = this.replace(/\\\\./g, '@').replace(/\"[^\"\\\\\\n\\r]*\"/g, '');\n return (/^[,:{}\\[\\]0-9.\\-+Eaeflnr-u \\n\\r\\t]*$/).test(str);\n },\n\n evalJSON: function(sanitize) {\n var json = this.unfilterJSON();\n try {\n if (!sanitize || json.isJSON()) return eval('(' + json + ')');\n } catch (e) { }\n throw new SyntaxError('Badly formed JSON string: ' + this.inspect());\n },\n\n include: function(pattern) {\n return this.indexOf(pattern) > -1;\n },\n\n startsWith: function(pattern) {\n return this.indexOf(pattern) === 0;\n },\n\n endsWith: function(pattern) {\n var d = this.length - pattern.length;\n return d >= 0 && this.lastIndexOf(pattern) === d;\n },\n\n empty: function() {\n return this == '';\n },\n\n blank: function() {\n return /^\\s*$/.test(this);\n }\n});\n\nif (Prototype.Browser.WebKit || Prototype.Browser.IE) Object.extend(String.prototype, {\n escapeHTML: function() {\n return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');\n },\n unescapeHTML: function() {\n return this.replace(/&amp;/g,'&').replace(/&lt;/g,'<').replace(/&gt;/g,'>');\n }\n});\n\nString.prototype.gsub.prepareReplacement = function(replacement) {\n if (typeof replacement == 'function') return replacement;\n var template = new Template(replacement);\n return function(match) { return template.evaluate(match) };\n}\n\nString.prototype.parseQuery = String.prototype.toQueryParams;\n\nObject.extend(String.prototype.escapeHTML, {\n div: document.createElement('div'),\n text: document.createTextNode('')\n});\n\nwith (String.prototype.escapeHTML) div.appendChild(text);\n\nvar Template = Class.create();\nTemplate.Pattern = /(^|.|\\r|\\n)(#\\{(.*?)\\})/;\nTemplate.prototype = {\n initialize: function(template, pattern) {\n this.template = template.toString();\n this.pattern = pattern || Template.Pattern;\n },\n\n evaluate: function(object) {\n return this.template.gsub(this.pattern, function(match) {\n var before = match[1];\n if (before == '\\\\') return match[2];\n return before + String.interpret(object[match[3]]);\n });\n }\n}\n\nvar $break = {}, $continue = new Error('\"throw $continue\" is deprecated, use \"return\" instead');\n\nvar Enumerable = {\n each: function(iterator) {\n var index = 0;\n try {\n this._each(function(value) {\n iterator(value, index++);\n });\n } catch (e) {\n if (e != $break) throw e;\n }\n return this;\n },\n\n eachSlice: function(number, iterator) {\n var index = -number, slices = [], array = this.toArray();\n while ((index += number) < array.length)\n slices.push(array.slice(index, index+number));\n return slices.map(iterator);\n },\n\n all: function(iterator) {\n var result = true;\n this.each(function(value, index) {\n result = result && !!(iterator || Prototype.K)(value, index);\n if (!result) throw $break;\n });\n return result;\n },\n\n any: function(iterator) {\n var result = false;\n this.each(function(value, index) {\n if (result = !!(iterator || Prototype.K)(value, index))\n throw $break;\n });\n return result;\n },\n\n collect: function(iterator) {\n var results = [];\n this.each(function(value, index) {\n results.push((iterator || Prototype.K)(value, index));\n });\n return results;\n },\n\n detect: function(iterator) {\n var result;\n this.each(function(value, index) {\n if (iterator(value, index)) {\n result = value;\n throw $break;\n }\n });\n return result;\n },\n\n findAll: function(iterator) {\n var results = [];\n this.each(function(value, index) {\n if (iterator(value, index))\n results.push(value);\n });\n return results;\n },\n\n grep: function(pattern, iterator) {\n var results = [];\n this.each(function(value, index) {\n var stringValue = value.toString();\n if (stringValue.match(pattern))\n results.push((iterator || Prototype.K)(value, index));\n })\n return results;\n },\n\n include: function(object) {\n var found = false;\n this.each(function(value) {\n if (value == object) {\n found = true;\n throw $break;\n }\n });\n return found;\n },\n\n inGroupsOf: function(number, fillWith) {\n fillWith = fillWith === undefined ? null : fillWith;\n return this.eachSlice(number, function(slice) {\n while(slice.length < number) slice.push(fillWith);\n return slice;\n });\n },\n\n inject: function(memo, iterator) {\n this.each(function(value, index) {\n memo = iterator(memo, value, index);\n });\n return memo;\n },\n\n invoke: function(method) {\n var args = $A(arguments).slice(1);\n return this.map(function(value) {\n return value[method].apply(value, args);\n });\n },\n\n max: function(iterator) {\n var result;\n this.each(function(value, index) {\n value = (iterator || Prototype.K)(value, index);\n if (result == undefined || value >= result)\n result = value;\n });\n return result;\n },\n\n min: function(iterator) {\n var result;\n this.each(function(value, index) {\n value = (iterator || Prototype.K)(value, index);\n if (result == undefined || value < result)\n result = value;\n });\n return result;\n },\n\n partition: function(iterator) {\n var trues = [], falses = [];\n this.each(function(value, index) {\n ((iterator || Prototype.K)(value, index) ?\n trues : falses).push(value);\n });\n return [trues, falses];\n },\n\n pluck: function(property) {\n var results = [];\n this.each(function(value, index) {\n results.push(value[property]);\n });\n return results;\n },\n\n reject: function(iterator) {\n var results = [];\n this.each(function(value, index) {\n if (!iterator(value, index))\n results.push(value);\n });\n return results;\n },\n\n sortBy: function(iterator) {\n return this.map(function(value, index) {\n return {value: value, criteria: iterator(value, index)};\n }).sort(function(left, right) {\n var a = left.criteria, b = right.criteria;\n return a < b ? -1 : a > b ? 1 : 0;\n }).pluck('value');\n },\n\n toArray: function() {\n return this.map();\n },\n\n zip: function() {\n var iterator = Prototype.K, args = $A(arguments);\n if (typeof args.last() == 'function')\n iterator = args.pop();\n\n var collections = [this].concat(args).map($A);\n return this.map(function(value, index) {\n return iterator(collections.pluck(index));\n });\n },\n\n size: function() {\n return this.toArray().length;\n },\n\n inspect: function() {\n return '#<Enumerable:' + this.toArray().inspect() + '>';\n }\n}\n\nObject.extend(Enumerable, {\n map: Enumerable.collect,\n find: Enumerable.detect,\n select: Enumerable.findAll,\n member: Enumerable.include,\n entries: Enumerable.toArray\n});\nvar $A = Array.from = function(iterable) {\n if (!iterable) return [];\n if (iterable.toArray) {\n return iterable.toArray();\n } else {\n var results = [];\n for (var i = 0, length = iterable.length; i < length; i++)\n results.push(iterable[i]);\n return results;\n }\n}\n\nif (Prototype.Browser.WebKit) {\n $A = Array.from = function(iterable) {\n if (!iterable) return [];\n if (!(typeof iterable == 'function' && iterable == '[object NodeList]') &&\n iterable.toArray) {\n return iterable.toArray();\n } else {\n var results = [];\n for (var i = 0, length = iterable.length; i < length; i++)\n results.push(iterable[i]);\n return results;\n }\n }\n}\n\nObject.extend(Array.prototype, Enumerable);\n\nif (!Array.prototype._reverse)\n Array.prototype._reverse = Array.prototype.reverse;\n\nObject.extend(Array.prototype, {\n _each: function(iterator) {\n for (var i = 0, length = this.length; i < length; i++)\n iterator(this[i]);\n },\n\n clear: function() {\n this.length = 0;\n return this;\n },\n\n first: function() {\n return this[0];\n },\n\n last: function() {\n return this[this.length - 1];\n },\n\n compact: function() {\n return this.select(function(value) {\n return value != null;\n });\n },\n\n flatten: function() {\n return this.inject([], function(array, value) {\n return array.concat(value && value.constructor == Array ?\n value.flatten() : [value]);\n });\n },\n\n without: function() {\n var values = $A(arguments);\n return this.select(function(value) {\n return !values.include(value);\n });\n },\n\n indexOf: function(object) {\n for (var i = 0, length = this.length; i < length; i++)\n if (this[i] == object) return i;\n return -1;\n },\n\n reverse: function(inline) {\n return (inline !== false ? this : this.toArray())._reverse();\n },\n\n reduce: function() {\n return this.length > 1 ? this : this[0];\n },\n\n uniq: function(sorted) {\n return this.inject([], function(array, value, index) {\n if (0 == index || (sorted ? array.last() != value : !array.include(value)))\n array.push(value);\n return array;\n });\n },\n\n clone: function() {\n return [].concat(this);\n },\n\n size: function() {\n return this.length;\n },\n\n inspect: function() {\n return '[' + this.map(Object.inspect).join(', ') + ']';\n },\n\n toJSON: function() {\n var results = [];\n this.each(function(object) {\n var value = Object.toJSON(object);\n if (value !== undefined) results.push(value);\n });\n return '[' + results.join(', ') + ']';\n }\n});\n\nArray.prototype.toArray = Array.prototype.clone;\n\nfunction $w(string) {\n string = string.strip();\n return string ? string.split(/\\s+/) : [];\n}\n\nif (Prototype.Browser.Opera){\n Array.prototype.concat = function() {\n var array = [];\n for (var i = 0, length = this.length; i < length; i++) array.push(this[i]);\n for (var i = 0, length = arguments.length; i < length; i++) {\n if (arguments[i].constructor == Array) {\n for (var j = 0, arrayLength = arguments[i].length; j < arrayLength; j++)\n array.push(arguments[i][j]);\n } else {\n array.push(arguments[i]);\n }\n }\n return array;\n }\n}\nvar Hash = function(object) {\n if (object instanceof Hash) this.merge(object);\n else Object.extend(this, object || {});\n};\n\nObject.extend(Hash, {\n toQueryString: function(obj) {\n var parts = [];\n parts.add = arguments.callee.addPair;\n\n this.prototype._each.call(obj, function(pair) {\n if (!pair.key) return;\n var value = pair.value;\n\n if (value && typeof value == 'object') {\n if (value.constructor == Array) value.each(function(value) {\n parts.add(pair.key, value);\n });\n return;\n }\n parts.add(pair.key, value);\n });\n\n return parts.join('&');\n },\n\n toJSON: function(object) {\n var results = [];\n this.prototype._each.call(object, function(pair) {\n var value = Object.toJSON(pair.value);\n if (value !== undefined) results.push(pair.key.toJSON() + ': ' + value);\n });\n return '{' + results.join(', ') + '}';\n }\n});\n\nHash.toQueryString.addPair = function(key, value, prefix) {\n key = encodeURIComponent(key);\n if (value === undefined) this.push(key);\n else this.push(key + '=' + (value == null ? '' : encodeURIComponent(value)));\n}\n\nObject.extend(Hash.prototype, Enumerable);\nObject.extend(Hash.prototype, {\n _each: function(iterator) {\n for (var key in this) {\n var value = this[key];\n if (value && value == Hash.prototype[key]) continue;\n\n var pair = [key, value];\n pair.key = key;\n pair.value = value;\n iterator(pair);\n }\n },\n\n keys: function() {\n return this.pluck('key');\n },\n\n values: function() {\n return this.pluck('value');\n },\n\n merge: function(hash) {\n return $H(hash).inject(this, function(mergedHash, pair) {\n mergedHash[pair.key] = pair.value;\n return mergedHash;\n });\n },\n\n remove: function() {\n var result;\n for(var i = 0, length = arguments.length; i < length; i++) {\n var value = this[arguments[i]];\n if (value !== undefined){\n if (result === undefined) result = value;\n else {\n if (result.constructor != Array) result = [result];\n result.push(value)\n }\n }\n delete this[arguments[i]];\n }\n return result;\n },\n\n toQueryString: function() {\n return Hash.toQueryString(this);\n },\n\n inspect: function() {\n return '#<Hash:{' + this.map(function(pair) {\n return pair.map(Object.inspect).join(': ');\n }).join(', ') + '}>';\n },\n\n toJSON: function() {\n return Hash.toJSON(this);\n }\n});\n\nfunction $H(object) {\n if (object instanceof Hash) return object;\n return new Hash(object);\n};\n\n// Safari iterates over shadowed properties\nif (function() {\n var i = 0, Test = function(value) { this.key = value };\n Test.prototype.key = 'foo';\n for (var property in new Test('bar')) i++;\n return i > 1;\n}()) Hash.prototype._each = function(iterator) {\n var cache = [];\n for (var key in this) {\n var value = this[key];\n if ((value && value == Hash.prototype[key]) || cache.include(key)) continue;\n cache.push(key);\n var pair = [key, value];\n pair.key = key;\n pair.value = value;\n iterator(pair);\n }\n};\nObjectRange = Class.create();\nObject.extend(ObjectRange.prototype, Enumerable);\nObject.extend(ObjectRange.prototype, {\n initialize: function(start, end, exclusive) {\n this.start = start;\n this.end = end;\n this.exclusive = exclusive;\n },\n\n _each: function(iterator) {\n var value = this.start;\n while (this.include(value)) {\n iterator(value);\n value = value.succ();\n }\n },\n\n include: function(value) {\n if (value < this.start)\n return false;\n if (this.exclusive)\n return value < this.end;\n return value <= this.end;\n }\n});\n\nvar $R = function(start, end, exclusive) {\n return new ObjectRange(start, end, exclusive);\n}\n\nvar Ajax = {\n getTransport: function() {\n return Try.these(\n function() {return new XMLHttpRequest()},\n function() {return new ActiveXObject('Msxml2.XMLHTTP')},\n function() {return new ActiveXObject('Microsoft.XMLHTTP')}\n ) || false;\n },\n\n activeRequestCount: 0\n}\n\nAjax.Responders = {\n responders: [],\n\n _each: function(iterator) {\n this.responders._each(iterator);\n },\n\n register: function(responder) {\n if (!this.include(responder))\n this.responders.push(responder);\n },\n\n unregister: function(responder) {\n this.responders = this.responders.without(responder);\n },\n\n dispatch: function(callback, request, transport, json) {\n this.each(function(responder) {\n if (typeof responder[callback] == 'function') {\n try {\n responder[callback].apply(responder, [request, transport, json]);\n } catch (e) {}\n }\n });\n }\n};\n\nObject.extend(Ajax.Responders, Enumerable);\n\nAjax.Responders.register({\n onCreate: function() {\n Ajax.activeRequestCount++;\n },\n onComplete: function() {\n Ajax.activeRequestCount--;\n }\n});\n\nAjax.Base = function() {};\nAjax.Base.prototype = {\n setOptions: function(options) {\n this.options = {\n method: 'post',\n asynchronous: true,\n contentType: 'application/x-www-form-urlencoded',\n encoding: 'UTF-8',\n parameters: ''\n }\n Object.extend(this.options, options || {});\n\n this.options.method = this.options.method.toLowerCase();\n if (typeof this.options.parameters == 'string')\n this.options.parameters = this.options.parameters.toQueryParams();\n }\n}\n\nAjax.Request = Class.create();\nAjax.Request.Events =\n ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete'];\n\nAjax.Request.prototype = Object.extend(new Ajax.Base(), {\n _complete: false,\n\n initialize: function(url, options) {\n this.transport = Ajax.getTransport();\n this.setOptions(options);\n this.request(url);\n },\n\n request: function(url) {\n this.url = url;\n this.method = this.options.method;\n var params = Object.clone(this.options.parameters);\n\n if (!['get', 'post'].include(this.method)) {\n // simulate other verbs over post\n params['_method'] = this.method;\n this.method = 'post';\n }\n\n this.parameters = params;\n\n if (params = Hash.toQueryString(params)) {\n // when GET, append parameters to URL\n if (this.method == 'get')\n this.url += (this.url.include('?') ? '&' : '?') + params;\n else if (/Konqueror|Safari|KHTML/.test(navigator.userAgent))\n params += '&_=';\n }\n\n try {\n if (this.options.onCreate) this.options.onCreate(this.transport);\n Ajax.Responders.dispatch('onCreate', this, this.transport);\n\n this.transport.open(this.method.toUpperCase(), this.url,\n this.options.asynchronous);\n\n if (this.options.asynchronous)\n setTimeout(function() { this.respondToReadyState(1) }.bind(this), 10);\n\n this.transport.onreadystatechange = this.onStateChange.bind(this);\n this.setRequestHeaders();\n\n this.body = this.method == 'post' ? (this.options.postBody || params) : null;\n this.transport.send(this.body);\n\n /* Force Firefox to handle ready state 4 for synchronous requests */\n if (!this.options.asynchronous && this.transport.overrideMimeType)\n this.onStateChange();\n\n }\n catch (e) {\n this.dispatchException(e);\n }\n },\n\n onStateChange: function() {\n var readyState = this.transport.readyState;\n if (readyState > 1 && !((readyState == 4) && this._complete))\n this.respondToReadyState(this.transport.readyState);\n },\n\n setRequestHeaders: function() {\n var headers = {\n 'X-Requested-With': 'XMLHttpRequest',\n 'X-Prototype-Version': Prototype.Version,\n 'Accept': 'text/javascript, text/html, application/xml, text/xml, */*'\n };\n\n if (this.method == 'post') {\n headers['Content-type'] = this.options.contentType +\n (this.options.encoding ? '; charset=' + this.options.encoding : '');\n\n /* Force \"Connection: close\" for older Mozilla browsers to work\n * around a bug where XMLHttpRequest sends an incorrect\n * Content-length header. See Mozilla Bugzilla #246651.\n */\n if (this.transport.overrideMimeType &&\n (navigator.userAgent.match(/Gecko\\/(\\d{4})/) || [0,2005])[1] < 2005)\n headers['Connection'] = 'close';\n }\n\n // user-defined headers\n if (typeof this.options.requestHeaders == 'object') {\n var extras = this.options.requestHeaders;\n\n if (typeof extras.push == 'function')\n for (var i = 0, length = extras.length; i < length; i += 2)\n headers[extras[i]] = extras[i+1];\n else\n $H(extras).each(function(pair) { headers[pair.key] = pair.value });\n }\n\n for (var name in headers)\n this.transport.setRequestHeader(name, headers[name]);\n },\n\n success: function() {\n return !this.transport.status\n || (this.transport.status >= 200 && this.transport.status < 300);\n },\n\n respondToReadyState: function(readyState) {\n var state = Ajax.Request.Events[readyState];\n var transport = this.transport, json = this.evalJSON();\n\n if (state == 'Complete') {\n try {\n this._complete = true;\n (this.options['on' + this.transport.status]\n || this.options['on' + (this.success() ? 'Success' : 'Failure')]\n || Prototype.emptyFunction)(transport, json);\n } catch (e) {\n this.dispatchException(e);\n }\n\n var contentType = this.getHeader('Content-type');\n if (contentType && contentType.strip().\n match(/^(text|application)\\/(x-)?(java|ecma)script(;.*)?$/i))\n this.evalResponse();\n }\n\n try {\n (this.options['on' + state] || Prototype.emptyFunction)(transport, json);\n Ajax.Responders.dispatch('on' + state, this, transport, json);\n } catch (e) {\n this.dispatchException(e);\n }\n\n if (state == 'Complete') {\n // avoid memory leak in MSIE: clean up\n this.transport.onreadystatechange = Prototype.emptyFunction;\n }\n },\n\n getHeader: function(name) {\n try {\n return this.transport.getResponseHeader(name);\n } catch (e) { return null }\n },\n\n evalJSON: function() {\n try {\n var json = this.getHeader('X-JSON');\n return json ? json.evalJSON() : null;\n } catch (e) { return null }\n },\n\n evalResponse: function() {\n try {\n return eval((this.transport.responseText || '').unfilterJSON());\n } catch (e) {\n this.dispatchException(e);\n }\n },\n\n dispatchException: function(exception) {\n (this.options.onException || Prototype.emptyFunction)(this, exception);\n Ajax.Responders.dispatch('onException', this, exception);\n }\n});\n\nAjax.Updater = Class.create();\n\nObject.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), {\n initialize: function(container, url, options) {\n this.container = {\n success: (container.success || container),\n failure: (container.failure || (container.success ? null : container))\n }\n\n this.transport = Ajax.getTransport();\n this.setOptions(options);\n\n var onComplete = this.options.onComplete || Prototype.emptyFunction;\n this.options.onComplete = (function(transport, param) {\n this.updateContent();\n onComplete(transport, param);\n }).bind(this);\n\n this.request(url);\n },\n\n updateContent: function() {\n var receiver = this.container[this.success() ? 'success' : 'failure'];\n var response = this.transport.responseText;\n\n if (!this.options.evalScripts) response = response.stripScripts();\n\n if (receiver = $(receiver)) {\n if (this.options.insertion)\n new this.options.insertion(receiver, response);\n else\n receiver.update(response);\n }\n\n if (this.success()) {\n if (this.onComplete)\n setTimeout(this.onComplete.bind(this), 10);\n }\n }\n});\n\nAjax.PeriodicalUpdater = Class.create();\nAjax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), {\n initialize: function(container, url, options) {\n this.setOptions(options);\n this.onComplete = this.options.onComplete;\n\n this.frequency = (this.options.frequency || 2);\n this.decay = (this.options.decay || 1);\n\n this.updater = {};\n this.container = container;\n this.url = url;\n\n this.start();\n },\n\n start: function() {\n this.options.onComplete = this.updateComplete.bind(this);\n this.onTimerEvent();\n },\n\n stop: function() {\n this.updater.options.onComplete = undefined;\n clearTimeout(this.timer);\n (this.onComplete || Prototype.emptyFunction).apply(this, arguments);\n },\n\n updateComplete: function(request) {\n if (this.options.decay) {\n this.decay = (request.responseText == this.lastText ?\n this.decay * this.options.decay : 1);\n\n this.lastText = request.responseText;\n }\n this.timer = setTimeout(this.onTimerEvent.bind(this),\n this.decay * this.frequency * 1000);\n },\n\n onTimerEvent: function() {\n this.updater = new Ajax.Updater(this.container, this.url, this.options);\n }\n});\nfunction $(element) {\n if (arguments.length > 1) {\n for (var i = 0, elements = [], length = arguments.length; i < length; i++)\n elements.push($(arguments[i]));\n return elements;\n }\n if (typeof element == 'string')\n element = document.getElementById(element);\n return Element.extend(element);\n}\n\nif (Prototype.BrowserFeatures.XPath) {\n document._getElementsByXPath = function(expression, parentElement) {\n var results = [];\n var query = document.evaluate(expression, $(parentElement) || document,\n null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);\n for (var i = 0, length = query.snapshotLength; i < length; i++)\n results.push(query.snapshotItem(i));\n return results;\n };\n\n document.getElementsByClassName = function(className, parentElement) {\n var q = \".//*[contains(concat(' ', @class, ' '), ' \" + className + \" ')]\";\n return document._getElementsByXPath(q, parentElement);\n }\n\n} else document.getElementsByClassName = function(className, parentElement) {\n var children = ($(parentElement) || document.body).getElementsByTagName('*');\n var elements = [], child, pattern = new RegExp(\"(^|\\\\s)\" + className + \"(\\\\s|$)\");\n for (var i = 0, length = children.length; i < length; i++) {\n child = children[i];\n var elementClassName = child.className;\n if (elementClassName.length == 0) continue;\n if (elementClassName == className || elementClassName.match(pattern))\n elements.push(Element.extend(child));\n }\n return elements;\n};\n\n/*--------------------------------------------------------------------------*/\n\nif (!window.Element) var Element = {};\n\nElement.extend = function(element) {\n var F = Prototype.BrowserFeatures;\n if (!element || !element.tagName || element.nodeType == 3 ||\n element._extended || F.SpecificElementExtensions || element == window)\n return element;\n\n var methods = {}, tagName = element.tagName, cache = Element.extend.cache,\n T = Element.Methods.ByTag;\n\n // extend methods for all tags (Safari doesn't need this)\n if (!F.ElementExtensions) {\n Object.extend(methods, Element.Methods),\n Object.extend(methods, Element.Methods.Simulated);\n }\n\n // extend methods for specific tags\n if (T[tagName]) Object.extend(methods, T[tagName]);\n\n for (var property in methods) {\n var value = methods[property];\n if (typeof value == 'function' && !(property in element))\n element[property] = cache.findOrStore(value);\n }\n\n element._extended = Prototype.emptyFunction;\n return element;\n};\n\nElement.extend.cache = {\n findOrStore: function(value) {\n return this[value] = this[value] || function() {\n return value.apply(null, [this].concat($A(arguments)));\n }\n }\n};\n\nElement.Methods = {\n visible: function(element) {\n return $(element).style.display != 'none';\n },\n\n toggle: function(element) {\n element = $(element);\n Element[Element.visible(element) ? 'hide' : 'show'](element);\n return element;\n },\n\n hide: function(element) {\n $(element).style.display = 'none';\n return element;\n },\n\n show: function(element) {\n $(element).style.display = '';\n return element;\n },\n\n remove: function(element) {\n element = $(element);\n element.parentNode.removeChild(element);\n return element;\n },\n\n update: function(element, html) {\n html = typeof html == 'undefined' ? '' : html.toString();\n $(element).innerHTML = html.stripScripts();\n setTimeout(function() {html.evalScripts()}, 10);\n return element;\n },\n\n replace: function(element, html) {\n element = $(element);\n html = typeof html == 'undefined' ? '' : html.toString();\n if (element.outerHTML) {\n element.outerHTML = html.stripScripts();\n } else {\n var range = element.ownerDocument.createRange();\n range.selectNodeContents(element);\n element.parentNode.replaceChild(\n range.createContextualFragment(html.stripScripts()), element);\n }\n setTimeout(function() {html.evalScripts()}, 10);\n return element;\n },\n\n inspect: function(element) {\n element = $(element);\n var result = '<' + element.tagName.toLowerCase();\n $H({'id': 'id', 'className': 'class'}).each(function(pair) {\n var property = pair.first(), attribute = pair.last();\n var value = (element[property] || '').toString();\n if (value) result += ' ' + attribute + '=' + value.inspect(true);\n });\n return result + '>';\n },\n\n recursivelyCollect: function(element, property) {\n element = $(element);\n var elements = [];\n while (element = element[property])\n if (element.nodeType == 1)\n elements.push(Element.extend(element));\n return elements;\n },\n\n ancestors: function(element) {\n return $(element).recursivelyCollect('parentNode');\n },\n\n descendants: function(element) {\n return $A($(element).getElementsByTagName('*')).each(Element.extend);\n },\n\n firstDescendant: function(element) {\n element = $(element).firstChild;\n while (element && element.nodeType != 1) element = element.nextSibling;\n return $(element);\n },\n\n immediateDescendants: function(element) {\n if (!(element = $(element).firstChild)) return [];\n while (element && element.nodeType != 1) element = element.nextSibling;\n if (element) return [element].concat($(element).nextSiblings());\n return [];\n },\n\n previousSiblings: function(element) {\n return $(element).recursivelyCollect('previousSibling');\n },\n\n nextSiblings: function(element) {\n return $(element).recursivelyCollect('nextSibling');\n },\n\n siblings: function(element) {\n element = $(element);\n return element.previousSiblings().reverse().concat(element.nextSiblings());\n },\n\n match: function(element, selector) {\n if (typeof selector == 'string')\n selector = new Selector(selector);\n return selector.match($(element));\n },\n\n up: function(element, expression, index) {\n element = $(element);\n if (arguments.length == 1) return $(element.parentNode);\n var ancestors = element.ancestors();\n return expression ? Selector.findElement(ancestors, expression, index) :\n ancestors[index || 0];\n },\n\n down: function(element, expression, index) {\n element = $(element);\n if (arguments.length == 1) return element.firstDescendant();\n var descendants = element.descendants();\n return expression ? Selector.findElement(descendants, expression, index) :\n descendants[index || 0];\n },\n\n previous: function(element, expression, index) {\n element = $(element);\n if (arguments.length == 1) return $(Selector.handlers.previousElementSibling(element));\n var previousSiblings = element.previousSiblings();\n return expression ? Selector.findElement(previousSiblings, expression, index) :\n previousSiblings[index || 0];\n },\n\n next: function(element, expression, index) {\n element = $(element);\n if (arguments.length == 1) return $(Selector.handlers.nextElementSibling(element));\n var nextSiblings = element.nextSiblings();\n return expression ? Selector.findElement(nextSiblings, expression, index) :\n nextSiblings[index || 0];\n },\n\n getElementsBySelector: function() {\n var args = $A(arguments), element = $(args.shift());\n return Selector.findChildElements(element, args);\n },\n\n getElementsByClassName: function(element, className) {\n return document.getElementsByClassName(className, element);\n },\n\n readAttribute: function(element, name) {\n element = $(element);\n if (Prototype.Browser.IE) {\n if (!element.attributes) return null;\n var t = Element._attributeTranslations;\n if (t.values[name]) return t.values[name](element, name);\n if (t.names[name]) name = t.names[name];\n var attribute = element.attributes[name];\n return attribute ? attribute.nodeValue : null;\n }\n return element.getAttribute(name);\n },\n\n getHeight: function(element) {\n return $(element).getDimensions().height;\n },\n\n getWidth: function(element) {\n return $(element).getDimensions().width;\n },\n\n classNames: function(element) {\n return new Element.ClassNames(element);\n },\n\n hasClassName: function(element, className) {\n if (!(element = $(element))) return;\n var elementClassName = element.className;\n if (elementClassName.length == 0) return false;\n if (elementClassName == className ||\n elementClassName.match(new RegExp(\"(^|\\\\s)\" + className + \"(\\\\s|$)\")))\n return true;\n return false;\n },\n\n addClassName: function(element, className) {\n if (!(element = $(element))) return;\n Element.classNames(element).add(className);\n return element;\n },\n\n removeClassName: function(element, className) {\n if (!(element = $(element))) return;\n Element.classNames(element).remove(className);\n return element;\n },\n\n toggleClassName: function(element, className) {\n if (!(element = $(element))) return;\n Element.classNames(element)[element.hasClassName(className) ? 'remove' : 'add'](className);\n return element;\n },\n\n observe: function() {\n Event.observe.apply(Event, arguments);\n return $A(arguments).first();\n },\n\n stopObserving: function() {\n Event.stopObserving.apply(Event, arguments);\n return $A(arguments).first();\n },\n\n // removes whitespace-only text node children\n cleanWhitespace: function(element) {\n element = $(element);\n var node = element.firstChild;\n while (node) {\n var nextNode = node.nextSibling;\n if (node.nodeType == 3 && !/\\S/.test(node.nodeValue))\n element.removeChild(node);\n node = nextNode;\n }\n return element;\n },\n\n empty: function(element) {\n return $(element).innerHTML.blank();\n },\n\n descendantOf: function(element, ancestor) {\n element = $(element), ancestor = $(ancestor);\n while (element = element.parentNode)\n if (element == ancestor) return true;\n return false;\n },\n\n scrollTo: function(element) {\n element = $(element);\n var pos = Position.cumulativeOffset(element);\n window.scrollTo(pos[0], pos[1]);\n return element;\n },\n\n getStyle: function(element, style) {\n element = $(element);\n style = style == 'float' ? 'cssFloat' : style.camelize();\n var value = element.style[style];\n if (!value) {\n var css = document.defaultView.getComputedStyle(element, null);\n value = css ? css[style] : null;\n }\n if (style == 'opacity') return value ? parseFloat(value) : 1.0;\n return value == 'auto' ? null : value;\n },\n\n getOpacity: function(element) {\n return $(element).getStyle('opacity');\n },\n\n setStyle: function(element, styles, camelized) {\n element = $(element);\n var elementStyle = element.style;\n\n for (var property in styles)\n if (property == 'opacity') element.setOpacity(styles[property])\n else\n elementStyle[(property == 'float' || property == 'cssFloat') ?\n (elementStyle.styleFloat === undefined ? 'cssFloat' : 'styleFloat') :\n (camelized ? property : property.camelize())] = styles[property];\n\n return element;\n },\n\n setOpacity: function(element, value) {\n element = $(element);\n element.style.opacity = (value == 1 || value === '') ? '' :\n (value < 0.00001) ? 0 : value;\n return element;\n },\n\n getDimensions: function(element) {\n element = $(element);\n var display = $(element).getStyle('display');\n if (display != 'none' && display != null) // Safari bug\n return {width: element.offsetWidth, height: element.offsetHeight};\n\n // All *Width and *Height properties give 0 on elements with display none,\n // so enable the element temporarily\n var els = element.style;\n var originalVisibility = els.visibility;\n var originalPosition = els.position;\n var originalDisplay = els.display;\n els.visibility = 'hidden';\n els.position = 'absolute';\n els.display = 'block';\n var originalWidth = element.clientWidth;\n var originalHeight = element.clientHeight;\n els.display = originalDisplay;\n els.position = originalPosition;\n els.visibility = originalVisibility;\n return {width: originalWidth, height: originalHeight};\n },\n\n makePositioned: function(element) {\n element = $(element);\n var pos = Element.getStyle(element, 'position');\n if (pos == 'static' || !pos) {\n element._madePositioned = true;\n element.style.position = 'relative';\n // Opera returns the offset relative to the positioning context, when an\n // element is position relative but top and left have not been defined\n if (window.opera) {\n element.style.top = 0;\n element.style.left = 0;\n }\n }\n return element;\n },\n\n undoPositioned: function(element) {\n element = $(element);\n if (element._madePositioned) {\n element._madePositioned = undefined;\n element.style.position =\n element.style.top =\n element.style.left =\n element.style.bottom =\n element.style.right = '';\n }\n return element;\n },\n\n makeClipping: function(element) {\n element = $(element);\n if (element._overflow) return element;\n element._overflow = element.style.overflow || 'auto';\n if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden')\n element.style.overflow = 'hidden';\n return element;\n },\n\n undoClipping: function(element) {\n element = $(element);\n if (!element._overflow) return element;\n element.style.overflow = element._overflow == 'auto' ? '' : element._overflow;\n element._overflow = null;\n return element;\n }\n};\n\nObject.extend(Element.Methods, {\n childOf: Element.Methods.descendantOf,\n childElements: Element.Methods.immediateDescendants\n});\n\nif (Prototype.Browser.Opera) {\n Element.Methods._getStyle = Element.Methods.getStyle;\n Element.Methods.getStyle = function(element, style) {\n switch(style) {\n case 'left':\n case 'top':\n case 'right':\n case 'bottom':\n if (Element._getStyle(element, 'position') == 'static') return null;\n default: return Element._getStyle(element, style);\n }\n };\n}\nelse if (Prototype.Browser.IE) {\n Element.Methods.getStyle = function(element, style) {\n element = $(element);\n style = (style == 'float' || style == 'cssFloat') ? 'styleFloat' : style.camelize();\n var value = element.style[style];\n if (!value && element.currentStyle) value = element.currentStyle[style];\n\n if (style == 'opacity') {\n if (value = (element.getStyle('filter') || '').match(/alpha\\(opacity=(.*)\\)/))\n if (value[1]) return parseFloat(value[1]) / 100;\n return 1.0;\n }\n\n if (value == 'auto') {\n if ((style == 'width' || style == 'height') && (element.getStyle('display') != 'none'))\n return element['offset'+style.capitalize()] + 'px';\n return null;\n }\n return value;\n };\n\n Element.Methods.setOpacity = function(element, value) {\n element = $(element);\n var filter = element.getStyle('filter'), style = element.style;\n if (value == 1 || value === '') {\n style.filter = filter.replace(/alpha\\([^\\)]*\\)/gi,'');\n return element;\n } else if (value < 0.00001) value = 0;\n style.filter = filter.replace(/alpha\\([^\\)]*\\)/gi, '') +\n 'alpha(opacity=' + (value * 100) + ')';\n return element;\n };\n\n // IE is missing .innerHTML support for TABLE-related elements\n Element.Methods.update = function(element, html) {\n element = $(element);\n html = typeof html == 'undefined' ? '' : html.toString();\n var tagName = element.tagName.toUpperCase();\n if (['THEAD','TBODY','TR','TD'].include(tagName)) {\n var div = document.createElement('div');\n switch (tagName) {\n case 'THEAD':\n case 'TBODY':\n div.innerHTML = '<table><tbody>' + html.stripScripts() + '</tbody></table>';\n depth = 2;\n break;\n case 'TR':\n div.innerHTML = '<table><tbody><tr>' + html.stripScripts() + '</tr></tbody></table>';\n depth = 3;\n break;\n case 'TD':\n div.innerHTML = '<table><tbody><tr><td>' + html.stripScripts() + '</td></tr></tbody></table>';\n depth = 4;\n }\n $A(element.childNodes).each(function(node) { element.removeChild(node) });\n depth.times(function() { div = div.firstChild });\n $A(div.childNodes).each(function(node) { element.appendChild(node) });\n } else {\n element.innerHTML = html.stripScripts();\n }\n setTimeout(function() { html.evalScripts() }, 10);\n return element;\n }\n}\nelse if (Prototype.Browser.Gecko) {\n Element.Methods.setOpacity = function(element, value) {\n element = $(element);\n element.style.opacity = (value == 1) ? 0.999999 :\n (value === '') ? '' : (value < 0.00001) ? 0 : value;\n return element;\n };\n}\n\nElement._attributeTranslations = {\n names: {\n colspan: \"colSpan\",\n rowspan: \"rowSpan\",\n valign: \"vAlign\",\n datetime: \"dateTime\",\n accesskey: \"accessKey\",\n tabindex: \"tabIndex\",\n enctype: \"encType\",\n maxlength: \"maxLength\",\n readonly: \"readOnly\",\n longdesc: \"longDesc\"\n },\n values: {\n _getAttr: function(element, attribute) {\n return element.getAttribute(attribute, 2);\n },\n _flag: function(element, attribute) {\n return $(element).hasAttribute(attribute) ? attribute : null;\n },\n style: function(element) {\n return element.style.cssText.toLowerCase();\n },\n title: function(element) {\n var node = element.getAttributeNode('title');\n return node.specified ? node.nodeValue : null;\n }\n }\n};\n\n(function() {\n Object.extend(this, {\n href: this._getAttr,\n src: this._getAttr,\n type: this._getAttr,\n disabled: this._flag,\n checked: this._flag,\n readonly: this._flag,\n multiple: this._flag\n });\n}).call(Element._attributeTranslations.values);\n\nElement.Methods.Simulated = {\n hasAttribute: function(element, attribute) {\n var t = Element._attributeTranslations, node;\n attribute = t.names[attribute] || attribute;\n node = $(element).getAttributeNode(attribute);\n return node && node.specified;\n }\n};\n\nElement.Methods.ByTag = {};\n\nObject.extend(Element, Element.Methods);\n\nif (!Prototype.BrowserFeatures.ElementExtensions &&\n document.createElement('div').__proto__) {\n window.HTMLElement = {};\n window.HTMLElement.prototype = document.createElement('div').__proto__;\n Prototype.BrowserFeatures.ElementExtensions = true;\n}\n\nElement.hasAttribute = function(element, attribute) {\n if (element.hasAttribute) return element.hasAttribute(attribute);\n return Element.Methods.Simulated.hasAttribute(element, attribute);\n};\n\nElement.addMethods = function(methods) {\n var F = Prototype.BrowserFeatures, T = Element.Methods.ByTag;\n\n if (!methods) {\n Object.extend(Form, Form.Methods);\n Object.extend(Form.Element, Form.Element.Methods);\n Object.extend(Element.Methods.ByTag, {\n \"FORM\": Object.clone(Form.Methods),\n \"INPUT\": Object.clone(Form.Element.Methods),\n \"SELECT\": Object.clone(Form.Element.Methods),\n \"TEXTAREA\": Object.clone(Form.Element.Methods)\n });\n }\n\n if (arguments.length == 2) {\n var tagName = methods;\n methods = arguments[1];\n }\n\n if (!tagName) Object.extend(Element.Methods, methods || {});\n else {\n if (tagName.constructor == Array) tagName.each(extend);\n else extend(tagName);\n }\n\n function extend(tagName) {\n tagName = tagName.toUpperCase();\n if (!Element.Methods.ByTag[tagName])\n Element.Methods.ByTag[tagName] = {};\n Object.extend(Element.Methods.ByTag[tagName], methods);\n }\n\n function copy(methods, destination, onlyIfAbsent) {\n onlyIfAbsent = onlyIfAbsent || false;\n var cache = Element.extend.cache;\n for (var property in methods) {\n var value = methods[property];\n if (!onlyIfAbsent || !(property in destination))\n destination[property] = cache.findOrStore(value);\n }\n }\n\n function findDOMClass(tagName) {\n var klass;\n var trans = {\n \"OPTGROUP\": \"OptGroup\", \"TEXTAREA\": \"TextArea\", \"P\": \"Paragraph\",\n \"FIELDSET\": \"FieldSet\", \"UL\": \"UList\", \"OL\": \"OList\", \"DL\": \"DList\",\n \"DIR\": \"Directory\", \"H1\": \"Heading\", \"H2\": \"Heading\", \"H3\": \"Heading\",\n \"H4\": \"Heading\", \"H5\": \"Heading\", \"H6\": \"Heading\", \"Q\": \"Quote\",\n \"INS\": \"Mod\", \"DEL\": \"Mod\", \"A\": \"Anchor\", \"IMG\": \"Image\", \"CAPTION\":\n \"TableCaption\", \"COL\": \"TableCol\", \"COLGROUP\": \"TableCol\", \"THEAD\":\n \"TableSection\", \"TFOOT\": \"TableSection\", \"TBODY\": \"TableSection\", \"TR\":\n \"TableRow\", \"TH\": \"TableCell\", \"TD\": \"TableCell\", \"FRAMESET\":\n \"FrameSet\", \"IFRAME\": \"IFrame\"\n };\n if (trans[tagName]) klass = 'HTML' + trans[tagName] + 'Element';\n if (window[klass]) return window[klass];\n klass = 'HTML' + tagName + 'Element';\n if (window[klass]) return window[klass];\n klass = 'HTML' + tagName.capitalize() + 'Element';\n if (window[klass]) return window[klass];\n\n window[klass] = {};\n window[klass].prototype = document.createElement(tagName).__proto__;\n return window[klass];\n }\n\n if (F.ElementExtensions) {\n copy(Element.Methods, HTMLElement.prototype);\n copy(Element.Methods.Simulated, HTMLElement.prototype, true);\n }\n\n if (F.SpecificElementExtensions) {\n for (var tag in Element.Methods.ByTag) {\n var klass = findDOMClass(tag);\n if (typeof klass == \"undefined\") continue;\n copy(T[tag], klass.prototype);\n }\n }\n\n Object.extend(Element, Element.Methods);\n delete Element.ByTag;\n};\n\nvar Toggle = { display: Element.toggle };\n\n/*--------------------------------------------------------------------------*/\n\nAbstract.Insertion = function(adjacency) {\n this.adjacency = adjacency;\n}\n\nAbstract.Insertion.prototype = {\n initialize: function(element, content) {\n this.element = $(element);\n this.content = content.stripScripts();\n\n if (this.adjacency && this.element.insertAdjacentHTML) {\n try {\n this.element.insertAdjacentHTML(this.adjacency, this.content);\n } catch (e) {\n var tagName = this.element.tagName.toUpperCase();\n if (['TBODY', 'TR'].include(tagName)) {\n this.insertContent(this.contentFromAnonymousTable());\n } else {\n throw e;\n }\n }\n } else {\n this.range = this.element.ownerDocument.createRange();\n if (this.initializeRange) this.initializeRange();\n this.insertContent([this.range.createContextualFragment(this.content)]);\n }\n\n setTimeout(function() {content.evalScripts()}, 10);\n },\n\n contentFromAnonymousTable: function() {\n var div = document.createElement('div');\n div.innerHTML = '<table><tbody>' + this.content + '</tbody></table>';\n return $A(div.childNodes[0].childNodes[0].childNodes);\n }\n}\n\nvar Insertion = new Object();\n\nInsertion.Before = Class.create();\nInsertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), {\n initializeRange: function() {\n this.range.setStartBefore(this.element);\n },\n\n insertContent: function(fragments) {\n fragments.each((function(fragment) {\n this.element.parentNode.insertBefore(fragment, this.element);\n }).bind(this));\n }\n});\n\nInsertion.Top = Class.create();\nInsertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), {\n initializeRange: function() {\n this.range.selectNodeContents(this.element);\n this.range.collapse(true);\n },\n\n insertContent: function(fragments) {\n fragments.reverse(false).each((function(fragment) {\n this.element.insertBefore(fragment, this.element.firstChild);\n }).bind(this));\n }\n});\n\nInsertion.Bottom = Class.create();\nInsertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), {\n initializeRange: function() {\n this.range.selectNodeContents(this.element);\n this.range.collapse(this.element);\n },\n\n insertContent: function(fragments) {\n fragments.each((function(fragment) {\n this.element.appendChild(fragment);\n }).bind(this));\n }\n});\n\nInsertion.After = Class.create();\nInsertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), {\n initializeRange: function() {\n this.range.setStartAfter(this.element);\n },\n\n insertContent: function(fragments) {\n fragments.each((function(fragment) {\n this.element.parentNode.insertBefore(fragment,\n this.element.nextSibling);\n }).bind(this));\n }\n});\n\n/*--------------------------------------------------------------------------*/\n\nElement.ClassNames = Class.create();\nElement.ClassNames.prototype = {\n initialize: function(element) {\n this.element = $(element);\n },\n\n _each: function(iterator) {\n this.element.className.split(/\\s+/).select(function(name) {\n return name.length > 0;\n })._each(iterator);\n },\n\n set: function(className) {\n this.element.className = className;\n },\n\n add: function(classNameToAdd) {\n if (this.include(classNameToAdd)) return;\n this.set($A(this).concat(classNameToAdd).join(' '));\n },\n\n remove: function(classNameToRemove) {\n if (!this.include(classNameToRemove)) return;\n this.set($A(this).without(classNameToRemove).join(' '));\n },\n\n toString: function() {\n return $A(this).join(' ');\n }\n};\n\nObject.extend(Element.ClassNames.prototype, Enumerable);\n/* Portions of the Selector class are derived from Jack Slocums DomQuery,\n * part of YUI-Ext version 0.40, distributed under the terms of an MIT-style\n * license. Please see http://www.yui-ext.com/ for more information. */\n\nvar Selector = Class.create();\n\nSelector.prototype = {\n initialize: function(expression) {\n this.expression = expression.strip();\n this.compileMatcher();\n },\n\n compileMatcher: function() {\n // Selectors with namespaced attributes can't use the XPath version\n if (Prototype.BrowserFeatures.XPath && !(/\\[[\\w-]*?:/).test(this.expression))\n return this.compileXPathMatcher();\n\n var e = this.expression, ps = Selector.patterns, h = Selector.handlers,\n c = Selector.criteria, le, p, m;\n\n if (Selector._cache[e]) {\n this.matcher = Selector._cache[e]; return;\n }\n this.matcher = [\"this.matcher = function(root) {\",\n \"var r = root, h = Selector.handlers, c = false, n;\"];\n\n while (e && le != e && (/\\S/).test(e)) {\n le = e;\n for (var i in ps) {\n p = ps[i];\n if (m = e.match(p)) {\n this.matcher.push(typeof c[i] == 'function' ? c[i](m) :\n \t new Template(c[i]).evaluate(m));\n e = e.replace(m[0], '');\n break;\n }\n }\n }\n\n this.matcher.push(\"return h.unique(n);\\n}\");\n eval(this.matcher.join('\\n'));\n Selector._cache[this.expression] = this.matcher;\n },\n\n compileXPathMatcher: function() {\n var e = this.expression, ps = Selector.patterns,\n x = Selector.xpath, le, m;\n\n if (Selector._cache[e]) {\n this.xpath = Selector._cache[e]; return;\n }\n\n this.matcher = ['.//*'];\n while (e && le != e && (/\\S/).test(e)) {\n le = e;\n for (var i in ps) {\n if (m = e.match(ps[i])) {\n this.matcher.push(typeof x[i] == 'function' ? x[i](m) :\n new Template(x[i]).evaluate(m));\n e = e.replace(m[0], '');\n break;\n }\n }\n }\n\n this.xpath = this.matcher.join('');\n Selector._cache[this.expression] = this.xpath;\n },\n\n findElements: function(root) {\n root = root || document;\n if (this.xpath) return document._getElementsByXPath(this.xpath, root);\n return this.matcher(root);\n },\n\n match: function(element) {\n return this.findElements(document).include(element);\n },\n\n toString: function() {\n return this.expression;\n },\n\n inspect: function() {\n return \"#<Selector:\" + this.expression.inspect() + \">\";\n }\n};\n\nObject.extend(Selector, {\n _cache: {},\n\n xpath: {\n descendant: \"//*\",\n child: \"/*\",\n adjacent: \"/following-sibling::*[1]\",\n laterSibling: '/following-sibling::*',\n tagName: function(m) {\n if (m[1] == '*') return '';\n return \"[local-name()='\" + m[1].toLowerCase() +\n \"' or local-name()='\" + m[1].toUpperCase() + \"']\";\n },\n className: \"[contains(concat(' ', @class, ' '), ' #{1} ')]\",\n id: \"[@id='#{1}']\",\n attrPresence: \"[@#{1}]\",\n attr: function(m) {\n m[3] = m[5] || m[6];\n return new Template(Selector.xpath.operators[m[2]]).evaluate(m);\n },\n pseudo: function(m) {\n var h = Selector.xpath.pseudos[m[1]];\n if (!h) return '';\n if (typeof h === 'function') return h(m);\n return new Template(Selector.xpath.pseudos[m[1]]).evaluate(m);\n },\n operators: {\n '=': \"[@#{1}='#{3}']\",\n '!=': \"[@#{1}!='#{3}']\",\n '^=': \"[starts-with(@#{1}, '#{3}')]\",\n '$=': \"[substring(@#{1}, (string-length(@#{1}) - string-length('#{3}') + 1))='#{3}']\",\n '*=': \"[contains(@#{1}, '#{3}')]\",\n '~=': \"[contains(concat(' ', @#{1}, ' '), ' #{3} ')]\",\n '|=': \"[contains(concat('-', @#{1}, '-'), '-#{3}-')]\"\n },\n pseudos: {\n 'first-child': '[not(preceding-sibling::*)]',\n 'last-child': '[not(following-sibling::*)]',\n 'only-child': '[not(preceding-sibling::* or following-sibling::*)]',\n 'empty': \"[count(*) = 0 and (count(text()) = 0 or translate(text(), ' \\t\\r\\n', '') = '')]\",\n 'checked': \"[@checked]\",\n 'disabled': \"[@disabled]\",\n 'enabled': \"[not(@disabled)]\",\n 'not': function(m) {\n var e = m[6], p = Selector.patterns,\n x = Selector.xpath, le, m, v;\n\n var exclusion = [];\n while (e && le != e && (/\\S/).test(e)) {\n le = e;\n for (var i in p) {\n if (m = e.match(p[i])) {\n v = typeof x[i] == 'function' ? x[i](m) : new Template(x[i]).evaluate(m);\n exclusion.push(\"(\" + v.substring(1, v.length - 1) + \")\");\n e = e.replace(m[0], '');\n break;\n }\n }\n }\n return \"[not(\" + exclusion.join(\" and \") + \")]\";\n },\n 'nth-child': function(m) {\n return Selector.xpath.pseudos.nth(\"(count(./preceding-sibling::*) + 1) \", m);\n },\n 'nth-last-child': function(m) {\n return Selector.xpath.pseudos.nth(\"(count(./following-sibling::*) + 1) \", m);\n },\n 'nth-of-type': function(m) {\n return Selector.xpath.pseudos.nth(\"position() \", m);\n },\n 'nth-last-of-type': function(m) {\n return Selector.xpath.pseudos.nth(\"(last() + 1 - position()) \", m);\n },\n 'first-of-type': function(m) {\n m[6] = \"1\"; return Selector.xpath.pseudos['nth-of-type'](m);\n },\n 'last-of-type': function(m) {\n m[6] = \"1\"; return Selector.xpath.pseudos['nth-last-of-type'](m);\n },\n 'only-of-type': function(m) {\n var p = Selector.xpath.pseudos; return p['first-of-type'](m) + p['last-of-type'](m);\n },\n nth: function(fragment, m) {\n var mm, formula = m[6], predicate;\n if (formula == 'even') formula = '2n+0';\n if (formula == 'odd') formula = '2n+1';\n if (mm = formula.match(/^(\\d+)$/)) // digit only\n return '[' + fragment + \"= \" + mm[1] + ']';\n if (mm = formula.match(/^(-?\\d*)?n(([+-])(\\d+))?/)) { // an+b\n if (mm[1] == \"-\") mm[1] = -1;\n var a = mm[1] ? Number(mm[1]) : 1;\n var b = mm[2] ? Number(mm[2]) : 0;\n predicate = \"[((#{fragment} - #{b}) mod #{a} = 0) and \" +\n \"((#{fragment} - #{b}) div #{a} >= 0)]\";\n return new Template(predicate).evaluate({\n fragment: fragment, a: a, b: b });\n }\n }\n }\n },\n\n criteria: {\n tagName: 'n = h.tagName(n, r, \"#{1}\", c); c = false;',\n className: 'n = h.className(n, r, \"#{1}\", c); c = false;',\n id: 'n = h.id(n, r, \"#{1}\", c); c = false;',\n attrPresence: 'n = h.attrPresence(n, r, \"#{1}\"); c = false;',\n attr: function(m) {\n m[3] = (m[5] || m[6]);\n return new Template('n = h.attr(n, r, \"#{1}\", \"#{3}\", \"#{2}\"); c = false;').evaluate(m);\n },\n pseudo: function(m) {\n if (m[6]) m[6] = m[6].replace(/\"/g, '\\\\\"');\n return new Template('n = h.pseudo(n, \"#{1}\", \"#{6}\", r, c); c = false;').evaluate(m);\n },\n descendant: 'c = \"descendant\";',\n child: 'c = \"child\";',\n adjacent: 'c = \"adjacent\";',\n laterSibling: 'c = \"laterSibling\";'\n },\n\n patterns: {\n // combinators must be listed first\n // (and descendant needs to be last combinator)\n laterSibling: /^\\s*~\\s*/,\n child: /^\\s*>\\s*/,\n adjacent: /^\\s*\\+\\s*/,\n descendant: /^\\s/,\n\n // selectors follow\n tagName: /^\\s*(\\*|[\\w\\-]+)(\\b|$)?/,\n id: /^#([\\w\\-\\*]+)(\\b|$)/,\n className: /^\\.([\\w\\-\\*]+)(\\b|$)/,\n pseudo: /^:((first|last|nth|nth-last|only)(-child|-of-type)|empty|checked|(en|dis)abled|not)(\\((.*?)\\))?(\\b|$|\\s|(?=:))/,\n attrPresence: /^\\[([\\w]+)\\]/,\n attr: /\\[((?:[\\w-]*:)?[\\w-]+)\\s*(?:([!^$*~|]?=)\\s*((['\"])([^\\]]*?)\\4|([^'\"][^\\]]*?)))?\\]/\n },\n\n handlers: {\n // UTILITY FUNCTIONS\n // joins two collections\n concat: function(a, b) {\n for (var i = 0, node; node = b[i]; i++)\n a.push(node);\n return a;\n },\n\n // marks an array of nodes for counting\n mark: function(nodes) {\n for (var i = 0, node; node = nodes[i]; i++)\n node._counted = true;\n return nodes;\n },\n\n unmark: function(nodes) {\n for (var i = 0, node; node = nodes[i]; i++)\n node._counted = undefined;\n return nodes;\n },\n\n // mark each child node with its position (for nth calls)\n // \"ofType\" flag indicates whether we're indexing for nth-of-type\n // rather than nth-child\n index: function(parentNode, reverse, ofType) {\n parentNode._counted = true;\n if (reverse) {\n for (var nodes = parentNode.childNodes, i = nodes.length - 1, j = 1; i >= 0; i--) {\n node = nodes[i];\n if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;\n }\n } else {\n for (var i = 0, j = 1, nodes = parentNode.childNodes; node = nodes[i]; i++)\n if (node.nodeType == 1 && (!ofType || node._counted)) node.nodeIndex = j++;\n }\n },\n\n // filters out duplicates and extends all nodes\n unique: function(nodes) {\n if (nodes.length == 0) return nodes;\n var results = [], n;\n for (var i = 0, l = nodes.length; i < l; i++)\n if (!(n = nodes[i])._counted) {\n n._counted = true;\n results.push(Element.extend(n));\n }\n return Selector.handlers.unmark(results);\n },\n\n // COMBINATOR FUNCTIONS\n descendant: function(nodes) {\n var h = Selector.handlers;\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n h.concat(results, node.getElementsByTagName('*'));\n return results;\n },\n\n child: function(nodes) {\n var h = Selector.handlers;\n for (var i = 0, results = [], node; node = nodes[i]; i++) {\n for (var j = 0, children = [], child; child = node.childNodes[j]; j++)\n if (child.nodeType == 1 && child.tagName != '!') results.push(child);\n }\n return results;\n },\n\n adjacent: function(nodes) {\n for (var i = 0, results = [], node; node = nodes[i]; i++) {\n var next = this.nextElementSibling(node);\n if (next) results.push(next);\n }\n return results;\n },\n\n laterSibling: function(nodes) {\n var h = Selector.handlers;\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n h.concat(results, Element.nextSiblings(node));\n return results;\n },\n\n nextElementSibling: function(node) {\n while (node = node.nextSibling)\n\t if (node.nodeType == 1) return node;\n return null;\n },\n\n previousElementSibling: function(node) {\n while (node = node.previousSibling)\n if (node.nodeType == 1) return node;\n return null;\n },\n\n // TOKEN FUNCTIONS\n tagName: function(nodes, root, tagName, combinator) {\n tagName = tagName.toUpperCase();\n var results = [], h = Selector.handlers;\n if (nodes) {\n if (combinator) {\n // fastlane for ordinary descendant combinators\n if (combinator == \"descendant\") {\n for (var i = 0, node; node = nodes[i]; i++)\n h.concat(results, node.getElementsByTagName(tagName));\n return results;\n } else nodes = this[combinator](nodes);\n if (tagName == \"*\") return nodes;\n }\n for (var i = 0, node; node = nodes[i]; i++)\n if (node.tagName.toUpperCase() == tagName) results.push(node);\n return results;\n } else return root.getElementsByTagName(tagName);\n },\n\n id: function(nodes, root, id, combinator) {\n var targetNode = $(id), h = Selector.handlers;\n if (!nodes && root == document) return targetNode ? [targetNode] : [];\n if (nodes) {\n if (combinator) {\n if (combinator == 'child') {\n for (var i = 0, node; node = nodes[i]; i++)\n if (targetNode.parentNode == node) return [targetNode];\n } else if (combinator == 'descendant') {\n for (var i = 0, node; node = nodes[i]; i++)\n if (Element.descendantOf(targetNode, node)) return [targetNode];\n } else if (combinator == 'adjacent') {\n for (var i = 0, node; node = nodes[i]; i++)\n if (Selector.handlers.previousElementSibling(targetNode) == node)\n return [targetNode];\n } else nodes = h[combinator](nodes);\n }\n for (var i = 0, node; node = nodes[i]; i++)\n if (node == targetNode) return [targetNode];\n return [];\n }\n return (targetNode && Element.descendantOf(targetNode, root)) ? [targetNode] : [];\n },\n\n className: function(nodes, root, className, combinator) {\n if (nodes && combinator) nodes = this[combinator](nodes);\n return Selector.handlers.byClassName(nodes, root, className);\n },\n\n byClassName: function(nodes, root, className) {\n if (!nodes) nodes = Selector.handlers.descendant([root]);\n var needle = ' ' + className + ' ';\n for (var i = 0, results = [], node, nodeClassName; node = nodes[i]; i++) {\n nodeClassName = node.className;\n if (nodeClassName.length == 0) continue;\n if (nodeClassName == className || (' ' + nodeClassName + ' ').include(needle))\n results.push(node);\n }\n return results;\n },\n\n attrPresence: function(nodes, root, attr) {\n var results = [];\n for (var i = 0, node; node = nodes[i]; i++)\n if (Element.hasAttribute(node, attr)) results.push(node);\n return results;\n },\n\n attr: function(nodes, root, attr, value, operator) {\n if (!nodes) nodes = root.getElementsByTagName(\"*\");\n var handler = Selector.operators[operator], results = [];\n for (var i = 0, node; node = nodes[i]; i++) {\n var nodeValue = Element.readAttribute(node, attr);\n if (nodeValue === null) continue;\n if (handler(nodeValue, value)) results.push(node);\n }\n return results;\n },\n\n pseudo: function(nodes, name, value, root, combinator) {\n if (nodes && combinator) nodes = this[combinator](nodes);\n if (!nodes) nodes = root.getElementsByTagName(\"*\");\n return Selector.pseudos[name](nodes, value, root);\n }\n },\n\n pseudos: {\n 'first-child': function(nodes, value, root) {\n for (var i = 0, results = [], node; node = nodes[i]; i++) {\n if (Selector.handlers.previousElementSibling(node)) continue;\n results.push(node);\n }\n return results;\n },\n 'last-child': function(nodes, value, root) {\n for (var i = 0, results = [], node; node = nodes[i]; i++) {\n if (Selector.handlers.nextElementSibling(node)) continue;\n results.push(node);\n }\n return results;\n },\n 'only-child': function(nodes, value, root) {\n var h = Selector.handlers;\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n if (!h.previousElementSibling(node) && !h.nextElementSibling(node))\n results.push(node);\n return results;\n },\n 'nth-child': function(nodes, formula, root) {\n return Selector.pseudos.nth(nodes, formula, root);\n },\n 'nth-last-child': function(nodes, formula, root) {\n return Selector.pseudos.nth(nodes, formula, root, true);\n },\n 'nth-of-type': function(nodes, formula, root) {\n return Selector.pseudos.nth(nodes, formula, root, false, true);\n },\n 'nth-last-of-type': function(nodes, formula, root) {\n return Selector.pseudos.nth(nodes, formula, root, true, true);\n },\n 'first-of-type': function(nodes, formula, root) {\n return Selector.pseudos.nth(nodes, \"1\", root, false, true);\n },\n 'last-of-type': function(nodes, formula, root) {\n return Selector.pseudos.nth(nodes, \"1\", root, true, true);\n },\n 'only-of-type': function(nodes, formula, root) {\n var p = Selector.pseudos;\n return p['last-of-type'](p['first-of-type'](nodes, formula, root), formula, root);\n },\n\n // handles the an+b logic\n getIndices: function(a, b, total) {\n if (a == 0) return b > 0 ? [b] : [];\n return $R(1, total).inject([], function(memo, i) {\n if (0 == (i - b) % a && (i - b) / a >= 0) memo.push(i);\n return memo;\n });\n },\n\n // handles nth(-last)-child, nth(-last)-of-type, and (first|last)-of-type\n nth: function(nodes, formula, root, reverse, ofType) {\n if (nodes.length == 0) return [];\n if (formula == 'even') formula = '2n+0';\n if (formula == 'odd') formula = '2n+1';\n var h = Selector.handlers, results = [], indexed = [], m;\n h.mark(nodes);\n for (var i = 0, node; node = nodes[i]; i++) {\n if (!node.parentNode._counted) {\n h.index(node.parentNode, reverse, ofType);\n indexed.push(node.parentNode);\n }\n }\n if (formula.match(/^\\d+$/)) { // just a number\n formula = Number(formula);\n for (var i = 0, node; node = nodes[i]; i++)\n if (node.nodeIndex == formula) results.push(node);\n } else if (m = formula.match(/^(-?\\d*)?n(([+-])(\\d+))?/)) { // an+b\n if (m[1] == \"-\") m[1] = -1;\n var a = m[1] ? Number(m[1]) : 1;\n var b = m[2] ? Number(m[2]) : 0;\n var indices = Selector.pseudos.getIndices(a, b, nodes.length);\n for (var i = 0, node, l = indices.length; node = nodes[i]; i++) {\n for (var j = 0; j < l; j++)\n if (node.nodeIndex == indices[j]) results.push(node);\n }\n }\n h.unmark(nodes);\n h.unmark(indexed);\n return results;\n },\n\n 'empty': function(nodes, value, root) {\n for (var i = 0, results = [], node; node = nodes[i]; i++) {\n // IE treats comments as element nodes\n if (node.tagName == '!' || (node.firstChild && !node.innerHTML.match(/^\\s*$/))) continue;\n results.push(node);\n }\n return results;\n },\n\n 'not': function(nodes, selector, root) {\n var h = Selector.handlers, selectorType, m;\n var exclusions = new Selector(selector).findElements(root);\n h.mark(exclusions);\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n if (!node._counted) results.push(node);\n h.unmark(exclusions);\n return results;\n },\n\n 'enabled': function(nodes, value, root) {\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n if (!node.disabled) results.push(node);\n return results;\n },\n\n 'disabled': function(nodes, value, root) {\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n if (node.disabled) results.push(node);\n return results;\n },\n\n 'checked': function(nodes, value, root) {\n for (var i = 0, results = [], node; node = nodes[i]; i++)\n if (node.checked) results.push(node);\n return results;\n }\n },\n\n operators: {\n '=': function(nv, v) { return nv == v; },\n '!=': function(nv, v) { return nv != v; },\n '^=': function(nv, v) { return nv.startsWith(v); },\n '$=': function(nv, v) { return nv.endsWith(v); },\n '*=': function(nv, v) { return nv.include(v); },\n '~=': function(nv, v) { return (' ' + nv + ' ').include(' ' + v + ' '); },\n '|=': function(nv, v) { return ('-' + nv.toUpperCase() + '-').include('-' + v.toUpperCase() + '-'); }\n },\n\n matchElements: function(elements, expression) {\n var matches = new Selector(expression).findElements(), h = Selector.handlers;\n h.mark(matches);\n for (var i = 0, results = [], element; element = elements[i]; i++)\n if (element._counted) results.push(element);\n h.unmark(matches);\n return results;\n },\n\n findElement: function(elements, expression, index) {\n if (typeof expression == 'number') {\n index = expression; expression = false;\n }\n return Selector.matchElements(elements, expression || '*')[index || 0];\n },\n\n findChildElements: function(element, expressions) {\n var exprs = expressions.join(','), expressions = [];\n exprs.scan(/(([\\w#:.~>+()\\s-]+|\\*|\\[.*?\\])+)\\s*(,|$)/, function(m) {\n expressions.push(m[1].strip());\n });\n var results = [], h = Selector.handlers;\n for (var i = 0, l = expressions.length, selector; i < l; i++) {\n selector = new Selector(expressions[i].strip());\n h.concat(results, selector.findElements(element));\n }\n return (l > 1) ? h.unique(results) : results;\n }\n});\n\nfunction $$() {\n return Selector.findChildElements(document, $A(arguments));\n}\nvar Form = {\n reset: function(form) {\n $(form).reset();\n return form;\n },\n\n serializeElements: function(elements, getHash) {\n var data = elements.inject({}, function(result, element) {\n if (!element.disabled && element.name) {\n var key = element.name, value = $(element).getValue();\n if (value != null) {\n \tif (key in result) {\n if (result[key].constructor != Array) result[key] = [result[key]];\n result[key].push(value);\n }\n else result[key] = value;\n }\n }\n return result;\n });\n\n return getHash ? data : Hash.toQueryString(data);\n }\n};\n\nForm.Methods = {\n serialize: function(form, getHash) {\n return Form.serializeElements(Form.getElements(form), getHash);\n },\n\n getElements: function(form) {\n return $A($(form).getElementsByTagName('*')).inject([],\n function(elements, child) {\n if (Form.Element.Serializers[child.tagName.toLowerCase()])\n elements.push(Element.extend(child));\n return elements;\n }\n );\n },\n\n getInputs: function(form, typeName, name) {\n form = $(form);\n var inputs = form.getElementsByTagName('input');\n\n if (!typeName && !name) return $A(inputs).map(Element.extend);\n\n for (var i = 0, matchingInputs = [], length = inputs.length; i < length; i++) {\n var input = inputs[i];\n if ((typeName && input.type != typeName) || (name && input.name != name))\n continue;\n matchingInputs.push(Element.extend(input));\n }\n\n return matchingInputs;\n },\n\n disable: function(form) {\n form = $(form);\n Form.getElements(form).invoke('disable');\n return form;\n },\n\n enable: function(form) {\n form = $(form);\n Form.getElements(form).invoke('enable');\n return form;\n },\n\n findFirstElement: function(form) {\n return $(form).getElements().find(function(element) {\n return element.type != 'hidden' && !element.disabled &&\n ['input', 'select', 'textarea'].include(element.tagName.toLowerCase());\n });\n },\n\n focusFirstElement: function(form) {\n form = $(form);\n form.findFirstElement().activate();\n return form;\n },\n\n request: function(form, options) {\n form = $(form), options = Object.clone(options || {});\n\n var params = options.parameters;\n options.parameters = form.serialize(true);\n\n if (params) {\n if (typeof params == 'string') params = params.toQueryParams();\n Object.extend(options.parameters, params);\n }\n\n if (form.hasAttribute('method') && !options.method)\n options.method = form.method;\n\n return new Ajax.Request(form.readAttribute('action'), options);\n }\n}\n\n/*--------------------------------------------------------------------------*/\n\nForm.Element = {\n focus: function(element) {\n $(element).focus();\n return element;\n },\n\n select: function(element) {\n $(element).select();\n return element;\n }\n}\n\nForm.Element.Methods = {\n serialize: function(element) {\n element = $(element);\n if (!element.disabled && element.name) {\n var value = element.getValue();\n if (value != undefined) {\n var pair = {};\n pair[element.name] = value;\n return Hash.toQueryString(pair);\n }\n }\n return '';\n },\n\n getValue: function(element) {\n element = $(element);\n var method = element.tagName.toLowerCase();\n return Form.Element.Serializers[method](element);\n },\n\n clear: function(element) {\n $(element).value = '';\n return element;\n },\n\n present: function(element) {\n return $(element).value != '';\n },\n\n activate: function(element) {\n element = $(element);\n try {\n element.focus();\n if (element.select && (element.tagName.toLowerCase() != 'input' ||\n !['button', 'reset', 'submit'].include(element.type)))\n element.select();\n } catch (e) {}\n return element;\n },\n\n disable: function(element) {\n element = $(element);\n element.blur();\n element.disabled = true;\n return element;\n },\n\n enable: function(element) {\n element = $(element);\n element.disabled = false;\n return element;\n }\n}\n\n/*--------------------------------------------------------------------------*/\n\nvar Field = Form.Element;\nvar $F = Form.Element.Methods.getValue;\n\n/*--------------------------------------------------------------------------*/\n\nForm.Element.Serializers = {\n input: function(element) {\n switch (element.type.toLowerCase()) {\n case 'checkbox':\n case 'radio':\n return Form.Element.Serializers.inputSelector(element);\n default:\n return Form.Element.Serializers.textarea(element);\n }\n },\n\n inputSelector: function(element) {\n return element.checked ? element.value : null;\n },\n\n textarea: function(element) {\n return element.value;\n },\n\n select: function(element) {\n return this[element.type == 'select-one' ?\n 'selectOne' : 'selectMany'](element);\n },\n\n selectOne: function(element) {\n var index = element.selectedIndex;\n return index >= 0 ? this.optionValue(element.options[index]) : null;\n },\n\n selectMany: function(element) {\n var values, length = element.length;\n if (!length) return null;\n\n for (var i = 0, values = []; i < length; i++) {\n var opt = element.options[i];\n if (opt.selected) values.push(this.optionValue(opt));\n }\n return values;\n },\n\n optionValue: function(opt) {\n // extend element because hasAttribute may not be native\n return Element.extend(opt).hasAttribute('value') ? opt.value : opt.text;\n }\n}\n\n/*--------------------------------------------------------------------------*/\n\nAbstract.TimedObserver = function() {}\nAbstract.TimedObserver.prototype = {\n initialize: function(element, frequency, callback) {\n this.frequency = frequency;\n this.element = $(element);\n this.callback = callback;\n\n this.lastValue = this.getValue();\n this.registerCallback();\n },\n\n registerCallback: function() {\n setInterval(this.onTimerEvent.bind(this), this.frequency * 1000);\n },\n\n onTimerEvent: function() {\n var value = this.getValue();\n var changed = ('string' == typeof this.lastValue && 'string' == typeof value\n ? this.lastValue != value : String(this.lastValue) != String(value));\n if (changed) {\n this.callback(this.element, value);\n this.lastValue = value;\n }\n }\n}\n\nForm.Element.Observer = Class.create();\nForm.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {\n getValue: function() {\n return Form.Element.getValue(this.element);\n }\n});\n\nForm.Observer = Class.create();\nForm.Observer.prototype = Object.extend(new Abstract.TimedObserver(), {\n getValue: function() {\n return Form.serialize(this.element);\n }\n});\n\n/*--------------------------------------------------------------------------*/\n\nAbstract.EventObserver = function() {}\nAbstract.EventObserver.prototype = {\n initialize: function(element, callback) {\n this.element = $(element);\n this.callback = callback;\n\n this.lastValue = this.getValue();\n if (this.element.tagName.toLowerCase() == 'form')\n this.registerFormCallbacks();\n else\n this.registerCallback(this.element);\n },\n\n onElementEvent: function() {\n var value = this.getValue();\n if (this.lastValue != value) {\n this.callback(this.element, value);\n this.lastValue = value;\n }\n },\n\n registerFormCallbacks: function() {\n Form.getElements(this.element).each(this.registerCallback.bind(this));\n },\n\n registerCallback: function(element) {\n if (element.type) {\n switch (element.type.toLowerCase()) {\n case 'checkbox':\n case 'radio':\n Event.observe(element, 'click', this.onElementEvent.bind(this));\n break;\n default:\n Event.observe(element, 'change', this.onElementEvent.bind(this));\n break;\n }\n }\n }\n}\n\nForm.Element.EventObserver = Class.create();\nForm.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {\n getValue: function() {\n return Form.Element.getValue(this.element);\n }\n});\n\nForm.EventObserver = Class.create();\nForm.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), {\n getValue: function() {\n return Form.serialize(this.element);\n }\n});\nif (!window.Event) {\n var Event = new Object();\n}\n\nObject.extend(Event, {\n KEY_BACKSPACE: 8,\n KEY_TAB: 9,\n KEY_RETURN: 13,\n KEY_ESC: 27,\n KEY_LEFT: 37,\n KEY_UP: 38,\n KEY_RIGHT: 39,\n KEY_DOWN: 40,\n KEY_DELETE: 46,\n KEY_HOME: 36,\n KEY_END: 35,\n KEY_PAGEUP: 33,\n KEY_PAGEDOWN: 34,\n\n element: function(event) {\n return $(event.target || event.srcElement);\n },\n\n isLeftClick: function(event) {\n return (((event.which) && (event.which == 1)) ||\n ((event.button) && (event.button == 1)));\n },\n\n pointerX: function(event) {\n return event.pageX || (event.clientX +\n (document.documentElement.scrollLeft || document.body.scrollLeft));\n },\n\n pointerY: function(event) {\n return event.pageY || (event.clientY +\n (document.documentElement.scrollTop || document.body.scrollTop));\n },\n\n stop: function(event) {\n if (event.preventDefault) {\n event.preventDefault();\n event.stopPropagation();\n } else {\n event.returnValue = false;\n event.cancelBubble = true;\n }\n },\n\n // find the first node with the given tagName, starting from the\n // node the event was triggered on; traverses the DOM upwards\n findElement: function(event, tagName) {\n var element = Event.element(event);\n while (element.parentNode && (!element.tagName ||\n (element.tagName.toUpperCase() != tagName.toUpperCase())))\n element = element.parentNode;\n return element;\n },\n\n observers: false,\n\n _observeAndCache: function(element, name, observer, useCapture) {\n if (!this.observers) this.observers = [];\n if (element.addEventListener) {\n this.observers.push([element, name, observer, useCapture]);\n element.addEventListener(name, observer, useCapture);\n } else if (element.attachEvent) {\n this.observers.push([element, name, observer, useCapture]);\n element.attachEvent('on' + name, observer);\n }\n },\n\n unloadCache: function() {\n if (!Event.observers) return;\n for (var i = 0, length = Event.observers.length; i < length; i++) {\n Event.stopObserving.apply(this, Event.observers[i]);\n Event.observers[i][0] = null;\n }\n Event.observers = false;\n },\n\n observe: function(element, name, observer, useCapture) {\n element = $(element);\n useCapture = useCapture || false;\n\n if (name == 'keypress' &&\n (Prototype.Browser.WebKit || element.attachEvent))\n name = 'keydown';\n\n Event._observeAndCache(element, name, observer, useCapture);\n },\n\n stopObserving: function(element, name, observer, useCapture) {\n element = $(element);\n useCapture = useCapture || false;\n\n if (name == 'keypress' &&\n (Prototype.Browser.WebKit || element.attachEvent))\n name = 'keydown';\n\n if (element.removeEventListener) {\n element.removeEventListener(name, observer, useCapture);\n } else if (element.detachEvent) {\n try {\n element.detachEvent('on' + name, observer);\n } catch (e) {}\n }\n }\n});\n\n/* prevent memory leaks in IE */\nif (Prototype.Browser.IE)\n Event.observe(window, 'unload', Event.unloadCache, false);\nvar Position = {\n // set to true if needed, warning: firefox performance problems\n // NOT neeeded for page scrolling, only if draggable contained in\n // scrollable elements\n includeScrollOffsets: false,\n\n // must be called before calling withinIncludingScrolloffset, every time the\n // page is scrolled\n prepare: function() {\n this.deltaX = window.pageXOffset\n || document.documentElement.scrollLeft\n || document.body.scrollLeft\n || 0;\n this.deltaY = window.pageYOffset\n || document.documentElement.scrollTop\n || document.body.scrollTop\n || 0;\n },\n\n realOffset: function(element) {\n var valueT = 0, valueL = 0;\n do {\n valueT += element.scrollTop || 0;\n valueL += element.scrollLeft || 0;\n element = element.parentNode;\n } while (element);\n return [valueL, valueT];\n },\n\n cumulativeOffset: function(element) {\n var valueT = 0, valueL = 0;\n do {\n valueT += element.offsetTop || 0;\n valueL += element.offsetLeft || 0;\n element = element.offsetParent;\n } while (element);\n return [valueL, valueT];\n },\n\n positionedOffset: function(element) {\n var valueT = 0, valueL = 0;\n do {\n valueT += element.offsetTop || 0;\n valueL += element.offsetLeft || 0;\n element = element.offsetParent;\n if (element) {\n if(element.tagName=='BODY') break;\n var p = Element.getStyle(element, 'position');\n if (p == 'relative' || p == 'absolute') break;\n }\n } while (element);\n return [valueL, valueT];\n },\n\n offsetParent: function(element) {\n if (element.offsetParent) return element.offsetParent;\n if (element == document.body) return element;\n\n while ((element = element.parentNode) && element != document.body)\n if (Element.getStyle(element, 'position') != 'static')\n return element;\n\n return document.body;\n },\n\n // caches x/y coordinate pair to use with overlap\n within: function(element, x, y) {\n if (this.includeScrollOffsets)\n return this.withinIncludingScrolloffsets(element, x, y);\n this.xcomp = x;\n this.ycomp = y;\n this.offset = this.cumulativeOffset(element);\n\n return (y >= this.offset[1] &&\n y < this.offset[1] + element.offsetHeight &&\n x >= this.offset[0] &&\n x < this.offset[0] + element.offsetWidth);\n },\n\n withinIncludingScrolloffsets: function(element, x, y) {\n var offsetcache = this.realOffset(element);\n\n this.xcomp = x + offsetcache[0] - this.deltaX;\n this.ycomp = y + offsetcache[1] - this.deltaY;\n this.offset = this.cumulativeOffset(element);\n\n return (this.ycomp >= this.offset[1] &&\n this.ycomp < this.offset[1] + element.offsetHeight &&\n this.xcomp >= this.offset[0] &&\n this.xcomp < this.offset[0] + element.offsetWidth);\n },\n\n // within must be called directly before\n overlap: function(mode, element) {\n if (!mode) return 0;\n if (mode == 'vertical')\n return ((this.offset[1] + element.offsetHeight) - this.ycomp) /\n element.offsetHeight;\n if (mode == 'horizontal')\n return ((this.offset[0] + element.offsetWidth) - this.xcomp) /\n element.offsetWidth;\n },\n\n page: function(forElement) {\n var valueT = 0, valueL = 0;\n\n var element = forElement;\n do {\n valueT += element.offsetTop || 0;\n valueL += element.offsetLeft || 0;\n\n // Safari fix\n if (element.offsetParent == document.body)\n if (Element.getStyle(element,'position')=='absolute') break;\n\n } while (element = element.offsetParent);\n\n element = forElement;\n do {\n if (!window.opera || element.tagName=='BODY') {\n valueT -= element.scrollTop || 0;\n valueL -= element.scrollLeft || 0;\n }\n } while (element = element.parentNode);\n\n return [valueL, valueT];\n },\n\n clone: function(source, target) {\n var options = Object.extend({\n setLeft: true,\n setTop: true,\n setWidth: true,\n setHeight: true,\n offsetTop: 0,\n offsetLeft: 0\n }, arguments[2] || {})\n\n // find page position of source\n source = $(source);\n var p = Position.page(source);\n\n // find coordinate system to use\n target = $(target);\n var delta = [0, 0];\n var parent = null;\n // delta [0,0] will do fine with position: fixed elements,\n // position:absolute needs offsetParent deltas\n if (Element.getStyle(target,'position') == 'absolute') {\n parent = Position.offsetParent(target);\n delta = Position.page(parent);\n }\n\n // correct by body offsets (fixes Safari)\n if (parent == document.body) {\n delta[0] -= document.body.offsetLeft;\n delta[1] -= document.body.offsetTop;\n }\n\n // set position\n if(options.setLeft) target.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px';\n if(options.setTop) target.style.top = (p[1] - delta[1] + options.offsetTop) + 'px';\n if(options.setWidth) target.style.width = source.offsetWidth + 'px';\n if(options.setHeight) target.style.height = source.offsetHeight + 'px';\n },\n\n absolutize: function(element) {\n element = $(element);\n if (element.style.position == 'absolute') return;\n Position.prepare();\n\n var offsets = Position.positionedOffset(element);\n var top = offsets[1];\n var left = offsets[0];\n var width = element.clientWidth;\n var height = element.clientHeight;\n\n element._originalLeft = left - parseFloat(element.style.left || 0);\n element._originalTop = top - parseFloat(element.style.top || 0);\n element._originalWidth = element.style.width;\n element._originalHeight = element.style.height;\n\n element.style.position = 'absolute';\n element.style.top = top + 'px';\n element.style.left = left + 'px';\n element.style.width = width + 'px';\n element.style.height = height + 'px';\n },\n\n relativize: function(element) {\n element = $(element);\n if (element.style.position == 'relative') return;\n Position.prepare();\n\n element.style.position = 'relative';\n var top = parseFloat(element.style.top || 0) - (element._originalTop || 0);\n var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0);\n\n element.style.top = top + 'px';\n element.style.left = left + 'px';\n element.style.height = element._originalHeight;\n element.style.width = element._originalWidth;\n }\n}\n\n// Safari returns margins on body which is incorrect if the child is absolutely\n// positioned. For performance reasons, redefine Position.cumulativeOffset for\n// KHTML/WebKit only.\nif (Prototype.Browser.WebKit) {\n Position.cumulativeOffset = function(element) {\n var valueT = 0, valueL = 0;\n do {\n valueT += element.offsetTop || 0;\n valueL += element.offsetLeft || 0;\n if (element.offsetParent == document.body)\n if (Element.getStyle(element, 'position') == 'absolute') break;\n\n element = element.offsetParent;\n } while (element);\n\n return [valueL, valueT];\n }\n}\n\nElement.addMethods();"
},
"redirectURL": "",
"headersSize": 329,
"bodySize": 96311,
"_transferSize": 96640
},
"cache": {},
"timings": {
"blocked": 438.928999996278,
"dns": -1,
"connect": -1,
"send": 36.55299999809404,
"wait": 19.916999997803998,
"receive": 248.54100000811735,
"ssl": -1
},
"connection": "138426",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.243Z",
"time": 799.7710000054212,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/jquery.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 656,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"120654-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "120654"
}
],
"cookies": [],
"content": {
"size": 120654,
"mimeType": "text/javascript",
"compression": 0,
"text": "/*!\n * jQuery JavaScript Library v1.3.2\n * http://jquery.com/\n *\n * Copyright (c) 2009 John Resig\n * Dual licensed under the MIT and GPL licenses.\n * http://docs.jquery.com/License\n *\n * Date: 2009-02-19 17:34:21 -0500 (Thu, 19 Feb 2009)\n * Revision: 6246\n */\n(function(){\n\nvar \n\t// Will speed up references to window, and allows munging its name.\n\twindow = this,\n\t// Will speed up references to undefined, and allows munging its name.\n\tundefined,\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\t// Map over the $ in case of overwrite\n\t_$ = window.$,\n\n\tjQuery = window.jQuery = window.$ = function( selector, context ) {\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\treturn new jQuery.fn.init( selector, context );\n\t},\n\n\t// A simple way to check for HTML strings or ID strings\n\t// (both of which we optimize for)\n\tquickExpr = /^[^<]*(<(.|\\s)+>)[^>]*$|^#([\\w-]+)$/,\n\t// Is it a simple selector\n\tisSimple = /^.[^:#\\[\\.,]*$/;\n\njQuery.fn = jQuery.prototype = {\n\tinit: function( selector, context ) {\n\t\t// Make sure that a selection was provided\n\t\tselector = selector || document;\n\n\t\t// Handle $(DOMElement)\n\t\tif ( selector.nodeType ) {\n\t\t\tthis[0] = selector;\n\t\t\tthis.length = 1;\n\t\t\tthis.context = selector;\n\t\t\treturn this;\n\t\t}\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\t// Are we dealing with HTML string or an ID?\n\t\t\tvar match = quickExpr.exec( selector );\n\n\t\t\t// Verify a match, and that no context was specified for #id\n\t\t\tif ( match && (match[1] || !context) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[1] )\n\t\t\t\t\tselector = jQuery.clean( [ match[1] ], context );\n\n\t\t\t\t// HANDLE: $(\"#id\")\n\t\t\t\telse {\n\t\t\t\t\tvar elem = document.getElementById( match[3] );\n\n\t\t\t\t\t// Handle the case where IE and Opera return items\n\t\t\t\t\t// by name instead of ID\n\t\t\t\t\tif ( elem && elem.id != match[3] )\n\t\t\t\t\t\treturn jQuery().find( selector );\n\n\t\t\t\t\t// Otherwise, we inject the element directly into the jQuery object\n\t\t\t\t\tvar ret = jQuery( elem || [] );\n\t\t\t\t\tret.context = document;\n\t\t\t\t\tret.selector = selector;\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, [context])\n\t\t\t// (which is just equivalent to: $(content).find(expr)\n\t\t\t} else\n\t\t\t\treturn jQuery( context ).find( selector );\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( jQuery.isFunction( selector ) )\n\t\t\treturn jQuery( document ).ready( selector );\n\n\t\t// Make sure that old selector state is passed along\n\t\tif ( selector.selector && selector.context ) {\n\t\t\tthis.selector = selector.selector;\n\t\t\tthis.context = selector.context;\n\t\t}\n\n\t\treturn this.setArray(jQuery.isArray( selector ) ?\n\t\t\tselector :\n\t\t\tjQuery.makeArray(selector));\n\t},\n\n\t// Start with an empty selector\n\tselector: \"\",\n\n\t// The current version of jQuery being used\n\tjquery: \"1.3.2\",\n\n\t// The number of elements contained in the matched element set\n\tsize: function() {\n\t\treturn this.length;\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\t\treturn num === undefined ?\n\n\t\t\t// Return a 'clean' array\n\t\t\tArray.prototype.slice.call( this ) :\n\n\t\t\t// Return just the object\n\t\t\tthis[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems, name, selector ) {\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery( elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\tret.context = this.context;\n\n\t\tif ( name === \"find\" )\n\t\t\tret.selector = this.selector + (this.selector ? \" \" : \"\") + selector;\n\t\telse if ( name )\n\t\t\tret.selector = this.selector + \".\" + name + \"(\" + selector + \")\";\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Force the current matched set of elements to become\n\t// the specified array of elements (destroying the stack in the process)\n\t// You should use pushStack() in order to do this, but maintain the stack\n\tsetArray: function( elems ) {\n\t\t// Resetting the length to 0, then using the native Array push\n\t\t// is a super-fast way to populate an object with array-like properties\n\t\tthis.length = 0;\n\t\tArray.prototype.push.apply( this, elems );\n\n\t\treturn this;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\t// (You can seed the arguments with an array of args, but this is\n\t// only used internally.)\n\teach: function( callback, args ) {\n\t\treturn jQuery.each( this, callback, args );\n\t},\n\n\t// Determine the position of an element within\n\t// the matched set of elements\n\tindex: function( elem ) {\n\t\t// Locate the position of the desired element\n\t\treturn jQuery.inArray(\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem && elem.jquery ? elem[0] : elem\n\t\t, this );\n\t},\n\n\tattr: function( name, value, type ) {\n\t\tvar options = name;\n\n\t\t// Look for the case where we're accessing a style value\n\t\tif ( typeof name === \"string\" )\n\t\t\tif ( value === undefined )\n\t\t\t\treturn this[0] && jQuery[ type || \"attr\" ]( this[0], name );\n\n\t\t\telse {\n\t\t\t\toptions = {};\n\t\t\t\toptions[ name ] = value;\n\t\t\t}\n\n\t\t// Check to see if we're setting style values\n\t\treturn this.each(function(i){\n\t\t\t// Set all the styles\n\t\t\tfor ( name in options )\n\t\t\t\tjQuery.attr(\n\t\t\t\t\ttype ?\n\t\t\t\t\t\tthis.style :\n\t\t\t\t\t\tthis,\n\t\t\t\t\tname, jQuery.prop( this, options[ name ], type, i, name )\n\t\t\t\t);\n\t\t});\n\t},\n\n\tcss: function( key, value ) {\n\t\t// ignore negative width and height values\n\t\tif ( (key == 'width' || key == 'height') && parseFloat(value) < 0 )\n\t\t\tvalue = undefined;\n\t\treturn this.attr( key, value, \"curCSS\" );\n\t},\n\n\ttext: function( text ) {\n\t\tif ( typeof text !== \"object\" && text != null )\n\t\t\treturn this.empty().append( (this[0] && this[0].ownerDocument || document).createTextNode( text ) );\n\n\t\tvar ret = \"\";\n\n\t\tjQuery.each( text || this, function(){\n\t\t\tjQuery.each( this.childNodes, function(){\n\t\t\t\tif ( this.nodeType != 8 )\n\t\t\t\t\tret += this.nodeType != 1 ?\n\t\t\t\t\t\tthis.nodeValue :\n\t\t\t\t\t\tjQuery.fn.text( [ this ] );\n\t\t\t});\n\t\t});\n\n\t\treturn ret;\n\t},\n\n\twrapAll: function( html ) {\n\t\tif ( this[0] ) {\n\t\t\t// The elements to wrap the target around\n\t\t\tvar wrap = jQuery( html, this[0].ownerDocument ).clone();\n\n\t\t\tif ( this[0].parentNode )\n\t\t\t\twrap.insertBefore( this[0] );\n\n\t\t\twrap.map(function(){\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstChild )\n\t\t\t\t\telem = elem.firstChild;\n\n\t\t\t\treturn elem;\n\t\t\t}).append(this);\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\treturn this.each(function(){\n\t\t\tjQuery( this ).contents().wrapAll( html );\n\t\t});\n\t},\n\n\twrap: function( html ) {\n\t\treturn this.each(function(){\n\t\t\tjQuery( this ).wrapAll( html );\n\t\t});\n\t},\n\n\tappend: function() {\n\t\treturn this.domManip(arguments, true, function(elem){\n\t\t\tif (this.nodeType == 1)\n\t\t\t\tthis.appendChild( elem );\n\t\t});\n\t},\n\n\tprepend: function() {\n\t\treturn this.domManip(arguments, true, function(elem){\n\t\t\tif (this.nodeType == 1)\n\t\t\t\tthis.insertBefore( elem, this.firstChild );\n\t\t});\n\t},\n\n\tbefore: function() {\n\t\treturn this.domManip(arguments, false, function(elem){\n\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t});\n\t},\n\n\tafter: function() {\n\t\treturn this.domManip(arguments, false, function(elem){\n\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t});\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || jQuery( [] );\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: [].push,\n\tsort: [].sort,\n\tsplice: [].splice,\n\n\tfind: function( selector ) {\n\t\tif ( this.length === 1 ) {\n\t\t\tvar ret = this.pushStack( [], \"find\", selector );\n\t\t\tret.length = 0;\n\t\t\tjQuery.find( selector, this[0], ret );\n\t\t\treturn ret;\n\t\t} else {\n\t\t\treturn this.pushStack( jQuery.unique(jQuery.map(this, function(elem){\n\t\t\t\treturn jQuery.find( selector, elem );\n\t\t\t})), \"find\", selector );\n\t\t}\n\t},\n\n\tclone: function( events ) {\n\t\t// Do the clone\n\t\tvar ret = this.map(function(){\n\t\t\tif ( !jQuery.support.noCloneEvent && !jQuery.isXMLDoc(this) ) {\n\t\t\t\t// IE copies events bound via attachEvent when\n\t\t\t\t// using cloneNode. Calling detachEvent on the\n\t\t\t\t// clone will also remove the events from the orignal\n\t\t\t\t// In order to get around this, we use innerHTML.\n\t\t\t\t// Unfortunately, this means some modifications to\n\t\t\t\t// attributes in IE that are actually only stored\n\t\t\t\t// as properties will not be copied (such as the\n\t\t\t\t// the name attribute on an input).\n\t\t\t\tvar html = this.outerHTML;\n\t\t\t\tif ( !html ) {\n\t\t\t\t\tvar div = this.ownerDocument.createElement(\"div\");\n\t\t\t\t\tdiv.appendChild( this.cloneNode(true) );\n\t\t\t\t\thtml = div.innerHTML;\n\t\t\t\t}\n\n\t\t\t\treturn jQuery.clean([html.replace(/ jQuery\\d+=\"(?:\\d+|null)\"/g, \"\").replace(/^\\s*/, \"\")])[0];\n\t\t\t} else\n\t\t\t\treturn this.cloneNode(true);\n\t\t});\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( events === true ) {\n\t\t\tvar orig = this.find(\"*\").andSelf(), i = 0;\n\n\t\t\tret.find(\"*\").andSelf().each(function(){\n\t\t\t\tif ( this.nodeName !== orig[i].nodeName )\n\t\t\t\t\treturn;\n\n\t\t\t\tvar events = jQuery.data( orig[i], \"events\" );\n\n\t\t\t\tfor ( var type in events ) {\n\t\t\t\t\tfor ( var handler in events[ type ] ) {\n\t\t\t\t\t\tjQuery.event.add( this, type, events[ type ][ handler ], events[ type ][ handler ].data );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\ti++;\n\t\t\t});\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn ret;\n\t},\n\n\tfilter: function( selector ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.isFunction( selector ) &&\n\t\t\tjQuery.grep(this, function(elem, i){\n\t\t\t\treturn selector.call( elem, i );\n\t\t\t}) ||\n\n\t\t\tjQuery.multiFilter( selector, jQuery.grep(this, function(elem){\n\t\t\t\treturn elem.nodeType === 1;\n\t\t\t}) ), \"filter\", selector );\n\t},\n\n\tclosest: function( selector ) {\n\t\tvar pos = jQuery.expr.match.POS.test( selector ) ? jQuery(selector) : null,\n\t\t\tcloser = 0;\n\n\t\treturn this.map(function(){\n\t\t\tvar cur = this;\n\t\t\twhile ( cur && cur.ownerDocument ) {\n\t\t\t\tif ( pos ? pos.index(cur) > -1 : jQuery(cur).is(selector) ) {\n\t\t\t\t\tjQuery.data(cur, \"closest\", closer);\n\t\t\t\t\treturn cur;\n\t\t\t\t}\n\t\t\t\tcur = cur.parentNode;\n\t\t\t\tcloser++;\n\t\t\t}\n\t\t});\n\t},\n\n\tnot: function( selector ) {\n\t\tif ( typeof selector === \"string\" )\n\t\t\t// test special case where just one selector is passed in\n\t\t\tif ( isSimple.test( selector ) )\n\t\t\t\treturn this.pushStack( jQuery.multiFilter( selector, this, true ), \"not\", selector );\n\t\t\telse\n\t\t\t\tselector = jQuery.multiFilter( selector, this );\n\n\t\tvar isArrayLike = selector.length && selector[selector.length - 1] !== undefined && !selector.nodeType;\n\t\treturn this.filter(function() {\n\t\t\treturn isArrayLike ? jQuery.inArray( this, selector ) < 0 : this != selector;\n\t\t});\n\t},\n\n\tadd: function( selector ) {\n\t\treturn this.pushStack( jQuery.unique( jQuery.merge(\n\t\t\tthis.get(),\n\t\t\ttypeof selector === \"string\" ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tjQuery.makeArray( selector )\n\t\t)));\n\t},\n\n\tis: function( selector ) {\n\t\treturn !!selector && jQuery.multiFilter( selector, this ).length > 0;\n\t},\n\n\thasClass: function( selector ) {\n\t\treturn !!selector && this.is( \".\" + selector );\n\t},\n\n\tval: function( value ) {\n\t\tif ( value === undefined ) {\t\t\t\n\t\t\tvar elem = this[0];\n\n\t\t\tif ( elem ) {\n\t\t\t\tif( jQuery.nodeName( elem, 'option' ) )\n\t\t\t\t\treturn (elem.attributes.value || {}).specified ? elem.value : elem.text;\n\t\t\t\t\n\t\t\t\t// We need to handle select boxes special\n\t\t\t\tif ( jQuery.nodeName( elem, \"select\" ) ) {\n\t\t\t\t\tvar index = elem.selectedIndex,\n\t\t\t\t\t\tvalues = [],\n\t\t\t\t\t\toptions = elem.options,\n\t\t\t\t\t\tone = elem.type == \"select-one\";\n\n\t\t\t\t\t// Nothing was selected\n\t\t\t\t\tif ( index < 0 )\n\t\t\t\t\t\treturn null;\n\n\t\t\t\t\t// Loop through all the selected options\n\t\t\t\t\tfor ( var i = one ? index : 0, max = one ? index + 1 : options.length; i < max; i++ ) {\n\t\t\t\t\t\tvar option = options[ i ];\n\n\t\t\t\t\t\tif ( option.selected ) {\n\t\t\t\t\t\t\t// Get the specifc value for the option\n\t\t\t\t\t\t\tvalue = jQuery(option).val();\n\n\t\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\t\tif ( one )\n\t\t\t\t\t\t\t\treturn value;\n\n\t\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\treturn values;\t\t\t\t\n\t\t\t\t}\n\n\t\t\t\t// Everything else, we just grab the value\n\t\t\t\treturn (elem.value || \"\").replace(/\\r/g, \"\");\n\n\t\t\t}\n\n\t\t\treturn undefined;\n\t\t}\n\n\t\tif ( typeof value === \"number\" )\n\t\t\tvalue += '';\n\n\t\treturn this.each(function(){\n\t\t\tif ( this.nodeType != 1 )\n\t\t\t\treturn;\n\n\t\t\tif ( jQuery.isArray(value) && /radio|checkbox/.test( this.type ) )\n\t\t\t\tthis.checked = (jQuery.inArray(this.value, value) >= 0 ||\n\t\t\t\t\tjQuery.inArray(this.name, value) >= 0);\n\n\t\t\telse if ( jQuery.nodeName( this, \"select\" ) ) {\n\t\t\t\tvar values = jQuery.makeArray(value);\n\n\t\t\t\tjQuery( \"option\", this ).each(function(){\n\t\t\t\t\tthis.selected = (jQuery.inArray( this.value, values ) >= 0 ||\n\t\t\t\t\t\tjQuery.inArray( this.text, values ) >= 0);\n\t\t\t\t});\n\n\t\t\t\tif ( !values.length )\n\t\t\t\t\tthis.selectedIndex = -1;\n\n\t\t\t} else\n\t\t\t\tthis.value = value;\n\t\t});\n\t},\n\n\thtml: function( value ) {\n\t\treturn value === undefined ?\n\t\t\t(this[0] ?\n\t\t\t\tthis[0].innerHTML.replace(/ jQuery\\d+=\"(?:\\d+|null)\"/g, \"\") :\n\t\t\t\tnull) :\n\t\t\tthis.empty().append( value );\n\t},\n\n\treplaceWith: function( value ) {\n\t\treturn this.after( value ).remove();\n\t},\n\n\teq: function( i ) {\n\t\treturn this.slice( i, +i + 1 );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( Array.prototype.slice.apply( this, arguments ),\n\t\t\t\"slice\", Array.prototype.slice.call(arguments).join(\",\") );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map(this, function(elem, i){\n\t\t\treturn callback.call( elem, i, elem );\n\t\t}));\n\t},\n\n\tandSelf: function() {\n\t\treturn this.add( this.prevObject );\n\t},\n\n\tdomManip: function( args, table, callback ) {\n\t\tif ( this[0] ) {\n\t\t\tvar fragment = (this[0].ownerDocument || this[0]).createDocumentFragment(),\n\t\t\t\tscripts = jQuery.clean( args, (this[0].ownerDocument || this[0]), fragment ),\n\t\t\t\tfirst = fragment.firstChild;\n\n\t\t\tif ( first )\n\t\t\t\tfor ( var i = 0, l = this.length; i < l; i++ )\n\t\t\t\t\tcallback.call( root(this[i], first), this.length > 1 || i > 0 ?\n\t\t\t\t\t\t\tfragment.cloneNode(true) : fragment );\n\t\t\n\t\t\tif ( scripts )\n\t\t\t\tjQuery.each( scripts, evalScript );\n\t\t}\n\n\t\treturn this;\n\t\t\n\t\tfunction root( elem, cur ) {\n\t\t\treturn table && jQuery.nodeName(elem, \"table\") && jQuery.nodeName(cur, \"tr\") ?\n\t\t\t\t(elem.getElementsByTagName(\"tbody\")[0] ||\n\t\t\t\telem.appendChild(elem.ownerDocument.createElement(\"tbody\"))) :\n\t\t\t\telem;\n\t\t}\n\t}\n};\n\n// Give the init function the jQuery prototype for later instantiation\njQuery.fn.init.prototype = jQuery.fn;\n\nfunction evalScript( i, elem ) {\n\tif ( elem.src )\n\t\tjQuery.ajax({\n\t\t\turl: elem.src,\n\t\t\tasync: false,\n\t\t\tdataType: \"script\"\n\t\t});\n\n\telse\n\t\tjQuery.globalEval( elem.text || elem.textContent || elem.innerHTML || \"\" );\n\n\tif ( elem.parentNode )\n\t\telem.parentNode.removeChild( elem );\n}\n\nfunction now(){\n\treturn +new Date;\n}\n\njQuery.extend = jQuery.fn.extend = function() {\n\t// copy reference to target object\n\tvar target = arguments[0] || {}, i = 1, length = arguments.length, deep = false, options;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\t\ttarget = arguments[1] || {};\n\t\t// skip the boolean and the target\n\t\ti = 2;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !jQuery.isFunction(target) )\n\t\ttarget = {};\n\n\t// extend jQuery itself if only one argument is passed\n\tif ( length == i ) {\n\t\ttarget = this;\n\t\t--i;\n\t}\n\n\tfor ( ; i < length; i++ )\n\t\t// Only deal with non-null/undefined values\n\t\tif ( (options = arguments[ i ]) != null )\n\t\t\t// Extend the base object\n\t\t\tfor ( var name in options ) {\n\t\t\t\tvar src = target[ name ], copy = options[ name ];\n\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( target === copy )\n\t\t\t\t\tcontinue;\n\n\t\t\t\t// Recurse if we're merging object values\n\t\t\t\tif ( deep && copy && typeof copy === \"object\" && !copy.nodeType )\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, \n\t\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\t\tsrc || ( copy.length != null ? [ ] : { } )\n\t\t\t\t\t, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\telse if ( copy !== undefined )\n\t\t\t\t\ttarget[ name ] = copy;\n\n\t\t\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\n// exclude the following css properties to add px\nvar\texclude = /z-?index|font-?weight|opacity|zoom|line-?height/i,\n\t// cache defaultView\n\tdefaultView = document.defaultView || {},\n\ttoString = Object.prototype.toString;\n\njQuery.extend({\n\tnoConflict: function( deep ) {\n\t\twindow.$ = _$;\n\n\t\tif ( deep )\n\t\t\twindow.jQuery = _jQuery;\n\n\t\treturn jQuery;\n\t},\n\n\t// See test/unit/core.js for details concerning isFunction.\n\t// Since version 1.3, DOM methods and functions like alert\n\t// aren't supported. They return false on IE (#2968).\n\tisFunction: function( obj ) {\n\t\treturn toString.call(obj) === \"[object Function]\";\n\t},\n\n\tisArray: function( obj ) {\n\t\treturn toString.call(obj) === \"[object Array]\";\n\t},\n\n\t// check if an element is in a (or is an) XML document\n\tisXMLDoc: function( elem ) {\n\t\treturn elem.nodeType === 9 && elem.documentElement.nodeName !== \"HTML\" ||\n\t\t\t!!elem.ownerDocument && jQuery.isXMLDoc( elem.ownerDocument );\n\t},\n\n\t// Evalulates a script in a global context\n\tglobalEval: function( data ) {\n\t\tif ( data && /\\S/.test(data) ) {\n\t\t\t// Inspired by code by Andrea Giammarchi\n\t\t\t// http://webreflection.blogspot.com/2007/08/global-scope-evaluation-and-dom.html\n\t\t\tvar head = document.getElementsByTagName(\"head\")[0] || document.documentElement,\n\t\t\t\tscript = document.createElement(\"script\");\n\n\t\t\tscript.type = \"text/javascript\";\n\t\t\tif ( jQuery.support.scriptEval )\n\t\t\t\tscript.appendChild( document.createTextNode( data ) );\n\t\t\telse\n\t\t\t\tscript.text = data;\n\n\t\t\t// Use insertBefore instead of appendChild to circumvent an IE6 bug.\n\t\t\t// This arises when a base node is used (#2709).\n\t\t\thead.insertBefore( script, head.firstChild );\n\t\t\thead.removeChild( script );\n\t\t}\n\t},\n\n\tnodeName: function( elem, name ) {\n\t\treturn elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase();\n\t},\n\n\t// args is for internal usage only\n\teach: function( object, callback, args ) {\n\t\tvar name, i = 0, length = object.length;\n\n\t\tif ( args ) {\n\t\t\tif ( length === undefined ) {\n\t\t\t\tfor ( name in object )\n\t\t\t\t\tif ( callback.apply( object[ name ], args ) === false )\n\t\t\t\t\t\tbreak;\n\t\t\t} else\n\t\t\t\tfor ( ; i < length; )\n\t\t\t\t\tif ( callback.apply( object[ i++ ], args ) === false )\n\t\t\t\t\t\tbreak;\n\n\t\t// A special, fast, case for the most common use of each\n\t\t} else {\n\t\t\tif ( length === undefined ) {\n\t\t\t\tfor ( name in object )\n\t\t\t\t\tif ( callback.call( object[ name ], name, object[ name ] ) === false )\n\t\t\t\t\t\tbreak;\n\t\t\t} else\n\t\t\t\tfor ( var value = object[0];\n\t\t\t\t\ti < length && callback.call( value, i, value ) !== false; value = object[++i] ){}\n\t\t}\n\n\t\treturn object;\n\t},\n\n\tprop: function( elem, value, type, i, name ) {\n\t\t// Handle executable functions\n\t\tif ( jQuery.isFunction( value ) )\n\t\t\tvalue = value.call( elem, i );\n\n\t\t// Handle passing in a number to a CSS property\n\t\treturn typeof value === \"number\" && type == \"curCSS\" && !exclude.test( name ) ?\n\t\t\tvalue + \"px\" :\n\t\t\tvalue;\n\t},\n\n\tclassName: {\n\t\t// internal only, use addClass(\"class\")\n\t\tadd: function( elem, classNames ) {\n\t\t\tjQuery.each((classNames || \"\").split(/\\s+/), function(i, className){\n\t\t\t\tif ( elem.nodeType == 1 && !jQuery.className.has( elem.className, className ) )\n\t\t\t\t\telem.className += (elem.className ? \" \" : \"\") + className;\n\t\t\t});\n\t\t},\n\n\t\t// internal only, use removeClass(\"class\")\n\t\tremove: function( elem, classNames ) {\n\t\t\tif (elem.nodeType == 1)\n\t\t\t\telem.className = classNames !== undefined ?\n\t\t\t\t\tjQuery.grep(elem.className.split(/\\s+/), function(className){\n\t\t\t\t\t\treturn !jQuery.className.has( classNames, className );\n\t\t\t\t\t}).join(\" \") :\n\t\t\t\t\t\"\";\n\t\t},\n\n\t\t// internal only, use hasClass(\"class\")\n\t\thas: function( elem, className ) {\n\t\t\treturn elem && jQuery.inArray( className, (elem.className || elem).toString().split(/\\s+/) ) > -1;\n\t\t}\n\t},\n\n\t// A method for quickly swapping in/out CSS properties to get correct calculations\n\tswap: function( elem, options, callback ) {\n\t\tvar old = {};\n\t\t// Remember the old values, and insert the new ones\n\t\tfor ( var name in options ) {\n\t\t\told[ name ] = elem.style[ name ];\n\t\t\telem.style[ name ] = options[ name ];\n\t\t}\n\n\t\tcallback.call( elem );\n\n\t\t// Revert the old values\n\t\tfor ( var name in options )\n\t\t\telem.style[ name ] = old[ name ];\n\t},\n\n\tcss: function( elem, name, force, extra ) {\n\t\tif ( name == \"width\" || name == \"height\" ) {\n\t\t\tvar val, props = { position: \"absolute\", visibility: \"hidden\", display:\"block\" }, which = name == \"width\" ? [ \"Left\", \"Right\" ] : [ \"Top\", \"Bottom\" ];\n\n\t\t\tfunction getWH() {\n\t\t\t\tval = name == \"width\" ? elem.offsetWidth : elem.offsetHeight;\n\n\t\t\t\tif ( extra === \"border\" )\n\t\t\t\t\treturn;\n\n\t\t\t\tjQuery.each( which, function() {\n\t\t\t\t\tif ( !extra )\n\t\t\t\t\t\tval -= parseFloat(jQuery.curCSS( elem, \"padding\" + this, true)) || 0;\n\t\t\t\t\tif ( extra === \"margin\" )\n\t\t\t\t\t\tval += parseFloat(jQuery.curCSS( elem, \"margin\" + this, true)) || 0;\n\t\t\t\t\telse\n\t\t\t\t\t\tval -= parseFloat(jQuery.curCSS( elem, \"border\" + this + \"Width\", true)) || 0;\n\t\t\t\t});\n\t\t\t}\n\n\t\t\tif ( elem.offsetWidth !== 0 )\n\t\t\t\tgetWH();\n\t\t\telse\n\t\t\t\tjQuery.swap( elem, props, getWH );\n\n\t\t\treturn Math.max(0, Math.round(val));\n\t\t}\n\n\t\treturn jQuery.curCSS( elem, name, force );\n\t},\n\n\tcurCSS: function( elem, name, force ) {\n\t\tvar ret, style = elem.style;\n\n\t\t// We need to handle opacity special in IE\n\t\tif ( name == \"opacity\" && !jQuery.support.opacity ) {\n\t\t\tret = jQuery.attr( style, \"opacity\" );\n\n\t\t\treturn ret == \"\" ?\n\t\t\t\t\"1\" :\n\t\t\t\tret;\n\t\t}\n\n\t\t// Make sure we're using the right name for getting the float value\n\t\tif ( name.match( /float/i ) )\n\t\t\tname = styleFloat;\n\n\t\tif ( !force && style && style[ name ] )\n\t\t\tret = style[ name ];\n\n\t\telse if ( defaultView.getComputedStyle ) {\n\n\t\t\t// Only \"float\" is needed here\n\t\t\tif ( name.match( /float/i ) )\n\t\t\t\tname = \"float\";\n\n\t\t\tname = name.replace( /([A-Z])/g, \"-$1\" ).toLowerCase();\n\n\t\t\tvar computedStyle = defaultView.getComputedStyle( elem, null );\n\n\t\t\tif ( computedStyle )\n\t\t\t\tret = computedStyle.getPropertyValue( name );\n\n\t\t\t// We should always get a number back from opacity\n\t\t\tif ( name == \"opacity\" && ret == \"\" )\n\t\t\t\tret = \"1\";\n\n\t\t} else if ( elem.currentStyle ) {\n\t\t\tvar camelCase = name.replace(/\\-(\\w)/g, function(all, letter){\n\t\t\t\treturn letter.toUpperCase();\n\t\t\t});\n\n\t\t\tret = elem.currentStyle[ name ] || elem.currentStyle[ camelCase ];\n\n\t\t\t// From the awesome hack by Dean Edwards\n\t\t\t// http://erik.eae.net/archives/2007/07/27/18.54.15/#comment-102291\n\n\t\t\t// If we're not dealing with a regular pixel number\n\t\t\t// but a number that has a weird ending, we need to convert it to pixels\n\t\t\tif ( !/^\\d+(px)?$/i.test( ret ) && /^\\d/.test( ret ) ) {\n\t\t\t\t// Remember the original values\n\t\t\t\tvar left = style.left, rsLeft = elem.runtimeStyle.left;\n\n\t\t\t\t// Put in the new values to get a computed value out\n\t\t\t\telem.runtimeStyle.left = elem.currentStyle.left;\n\t\t\t\tstyle.left = ret || 0;\n\t\t\t\tret = style.pixelLeft + \"px\";\n\n\t\t\t\t// Revert the changed values\n\t\t\t\tstyle.left = left;\n\t\t\t\telem.runtimeStyle.left = rsLeft;\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tclean: function( elems, context, fragment ) {\n\t\tcontext = context || document;\n\n\t\t// !context.createElement fails in IE with an error but returns typeof 'object'\n\t\tif ( typeof context.createElement === \"undefined\" )\n\t\t\tcontext = context.ownerDocument || context[0] && context[0].ownerDocument || document;\n\n\t\t// If a single string is passed in and it's a single tag\n\t\t// just do a createElement and skip the rest\n\t\tif ( !fragment && elems.length === 1 && typeof elems[0] === \"string\" ) {\n\t\t\tvar match = /^<(\\w+)\\s*\\/?>$/.exec(elems[0]);\n\t\t\tif ( match )\n\t\t\t\treturn [ context.createElement( match[1] ) ];\n\t\t}\n\n\t\tvar ret = [], scripts = [], div = context.createElement(\"div\");\n\n\t\tjQuery.each(elems, function(i, elem){\n\t\t\tif ( typeof elem === \"number\" )\n\t\t\t\telem += '';\n\n\t\t\tif ( !elem )\n\t\t\t\treturn;\n\n\t\t\t// Convert html string into DOM nodes\n\t\t\tif ( typeof elem === \"string\" ) {\n\t\t\t\t// Fix \"XHTML\"-style tags in all browsers\n\t\t\t\telem = elem.replace(/(<(\\w+)[^>]*?)\\/>/g, function(all, front, tag){\n\t\t\t\t\treturn tag.match(/^(abbr|br|col|img|input|link|meta|param|hr|area|embed)$/i) ?\n\t\t\t\t\t\tall :\n\t\t\t\t\t\tfront + \"></\" + tag + \">\";\n\t\t\t\t});\n\n\t\t\t\t// Trim whitespace, otherwise indexOf won't work as expected\n\t\t\t\tvar tags = elem.replace(/^\\s+/, \"\").substring(0, 10).toLowerCase();\n\n\t\t\t\tvar wrap =\n\t\t\t\t\t// option or optgroup\n\t\t\t\t\t!tags.indexOf(\"<opt\") &&\n\t\t\t\t\t[ 1, \"<select multiple='multiple'>\", \"</select>\" ] ||\n\n\t\t\t\t\t!tags.indexOf(\"<leg\") &&\n\t\t\t\t\t[ 1, \"<fieldset>\", \"</fieldset>\" ] ||\n\n\t\t\t\t\ttags.match(/^<(thead|tbody|tfoot|colg|cap)/) &&\n\t\t\t\t\t[ 1, \"<table>\", \"</table>\" ] ||\n\n\t\t\t\t\t!tags.indexOf(\"<tr\") &&\n\t\t\t\t\t[ 2, \"<table><tbody>\", \"</tbody></table>\" ] ||\n\n\t\t\t\t \t// <thead> matched above\n\t\t\t\t\t(!tags.indexOf(\"<td\") || !tags.indexOf(\"<th\")) &&\n\t\t\t\t\t[ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ] ||\n\n\t\t\t\t\t!tags.indexOf(\"<col\") &&\n\t\t\t\t\t[ 2, \"<table><tbody></tbody><colgroup>\", \"</colgroup></table>\" ] ||\n\n\t\t\t\t\t// IE can't serialize <link> and <script> tags normally\n\t\t\t\t\t!jQuery.support.htmlSerialize &&\n\t\t\t\t\t[ 1, \"div<div>\", \"</div>\" ] ||\n\n\t\t\t\t\t[ 0, \"\", \"\" ];\n\n\t\t\t\t// Go to html and back, then peel off extra wrappers\n\t\t\t\tdiv.innerHTML = wrap[1] + elem + wrap[2];\n\n\t\t\t\t// Move to the right depth\n\t\t\t\twhile ( wrap[0]-- )\n\t\t\t\t\tdiv = div.lastChild;\n\n\t\t\t\t// Remove IE's autoinserted <tbody> from table fragments\n\t\t\t\tif ( !jQuery.support.tbody ) {\n\n\t\t\t\t\t// String was a <table>, *may* have spurious <tbody>\n\t\t\t\t\tvar hasBody = /<tbody/i.test(elem),\n\t\t\t\t\t\ttbody = !tags.indexOf(\"<table\") && !hasBody ?\n\t\t\t\t\t\t\tdiv.firstChild && div.firstChild.childNodes :\n\n\t\t\t\t\t\t// String was a bare <thead> or <tfoot>\n\t\t\t\t\t\twrap[1] == \"<table>\" && !hasBody ?\n\t\t\t\t\t\t\tdiv.childNodes :\n\t\t\t\t\t\t\t[];\n\n\t\t\t\t\tfor ( var j = tbody.length - 1; j >= 0 ; --j )\n\t\t\t\t\t\tif ( jQuery.nodeName( tbody[ j ], \"tbody\" ) && !tbody[ j ].childNodes.length )\n\t\t\t\t\t\t\ttbody[ j ].parentNode.removeChild( tbody[ j ] );\n\n\t\t\t\t\t}\n\n\t\t\t\t// IE completely kills leading whitespace when innerHTML is used\n\t\t\t\tif ( !jQuery.support.leadingWhitespace && /^\\s/.test( elem ) )\n\t\t\t\t\tdiv.insertBefore( context.createTextNode( elem.match(/^\\s*/)[0] ), div.firstChild );\n\t\t\t\t\n\t\t\t\telem = jQuery.makeArray( div.childNodes );\n\t\t\t}\n\n\t\t\tif ( elem.nodeType )\n\t\t\t\tret.push( elem );\n\t\t\telse\n\t\t\t\tret = jQuery.merge( ret, elem );\n\n\t\t});\n\n\t\tif ( fragment ) {\n\t\t\tfor ( var i = 0; ret[i]; i++ ) {\n\t\t\t\tif ( jQuery.nodeName( ret[i], \"script\" ) && (!ret[i].type || ret[i].type.toLowerCase() === \"text/javascript\") ) {\n\t\t\t\t\tscripts.push( ret[i].parentNode ? ret[i].parentNode.removeChild( ret[i] ) : ret[i] );\n\t\t\t\t} else {\n\t\t\t\t\tif ( ret[i].nodeType === 1 )\n\t\t\t\t\t\tret.splice.apply( ret, [i + 1, 0].concat(jQuery.makeArray(ret[i].getElementsByTagName(\"script\"))) );\n\t\t\t\t\tfragment.appendChild( ret[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\treturn scripts;\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tattr: function( elem, name, value ) {\n\t\t// don't set attributes on text and comment nodes\n\t\tif (!elem || elem.nodeType == 3 || elem.nodeType == 8)\n\t\t\treturn undefined;\n\n\t\tvar notxml = !jQuery.isXMLDoc( elem ),\n\t\t\t// Whether we are setting (or getting)\n\t\t\tset = value !== undefined;\n\n\t\t// Try to normalize/fix the name\n\t\tname = notxml && jQuery.props[ name ] || name;\n\n\t\t// Only do all the following if this is a node (faster for style)\n\t\t// IE elem.getAttribute passes even for style\n\t\tif ( elem.tagName ) {\n\n\t\t\t// These attributes require special treatment\n\t\t\tvar special = /href|src|style/.test( name );\n\n\t\t\t// Safari mis-reports the default selected property of a hidden option\n\t\t\t// Accessing the parent's selectedIndex property fixes it\n\t\t\tif ( name == \"selected\" && elem.parentNode )\n\t\t\t\telem.parentNode.selectedIndex;\n\n\t\t\t// If applicable, access the attribute via the DOM 0 way\n\t\t\tif ( name in elem && notxml && !special ) {\n\t\t\t\tif ( set ){\n\t\t\t\t\t// We can't allow the type property to be changed (since it causes problems in IE)\n\t\t\t\t\tif ( name == \"type\" && jQuery.nodeName( elem, \"input\" ) && elem.parentNode )\n\t\t\t\t\t\tthrow \"type property can't be changed\";\n\n\t\t\t\t\telem[ name ] = value;\n\t\t\t\t}\n\n\t\t\t\t// browsers index elements by id/name on forms, give priority to attributes.\n\t\t\t\tif( jQuery.nodeName( elem, \"form\" ) && elem.getAttributeNode(name) )\n\t\t\t\t\treturn elem.getAttributeNode( name ).nodeValue;\n\n\t\t\t\t// elem.tabIndex doesn't always return the correct value when it hasn't been explicitly set\n\t\t\t\t// http://fluidproject.org/blog/2008/01/09/getting-setting-and-removing-tabindex-values-with-javascript/\n\t\t\t\tif ( name == \"tabIndex\" ) {\n\t\t\t\t\tvar attributeNode = elem.getAttributeNode( \"tabIndex\" );\n\t\t\t\t\treturn attributeNode && attributeNode.specified\n\t\t\t\t\t\t? attributeNode.value\n\t\t\t\t\t\t: elem.nodeName.match(/(button|input|object|select|textarea)/i)\n\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t: elem.nodeName.match(/^(a|area)$/i) && elem.href\n\t\t\t\t\t\t\t\t? 0\n\t\t\t\t\t\t\t\t: undefined;\n\t\t\t\t}\n\n\t\t\t\treturn elem[ name ];\n\t\t\t}\n\n\t\t\tif ( !jQuery.support.style && notxml && name == \"style\" )\n\t\t\t\treturn jQuery.attr( elem.style, \"cssText\", value );\n\n\t\t\tif ( set )\n\t\t\t\t// convert the value to a string (all browsers do this but IE) see #1070\n\t\t\t\telem.setAttribute( name, \"\" + value );\n\n\t\t\tvar attr = !jQuery.support.hrefNormalized && notxml && special\n\t\t\t\t\t// Some attributes require a special call on IE\n\t\t\t\t\t? elem.getAttribute( name, 2 )\n\t\t\t\t\t: elem.getAttribute( name );\n\n\t\t\t// Non-existent attributes return null, we normalize to undefined\n\t\t\treturn attr === null ? undefined : attr;\n\t\t}\n\n\t\t// elem is actually elem.style ... set the style\n\n\t\t// IE uses filters for opacity\n\t\tif ( !jQuery.support.opacity && name == \"opacity\" ) {\n\t\t\tif ( set ) {\n\t\t\t\t// IE has trouble with opacity if it does not have layout\n\t\t\t\t// Force it by setting the zoom level\n\t\t\t\telem.zoom = 1;\n\n\t\t\t\t// Set the alpha filter to set the opacity\n\t\t\t\telem.filter = (elem.filter || \"\").replace( /alpha\\([^)]*\\)/, \"\" ) +\n\t\t\t\t\t(parseInt( value ) + '' == \"NaN\" ? \"\" : \"alpha(opacity=\" + value * 100 + \")\");\n\t\t\t}\n\n\t\t\treturn elem.filter && elem.filter.indexOf(\"opacity=\") >= 0 ?\n\t\t\t\t(parseFloat( elem.filter.match(/opacity=([^)]*)/)[1] ) / 100) + '':\n\t\t\t\t\"\";\n\t\t}\n\n\t\tname = name.replace(/-([a-z])/ig, function(all, letter){\n\t\t\treturn letter.toUpperCase();\n\t\t});\n\n\t\tif ( set )\n\t\t\telem[ name ] = value;\n\n\t\treturn elem[ name ];\n\t},\n\n\ttrim: function( text ) {\n\t\treturn (text || \"\").replace( /^\\s+|\\s+$/g, \"\" );\n\t},\n\n\tmakeArray: function( array ) {\n\t\tvar ret = [];\n\n\t\tif( array != null ){\n\t\t\tvar i = array.length;\n\t\t\t// The window, strings (and functions) also have 'length'\n\t\t\tif( i == null || typeof array === \"string\" || jQuery.isFunction(array) || array.setInterval )\n\t\t\t\tret[0] = array;\n\t\t\telse\n\t\t\t\twhile( i )\n\t\t\t\t\tret[--i] = array[i];\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, array ) {\n\t\tfor ( var i = 0, length = array.length; i < length; i++ )\n\t\t// Use === because on IE, window == document\n\t\t\tif ( array[ i ] === elem )\n\t\t\t\treturn i;\n\n\t\treturn -1;\n\t},\n\n\tmerge: function( first, second ) {\n\t\t// We have to loop this way because IE & Opera overwrite the length\n\t\t// expando of getElementsByTagName\n\t\tvar i = 0, elem, pos = first.length;\n\t\t// Also, we need to make sure that the correct elements are being returned\n\t\t// (IE returns comment nodes in a '*' query)\n\t\tif ( !jQuery.support.getAll ) {\n\t\t\twhile ( (elem = second[ i++ ]) != null )\n\t\t\t\tif ( elem.nodeType != 8 )\n\t\t\t\t\tfirst[ pos++ ] = elem;\n\n\t\t} else\n\t\t\twhile ( (elem = second[ i++ ]) != null )\n\t\t\t\tfirst[ pos++ ] = elem;\n\n\t\treturn first;\n\t},\n\n\tunique: function( array ) {\n\t\tvar ret = [], done = {};\n\n\t\ttry {\n\n\t\t\tfor ( var i = 0, length = array.length; i < length; i++ ) {\n\t\t\t\tvar id = jQuery.data( array[ i ] );\n\n\t\t\t\tif ( !done[ id ] ) {\n\t\t\t\t\tdone[ id ] = true;\n\t\t\t\t\tret.push( array[ i ] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch( e ) {\n\t\t\tret = array;\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tgrep: function( elems, callback, inv ) {\n\t\tvar ret = [];\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( var i = 0, length = elems.length; i < length; i++ )\n\t\t\tif ( !inv != !callback( elems[ i ], i ) )\n\t\t\t\tret.push( elems[ i ] );\n\n\t\treturn ret;\n\t},\n\n\tmap: function( elems, callback ) {\n\t\tvar ret = [];\n\n\t\t// Go through the array, translating each of the items to their\n\t\t// new value (or values).\n\t\tfor ( var i = 0, length = elems.length; i < length; i++ ) {\n\t\t\tvar value = callback( elems[ i ], i );\n\n\t\t\tif ( value != null )\n\t\t\t\tret[ ret.length ] = value;\n\t\t}\n\n\t\treturn ret.concat.apply( [], ret );\n\t}\n});\n\n// Use of jQuery.browser is deprecated.\n// It's included for backwards compatibility and plugins,\n// although they should work to migrate away.\n\nvar userAgent = navigator.userAgent.toLowerCase();\n\n// Figure out what browser is being used\njQuery.browser = {\n\tversion: (userAgent.match( /.+(?:rv|it|ra|ie)[\\/: ]([\\d.]+)/ ) || [0,'0'])[1],\n\tsafari: /webkit/.test( userAgent ),\n\topera: /opera/.test( userAgent ),\n\tmsie: /msie/.test( userAgent ) && !/opera/.test( userAgent ),\n\tmozilla: /mozilla/.test( userAgent ) && !/(compatible|webkit)/.test( userAgent )\n};\n\njQuery.each({\n\tparent: function(elem){return elem.parentNode;},\n\tparents: function(elem){return jQuery.dir(elem,\"parentNode\");},\n\tnext: function(elem){return jQuery.nth(elem,2,\"nextSibling\");},\n\tprev: function(elem){return jQuery.nth(elem,2,\"previousSibling\");},\n\tnextAll: function(elem){return jQuery.dir(elem,\"nextSibling\");},\n\tprevAll: function(elem){return jQuery.dir(elem,\"previousSibling\");},\n\tsiblings: function(elem){return jQuery.sibling(elem.parentNode.firstChild,elem);},\n\tchildren: function(elem){return jQuery.sibling(elem.firstChild);},\n\tcontents: function(elem){return jQuery.nodeName(elem,\"iframe\")?elem.contentDocument||elem.contentWindow.document:jQuery.makeArray(elem.childNodes);}\n}, function(name, fn){\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar ret = jQuery.map( this, fn );\n\n\t\tif ( selector && typeof selector == \"string\" )\n\t\t\tret = jQuery.multiFilter( selector, ret );\n\n\t\treturn this.pushStack( jQuery.unique( ret ), name, selector );\n\t};\n});\n\njQuery.each({\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function(name, original){\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar ret = [], insert = jQuery( selector );\n\n\t\tfor ( var i = 0, l = insert.length; i < l; i++ ) {\n\t\t\tvar elems = (i > 0 ? this.clone(true) : this).get();\n\t\t\tjQuery.fn[ original ].apply( jQuery(insert[i]), elems );\n\t\t\tret = ret.concat( elems );\n\t\t}\n\n\t\treturn this.pushStack( ret, name, selector );\n\t};\n});\n\njQuery.each({\n\tremoveAttr: function( name ) {\n\t\tjQuery.attr( this, name, \"\" );\n\t\tif (this.nodeType == 1)\n\t\t\tthis.removeAttribute( name );\n\t},\n\n\taddClass: function( classNames ) {\n\t\tjQuery.className.add( this, classNames );\n\t},\n\n\tremoveClass: function( classNames ) {\n\t\tjQuery.className.remove( this, classNames );\n\t},\n\n\ttoggleClass: function( classNames, state ) {\n\t\tif( typeof state !== \"boolean\" )\n\t\t\tstate = !jQuery.className.has( this, classNames );\n\t\tjQuery.className[ state ? \"add\" : \"remove\" ]( this, classNames );\n\t},\n\n\tremove: function( selector ) {\n\t\tif ( !selector || jQuery.filter( selector, [ this ] ).length ) {\n\t\t\t// Prevent memory leaks\n\t\t\tjQuery( \"*\", this ).add([this]).each(function(){\n\t\t\t\tjQuery.event.remove(this);\n\t\t\t\tjQuery.removeData(this);\n\t\t\t});\n\t\t\tif (this.parentNode)\n\t\t\t\tthis.parentNode.removeChild( this );\n\t\t}\n\t},\n\n\tempty: function() {\n\t\t// Remove element nodes and prevent memory leaks\n\t\tjQuery(this).children().remove();\n\n\t\t// Remove any remaining nodes\n\t\twhile ( this.firstChild )\n\t\t\tthis.removeChild( this.firstChild );\n\t}\n}, function(name, fn){\n\tjQuery.fn[ name ] = function(){\n\t\treturn this.each( fn, arguments );\n\t};\n});\n\n// Helper function used by the dimensions and offset modules\nfunction num(elem, prop) {\n\treturn elem[0] && parseInt( jQuery.curCSS(elem[0], prop, true), 10 ) || 0;\n}\nvar expando = \"jQuery\" + now(), uuid = 0, windowData = {};\n\njQuery.extend({\n\tcache: {},\n\n\tdata: function( elem, name, data ) {\n\t\telem = elem == window ?\n\t\t\twindowData :\n\t\t\telem;\n\n\t\tvar id = elem[ expando ];\n\n\t\t// Compute a unique ID for the element\n\t\tif ( !id )\n\t\t\tid = elem[ expando ] = ++uuid;\n\n\t\t// Only generate the data cache if we're\n\t\t// trying to access or manipulate it\n\t\tif ( name && !jQuery.cache[ id ] )\n\t\t\tjQuery.cache[ id ] = {};\n\n\t\t// Prevent overriding the named cache with undefined values\n\t\tif ( data !== undefined )\n\t\t\tjQuery.cache[ id ][ name ] = data;\n\n\t\t// Return the named cache data, or the ID for the element\n\t\treturn name ?\n\t\t\tjQuery.cache[ id ][ name ] :\n\t\t\tid;\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\telem = elem == window ?\n\t\t\twindowData :\n\t\t\telem;\n\n\t\tvar id = elem[ expando ];\n\n\t\t// If we want to remove a specific section of the element's data\n\t\tif ( name ) {\n\t\t\tif ( jQuery.cache[ id ] ) {\n\t\t\t\t// Remove the section of cache data\n\t\t\t\tdelete jQuery.cache[ id ][ name ];\n\n\t\t\t\t// If we've removed all the data, remove the element's cache\n\t\t\t\tname = \"\";\n\n\t\t\t\tfor ( name in jQuery.cache[ id ] )\n\t\t\t\t\tbreak;\n\n\t\t\t\tif ( !name )\n\t\t\t\t\tjQuery.removeData( elem );\n\t\t\t}\n\n\t\t// Otherwise, we want to remove all of the element's data\n\t\t} else {\n\t\t\t// Clean up the element expando\n\t\t\ttry {\n\t\t\t\tdelete elem[ expando ];\n\t\t\t} catch(e){\n\t\t\t\t// IE has trouble directly removing the expando\n\t\t\t\t// but it's ok with using removeAttribute\n\t\t\t\tif ( elem.removeAttribute )\n\t\t\t\t\telem.removeAttribute( expando );\n\t\t\t}\n\n\t\t\t// Completely remove the data cache\n\t\t\tdelete jQuery.cache[ id ];\n\t\t}\n\t},\n\tqueue: function( elem, type, data ) {\n\t\tif ( elem ){\n\t\n\t\t\ttype = (type || \"fx\") + \"queue\";\n\t\n\t\t\tvar q = jQuery.data( elem, type );\n\t\n\t\t\tif ( !q || jQuery.isArray(data) )\n\t\t\t\tq = jQuery.data( elem, type, jQuery.makeArray(data) );\n\t\t\telse if( data )\n\t\t\t\tq.push( data );\n\t\n\t\t}\n\t\treturn q;\n\t},\n\n\tdequeue: function( elem, type ){\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tfn = queue.shift();\n\t\t\n\t\tif( !type || type === \"fx\" )\n\t\t\tfn = queue[0];\n\t\t\t\n\t\tif( fn !== undefined )\n\t\t\tfn.call(elem);\n\t}\n});\n\njQuery.fn.extend({\n\tdata: function( key, value ){\n\t\tvar parts = key.split(\".\");\n\t\tparts[1] = parts[1] ? \".\" + parts[1] : \"\";\n\n\t\tif ( value === undefined ) {\n\t\t\tvar data = this.triggerHandler(\"getData\" + parts[1] + \"!\", [parts[0]]);\n\n\t\t\tif ( data === undefined && this.length )\n\t\t\t\tdata = jQuery.data( this[0], key );\n\n\t\t\treturn data === undefined && parts[1] ?\n\t\t\t\tthis.data( parts[0] ) :\n\t\t\t\tdata;\n\t\t} else\n\t\t\treturn this.trigger(\"setData\" + parts[1] + \"!\", [parts[0], value]).each(function(){\n\t\t\t\tjQuery.data( this, key, value );\n\t\t\t});\n\t},\n\n\tremoveData: function( key ){\n\t\treturn this.each(function(){\n\t\t\tjQuery.removeData( this, key );\n\t\t});\n\t},\n\tqueue: function(type, data){\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t}\n\n\t\tif ( data === undefined )\n\t\t\treturn jQuery.queue( this[0], type );\n\n\t\treturn this.each(function(){\n\t\t\tvar queue = jQuery.queue( this, type, data );\n\t\t\t\n\t\t\t if( type == \"fx\" && queue.length == 1 )\n\t\t\t\tqueue[0].call(this);\n\t\t});\n\t},\n\tdequeue: function(type){\n\t\treturn this.each(function(){\n\t\t\tjQuery.dequeue( this, type );\n\t\t});\n\t}\n});/*!\n * Sizzle CSS Selector Engine - v0.9.3\n * Copyright 2009, The Dojo Foundation\n * Released under the MIT, BSD, and GPL Licenses.\n * More information: http://sizzlejs.com/\n */\n(function(){\n\nvar chunker = /((?:\\((?:\\([^()]+\\)|[^()]+)+\\)|\\[(?:\\[[^[\\]]*\\]|['\"][^'\"]*['\"]|[^[\\]'\"]+)+\\]|\\\\.|[^ >+~,(\\[\\\\]+)+|[>+~])(\\s*,\\s*)?/g,\n\tdone = 0,\n\ttoString = Object.prototype.toString;\n\nvar Sizzle = function(selector, context, results, seed) {\n\tresults = results || [];\n\tcontext = context || document;\n\n\tif ( context.nodeType !== 1 && context.nodeType !== 9 )\n\t\treturn [];\n\t\n\tif ( !selector || typeof selector !== \"string\" ) {\n\t\treturn results;\n\t}\n\n\tvar parts = [], m, set, checkSet, check, mode, extra, prune = true;\n\t\n\t// Reset the position of the chunker regexp (start from head)\n\tchunker.lastIndex = 0;\n\t\n\twhile ( (m = chunker.exec(selector)) !== null ) {\n\t\tparts.push( m[1] );\n\t\t\n\t\tif ( m[2] ) {\n\t\t\textra = RegExp.rightContext;\n\t\t\tbreak;\n\t\t}\n\t}\n\n\tif ( parts.length > 1 && origPOS.exec( selector ) ) {\n\t\tif ( parts.length === 2 && Expr.relative[ parts[0] ] ) {\n\t\t\tset = posProcess( parts[0] + parts[1], context );\n\t\t} else {\n\t\t\tset = Expr.relative[ parts[0] ] ?\n\t\t\t\t[ context ] :\n\t\t\t\tSizzle( parts.shift(), context );\n\n\t\t\twhile ( parts.length ) {\n\t\t\t\tselector = parts.shift();\n\n\t\t\t\tif ( Expr.relative[ selector ] )\n\t\t\t\t\tselector += parts.shift();\n\n\t\t\t\tset = posProcess( selector, set );\n\t\t\t}\n\t\t}\n\t} else {\n\t\tvar ret = seed ?\n\t\t\t{ expr: parts.pop(), set: makeArray(seed) } :\n\t\t\tSizzle.find( parts.pop(), parts.length === 1 && context.parentNode ? context.parentNode : context, isXML(context) );\n\t\tset = Sizzle.filter( ret.expr, ret.set );\n\n\t\tif ( parts.length > 0 ) {\n\t\t\tcheckSet = makeArray(set);\n\t\t} else {\n\t\t\tprune = false;\n\t\t}\n\n\t\twhile ( parts.length ) {\n\t\t\tvar cur = parts.pop(), pop = cur;\n\n\t\t\tif ( !Expr.relative[ cur ] ) {\n\t\t\t\tcur = \"\";\n\t\t\t} else {\n\t\t\t\tpop = parts.pop();\n\t\t\t}\n\n\t\t\tif ( pop == null ) {\n\t\t\t\tpop = context;\n\t\t\t}\n\n\t\t\tExpr.relative[ cur ]( checkSet, pop, isXML(context) );\n\t\t}\n\t}\n\n\tif ( !checkSet ) {\n\t\tcheckSet = set;\n\t}\n\n\tif ( !checkSet ) {\n\t\tthrow \"Syntax error, unrecognized expression: \" + (cur || selector);\n\t}\n\n\tif ( toString.call(checkSet) === \"[object Array]\" ) {\n\t\tif ( !prune ) {\n\t\t\tresults.push.apply( results, checkSet );\n\t\t} else if ( context.nodeType === 1 ) {\n\t\t\tfor ( var i = 0; checkSet[i] != null; i++ ) {\n\t\t\t\tif ( checkSet[i] && (checkSet[i] === true || checkSet[i].nodeType === 1 && contains(context, checkSet[i])) ) {\n\t\t\t\t\tresults.push( set[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( var i = 0; checkSet[i] != null; i++ ) {\n\t\t\t\tif ( checkSet[i] && checkSet[i].nodeType === 1 ) {\n\t\t\t\t\tresults.push( set[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t} else {\n\t\tmakeArray( checkSet, results );\n\t}\n\n\tif ( extra ) {\n\t\tSizzle( extra, context, results, seed );\n\n\t\tif ( sortOrder ) {\n\t\t\thasDuplicate = false;\n\t\t\tresults.sort(sortOrder);\n\n\t\t\tif ( hasDuplicate ) {\n\t\t\t\tfor ( var i = 1; i < results.length; i++ ) {\n\t\t\t\t\tif ( results[i] === results[i-1] ) {\n\t\t\t\t\t\tresults.splice(i--, 1);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn results;\n};\n\nSizzle.matches = function(expr, set){\n\treturn Sizzle(expr, null, null, set);\n};\n\nSizzle.find = function(expr, context, isXML){\n\tvar set, match;\n\n\tif ( !expr ) {\n\t\treturn [];\n\t}\n\n\tfor ( var i = 0, l = Expr.order.length; i < l; i++ ) {\n\t\tvar type = Expr.order[i], match;\n\t\t\n\t\tif ( (match = Expr.match[ type ].exec( expr )) ) {\n\t\t\tvar left = RegExp.leftContext;\n\n\t\t\tif ( left.substr( left.length - 1 ) !== \"\\\\\" ) {\n\t\t\t\tmatch[1] = (match[1] || \"\").replace(/\\\\/g, \"\");\n\t\t\t\tset = Expr.find[ type ]( match, context, isXML );\n\t\t\t\tif ( set != null ) {\n\t\t\t\t\texpr = expr.replace( Expr.match[ type ], \"\" );\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( !set ) {\n\t\tset = context.getElementsByTagName(\"*\");\n\t}\n\n\treturn {set: set, expr: expr};\n};\n\nSizzle.filter = function(expr, set, inplace, not){\n\tvar old = expr, result = [], curLoop = set, match, anyFound,\n\t\tisXMLFilter = set && set[0] && isXML(set[0]);\n\n\twhile ( expr && set.length ) {\n\t\tfor ( var type in Expr.filter ) {\n\t\t\tif ( (match = Expr.match[ type ].exec( expr )) != null ) {\n\t\t\t\tvar filter = Expr.filter[ type ], found, item;\n\t\t\t\tanyFound = false;\n\n\t\t\t\tif ( curLoop == result ) {\n\t\t\t\t\tresult = [];\n\t\t\t\t}\n\n\t\t\t\tif ( Expr.preFilter[ type ] ) {\n\t\t\t\t\tmatch = Expr.preFilter[ type ]( match, curLoop, inplace, result, not, isXMLFilter );\n\n\t\t\t\t\tif ( !match ) {\n\t\t\t\t\t\tanyFound = found = true;\n\t\t\t\t\t} else if ( match === true ) {\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ( match ) {\n\t\t\t\t\tfor ( var i = 0; (item = curLoop[i]) != null; i++ ) {\n\t\t\t\t\t\tif ( item ) {\n\t\t\t\t\t\t\tfound = filter( item, match, i, curLoop );\n\t\t\t\t\t\t\tvar pass = not ^ !!found;\n\n\t\t\t\t\t\t\tif ( inplace && found != null ) {\n\t\t\t\t\t\t\t\tif ( pass ) {\n\t\t\t\t\t\t\t\t\tanyFound = true;\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcurLoop[i] = false;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( pass ) {\n\t\t\t\t\t\t\t\tresult.push( item );\n\t\t\t\t\t\t\t\tanyFound = true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ( found !== undefined ) {\n\t\t\t\t\tif ( !inplace ) {\n\t\t\t\t\t\tcurLoop = result;\n\t\t\t\t\t}\n\n\t\t\t\t\texpr = expr.replace( Expr.match[ type ], \"\" );\n\n\t\t\t\t\tif ( !anyFound ) {\n\t\t\t\t\t\treturn [];\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Improper expression\n\t\tif ( expr == old ) {\n\t\t\tif ( anyFound == null ) {\n\t\t\t\tthrow \"Syntax error, unrecognized expression: \" + expr;\n\t\t\t} else {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\told = expr;\n\t}\n\n\treturn curLoop;\n};\n\nvar Expr = Sizzle.selectors = {\n\torder: [ \"ID\", \"NAME\", \"TAG\" ],\n\tmatch: {\n\t\tID: /#((?:[\\w\\u00c0-\\uFFFF_-]|\\\\.)+)/,\n\t\tCLASS: /\\.((?:[\\w\\u00c0-\\uFFFF_-]|\\\\.)+)/,\n\t\tNAME: /\\[name=['\"]*((?:[\\w\\u00c0-\\uFFFF_-]|\\\\.)+)['\"]*\\]/,\n\t\tATTR: /\\[\\s*((?:[\\w\\u00c0-\\uFFFF_-]|\\\\.)+)\\s*(?:(\\S?=)\\s*(['\"]*)(.*?)\\3|)\\s*\\]/,\n\t\tTAG: /^((?:[\\w\\u00c0-\\uFFFF\\*_-]|\\\\.)+)/,\n\t\tCHILD: /:(only|nth|last|first)-child(?:\\((even|odd|[\\dn+-]*)\\))?/,\n\t\tPOS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\))?(?=[^-]|$)/,\n\t\tPSEUDO: /:((?:[\\w\\u00c0-\\uFFFF_-]|\\\\.)+)(?:\\((['\"]*)((?:\\([^\\)]+\\)|[^\\2\\(\\)]*)+)\\2\\))?/\n\t},\n\tattrMap: {\n\t\t\"class\": \"className\",\n\t\t\"for\": \"htmlFor\"\n\t},\n\tattrHandle: {\n\t\thref: function(elem){\n\t\t\treturn elem.getAttribute(\"href\");\n\t\t}\n\t},\n\trelative: {\n\t\t\"+\": function(checkSet, part, isXML){\n\t\t\tvar isPartStr = typeof part === \"string\",\n\t\t\t\tisTag = isPartStr && !/\\W/.test(part),\n\t\t\t\tisPartStrNotTag = isPartStr && !isTag;\n\n\t\t\tif ( isTag && !isXML ) {\n\t\t\t\tpart = part.toUpperCase();\n\t\t\t}\n\n\t\t\tfor ( var i = 0, l = checkSet.length, elem; i < l; i++ ) {\n\t\t\t\tif ( (elem = checkSet[i]) ) {\n\t\t\t\t\twhile ( (elem = elem.previousSibling) && elem.nodeType !== 1 ) {}\n\n\t\t\t\t\tcheckSet[i] = isPartStrNotTag || elem && elem.nodeName === part ?\n\t\t\t\t\t\telem || false :\n\t\t\t\t\t\telem === part;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( isPartStrNotTag ) {\n\t\t\t\tSizzle.filter( part, checkSet, true );\n\t\t\t}\n\t\t},\n\t\t\">\": function(checkSet, part, isXML){\n\t\t\tvar isPartStr = typeof part === \"string\";\n\n\t\t\tif ( isPartStr && !/\\W/.test(part) ) {\n\t\t\t\tpart = isXML ? part : part.toUpperCase();\n\n\t\t\t\tfor ( var i = 0, l = checkSet.length; i < l; i++ ) {\n\t\t\t\t\tvar elem = checkSet[i];\n\t\t\t\t\tif ( elem ) {\n\t\t\t\t\t\tvar parent = elem.parentNode;\n\t\t\t\t\t\tcheckSet[i] = parent.nodeName === part ? parent : false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( var i = 0, l = checkSet.length; i < l; i++ ) {\n\t\t\t\t\tvar elem = checkSet[i];\n\t\t\t\t\tif ( elem ) {\n\t\t\t\t\t\tcheckSet[i] = isPartStr ?\n\t\t\t\t\t\t\telem.parentNode :\n\t\t\t\t\t\t\telem.parentNode === part;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif ( isPartStr ) {\n\t\t\t\t\tSizzle.filter( part, checkSet, true );\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t\"\": function(checkSet, part, isXML){\n\t\t\tvar doneName = done++, checkFn = dirCheck;\n\n\t\t\tif ( !part.match(/\\W/) ) {\n\t\t\t\tvar nodeCheck = part = isXML ? part : part.toUpperCase();\n\t\t\t\tcheckFn = dirNodeCheck;\n\t\t\t}\n\n\t\t\tcheckFn(\"parentNode\", part, doneName, checkSet, nodeCheck, isXML);\n\t\t},\n\t\t\"~\": function(checkSet, part, isXML){\n\t\t\tvar doneName = done++, checkFn = dirCheck;\n\n\t\t\tif ( typeof part === \"string\" && !part.match(/\\W/) ) {\n\t\t\t\tvar nodeCheck = part = isXML ? part : part.toUpperCase();\n\t\t\t\tcheckFn = dirNodeCheck;\n\t\t\t}\n\n\t\t\tcheckFn(\"previousSibling\", part, doneName, checkSet, nodeCheck, isXML);\n\t\t}\n\t},\n\tfind: {\n\t\tID: function(match, context, isXML){\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && !isXML ) {\n\t\t\t\tvar m = context.getElementById(match[1]);\n\t\t\t\treturn m ? [m] : [];\n\t\t\t}\n\t\t},\n\t\tNAME: function(match, context, isXML){\n\t\t\tif ( typeof context.getElementsByName !== \"undefined\" ) {\n\t\t\t\tvar ret = [], results = context.getElementsByName(match[1]);\n\n\t\t\t\tfor ( var i = 0, l = results.length; i < l; i++ ) {\n\t\t\t\t\tif ( results[i].getAttribute(\"name\") === match[1] ) {\n\t\t\t\t\t\tret.push( results[i] );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn ret.length === 0 ? null : ret;\n\t\t\t}\n\t\t},\n\t\tTAG: function(match, context){\n\t\t\treturn context.getElementsByTagName(match[1]);\n\t\t}\n\t},\n\tpreFilter: {\n\t\tCLASS: function(match, curLoop, inplace, result, not, isXML){\n\t\t\tmatch = \" \" + match[1].replace(/\\\\/g, \"\") + \" \";\n\n\t\t\tif ( isXML ) {\n\t\t\t\treturn match;\n\t\t\t}\n\n\t\t\tfor ( var i = 0, elem; (elem = curLoop[i]) != null; i++ ) {\n\t\t\t\tif ( elem ) {\n\t\t\t\t\tif ( not ^ (elem.className && (\" \" + elem.className + \" \").indexOf(match) >= 0) ) {\n\t\t\t\t\t\tif ( !inplace )\n\t\t\t\t\t\t\tresult.push( elem );\n\t\t\t\t\t} else if ( inplace ) {\n\t\t\t\t\t\tcurLoop[i] = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn false;\n\t\t},\n\t\tID: function(match){\n\t\t\treturn match[1].replace(/\\\\/g, \"\");\n\t\t},\n\t\tTAG: function(match, curLoop){\n\t\t\tfor ( var i = 0; curLoop[i] === false; i++ ){}\n\t\t\treturn curLoop[i] && isXML(curLoop[i]) ? match[1] : match[1].toUpperCase();\n\t\t},\n\t\tCHILD: function(match){\n\t\t\tif ( match[1] == \"nth\" ) {\n\t\t\t\t// parse equations like 'even', 'odd', '5', '2n', '3n+2', '4n-1', '-n+6'\n\t\t\t\tvar test = /(-?)(\\d*)n((?:\\+|-)?\\d*)/.exec(\n\t\t\t\t\tmatch[2] == \"even\" && \"2n\" || match[2] == \"odd\" && \"2n+1\" ||\n\t\t\t\t\t!/\\D/.test( match[2] ) && \"0n+\" + match[2] || match[2]);\n\n\t\t\t\t// calculate the numbers (first)n+(last) including if they are negative\n\t\t\t\tmatch[2] = (test[1] + (test[2] || 1)) - 0;\n\t\t\t\tmatch[3] = test[3] - 0;\n\t\t\t}\n\n\t\t\t// TODO: Move to normal caching system\n\t\t\tmatch[0] = done++;\n\n\t\t\treturn match;\n\t\t},\n\t\tATTR: function(match, curLoop, inplace, result, not, isXML){\n\t\t\tvar name = match[1].replace(/\\\\/g, \"\");\n\t\t\t\n\t\t\tif ( !isXML && Expr.attrMap[name] ) {\n\t\t\t\tmatch[1] = Expr.attrMap[name];\n\t\t\t}\n\n\t\t\tif ( match[2] === \"~=\" ) {\n\t\t\t\tmatch[4] = \" \" + match[4] + \" \";\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\t\tPSEUDO: function(match, curLoop, inplace, result, not){\n\t\t\tif ( match[1] === \"not\" ) {\n\t\t\t\t// If we're dealing with a complex expression, or a simple one\n\t\t\t\tif ( match[3].match(chunker).length > 1 || /^\\w/.test(match[3]) ) {\n\t\t\t\t\tmatch[3] = Sizzle(match[3], null, null, curLoop);\n\t\t\t\t} else {\n\t\t\t\t\tvar ret = Sizzle.filter(match[3], curLoop, inplace, true ^ not);\n\t\t\t\t\tif ( !inplace ) {\n\t\t\t\t\t\tresult.push.apply( result, ret );\n\t\t\t\t\t}\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t} else if ( Expr.match.POS.test( match[0] ) || Expr.match.CHILD.test( match[0] ) ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\t\n\t\t\treturn match;\n\t\t},\n\t\tPOS: function(match){\n\t\t\tmatch.unshift( true );\n\t\t\treturn match;\n\t\t}\n\t},\n\tfilters: {\n\t\tenabled: function(elem){\n\t\t\treturn elem.disabled === false && elem.type !== \"hidden\";\n\t\t},\n\t\tdisabled: function(elem){\n\t\t\treturn elem.disabled === true;\n\t\t},\n\t\tchecked: function(elem){\n\t\t\treturn elem.checked === true;\n\t\t},\n\t\tselected: function(elem){\n\t\t\t// Accessing this property makes selected-by-default\n\t\t\t// options in Safari work properly\n\t\t\telem.parentNode.selectedIndex;\n\t\t\treturn elem.selected === true;\n\t\t},\n\t\tparent: function(elem){\n\t\t\treturn !!elem.firstChild;\n\t\t},\n\t\tempty: function(elem){\n\t\t\treturn !elem.firstChild;\n\t\t},\n\t\thas: function(elem, i, match){\n\t\t\treturn !!Sizzle( match[3], elem ).length;\n\t\t},\n\t\theader: function(elem){\n\t\t\treturn /h\\d/i.test( elem.nodeName );\n\t\t},\n\t\ttext: function(elem){\n\t\t\treturn \"text\" === elem.type;\n\t\t},\n\t\tradio: function(elem){\n\t\t\treturn \"radio\" === elem.type;\n\t\t},\n\t\tcheckbox: function(elem){\n\t\t\treturn \"checkbox\" === elem.type;\n\t\t},\n\t\tfile: function(elem){\n\t\t\treturn \"file\" === elem.type;\n\t\t},\n\t\tpassword: function(elem){\n\t\t\treturn \"password\" === elem.type;\n\t\t},\n\t\tsubmit: function(elem){\n\t\t\treturn \"submit\" === elem.type;\n\t\t},\n\t\timage: function(elem){\n\t\t\treturn \"image\" === elem.type;\n\t\t},\n\t\treset: function(elem){\n\t\t\treturn \"reset\" === elem.type;\n\t\t},\n\t\tbutton: function(elem){\n\t\t\treturn \"button\" === elem.type || elem.nodeName.toUpperCase() === \"BUTTON\";\n\t\t},\n\t\tinput: function(elem){\n\t\t\treturn /input|select|textarea|button/i.test(elem.nodeName);\n\t\t}\n\t},\n\tsetFilters: {\n\t\tfirst: function(elem, i){\n\t\t\treturn i === 0;\n\t\t},\n\t\tlast: function(elem, i, match, array){\n\t\t\treturn i === array.length - 1;\n\t\t},\n\t\teven: function(elem, i){\n\t\t\treturn i % 2 === 0;\n\t\t},\n\t\todd: function(elem, i){\n\t\t\treturn i % 2 === 1;\n\t\t},\n\t\tlt: function(elem, i, match){\n\t\t\treturn i < match[3] - 0;\n\t\t},\n\t\tgt: function(elem, i, match){\n\t\t\treturn i > match[3] - 0;\n\t\t},\n\t\tnth: function(elem, i, match){\n\t\t\treturn match[3] - 0 == i;\n\t\t},\n\t\teq: function(elem, i, match){\n\t\t\treturn match[3] - 0 == i;\n\t\t}\n\t},\n\tfilter: {\n\t\tPSEUDO: function(elem, match, i, array){\n\t\t\tvar name = match[1], filter = Expr.filters[ name ];\n\n\t\t\tif ( filter ) {\n\t\t\t\treturn filter( elem, i, match, array );\n\t\t\t} else if ( name === \"contains\" ) {\n\t\t\t\treturn (elem.textContent || elem.innerText || \"\").indexOf(match[3]) >= 0;\n\t\t\t} else if ( name === \"not\" ) {\n\t\t\t\tvar not = match[3];\n\n\t\t\t\tfor ( var i = 0, l = not.length; i < l; i++ ) {\n\t\t\t\t\tif ( not[i] === elem ) {\n\t\t\t\t\t\treturn false;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn true;\n\t\t\t}\n\t\t},\n\t\tCHILD: function(elem, match){\n\t\t\tvar type = match[1], node = elem;\n\t\t\tswitch (type) {\n\t\t\t\tcase 'only':\n\t\t\t\tcase 'first':\n\t\t\t\t\twhile (node = node.previousSibling) {\n\t\t\t\t\t\tif ( node.nodeType === 1 ) return false;\n\t\t\t\t\t}\n\t\t\t\t\tif ( type == 'first') return true;\n\t\t\t\t\tnode = elem;\n\t\t\t\tcase 'last':\n\t\t\t\t\twhile (node = node.nextSibling) {\n\t\t\t\t\t\tif ( node.nodeType === 1 ) return false;\n\t\t\t\t\t}\n\t\t\t\t\treturn true;\n\t\t\t\tcase 'nth':\n\t\t\t\t\tvar first = match[2], last = match[3];\n\n\t\t\t\t\tif ( first == 1 && last == 0 ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tvar doneName = match[0],\n\t\t\t\t\t\tparent = elem.parentNode;\n\t\n\t\t\t\t\tif ( parent && (parent.sizcache !== doneName || !elem.nodeIndex) ) {\n\t\t\t\t\t\tvar count = 0;\n\t\t\t\t\t\tfor ( node = parent.firstChild; node; node = node.nextSibling ) {\n\t\t\t\t\t\t\tif ( node.nodeType === 1 ) {\n\t\t\t\t\t\t\t\tnode.nodeIndex = ++count;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} \n\t\t\t\t\t\tparent.sizcache = doneName;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tvar diff = elem.nodeIndex - last;\n\t\t\t\t\tif ( first == 0 ) {\n\t\t\t\t\t\treturn diff == 0;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn ( diff % first == 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\tID: function(elem, match){\n\t\t\treturn elem.nodeType === 1 && elem.getAttribute(\"id\") === match;\n\t\t},\n\t\tTAG: function(elem, match){\n\t\t\treturn (match === \"*\" && elem.nodeType === 1) || elem.nodeName === match;\n\t\t},\n\t\tCLASS: function(elem, match){\n\t\t\treturn (\" \" + (elem.className || elem.getAttribute(\"class\")) + \" \")\n\t\t\t\t.indexOf( match ) > -1;\n\t\t},\n\t\tATTR: function(elem, match){\n\t\t\tvar name = match[1],\n\t\t\t\tresult = Expr.attrHandle[ name ] ?\n\t\t\t\t\tExpr.attrHandle[ name ]( elem ) :\n\t\t\t\t\telem[ name ] != null ?\n\t\t\t\t\t\telem[ name ] :\n\t\t\t\t\t\telem.getAttribute( name ),\n\t\t\t\tvalue = result + \"\",\n\t\t\t\ttype = match[2],\n\t\t\t\tcheck = match[4];\n\n\t\t\treturn result == null ?\n\t\t\t\ttype === \"!=\" :\n\t\t\t\ttype === \"=\" ?\n\t\t\t\tvalue === check :\n\t\t\t\ttype === \"*=\" ?\n\t\t\t\tvalue.indexOf(check) >= 0 :\n\t\t\t\ttype === \"~=\" ?\n\t\t\t\t(\" \" + value + \" \").indexOf(check) >= 0 :\n\t\t\t\t!check ?\n\t\t\t\tvalue && result !== false :\n\t\t\t\ttype === \"!=\" ?\n\t\t\t\tvalue != check :\n\t\t\t\ttype === \"^=\" ?\n\t\t\t\tvalue.indexOf(check) === 0 :\n\t\t\t\ttype === \"$=\" ?\n\t\t\t\tvalue.substr(value.length - check.length) === check :\n\t\t\t\ttype === \"|=\" ?\n\t\t\t\tvalue === check || value.substr(0, check.length + 1) === check + \"-\" :\n\t\t\t\tfalse;\n\t\t},\n\t\tPOS: function(elem, match, i, array){\n\t\t\tvar name = match[2], filter = Expr.setFilters[ name ];\n\n\t\t\tif ( filter ) {\n\t\t\t\treturn filter( elem, i, match, array );\n\t\t\t}\n\t\t}\n\t}\n};\n\nvar origPOS = Expr.match.POS;\n\nfor ( var type in Expr.match ) {\n\tExpr.match[ type ] = RegExp( Expr.match[ type ].source + /(?![^\\[]*\\])(?![^\\(]*\\))/.source );\n}\n\nvar makeArray = function(array, results) {\n\tarray = Array.prototype.slice.call( array );\n\n\tif ( results ) {\n\t\tresults.push.apply( results, array );\n\t\treturn results;\n\t}\n\t\n\treturn array;\n};\n\n// Perform a simple check to determine if the browser is capable of\n// converting a NodeList to an array using builtin methods.\ntry {\n\tArray.prototype.slice.call( document.documentElement.childNodes );\n\n// Provide a fallback method if it does not work\n} catch(e){\n\tmakeArray = function(array, results) {\n\t\tvar ret = results || [];\n\n\t\tif ( toString.call(array) === \"[object Array]\" ) {\n\t\t\tArray.prototype.push.apply( ret, array );\n\t\t} else {\n\t\t\tif ( typeof array.length === \"number\" ) {\n\t\t\t\tfor ( var i = 0, l = array.length; i < l; i++ ) {\n\t\t\t\t\tret.push( array[i] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( var i = 0; array[i]; i++ ) {\n\t\t\t\t\tret.push( array[i] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t};\n}\n\nvar sortOrder;\n\nif ( document.documentElement.compareDocumentPosition ) {\n\tsortOrder = function( a, b ) {\n\t\tvar ret = a.compareDocumentPosition(b) & 4 ? -1 : a === b ? 0 : 1;\n\t\tif ( ret === 0 ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn ret;\n\t};\n} else if ( \"sourceIndex\" in document.documentElement ) {\n\tsortOrder = function( a, b ) {\n\t\tvar ret = a.sourceIndex - b.sourceIndex;\n\t\tif ( ret === 0 ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn ret;\n\t};\n} else if ( document.createRange ) {\n\tsortOrder = function( a, b ) {\n\t\tvar aRange = a.ownerDocument.createRange(), bRange = b.ownerDocument.createRange();\n\t\taRange.selectNode(a);\n\t\taRange.collapse(true);\n\t\tbRange.selectNode(b);\n\t\tbRange.collapse(true);\n\t\tvar ret = aRange.compareBoundaryPoints(Range.START_TO_END, bRange);\n\t\tif ( ret === 0 ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn ret;\n\t};\n}\n\n// Check to see if the browser returns elements by name when\n// querying by getElementById (and provide a workaround)\n(function(){\n\t// We're going to inject a fake input element with a specified name\n\tvar form = document.createElement(\"form\"),\n\t\tid = \"script\" + (new Date).getTime();\n\tform.innerHTML = \"<input name='\" + id + \"'/>\";\n\n\t// Inject it into the root element, check its status, and remove it quickly\n\tvar root = document.documentElement;\n\troot.insertBefore( form, root.firstChild );\n\n\t// The workaround has to do additional checks after a getElementById\n\t// Which slows things down for other browsers (hence the branching)\n\tif ( !!document.getElementById( id ) ) {\n\t\tExpr.find.ID = function(match, context, isXML){\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && !isXML ) {\n\t\t\t\tvar m = context.getElementById(match[1]);\n\t\t\t\treturn m ? m.id === match[1] || typeof m.getAttributeNode !== \"undefined\" && m.getAttributeNode(\"id\").nodeValue === match[1] ? [m] : undefined : [];\n\t\t\t}\n\t\t};\n\n\t\tExpr.filter.ID = function(elem, match){\n\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" && elem.getAttributeNode(\"id\");\n\t\t\treturn elem.nodeType === 1 && node && node.nodeValue === match;\n\t\t};\n\t}\n\n\troot.removeChild( form );\n})();\n\n(function(){\n\t// Check to see if the browser returns only elements\n\t// when doing getElementsByTagName(\"*\")\n\n\t// Create a fake element\n\tvar div = document.createElement(\"div\");\n\tdiv.appendChild( document.createComment(\"\") );\n\n\t// Make sure no comments are found\n\tif ( div.getElementsByTagName(\"*\").length > 0 ) {\n\t\tExpr.find.TAG = function(match, context){\n\t\t\tvar results = context.getElementsByTagName(match[1]);\n\n\t\t\t// Filter out possible comments\n\t\t\tif ( match[1] === \"*\" ) {\n\t\t\t\tvar tmp = [];\n\n\t\t\t\tfor ( var i = 0; results[i]; i++ ) {\n\t\t\t\t\tif ( results[i].nodeType === 1 ) {\n\t\t\t\t\t\ttmp.push( results[i] );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tresults = tmp;\n\t\t\t}\n\n\t\t\treturn results;\n\t\t};\n\t}\n\n\t// Check to see if an attribute returns normalized href attributes\n\tdiv.innerHTML = \"<a href='#'></a>\";\n\tif ( div.firstChild && typeof div.firstChild.getAttribute !== \"undefined\" &&\n\t\t\tdiv.firstChild.getAttribute(\"href\") !== \"#\" ) {\n\t\tExpr.attrHandle.href = function(elem){\n\t\t\treturn elem.getAttribute(\"href\", 2);\n\t\t};\n\t}\n})();\n\nif ( document.querySelectorAll ) (function(){\n\tvar oldSizzle = Sizzle, div = document.createElement(\"div\");\n\tdiv.innerHTML = \"<p class='TEST'></p>\";\n\n\t// Safari can't handle uppercase or unicode characters when\n\t// in quirks mode.\n\tif ( div.querySelectorAll && div.querySelectorAll(\".TEST\").length === 0 ) {\n\t\treturn;\n\t}\n\t\n\tSizzle = function(query, context, extra, seed){\n\t\tcontext = context || document;\n\n\t\t// Only use querySelectorAll on non-XML documents\n\t\t// (ID selectors don't work in non-HTML documents)\n\t\tif ( !seed && context.nodeType === 9 && !isXML(context) ) {\n\t\t\ttry {\n\t\t\t\treturn makeArray( context.querySelectorAll(query), extra );\n\t\t\t} catch(e){}\n\t\t}\n\t\t\n\t\treturn oldSizzle(query, context, extra, seed);\n\t};\n\n\tSizzle.find = oldSizzle.find;\n\tSizzle.filter = oldSizzle.filter;\n\tSizzle.selectors = oldSizzle.selectors;\n\tSizzle.matches = oldSizzle.matches;\n})();\nif ( document.getElementsByClassName && document.documentElement.getElementsByClassName ) (function(){\n\tvar div = document.createElement(\"div\");\n\tdiv.innerHTML = \"<div class='test e'></div><div class='test'></div>\";\n\twindow.$ = _$;\n\n\t// Opera can't find a second classname (in 9.6)\n\tif ( div.getElementsByClassName(\"e\").length === 0 )\n\t\treturn;\n\n\t// Safari caches class attributes, doesn't catch changes (in 3.2)\n\tdiv.lastChild.className = \"e\";\n\n\tif ( div.getElementsByClassName(\"e\").length === 1 )\n\t\treturn;\n\n\tExpr.order.splice(1, 0, \"CLASS\");\n\tExpr.find.CLASS = function(match, context, isXML) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && !isXML ) {\n\t\t\treturn context.getElementsByClassName(match[1]);\n\t\t}\n\t};\n\twindow.$ = jQuery;\n})();\n\nfunction dirNodeCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {\n\tvar sibDir = dir == \"previousSibling\" && !isXML;\n\tfor ( var i = 0, l = checkSet.length; i < l; i++ ) {\n\t\tvar elem = checkSet[i];\n\t\tif ( elem ) {\n\t\t\tif ( sibDir && elem.nodeType === 1 ){\n\t\t\t\telem.sizcache = doneName;\n\t\t\t\telem.sizset = i;\n\t\t\t}\n\t\t\telem = elem[dir];\n\t\t\tvar match = false;\n\n\t\t\twhile ( elem ) {\n\t\t\t\tif ( elem.sizcache === doneName ) {\n\t\t\t\t\tmatch = checkSet[elem.sizset];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif ( elem.nodeType === 1 && !isXML ){\n\t\t\t\t\telem.sizcache = doneName;\n\t\t\t\t\telem.sizset = i;\n\t\t\t\t}\n\n\t\t\t\tif ( elem.nodeName === cur ) {\n\t\t\t\t\tmatch = elem;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\telem = elem[dir];\n\t\t\t}\n\n\t\t\tcheckSet[i] = match;\n\t\t}\n\t}\n}\n\nfunction dirCheck( dir, cur, doneName, checkSet, nodeCheck, isXML ) {\n\tvar sibDir = dir == \"previousSibling\" && !isXML;\n\tfor ( var i = 0, l = checkSet.length; i < l; i++ ) {\n\t\tvar elem = checkSet[i];\n\t\tif ( elem ) {\n\t\t\tif ( sibDir && elem.nodeType === 1 ) {\n\t\t\t\telem.sizcache = doneName;\n\t\t\t\telem.sizset = i;\n\t\t\t}\n\t\t\telem = elem[dir];\n\t\t\tvar match = false;\n\n\t\t\twhile ( elem ) {\n\t\t\t\tif ( elem.sizcache === doneName ) {\n\t\t\t\t\tmatch = checkSet[elem.sizset];\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\n\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\tif ( !isXML ) {\n\t\t\t\t\t\telem.sizcache = doneName;\n\t\t\t\t\t\telem.sizset = i;\n\t\t\t\t\t}\n\t\t\t\t\tif ( typeof cur !== \"string\" ) {\n\t\t\t\t\t\tif ( elem === cur ) {\n\t\t\t\t\t\t\tmatch = true;\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t} else if ( Sizzle.filter( cur, [elem] ).length > 0 ) {\n\t\t\t\t\t\tmatch = elem;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\telem = elem[dir];\n\t\t\t}\n\n\t\t\tcheckSet[i] = match;\n\t\t}\n\t}\n}\n\nvar contains = document.compareDocumentPosition ? function(a, b){\n\treturn a.compareDocumentPosition(b) & 16;\n} : function(a, b){\n\treturn a !== b && (a.contains ? a.contains(b) : true);\n};\n\nvar isXML = function(elem){\n\treturn elem.nodeType === 9 && elem.documentElement.nodeName !== \"HTML\" ||\n\t\t!!elem.ownerDocument && isXML( elem.ownerDocument );\n};\n\nvar posProcess = function(selector, context){\n\tvar tmpSet = [], later = \"\", match,\n\t\troot = context.nodeType ? [context] : context;\n\n\t// Position selectors must be done after the filter\n\t// And so must :not(positional) so we move all PSEUDOs to the end\n\twhile ( (match = Expr.match.PSEUDO.exec( selector )) ) {\n\t\tlater += match[0];\n\t\tselector = selector.replace( Expr.match.PSEUDO, \"\" );\n\t}\n\n\tselector = Expr.relative[selector] ? selector + \"*\" : selector;\n\n\tfor ( var i = 0, l = root.length; i < l; i++ ) {\n\t\tSizzle( selector, root[i], tmpSet );\n\t}\n\n\treturn Sizzle.filter( later, tmpSet );\n};\n\n// EXPOSE\njQuery.find = Sizzle;\njQuery.filter = Sizzle.filter;\njQuery.expr = Sizzle.selectors;\njQuery.expr[\":\"] = jQuery.expr.filters;\n\nSizzle.selectors.filters.hidden = function(elem){\n\treturn elem.offsetWidth === 0 || elem.offsetHeight === 0;\n};\n\nSizzle.selectors.filters.visible = function(elem){\n\treturn elem.offsetWidth > 0 || elem.offsetHeight > 0;\n};\n\nSizzle.selectors.filters.animated = function(elem){\n\treturn jQuery.grep(jQuery.timers, function(fn){\n\t\treturn elem === fn.elem;\n\t}).length;\n};\n\njQuery.multiFilter = function( expr, elems, not ) {\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\treturn Sizzle.matches(expr, elems);\n};\n\njQuery.dir = function( elem, dir ){\n\tvar matched = [], cur = elem[dir];\n\twhile ( cur && cur != document ) {\n\t\tif ( cur.nodeType == 1 )\n\t\t\tmatched.push( cur );\n\t\tcur = cur[dir];\n\t}\n\treturn matched;\n};\n\njQuery.nth = function(cur, result, dir, elem){\n\tresult = result || 1;\n\tvar num = 0;\n\n\tfor ( ; cur; cur = cur[dir] )\n\t\tif ( cur.nodeType == 1 && ++num == result )\n\t\t\tbreak;\n\n\treturn cur;\n};\n\njQuery.sibling = function(n, elem){\n\tvar r = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType == 1 && n != elem )\n\t\t\tr.push( n );\n\t}\n\n\treturn r;\n};\n\nreturn;\n\nwindow.Sizzle = Sizzle;\n\n})();\n/*\n * A number of helper functions used for managing events.\n * Many of the ideas behind this code originated from\n * Dean Edwards' addEvent library.\n */\njQuery.event = {\n\n\t// Bind an event to an element\n\t// Original by Dean Edwards\n\tadd: function(elem, types, handler, data) {\n\t\tif ( elem.nodeType == 3 || elem.nodeType == 8 )\n\t\t\treturn;\n\n\t\t// For whatever reason, IE has trouble passing the window object\n\t\t// around, causing it to be cloned in the process\n\t\tif ( elem.setInterval && elem != window )\n\t\t\telem = window;\n\n\t\t// Make sure that the function being executed has a unique ID\n\t\tif ( !handler.guid )\n\t\t\thandler.guid = this.guid++;\n\n\t\t// if data is passed, bind to handler\n\t\tif ( data !== undefined ) {\n\t\t\t// Create temporary function pointer to original handler\n\t\t\tvar fn = handler;\n\n\t\t\t// Create unique handler function, wrapped around original handler\n\t\t\thandler = this.proxy( fn );\n\n\t\t\t// Store data in unique handler\n\t\t\thandler.data = data;\n\t\t}\n\n\t\t// Init the element's event structure\n\t\tvar events = jQuery.data(elem, \"events\") || jQuery.data(elem, \"events\", {}),\n\t\t\thandle = jQuery.data(elem, \"handle\") || jQuery.data(elem, \"handle\", function(){\n\t\t\t\t// Handle the second event of a trigger and when\n\t\t\t\t// an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && !jQuery.event.triggered ?\n\t\t\t\t\tjQuery.event.handle.apply(arguments.callee.elem, arguments) :\n\t\t\t\t\tundefined;\n\t\t\t});\n\t\t// Add elem as a property of the handle function\n\t\t// This is to prevent a memory leak with non-native\n\t\t// event in IE.\n\t\thandle.elem = elem;\n\n\t\t// Handle multiple events separated by a space\n\t\t// jQuery(...).bind(\"mouseover mouseout\", fn);\n\t\tjQuery.each(types.split(/\\s+/), function(index, type) {\n\t\t\t// Namespaced event handlers\n\t\t\tvar namespaces = type.split(\".\");\n\t\t\ttype = namespaces.shift();\n\t\t\thandler.type = namespaces.slice().sort().join(\".\");\n\n\t\t\t// Get the current list of functions bound to this event\n\t\t\tvar handlers = events[type];\n\t\t\t\n\t\t\tif ( jQuery.event.specialAll[type] )\n\t\t\t\tjQuery.event.specialAll[type].setup.call(elem, data, namespaces);\n\n\t\t\t// Init the event handler queue\n\t\t\tif (!handlers) {\n\t\t\t\thandlers = events[type] = {};\n\n\t\t\t\t// Check for a special event handler\n\t\t\t\t// Only use addEventListener/attachEvent if the special\n\t\t\t\t// events handler returns false\n\t\t\t\tif ( !jQuery.event.special[type] || jQuery.event.special[type].setup.call(elem, data, namespaces) === false ) {\n\t\t\t\t\t// Bind the global event handler to the element\n\t\t\t\t\tif (elem.addEventListener)\n\t\t\t\t\t\telem.addEventListener(type, handle, false);\n\t\t\t\t\telse if (elem.attachEvent)\n\t\t\t\t\t\telem.attachEvent(\"on\" + type, handle);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add the function to the element's handler list\n\t\t\thandlers[handler.guid] = handler;\n\n\t\t\t// Keep track of which events have been used, for global triggering\n\t\t\tjQuery.event.global[type] = true;\n\t\t});\n\n\t\t// Nullify elem to prevent memory leaks in IE\n\t\telem = null;\n\t},\n\n\tguid: 1,\n\tglobal: {},\n\n\t// Detach an event or set of events from an element\n\tremove: function(elem, types, handler) {\n\t\t// don't do events on text and comment nodes\n\t\tif ( elem.nodeType == 3 || elem.nodeType == 8 )\n\t\t\treturn;\n\n\t\tvar events = jQuery.data(elem, \"events\"), ret, index;\n\n\t\tif ( events ) {\n\t\t\t// Unbind all events for the element\n\t\t\tif ( types === undefined || (typeof types === \"string\" && types.charAt(0) == \".\") )\n\t\t\t\tfor ( var type in events )\n\t\t\t\t\tthis.remove( elem, type + (types || \"\") );\n\t\t\telse {\n\t\t\t\t// types is actually an event object here\n\t\t\t\tif ( types.type ) {\n\t\t\t\t\thandler = types.handler;\n\t\t\t\t\ttypes = types.type;\n\t\t\t\t}\n\n\t\t\t\t// Handle multiple events seperated by a space\n\t\t\t\t// jQuery(...).unbind(\"mouseover mouseout\", fn);\n\t\t\t\tjQuery.each(types.split(/\\s+/), function(index, type){\n\t\t\t\t\t// Namespaced event handlers\n\t\t\t\t\tvar namespaces = type.split(\".\");\n\t\t\t\t\ttype = namespaces.shift();\n\t\t\t\t\tvar namespace = RegExp(\"(^|\\\\.)\" + namespaces.slice().sort().join(\".*\\\\.\") + \"(\\\\.|$)\");\n\n\t\t\t\t\tif ( events[type] ) {\n\t\t\t\t\t\t// remove the given handler for the given type\n\t\t\t\t\t\tif ( handler )\n\t\t\t\t\t\t\tdelete events[type][handler.guid];\n\n\t\t\t\t\t\t// remove all handlers for the given type\n\t\t\t\t\t\telse\n\t\t\t\t\t\t\tfor ( var handle in events[type] )\n\t\t\t\t\t\t\t\t// Handle the removal of namespaced events\n\t\t\t\t\t\t\t\tif ( namespace.test(events[type][handle].type) )\n\t\t\t\t\t\t\t\t\tdelete events[type][handle];\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\tif ( jQuery.event.specialAll[type] )\n\t\t\t\t\t\t\tjQuery.event.specialAll[type].teardown.call(elem, namespaces);\n\n\t\t\t\t\t\t// remove generic event handler if no more handlers exist\n\t\t\t\t\t\tfor ( ret in events[type] ) break;\n\t\t\t\t\t\tif ( !ret ) {\n\t\t\t\t\t\t\tif ( !jQuery.event.special[type] || jQuery.event.special[type].teardown.call(elem, namespaces) === false ) {\n\t\t\t\t\t\t\t\tif (elem.removeEventListener)\n\t\t\t\t\t\t\t\t\telem.removeEventListener(type, jQuery.data(elem, \"handle\"), false);\n\t\t\t\t\t\t\t\telse if (elem.detachEvent)\n\t\t\t\t\t\t\t\t\telem.detachEvent(\"on\" + type, jQuery.data(elem, \"handle\"));\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tret = null;\n\t\t\t\t\t\t\tdelete events[type];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Remove the expando if it's no longer used\n\t\t\tfor ( ret in events ) break;\n\t\t\tif ( !ret ) {\n\t\t\t\tvar handle = jQuery.data( elem, \"handle\" );\n\t\t\t\tif ( handle ) handle.elem = null;\n\t\t\t\tjQuery.removeData( elem, \"events\" );\n\t\t\t\tjQuery.removeData( elem, \"handle\" );\n\t\t\t}\n\t\t}\n\t},\n\n\t// bubbling is internal\n\ttrigger: function( event, data, elem, bubbling ) {\n\t\t// Event object or event type\n\t\tvar type = event.type || event;\n\n\t\tif( !bubbling ){\n\t\t\tevent = typeof event === \"object\" ?\n\t\t\t\t// jQuery.Event object\n\t\t\t\tevent[expando] ? event :\n\t\t\t\t// Object literal\n\t\t\t\tjQuery.extend( jQuery.Event(type), event ) :\n\t\t\t\t// Just the event type (string)\n\t\t\t\tjQuery.Event(type);\n\n\t\t\tif ( type.indexOf(\"!\") >= 0 ) {\n\t\t\t\tevent.type = type = type.slice(0, -1);\n\t\t\t\tevent.exclusive = true;\n\t\t\t}\n\n\t\t\t// Handle a global trigger\n\t\t\tif ( !elem ) {\n\t\t\t\t// Don't bubble custom events when global (to avoid too much overhead)\n\t\t\t\tevent.stopPropagation();\n\t\t\t\t// Only trigger if we've ever bound an event for it\n\t\t\t\tif ( this.global[type] )\n\t\t\t\t\tjQuery.each( jQuery.cache, function(){\n\t\t\t\t\t\tif ( this.events && this.events[type] )\n\t\t\t\t\t\t\tjQuery.event.trigger( event, data, this.handle.elem );\n\t\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Handle triggering a single element\n\n\t\t\t// don't do events on text and comment nodes\n\t\t\tif ( !elem || elem.nodeType == 3 || elem.nodeType == 8 )\n\t\t\t\treturn undefined;\n\t\t\t\n\t\t\t// Clean up in case it is reused\n\t\t\tevent.result = undefined;\n\t\t\tevent.target = elem;\n\t\t\t\n\t\t\t// Clone the incoming data, if any\n\t\t\tdata = jQuery.makeArray(data);\n\t\t\tdata.unshift( event );\n\t\t}\n\n\t\tevent.currentTarget = elem;\n\n\t\t// Trigger the event, it is assumed that \"handle\" is a function\n\t\tvar handle = jQuery.data(elem, \"handle\");\n\t\tif ( handle )\n\t\t\thandle.apply( elem, data );\n\n\t\t// Handle triggering native .onfoo handlers (and on links since we don't call .click() for links)\n\t\tif ( (!elem[type] || (jQuery.nodeName(elem, 'a') && type == \"click\")) && elem[\"on\"+type] && elem[\"on\"+type].apply( elem, data ) === false )\n\t\t\tevent.result = false;\n\n\t\t// Trigger the native events (except for clicks on links)\n\t\tif ( !bubbling && elem[type] && !event.isDefaultPrevented() && !(jQuery.nodeName(elem, 'a') && type == \"click\") ) {\n\t\t\tthis.triggered = true;\n\t\t\ttry {\n\t\t\t\telem[ type ]();\n\t\t\t// prevent IE from throwing an error for some hidden elements\n\t\t\t} catch (e) {}\n\t\t}\n\n\t\tthis.triggered = false;\n\n\t\tif ( !event.isPropagationStopped() ) {\n\t\t\tvar parent = elem.parentNode || elem.ownerDocument;\n\t\t\tif ( parent )\n\t\t\t\tjQuery.event.trigger(event, data, parent, true);\n\t\t}\n\t},\n\n\thandle: function(event) {\n\t\t// returned undefined or false\n\t\tvar all, handlers;\n\n\t\tevent = arguments[0] = jQuery.event.fix( event || window.event );\n\t\tevent.currentTarget = this;\n\t\t\n\t\t// Namespaced event handlers\n\t\tvar namespaces = event.type.split(\".\");\n\t\tevent.type = namespaces.shift();\n\n\t\t// Cache this now, all = true means, any handler\n\t\tall = !namespaces.length && !event.exclusive;\n\t\t\n\t\tvar namespace = RegExp(\"(^|\\\\.)\" + namespaces.slice().sort().join(\".*\\\\.\") + \"(\\\\.|$)\");\n\n\t\thandlers = ( jQuery.data(this, \"events\") || {} )[event.type];\n\n\t\tfor ( var j in handlers ) {\n\t\t\tvar handler = handlers[j];\n\n\t\t\t// Filter the functions by class\n\t\t\tif ( all || namespace.test(handler.type) ) {\n\t\t\t\t// Pass in a reference to the handler function itself\n\t\t\t\t// So that we can later remove it\n\t\t\t\tevent.handler = handler;\n\t\t\t\tevent.data = handler.data;\n\n\t\t\t\tvar ret = handler.apply(this, arguments);\n\n\t\t\t\tif( ret !== undefined ){\n\t\t\t\t\tevent.result = ret;\n\t\t\t\t\tif ( ret === false ) {\n\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif( event.isImmediatePropagationStopped() )\n\t\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\t},\n\n\tprops: \"altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode metaKey newValue originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which\".split(\" \"),\n\n\tfix: function(event) {\n\t\tif ( event[expando] )\n\t\t\treturn event;\n\n\t\t// store a copy of the original event object\n\t\t// and \"clone\" to set read-only properties\n\t\tvar originalEvent = event;\n\t\tevent = jQuery.Event( originalEvent );\n\n\t\tfor ( var i = this.props.length, prop; i; ){\n\t\t\tprop = this.props[ --i ];\n\t\t\tevent[ prop ] = originalEvent[ prop ];\n\t\t}\n\n\t\t// Fix target property, if necessary\n\t\tif ( !event.target )\n\t\t\tevent.target = event.srcElement || document; // Fixes #1925 where srcElement might not be defined either\n\n\t\t// check if target is a textnode (safari)\n\t\tif ( event.target.nodeType == 3 )\n\t\t\tevent.target = event.target.parentNode;\n\n\t\t// Add relatedTarget, if necessary\n\t\tif ( !event.relatedTarget && event.fromElement )\n\t\t\tevent.relatedTarget = event.fromElement == event.target ? event.toElement : event.fromElement;\n\n\t\t// Calculate pageX/Y if missing and clientX/Y available\n\t\tif ( event.pageX == null && event.clientX != null ) {\n\t\t\tvar doc = document.documentElement, body = document.body;\n\t\t\tevent.pageX = event.clientX + (doc && doc.scrollLeft || body && body.scrollLeft || 0) - (doc.clientLeft || 0);\n\t\t\tevent.pageY = event.clientY + (doc && doc.scrollTop || body && body.scrollTop || 0) - (doc.clientTop || 0);\n\t\t}\n\n\t\t// Add which for key events\n\t\tif ( !event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode) )\n\t\t\tevent.which = event.charCode || event.keyCode;\n\n\t\t// Add metaKey to non-Mac browsers (use ctrl for PC's and Meta for Macs)\n\t\tif ( !event.metaKey && event.ctrlKey )\n\t\t\tevent.metaKey = event.ctrlKey;\n\n\t\t// Add which for click: 1 == left; 2 == middle; 3 == right\n\t\t// Note: button is not normalized, so don't use it\n\t\tif ( !event.which && event.button )\n\t\t\tevent.which = (event.button & 1 ? 1 : ( event.button & 2 ? 3 : ( event.button & 4 ? 2 : 0 ) ));\n\n\t\treturn event;\n\t},\n\n\tproxy: function( fn, proxy ){\n\t\tproxy = proxy || function(){ return fn.apply(this, arguments); };\n\t\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\t\tproxy.guid = fn.guid = fn.guid || proxy.guid || this.guid++;\n\t\t// So proxy can be declared as an argument\n\t\treturn proxy;\n\t},\n\n\tspecial: {\n\t\tready: {\n\t\t\t// Make sure the ready event is setup\n\t\t\tsetup: bindReady,\n\t\t\tteardown: function() {}\n\t\t}\n\t},\n\t\n\tspecialAll: {\n\t\tlive: {\n\t\t\tsetup: function( selector, namespaces ){\n\t\t\t\tjQuery.event.add( this, namespaces[0], liveHandler );\n\t\t\t},\n\t\t\tteardown: function( namespaces ){\n\t\t\t\tif ( namespaces.length ) {\n\t\t\t\t\tvar remove = 0, name = RegExp(\"(^|\\\\.)\" + namespaces[0] + \"(\\\\.|$)\");\n\t\t\t\t\t\n\t\t\t\t\tjQuery.each( (jQuery.data(this, \"events\").live || {}), function(){\n\t\t\t\t\t\tif ( name.test(this.type) )\n\t\t\t\t\t\t\tremove++;\n\t\t\t\t\t});\n\t\t\t\t\t\n\t\t\t\t\tif ( remove < 1 )\n\t\t\t\t\t\tjQuery.event.remove( this, namespaces[0], liveHandler );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\njQuery.Event = function( src ){\n\t// Allow instantiation without the 'new' keyword\n\tif( !this.preventDefault )\n\t\treturn new jQuery.Event(src);\n\t\n\t// Event object\n\tif( src && src.type ){\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\t// Event type\n\t}else\n\t\tthis.type = src;\n\n\t// timeStamp is buggy for some events on Firefox(#3843)\n\t// So we won't rely on the native value\n\tthis.timeStamp = now();\n\t\n\t// Mark it as fixed\n\tthis[expando] = true;\n};\n\nfunction returnFalse(){\n\treturn false;\n}\nfunction returnTrue(){\n\treturn true;\n}\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// http://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tpreventDefault: function() {\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tvar e = this.originalEvent;\n\t\tif( !e )\n\t\t\treturn;\n\t\t// if preventDefault exists run it on the original event\n\t\tif (e.preventDefault)\n\t\t\te.preventDefault();\n\t\t// otherwise set the returnValue property of the original event to false (IE)\n\t\te.returnValue = false;\n\t},\n\tstopPropagation: function() {\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tvar e = this.originalEvent;\n\t\tif( !e )\n\t\t\treturn;\n\t\t// if stopPropagation exists run it on the original event\n\t\tif (e.stopPropagation)\n\t\t\te.stopPropagation();\n\t\t// otherwise set the cancelBubble property of the original event to true (IE)\n\t\te.cancelBubble = true;\n\t},\n\tstopImmediatePropagation:function(){\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\t\tthis.stopPropagation();\n\t},\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse\n};\n// Checks if an event happened on an element within another element\n// Used in jQuery.event.special.mouseenter and mouseleave handlers\nvar withinElement = function(event) {\n\t// Check if mouse(over|out) are still within the same parent element\n\tvar parent = event.relatedTarget;\n\t// Traverse up the tree\n\twhile ( parent && parent != this )\n\t\ttry { parent = parent.parentNode; }\n\t\tcatch(e) { parent = this; }\n\t\n\tif( parent != this ){\n\t\t// set the correct event type\n\t\tevent.type = event.data;\n\t\t// handle event if we actually just moused on to a non sub-element\n\t\tjQuery.event.handle.apply( this, arguments );\n\t}\n};\n\t\njQuery.each({ \n\tmouseover: 'mouseenter', \n\tmouseout: 'mouseleave'\n}, function( orig, fix ){\n\tjQuery.event.special[ fix ] = {\n\t\tsetup: function(){\n\t\t\tjQuery.event.add( this, orig, withinElement, fix );\n\t\t},\n\t\tteardown: function(){\n\t\t\tjQuery.event.remove( this, orig, withinElement );\n\t\t}\n\t};\t\t\t \n});\n\njQuery.fn.extend({\n\tbind: function( type, data, fn ) {\n\t\treturn type == \"unload\" ? this.one(type, data, fn) : this.each(function(){\n\t\t\tjQuery.event.add( this, type, fn || data, fn && data );\n\t\t});\n\t},\n\n\tone: function( type, data, fn ) {\n\t\tvar one = jQuery.event.proxy( fn || data, function(event) {\n\t\t\tjQuery(this).unbind(event, one);\n\t\t\treturn (fn || data).apply( this, arguments );\n\t\t});\n\t\treturn this.each(function(){\n\t\t\tjQuery.event.add( this, type, one, fn && data);\n\t\t});\n\t},\n\n\tunbind: function( type, fn ) {\n\t\treturn this.each(function(){\n\t\t\tjQuery.event.remove( this, type, fn );\n\t\t});\n\t},\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each(function(){\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t});\n\t},\n\n\ttriggerHandler: function( type, data ) {\n\t\tif( this[0] ){\n\t\t\tvar event = jQuery.Event(type);\n\t\t\tevent.preventDefault();\n\t\t\tevent.stopPropagation();\n\t\t\tjQuery.event.trigger( event, data, this[0] );\n\t\t\treturn event.result;\n\t\t}\t\t\n\t},\n\n\ttoggle: function( fn ) {\n\t\t// Save reference to arguments for access in closure\n\t\tvar args = arguments, i = 1;\n\n\t\t// link all the functions, so any of them can unbind this click handler\n\t\twhile( i < args.length )\n\t\t\tjQuery.event.proxy( fn, args[i++] );\n\n\t\treturn this.click( jQuery.event.proxy( fn, function(event) {\n\t\t\t// Figure out which function to execute\n\t\t\tthis.lastToggle = ( this.lastToggle || 0 ) % i;\n\n\t\t\t// Make sure that clicks stop\n\t\t\tevent.preventDefault();\n\n\t\t\t// and execute the function\n\t\t\treturn args[ this.lastToggle++ ].apply( this, arguments ) || false;\n\t\t}));\n\t},\n\n\thover: function(fnOver, fnOut) {\n\t\treturn this.mouseenter(fnOver).mouseleave(fnOut);\n\t},\n\n\tready: function(fn) {\n\t\t// Attach the listeners\n\t\tbindReady();\n\n\t\t// If the DOM is already ready\n\t\tif ( jQuery.isReady )\n\t\t\t// Execute the function immediately\n\t\t\tfn.call( document, jQuery );\n\n\t\t// Otherwise, remember the function for later\n\t\telse\n\t\t\t// Add the function to the wait list\n\t\t\tjQuery.readyList.push( fn );\n\n\t\treturn this;\n\t},\n\t\n\tlive: function( type, fn ){\n\t\tvar proxy = jQuery.event.proxy( fn );\n\t\tproxy.guid += this.selector + type;\n\n\t\tjQuery(document).bind( liveConvert(type, this.selector), this.selector, proxy );\n\n\t\treturn this;\n\t},\n\t\n\tdie: function( type, fn ){\n\t\tjQuery(document).unbind( liveConvert(type, this.selector), fn ? { guid: fn.guid + this.selector + type } : null );\n\t\treturn this;\n\t}\n});\n\nfunction liveHandler( event ){\n\tvar check = RegExp(\"(^|\\\\.)\" + event.type + \"(\\\\.|$)\"),\n\t\tstop = true,\n\t\telems = [];\n\n\tjQuery.each(jQuery.data(this, \"events\").live || [], function(i, fn){\n\t\tif ( check.test(fn.type) ) {\n\t\t\tvar elem = jQuery(event.target).closest(fn.data)[0];\n\t\t\tif ( elem )\n\t\t\t\telems.push({ elem: elem, fn: fn });\n\t\t}\n\t});\n\n\telems.sort(function(a,b) {\n\t\treturn jQuery.data(a.elem, \"closest\") - jQuery.data(b.elem, \"closest\");\n\t});\n\t\n\tjQuery.each(elems, function(){\n\t\tif ( this.fn.call(this.elem, event, this.fn.data) === false )\n\t\t\treturn (stop = false);\n\t});\n\n\treturn stop;\n}\n\nfunction liveConvert(type, selector){\n\treturn [\"live\", type, selector.replace(/\\./g, \"`\").replace(/ /g, \"|\")].join(\".\");\n}\n\njQuery.extend({\n\tisReady: false,\n\treadyList: [],\n\t// Handle when the DOM is ready\n\tready: function() {\n\t\t// Make sure that the DOM is not already loaded\n\t\tif ( !jQuery.isReady ) {\n\t\t\t// Remember that the DOM is ready\n\t\t\tjQuery.isReady = true;\n\n\t\t\t// If there are functions bound, to execute\n\t\t\tif ( jQuery.readyList ) {\n\t\t\t\t// Execute all of them\n\t\t\t\tjQuery.each( jQuery.readyList, function(){\n\t\t\t\t\tthis.call( document, jQuery );\n\t\t\t\t});\n\n\t\t\t\t// Reset the list of functions\n\t\t\t\tjQuery.readyList = null;\n\t\t\t}\n\n\t\t\t// Trigger any bound ready events\n\t\t\tjQuery(document).triggerHandler(\"ready\");\n\t\t}\n\t}\n});\n\nvar readyBound = false;\n\nfunction bindReady(){\n\tif ( readyBound ) return;\n\treadyBound = true;\n\n\t// Mozilla, Opera and webkit nightlies currently support this event\n\tif ( document.addEventListener ) {\n\t\t// Use the handy event callback\n\t\tdocument.addEventListener( \"DOMContentLoaded\", function(){\n\t\t\tdocument.removeEventListener( \"DOMContentLoaded\", arguments.callee, false );\n\t\t\tjQuery.ready();\n\t\t}, false );\n\n\t// If IE event model is used\n\t} else if ( document.attachEvent ) {\n\t\t// ensure firing before onload,\n\t\t// maybe late but safe also for iframes\n\t\tdocument.attachEvent(\"onreadystatechange\", function(){\n\t\t\tif ( document.readyState === \"complete\" ) {\n\t\t\t\tdocument.detachEvent( \"onreadystatechange\", arguments.callee );\n\t\t\t\tjQuery.ready();\n\t\t\t}\n\t\t});\n\n\t\t// If IE and not an iframe\n\t\t// continually check to see if the document is ready\n\t\tif ( document.documentElement.doScroll && window == window.top ) (function(){\n\t\t\tif ( jQuery.isReady ) return;\n\n\t\t\ttry {\n\t\t\t\t// If IE is used, use the trick by Diego Perini\n\t\t\t\t// http://javascript.nwbox.com/IEContentLoaded/\n\t\t\t\tdocument.documentElement.doScroll(\"left\");\n\t\t\t} catch( error ) {\n\t\t\t\tsetTimeout( arguments.callee, 0 );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// and execute any waiting functions\n\t\t\tjQuery.ready();\n\t\t})();\n\t}\n\n\t// A fallback to window.onload, that will always work\n\tjQuery.event.add( window, \"load\", jQuery.ready );\n}\n\njQuery.each( (\"blur,focus,load,resize,scroll,unload,click,dblclick,\" +\n\t\"mousedown,mouseup,mousemove,mouseover,mouseout,mouseenter,mouseleave,\" +\n\t\"change,select,submit,keydown,keypress,keyup,error\").split(\",\"), function(i, name){\n\n\t// Handle event binding\n\tjQuery.fn[name] = function(fn){\n\t\treturn fn ? this.bind(name, fn) : this.trigger(name);\n\t};\n});\n\n// Prevent memory leaks in IE\n// And prevent errors on refresh with events like mouseover in other browsers\n// Window isn't included so as not to unbind existing unload events\njQuery( window ).bind( 'unload', function(){ \n\tfor ( var id in jQuery.cache )\n\t\t// Skip the window\n\t\tif ( id != 1 && jQuery.cache[ id ].handle )\n\t\t\tjQuery.event.remove( jQuery.cache[ id ].handle.elem );\n}); \n(function(){\n\n\tjQuery.support = {};\n\n\tvar root = document.documentElement,\n\t\tscript = document.createElement(\"script\"),\n\t\tdiv = document.createElement(\"div\"),\n\t\tid = \"script\" + (new Date).getTime();\n\n\tdiv.style.display = \"none\";\n\tdiv.innerHTML = ' <link/><table></table><a href=\"/a\" style=\"color:red;float:left;opacity:.5;\">a</a><select><option>text</option></select><object><param/></object>';\n\n\tvar all = div.getElementsByTagName(\"*\"),\n\t\ta = div.getElementsByTagName(\"a\")[0];\n\n\t// Can't get basic test support\n\tif ( !all || !all.length || !a ) {\n\t\treturn;\n\t}\n\n\tjQuery.support = {\n\t\t// IE strips leading whitespace when .innerHTML is used\n\t\tleadingWhitespace: div.firstChild.nodeType == 3,\n\t\t\n\t\t// Make sure that tbody elements aren't automatically inserted\n\t\t// IE will insert them into empty tables\n\t\ttbody: !div.getElementsByTagName(\"tbody\").length,\n\t\t\n\t\t// Make sure that you can get all elements in an <object> element\n\t\t// IE 7 always returns no results\n\t\tobjectAll: !!div.getElementsByTagName(\"object\")[0]\n\t\t\t.getElementsByTagName(\"*\").length,\n\t\t\n\t\t// Make sure that link elements get serialized correctly by innerHTML\n\t\t// This requires a wrapper element in IE\n\t\thtmlSerialize: !!div.getElementsByTagName(\"link\").length,\n\t\t\n\t\t// Get the style information from getAttribute\n\t\t// (IE uses .cssText insted)\n\t\tstyle: /red/.test( a.getAttribute(\"style\") ),\n\t\t\n\t\t// Make sure that URLs aren't manipulated\n\t\t// (IE normalizes it by default)\n\t\threfNormalized: a.getAttribute(\"href\") === \"/a\",\n\t\t\n\t\t// Make sure that element opacity exists\n\t\t// (IE uses filter instead)\n\t\topacity: a.style.opacity === \"0.5\",\n\t\t\n\t\t// Verify style float existence\n\t\t// (IE uses styleFloat instead of cssFloat)\n\t\tcssFloat: !!a.style.cssFloat,\n\n\t\t// Will be defined later\n\t\tscriptEval: false,\n\t\tnoCloneEvent: true,\n\t\tboxModel: null\n\t};\n\t\n\tscript.type = \"text/javascript\";\n\ttry {\n\t\tscript.appendChild( document.createTextNode( \"window.\" + id + \"=1;\" ) );\n\t} catch(e){}\n\n\troot.insertBefore( script, root.firstChild );\n\t\n\t// Make sure that the execution of code works by injecting a script\n\t// tag with appendChild/createTextNode\n\t// (IE doesn't support this, fails, and uses .text instead)\n\tif ( window[ id ] ) {\n\t\tjQuery.support.scriptEval = true;\n\t\tdelete window[ id ];\n\t}\n\n\troot.removeChild( script );\n\n\tif ( div.attachEvent && div.fireEvent ) {\n\t\tdiv.attachEvent(\"onclick\", function(){\n\t\t\t// Cloning a node shouldn't copy over any\n\t\t\t// bound event handlers (IE does this)\n\t\t\tjQuery.support.noCloneEvent = false;\n\t\t\tdiv.detachEvent(\"onclick\", arguments.callee);\n\t\t});\n\t\tdiv.cloneNode(true).fireEvent(\"onclick\");\n\t}\n\n\t// Figure out if the W3C box model works as expected\n\t// document.body must exist before we can do this\n\tjQuery(function(){\n\t\tvar div = document.createElement(\"div\");\n\t\tdiv.style.width = div.style.paddingLeft = \"1px\";\n\n\t\tdocument.body.appendChild( div );\n\t\tjQuery.boxModel = jQuery.support.boxModel = div.offsetWidth === 2;\n\t\tdocument.body.removeChild( div ).style.display = 'none';\n\t});\n})();\n\nvar styleFloat = jQuery.support.cssFloat ? \"cssFloat\" : \"styleFloat\";\n\njQuery.props = {\n\t\"for\": \"htmlFor\",\n\t\"class\": \"className\",\n\t\"float\": styleFloat,\n\tcssFloat: styleFloat,\n\tstyleFloat: styleFloat,\n\treadonly: \"readOnly\",\n\tmaxlength: \"maxLength\",\n\tcellspacing: \"cellSpacing\",\n\trowspan: \"rowSpan\",\n\ttabindex: \"tabIndex\"\n};\njQuery.fn.extend({\n\t// Keep a copy of the old load\n\t_load: jQuery.fn.load,\n\n\tload: function( url, params, callback ) {\n\t\tif ( typeof url !== \"string\" )\n\t\t\treturn this._load( url );\n\n\t\tvar off = url.indexOf(\" \");\n\t\tif ( off >= 0 ) {\n\t\t\tvar selector = url.slice(off, url.length);\n\t\t\turl = url.slice(0, off);\n\t\t}\n\n\t\t// Default to a GET request\n\t\tvar type = \"GET\";\n\n\t\t// If the second parameter was provided\n\t\tif ( params )\n\t\t\t// If it's a function\n\t\t\tif ( jQuery.isFunction( params ) ) {\n\t\t\t\t// We assume that it's the callback\n\t\t\t\tcallback = params;\n\t\t\t\tparams = null;\n\n\t\t\t// Otherwise, build a param string\n\t\t\t} else if( typeof params === \"object\" ) {\n\t\t\t\tparams = jQuery.param( params );\n\t\t\t\ttype = \"POST\";\n\t\t\t}\n\n\t\tvar self = this;\n\n\t\t// Request the remote document\n\t\tjQuery.ajax({\n\t\t\turl: url,\n\t\t\ttype: type,\n\t\t\tdataType: \"html\",\n\t\t\tdata: params,\n\t\t\tcomplete: function(res, status){\n\t\t\t\t// If successful, inject the HTML into all the matched elements\n\t\t\t\tif ( status == \"success\" || status == \"notmodified\" )\n\t\t\t\t\t// See if a selector was specified\n\t\t\t\t\tself.html( selector ?\n\t\t\t\t\t\t// Create a dummy div to hold the results\n\t\t\t\t\t\tjQuery(\"<div/>\")\n\t\t\t\t\t\t\t// inject the contents of the document in, removing the scripts\n\t\t\t\t\t\t\t// to avoid any 'Permission Denied' errors in IE\n\t\t\t\t\t\t\t.append(res.responseText.replace(/<script(.|\\s)*?\\/script>/g, \"\"))\n\n\t\t\t\t\t\t\t// Locate the specified elements\n\t\t\t\t\t\t\t.find(selector) :\n\n\t\t\t\t\t\t// If not, just inject the full result\n\t\t\t\t\t\tres.responseText );\n\n\t\t\t\tif( callback )\n\t\t\t\t\tself.each( callback, [res.responseText, status, res] );\n\t\t\t}\n\t\t});\n\t\treturn this;\n\t},\n\n\tserialize: function() {\n\t\treturn jQuery.param(this.serializeArray());\n\t},\n\tserializeArray: function() {\n\t\treturn this.map(function(){\n\t\t\treturn this.elements ? jQuery.makeArray(this.elements) : this;\n\t\t})\n\t\t.filter(function(){\n\t\t\treturn this.name && !this.disabled &&\n\t\t\t\t(this.checked || /select|textarea/i.test(this.nodeName) ||\n\t\t\t\t\t/text|hidden|password|search/i.test(this.type));\n\t\t})\n\t\t.map(function(i, elem){\n\t\t\tvar val = jQuery(this).val();\n\t\t\treturn val == null ? null :\n\t\t\t\tjQuery.isArray(val) ?\n\t\t\t\t\tjQuery.map( val, function(val, i){\n\t\t\t\t\t\treturn {name: elem.name, value: val};\n\t\t\t\t\t}) :\n\t\t\t\t\t{name: elem.name, value: val};\n\t\t}).get();\n\t}\n});\n\n// Attach a bunch of functions for handling common AJAX events\njQuery.each( \"ajaxStart,ajaxStop,ajaxComplete,ajaxError,ajaxSuccess,ajaxSend\".split(\",\"), function(i,o){\n\tjQuery.fn[o] = function(f){\n\t\treturn this.bind(o, f);\n\t};\n});\n\nvar jsc = now();\n\njQuery.extend({\n \n\tget: function( url, data, callback, type ) {\n\t\t// shift arguments if data argument was ommited\n\t\tif ( jQuery.isFunction( data ) ) {\n\t\t\tcallback = data;\n\t\t\tdata = null;\n\t\t}\n\n\t\treturn jQuery.ajax({\n\t\t\ttype: \"GET\",\n\t\t\turl: url,\n\t\t\tdata: data,\n\t\t\tsuccess: callback,\n\t\t\tdataType: type\n\t\t});\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get(url, null, callback, \"script\");\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get(url, data, callback, \"json\");\n\t},\n\n\tpost: function( url, data, callback, type ) {\n\t\tif ( jQuery.isFunction( data ) ) {\n\t\t\tcallback = data;\n\t\t\tdata = {};\n\t\t}\n\n\t\treturn jQuery.ajax({\n\t\t\ttype: \"POST\",\n\t\t\turl: url,\n\t\t\tdata: data,\n\t\t\tsuccess: callback,\n\t\t\tdataType: type\n\t\t});\n\t},\n\n\tajaxSetup: function( settings ) {\n\t\tjQuery.extend( jQuery.ajaxSettings, settings );\n\t},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\tglobal: true,\n\t\ttype: \"GET\",\n\t\tcontentType: \"application/x-www-form-urlencoded\",\n\t\tprocessData: true,\n\t\tasync: true,\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\t*/\n\t\t// Create the request object; Microsoft failed to properly\n\t\t// implement the XMLHttpRequest in IE7, so we use the ActiveXObject when it is available\n\t\t// This function can be overriden by calling jQuery.ajaxSetup\n\t\txhr:function(){\n\t\t\treturn window.ActiveXObject ? new ActiveXObject(\"Microsoft.XMLHTTP\") : new XMLHttpRequest();\n\t\t},\n\t\taccepts: {\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\thtml: \"text/html\",\n\t\t\tscript: \"text/javascript, application/javascript\",\n\t\t\tjson: \"application/json, text/javascript\",\n\t\t\ttext: \"text/plain\",\n\t\t\t_default: \"*/*\"\n\t\t}\n\t},\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\n\tajax: function( s ) {\n\t\t// Extend the settings, but re-extend 's' so that it can be\n\t\t// checked again later (in the test suite, specifically)\n\t\ts = jQuery.extend(true, s, jQuery.extend(true, {}, jQuery.ajaxSettings, s));\n\n\t\tvar jsonp, jsre = /=\\?(&|$)/g, status, data,\n\t\t\ttype = s.type.toUpperCase();\n\n\t\t// convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" )\n\t\t\ts.data = jQuery.param(s.data);\n\n\t\t// Handle JSONP Parameter Callbacks\n\t\tif ( s.dataType == \"jsonp\" ) {\n\t\t\tif ( type == \"GET\" ) {\n\t\t\t\tif ( !s.url.match(jsre) )\n\t\t\t\t\ts.url += (s.url.match(/\\?/) ? \"&\" : \"?\") + (s.jsonp || \"callback\") + \"=?\";\n\t\t\t} else if ( !s.data || !s.data.match(jsre) )\n\t\t\t\ts.data = (s.data ? s.data + \"&\" : \"\") + (s.jsonp || \"callback\") + \"=?\";\n\t\t\ts.dataType = \"json\";\n\t\t}\n\n\t\t// Build temporary JSONP function\n\t\tif ( s.dataType == \"json\" && (s.data && s.data.match(jsre) || s.url.match(jsre)) ) {\n\t\t\tjsonp = \"jsonp\" + jsc++;\n\n\t\t\t// Replace the =? sequence both in the query string and the data\n\t\t\tif ( s.data )\n\t\t\t\ts.data = (s.data + \"\").replace(jsre, \"=\" + jsonp + \"$1\");\n\t\t\ts.url = s.url.replace(jsre, \"=\" + jsonp + \"$1\");\n\n\t\t\t// We need to make sure\n\t\t\t// that a JSONP style response is executed properly\n\t\t\ts.dataType = \"script\";\n\n\t\t\t// Handle JSONP-style loading\n\t\t\twindow[ jsonp ] = function(tmp){\n\t\t\t\tdata = tmp;\n\t\t\t\tsuccess();\n\t\t\t\tcomplete();\n\t\t\t\t// Garbage collect\n\t\t\t\twindow[ jsonp ] = undefined;\n\t\t\t\ttry{ delete window[ jsonp ]; } catch(e){}\n\t\t\t\tif ( head )\n\t\t\t\t\thead.removeChild( script );\n\t\t\t};\n\t\t}\n\n\t\tif ( s.dataType == \"script\" && s.cache == null )\n\t\t\ts.cache = false;\n\n\t\tif ( s.cache === false && type == \"GET\" ) {\n\t\t\tvar ts = now();\n\t\t\t// try replacing _= if it is there\n\t\t\tvar ret = s.url.replace(/(\\?|&)_=.*?(&|$)/, \"$1_=\" + ts + \"$2\");\n\t\t\t// if nothing was replaced, add timestamp to the end\n\t\t\ts.url = ret + ((ret == s.url) ? (s.url.match(/\\?/) ? \"&\" : \"?\") + \"_=\" + ts : \"\");\n\t\t}\n\n\t\t// If data is available, append data to url for get requests\n\t\tif ( s.data && type == \"GET\" ) {\n\t\t\ts.url += (s.url.match(/\\?/) ? \"&\" : \"?\") + s.data;\n\n\t\t\t// IE likes to send both get and post data, prevent this\n\t\t\ts.data = null;\n\t\t}\n\n\t\t// Watch for a new set of requests\n\t\tif ( s.global && ! jQuery.active++ )\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\n\t\t// Matches an absolute URL, and saves the domain\n\t\tvar parts = /^(\\w+:)?\\/\\/([^\\/?#]+)/.exec( s.url );\n\n\t\t// If we're requesting a remote document\n\t\t// and trying to load JSON or Script with a GET\n\t\tif ( s.dataType == \"script\" && type == \"GET\" && parts\n\t\t\t&& ( parts[1] && parts[1] != location.protocol || parts[2] != location.host )){\n\n\t\t\tvar head = document.getElementsByTagName(\"head\")[0];\n\t\t\tvar script = document.createElement(\"script\");\n\t\t\tscript.src = s.url;\n\t\t\tif (s.scriptCharset)\n\t\t\t\tscript.charset = s.scriptCharset;\n\n\t\t\t// Handle Script loading\n\t\t\tif ( !jsonp ) {\n\t\t\t\tvar done = false;\n\n\t\t\t\t// Attach handlers for all browsers\n\t\t\t\tscript.onload = script.onreadystatechange = function(){\n\t\t\t\t\tif ( !done && (!this.readyState ||\n\t\t\t\t\t\t\tthis.readyState == \"loaded\" || this.readyState == \"complete\") ) {\n\t\t\t\t\t\tdone = true;\n\t\t\t\t\t\tsuccess();\n\t\t\t\t\t\tcomplete();\n\n\t\t\t\t\t\t// Handle memory leak in IE\n\t\t\t\t\t\tscript.onload = script.onreadystatechange = null;\n\t\t\t\t\t\thead.removeChild( script );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t}\n\n\t\t\thead.appendChild(script);\n\n\t\t\t// We handle everything using the script element injection\n\t\t\treturn undefined;\n\t\t}\n\n\t\tvar requestDone = false;\n\n\t\t// Create the request object\n\t\tvar xhr = s.xhr();\n\n\t\t// Open the socket\n\t\t// Passing null username, generates a login popup on Opera (#2865)\n\t\tif( s.username )\n\t\t\txhr.open(type, s.url, s.async, s.username, s.password);\n\t\telse\n\t\t\txhr.open(type, s.url, s.async);\n\n\t\t// Need an extra try/catch for cross domain requests in Firefox 3\n\t\ttry {\n\t\t\t// Set the correct header, if data is being sent\n\t\t\tif ( s.data )\n\t\t\t\txhr.setRequestHeader(\"Content-Type\", s.contentType);\n\n\t\t\t// Set the If-Modified-Since header, if ifModified mode.\n\t\t\tif ( s.ifModified )\n\t\t\t\txhr.setRequestHeader(\"If-Modified-Since\",\n\t\t\t\t\tjQuery.lastModified[s.url] || \"Thu, 01 Jan 1970 00:00:00 GMT\" );\n\n\t\t\t// Set header so the called script knows that it's an XMLHttpRequest\n\t\t\txhr.setRequestHeader(\"X-Requested-With\", \"XMLHttpRequest\");\n\n\t\t\t// Set the Accepts header for the server, depending on the dataType\n\t\t\txhr.setRequestHeader(\"Accept\", s.dataType && s.accepts[ s.dataType ] ?\n\t\t\t\ts.accepts[ s.dataType ] + \", */*\" :\n\t\t\t\ts.accepts._default );\n\t\t} catch(e){}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend && s.beforeSend(xhr, s) === false ) {\n\t\t\t// Handle the global AJAX counter\n\t\t\tif ( s.global && ! --jQuery.active )\n\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t// close opended socket\n\t\t\txhr.abort();\n\t\t\treturn false;\n\t\t}\n\n\t\tif ( s.global )\n\t\t\tjQuery.event.trigger(\"ajaxSend\", [xhr, s]);\n\n\t\t// Wait for a response to come back\n\t\tvar onreadystatechange = function(isTimeout){\n\t\t\t// The request was aborted, clear the interval and decrement jQuery.active\n\t\t\tif (xhr.readyState == 0) {\n\t\t\t\tif (ival) {\n\t\t\t\t\t// clear poll interval\n\t\t\t\t\tclearInterval(ival);\n\t\t\t\t\tival = null;\n\t\t\t\t\t// Handle the global AJAX counter\n\t\t\t\t\tif ( s.global && ! --jQuery.active )\n\t\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t// The transfer is complete and the data is available, or the request timed out\n\t\t\t} else if ( !requestDone && xhr && (xhr.readyState == 4 || isTimeout == \"timeout\") ) {\n\t\t\t\trequestDone = true;\n\n\t\t\t\t// clear poll interval\n\t\t\t\tif (ival) {\n\t\t\t\t\tclearInterval(ival);\n\t\t\t\t\tival = null;\n\t\t\t\t}\n\n\t\t\t\tstatus = isTimeout == \"timeout\" ? \"timeout\" :\n\t\t\t\t\t!jQuery.httpSuccess( xhr ) ? \"error\" :\n\t\t\t\t\ts.ifModified && jQuery.httpNotModified( xhr, s.url ) ? \"notmodified\" :\n\t\t\t\t\t\"success\";\n\n\t\t\t\tif ( status == \"success\" ) {\n\t\t\t\t\t// Watch for, and catch, XML document parse errors\n\t\t\t\t\ttry {\n\t\t\t\t\t\t// process the data (runs the xml through httpData regardless of callback)\n\t\t\t\t\t\tdata = jQuery.httpData( xhr, s.dataType, s );\n\t\t\t\t\t} catch(e) {\n\t\t\t\t\t\tstatus = \"parsererror\";\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Make sure that the request was successful or notmodified\n\t\t\t\tif ( status == \"success\" ) {\n\t\t\t\t\t// Cache Last-Modified header, if ifModified mode.\n\t\t\t\t\tvar modRes;\n\t\t\t\t\ttry {\n\t\t\t\t\t\tmodRes = xhr.getResponseHeader(\"Last-Modified\");\n\t\t\t\t\t} catch(e) {} // swallow exception thrown by FF if header is not available\n\n\t\t\t\t\tif ( s.ifModified && modRes )\n\t\t\t\t\t\tjQuery.lastModified[s.url] = modRes;\n\n\t\t\t\t\t// JSONP handles its own success callback\n\t\t\t\t\tif ( !jsonp )\n\t\t\t\t\t\tsuccess();\n\t\t\t\t} else\n\t\t\t\t\tjQuery.handleError(s, xhr, status);\n\n\t\t\t\t// Fire the complete handlers\n\t\t\t\tcomplete();\n\n\t\t\t\tif ( isTimeout )\n\t\t\t\t\txhr.abort();\n\n\t\t\t\t// Stop memory leaks\n\t\t\t\tif ( s.async )\n\t\t\t\t\txhr = null;\n\t\t\t}\n\t\t};\n\n\t\tif ( s.async ) {\n\t\t\t// don't attach the handler to the request, just poll it instead\n\t\t\tvar ival = setInterval(onreadystatechange, 13);\n\n\t\t\t// Timeout checker\n\t\t\tif ( s.timeout > 0 )\n\t\t\t\tsetTimeout(function(){\n\t\t\t\t\t// Check to see if the request is still happening\n\t\t\t\t\tif ( xhr && !requestDone )\n\t\t\t\t\t\tonreadystatechange( \"timeout\" );\n\t\t\t\t}, s.timeout);\n\t\t}\n\n\t\t// Send the data\n\t\ttry {\n\t\t\txhr.send(s.data);\n\t\t} catch(e) {\n\t\t\tjQuery.handleError(s, xhr, null, e);\n\t\t}\n\n\t\t// firefox 1.5 doesn't fire statechange for sync requests\n\t\tif ( !s.async )\n\t\t\tonreadystatechange();\n\n\t\tfunction success(){\n\t\t\t// If a local callback was specified, fire it and pass it the data\n\t\t\tif ( s.success )\n\t\t\t\ts.success( data, status );\n\n\t\t\t// Fire the global callback\n\t\t\tif ( s.global )\n\t\t\t\tjQuery.event.trigger( \"ajaxSuccess\", [xhr, s] );\n\t\t}\n\n\t\tfunction complete(){\n\t\t\t// Process result\n\t\t\tif ( s.complete )\n\t\t\t\ts.complete(xhr, status);\n\n\t\t\t// The request was completed\n\t\t\tif ( s.global )\n\t\t\t\tjQuery.event.trigger( \"ajaxComplete\", [xhr, s] );\n\n\t\t\t// Handle the global AJAX counter\n\t\t\tif ( s.global && ! --jQuery.active )\n\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t}\n\n\t\t// return XMLHttpRequest to allow aborting the request etc.\n\t\treturn xhr;\n\t},\n\n\thandleError: function( s, xhr, status, e ) {\n\t\t// If a local callback was specified, fire it\n\t\tif ( s.error ) s.error( xhr, status, e );\n\n\t\t// Fire the global callback\n\t\tif ( s.global )\n\t\t\tjQuery.event.trigger( \"ajaxError\", [xhr, s, e] );\n\t},\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Determines if an XMLHttpRequest was successful or not\n\thttpSuccess: function( xhr ) {\n\t\ttry {\n\t\t\t// IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450\n\t\t\treturn !xhr.status && location.protocol == \"file:\" ||\n\t\t\t\t( xhr.status >= 200 && xhr.status < 300 ) || xhr.status == 304 || xhr.status == 1223;\n\t\t} catch(e){}\n\t\treturn false;\n\t},\n\n\t// Determines if an XMLHttpRequest returns NotModified\n\thttpNotModified: function( xhr, url ) {\n\t\ttry {\n\t\t\tvar xhrRes = xhr.getResponseHeader(\"Last-Modified\");\n\n\t\t\t// Firefox always returns 200. check Last-Modified date\n\t\t\treturn xhr.status == 304 || xhrRes == jQuery.lastModified[url];\n\t\t} catch(e){}\n\t\treturn false;\n\t},\n\n\thttpData: function( xhr, type, s ) {\n\t\tvar ct = xhr.getResponseHeader(\"content-type\"),\n\t\t\txml = type == \"xml\" || !type && ct && ct.indexOf(\"xml\") >= 0,\n\t\t\tdata = xml ? xhr.responseXML : xhr.responseText;\n\n\t\tif ( xml && data.documentElement.tagName == \"parsererror\" )\n\t\t\tthrow \"parsererror\";\n\t\t\t\n\t\t// Allow a pre-filtering function to sanitize the response\n\t\t// s != null is checked to keep backwards compatibility\n\t\tif( s && s.dataFilter )\n\t\t\tdata = s.dataFilter( data, type );\n\n\t\t// The filter can actually parse the response\n\t\tif( typeof data === \"string\" ){\n\n\t\t\t// If the type is \"script\", eval it in global context\n\t\t\tif ( type == \"script\" )\n\t\t\t\tjQuery.globalEval( data );\n\n\t\t\t// Get the JavaScript object, if JSON is used.\n\t\t\tif ( type == \"json\" )\n\t\t\t\tdata = window[\"eval\"](\"(\" + data + \")\");\n\t\t}\n\t\t\n\t\treturn data;\n\t},\n\n\t// Serialize an array of form elements or a set of\n\t// key/values into a query string\n\tparam: function( a ) {\n\t\tvar s = [ ];\n\n\t\tfunction add( key, value ){\n\t\t\ts[ s.length ] = encodeURIComponent(key) + '=' + encodeURIComponent(value);\n\t\t};\n\n\t\t// If an array was passed in, assume that it is an array\n\t\t// of form elements\n\t\tif ( jQuery.isArray(a) || a.jquery )\n\t\t\t// Serialize the form elements\n\t\t\tjQuery.each( a, function(){\n\t\t\t\tadd( this.name, this.value );\n\t\t\t});\n\n\t\t// Otherwise, assume that it's an object of key/value pairs\n\t\telse\n\t\t\t// Serialize the key/values\n\t\t\tfor ( var j in a )\n\t\t\t\t// If the value is an array then the key names need to be repeated\n\t\t\t\tif ( jQuery.isArray(a[j]) )\n\t\t\t\t\tjQuery.each( a[j], function(){\n\t\t\t\t\t\tadd( j, this );\n\t\t\t\t\t});\n\t\t\t\telse\n\t\t\t\t\tadd( j, jQuery.isFunction(a[j]) ? a[j]() : a[j] );\n\n\t\t// Return the resulting serialization\n\t\treturn s.join(\"&\").replace(/%20/g, \"+\");\n\t}\n\n});\nvar elemdisplay = {},\n\ttimerId,\n\tfxAttrs = [\n\t\t// height animations\n\t\t[ \"height\", \"marginTop\", \"marginBottom\", \"paddingTop\", \"paddingBottom\" ],\n\t\t// width animations\n\t\t[ \"width\", \"marginLeft\", \"marginRight\", \"paddingLeft\", \"paddingRight\" ],\n\t\t// opacity animations\n\t\t[ \"opacity\" ]\n\t];\n\nfunction genFx( type, num ){\n\tvar obj = {};\n\tjQuery.each( fxAttrs.concat.apply([], fxAttrs.slice(0,num)), function(){\n\t\tobj[ this ] = type;\n\t});\n\treturn obj;\n}\n\njQuery.fn.extend({\n\tshow: function(speed,callback){\n\t\tif ( speed ) {\n\t\t\treturn this.animate( genFx(\"show\", 3), speed, callback);\n\t\t} else {\n\t\t\tfor ( var i = 0, l = this.length; i < l; i++ ){\n\t\t\t\tvar old = jQuery.data(this[i], \"olddisplay\");\n\t\t\t\t\n\t\t\t\tthis[i].style.display = old || \"\";\n\t\t\t\t\n\t\t\t\tif ( jQuery.css(this[i], \"display\") === \"none\" ) {\n\t\t\t\t\tvar tagName = this[i].tagName, display;\n\t\t\t\t\t\n\t\t\t\t\tif ( elemdisplay[ tagName ] ) {\n\t\t\t\t\t\tdisplay = elemdisplay[ tagName ];\n\t\t\t\t\t} else {\n\t\t\t\t\t\tvar elem = jQuery(\"<\" + tagName + \" />\").appendTo(\"body\");\n\t\t\t\t\t\t\n\t\t\t\t\t\tdisplay = elem.css(\"display\");\n\t\t\t\t\t\tif ( display === \"none\" )\n\t\t\t\t\t\t\tdisplay = \"block\";\n\t\t\t\t\t\t\n\t\t\t\t\t\telem.remove();\n\t\t\t\t\t\t\n\t\t\t\t\t\telemdisplay[ tagName ] = display;\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t\tjQuery.data(this[i], \"olddisplay\", display);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set the display of the elements in a second loop\n\t\t\t// to avoid the constant reflow\n\t\t\tfor ( var i = 0, l = this.length; i < l; i++ ){\n\t\t\t\tthis[i].style.display = jQuery.data(this[i], \"olddisplay\") || \"\";\n\t\t\t}\n\t\t\t\n\t\t\treturn this;\n\t\t}\n\t},\n\n\thide: function(speed,callback){\n\t\tif ( speed ) {\n\t\t\treturn this.animate( genFx(\"hide\", 3), speed, callback);\n\t\t} else {\n\t\t\tfor ( var i = 0, l = this.length; i < l; i++ ){\n\t\t\t\tvar old = jQuery.data(this[i], \"olddisplay\");\n\t\t\t\tif ( !old && old !== \"none\" )\n\t\t\t\t\tjQuery.data(this[i], \"olddisplay\", jQuery.css(this[i], \"display\"));\n\t\t\t}\n\n\t\t\t// Set the display of the elements in a second loop\n\t\t\t// to avoid the constant reflow\n\t\t\tfor ( var i = 0, l = this.length; i < l; i++ ){\n\t\t\t\tthis[i].style.display = \"none\";\n\t\t\t}\n\n\t\t\treturn this;\n\t\t}\n\t},\n\n\t// Save the old toggle function\n\t_toggle: jQuery.fn.toggle,\n\n\ttoggle: function( fn, fn2 ){\n\t\tvar bool = typeof fn === \"boolean\";\n\n\t\treturn jQuery.isFunction(fn) && jQuery.isFunction(fn2) ?\n\t\t\tthis._toggle.apply( this, arguments ) :\n\t\t\tfn == null || bool ?\n\t\t\t\tthis.each(function(){\n\t\t\t\t\tvar state = bool ? fn : jQuery(this).is(\":hidden\");\n\t\t\t\t\tjQuery(this)[ state ? \"show\" : \"hide\" ]();\n\t\t\t\t}) :\n\t\t\t\tthis.animate(genFx(\"toggle\", 3), fn, fn2);\n\t},\n\n\tfadeTo: function(speed,to,callback){\n\t\treturn this.animate({opacity: to}, speed, callback);\n\t},\n\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar optall = jQuery.speed(speed, easing, callback);\n\n\t\treturn this[ optall.queue === false ? \"each\" : \"queue\" ](function(){\n\t\t\n\t\t\tvar opt = jQuery.extend({}, optall), p,\n\t\t\t\thidden = this.nodeType == 1 && jQuery(this).is(\":hidden\"),\n\t\t\t\tself = this;\n\t\n\t\t\tfor ( p in prop ) {\n\t\t\t\tif ( prop[p] == \"hide\" && hidden || prop[p] == \"show\" && !hidden )\n\t\t\t\t\treturn opt.complete.call(this);\n\n\t\t\t\tif ( ( p == \"height\" || p == \"width\" ) && this.style ) {\n\t\t\t\t\t// Store display property\n\t\t\t\t\topt.display = jQuery.css(this, \"display\");\n\n\t\t\t\t\t// Make sure that nothing sneaks out\n\t\t\t\t\topt.overflow = this.style.overflow;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( opt.overflow != null )\n\t\t\t\tthis.style.overflow = \"hidden\";\n\n\t\t\topt.curAnim = jQuery.extend({}, prop);\n\n\t\t\tjQuery.each( prop, function(name, val){\n\t\t\t\tvar e = new jQuery.fx( self, opt, name );\n\n\t\t\t\tif ( /toggle|show|hide/.test(val) )\n\t\t\t\t\te[ val == \"toggle\" ? hidden ? \"show\" : \"hide\" : val ]( prop );\n\t\t\t\telse {\n\t\t\t\t\tvar parts = val.toString().match(/^([+-]=)?([\\d+-.]+)(.*)$/),\n\t\t\t\t\t\tstart = e.cur(true) || 0;\n\n\t\t\t\t\tif ( parts ) {\n\t\t\t\t\t\tvar end = parseFloat(parts[2]),\n\t\t\t\t\t\t\tunit = parts[3] || \"px\";\n\n\t\t\t\t\t\t// We need to compute starting value\n\t\t\t\t\t\tif ( unit != \"px\" ) {\n\t\t\t\t\t\t\tself.style[ name ] = (end || 1) + unit;\n\t\t\t\t\t\t\tstart = ((end || 1) / e.cur(true)) * start;\n\t\t\t\t\t\t\tself.style[ name ] = start + unit;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// If a +=/-= token was provided, we're doing a relative animation\n\t\t\t\t\t\tif ( parts[1] )\n\t\t\t\t\t\t\tend = ((parts[1] == \"-=\" ? -1 : 1) * end) + start;\n\n\t\t\t\t\t\te.custom( start, end, unit );\n\t\t\t\t\t} else\n\t\t\t\t\t\te.custom( start, val, \"\" );\n\t\t\t\t}\n\t\t\t});\n\n\t\t\t// For JS strict compliance\n\t\t\treturn true;\n\t\t});\n\t},\n\n\tstop: function(clearQueue, gotoEnd){\n\t\tvar timers = jQuery.timers;\n\n\t\tif (clearQueue)\n\t\t\tthis.queue([]);\n\n\t\tthis.each(function(){\n\t\t\t// go in reverse order so anything added to the queue during the loop is ignored\n\t\t\tfor ( var i = timers.length - 1; i >= 0; i-- )\n\t\t\t\tif ( timers[i].elem == this ) {\n\t\t\t\t\tif (gotoEnd)\n\t\t\t\t\t\t// force the next step to be the last\n\t\t\t\t\t\ttimers[i](true);\n\t\t\t\t\ttimers.splice(i, 1);\n\t\t\t\t}\n\t\t});\n\n\t\t// start the next in the queue if the last step wasn't forced\n\t\tif (!gotoEnd)\n\t\t\tthis.dequeue();\n\n\t\treturn this;\n\t}\n\n});\n\n// Generate shortcuts for custom animations\njQuery.each({\n\tslideDown: genFx(\"show\", 1),\n\tslideUp: genFx(\"hide\", 1),\n\tslideToggle: genFx(\"toggle\", 1),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" }\n}, function( name, props ){\n\tjQuery.fn[ name ] = function( speed, callback ){\n\t\treturn this.animate( props, speed, callback );\n\t};\n});\n\njQuery.extend({\n\n\tspeed: function(speed, easing, fn) {\n\t\tvar opt = typeof speed === \"object\" ? speed : {\n\t\t\tcomplete: fn || !fn && easing ||\n\t\t\t\tjQuery.isFunction( speed ) && speed,\n\t\t\tduration: speed,\n\t\t\teasing: fn && easing || easing && !jQuery.isFunction(easing) && easing\n\t\t};\n\n\t\topt.duration = jQuery.fx.off ? 0 : typeof opt.duration === \"number\" ? opt.duration :\n\t\t\tjQuery.fx.speeds[opt.duration] || jQuery.fx.speeds._default;\n\n\t\t// Queueing\n\t\topt.old = opt.complete;\n\t\topt.complete = function(){\n\t\t\tif ( opt.queue !== false )\n\t\t\t\tjQuery(this).dequeue();\n\t\t\tif ( jQuery.isFunction( opt.old ) )\n\t\t\t\topt.old.call( this );\n\t\t};\n\n\t\treturn opt;\n\t},\n\n\teasing: {\n\t\tlinear: function( p, n, firstNum, diff ) {\n\t\t\treturn firstNum + diff * p;\n\t\t},\n\t\tswing: function( p, n, firstNum, diff ) {\n\t\t\treturn ((-Math.cos(p*Math.PI)/2) + 0.5) * diff + firstNum;\n\t\t}\n\t},\n\n\ttimers: [],\n\n\tfx: function( elem, options, prop ){\n\t\tthis.options = options;\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\n\t\tif ( !options.orig )\n\t\t\toptions.orig = {};\n\t}\n\n});\n\njQuery.fx.prototype = {\n\n\t// Simple function for setting a style value\n\tupdate: function(){\n\t\tif ( this.options.step )\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\n\t\t(jQuery.fx.step[this.prop] || jQuery.fx.step._default)( this );\n\n\t\t// Set display property to block for height/width animations\n\t\tif ( ( this.prop == \"height\" || this.prop == \"width\" ) && this.elem.style )\n\t\t\tthis.elem.style.display = \"block\";\n\t},\n\n\t// Get the current size\n\tcur: function(force){\n\t\tif ( this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null) )\n\t\t\treturn this.elem[ this.prop ];\n\n\t\tvar r = parseFloat(jQuery.css(this.elem, this.prop, force));\n\t\treturn r && r > -10000 ? r : parseFloat(jQuery.curCSS(this.elem, this.prop)) || 0;\n\t},\n\n\t// Start an animation from one number to another\n\tcustom: function(from, to, unit){\n\t\tthis.startTime = now();\n\t\tthis.start = from;\n\t\tthis.end = to;\n\t\tthis.unit = unit || this.unit || \"px\";\n\t\tthis.now = this.start;\n\t\tthis.pos = this.state = 0;\n\n\t\tvar self = this;\n\t\tfunction t(gotoEnd){\n\t\t\treturn self.step(gotoEnd);\n\t\t}\n\n\t\tt.elem = this.elem;\n\n\t\tif ( t() && jQuery.timers.push(t) && !timerId ) {\n\t\t\ttimerId = setInterval(function(){\n\t\t\t\tvar timers = jQuery.timers;\n\n\t\t\t\tfor ( var i = 0; i < timers.length; i++ )\n\t\t\t\t\tif ( !timers[i]() )\n\t\t\t\t\t\ttimers.splice(i--, 1);\n\n\t\t\t\tif ( !timers.length ) {\n\t\t\t\t\tclearInterval( timerId );\n\t\t\t\t\ttimerId = undefined;\n\t\t\t\t}\n\t\t\t}, 13);\n\t\t}\n\t},\n\n\t// Simple 'show' function\n\tshow: function(){\n\t\t// Remember where we started, so that we can go back to it later\n\t\tthis.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );\n\t\tthis.options.show = true;\n\n\t\t// Begin the animation\n\t\t// Make sure that we start at a small width/height to avoid any\n\t\t// flash of content\n\t\tthis.custom(this.prop == \"width\" || this.prop == \"height\" ? 1 : 0, this.cur());\n\n\t\t// Start by showing the element\n\t\tjQuery(this.elem).show();\n\t},\n\n\t// Simple 'hide' function\n\thide: function(){\n\t\t// Remember where we started, so that we can go back to it later\n\t\tthis.options.orig[this.prop] = jQuery.attr( this.elem.style, this.prop );\n\t\tthis.options.hide = true;\n\n\t\t// Begin the animation\n\t\tthis.custom(this.cur(), 0);\n\t},\n\n\t// Each step of an animation\n\tstep: function(gotoEnd){\n\t\tvar t = now();\n\n\t\tif ( gotoEnd || t >= this.options.duration + this.startTime ) {\n\t\t\tthis.now = this.end;\n\t\t\tthis.pos = this.state = 1;\n\t\t\tthis.update();\n\n\t\t\tthis.options.curAnim[ this.prop ] = true;\n\n\t\t\tvar done = true;\n\t\t\tfor ( var i in this.options.curAnim )\n\t\t\t\tif ( this.options.curAnim[i] !== true )\n\t\t\t\t\tdone = false;\n\n\t\t\tif ( done ) {\n\t\t\t\tif ( this.options.display != null ) {\n\t\t\t\t\t// Reset the overflow\n\t\t\t\t\tthis.elem.style.overflow = this.options.overflow;\n\n\t\t\t\t\t// Reset the display\n\t\t\t\t\tthis.elem.style.display = this.options.display;\n\t\t\t\t\tif ( jQuery.css(this.elem, \"display\") == \"none\" )\n\t\t\t\t\t\tthis.elem.style.display = \"block\";\n\t\t\t\t}\n\n\t\t\t\t// Hide the element if the \"hide\" operation was done\n\t\t\t\tif ( this.options.hide )\n\t\t\t\t\tjQuery(this.elem).hide();\n\n\t\t\t\t// Reset the properties, if the item has been hidden or shown\n\t\t\t\tif ( this.options.hide || this.options.show )\n\t\t\t\t\tfor ( var p in this.options.curAnim )\n\t\t\t\t\t\tjQuery.attr(this.elem.style, p, this.options.orig[p]);\n\t\t\t\t\t\n\t\t\t\t// Execute the complete function\n\t\t\t\tthis.options.complete.call( this.elem );\n\t\t\t}\n\n\t\t\treturn false;\n\t\t} else {\n\t\t\tvar n = t - this.startTime;\n\t\t\tthis.state = n / this.options.duration;\n\n\t\t\t// Perform the easing function, defaults to swing\n\t\t\tthis.pos = jQuery.easing[this.options.easing || (jQuery.easing.swing ? \"swing\" : \"linear\")](this.state, n, 0, 1, this.options.duration);\n\t\t\tthis.now = this.start + ((this.end - this.start) * this.pos);\n\n\t\t\t// Perform the next step of the animation\n\t\t\tthis.update();\n\t\t}\n\n\t\treturn true;\n\t}\n\n};\n\njQuery.extend( jQuery.fx, {\n\tspeeds:{\n\t\tslow: 600,\n \t\tfast: 200,\n \t\t// Default speed\n \t\t_default: 400\n\t},\n\tstep: {\n\n\t\topacity: function(fx){\n\t\t\tjQuery.attr(fx.elem.style, \"opacity\", fx.now);\n\t\t},\n\n\t\t_default: function(fx){\n\t\t\tif ( fx.elem.style && fx.elem.style[ fx.prop ] != null )\n\t\t\t\tfx.elem.style[ fx.prop ] = fx.now + fx.unit;\n\t\t\telse\n\t\t\t\tfx.elem[ fx.prop ] = fx.now;\n\t\t}\n\t}\n});\nif ( document.documentElement[\"getBoundingClientRect\"] )\n\tjQuery.fn.offset = function() {\n\t\tif ( !this[0] ) return { top: 0, left: 0 };\n\t\tif ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );\n\t\tvar box = this[0].getBoundingClientRect(), doc = this[0].ownerDocument, body = doc.body, docElem = doc.documentElement,\n\t\t\tclientTop = docElem.clientTop || body.clientTop || 0, clientLeft = docElem.clientLeft || body.clientLeft || 0,\n\t\t\ttop = box.top + (self.pageYOffset || jQuery.boxModel && docElem.scrollTop || body.scrollTop ) - clientTop,\n\t\t\tleft = box.left + (self.pageXOffset || jQuery.boxModel && docElem.scrollLeft || body.scrollLeft) - clientLeft;\n\t\treturn { top: top, left: left };\n\t};\nelse \n\tjQuery.fn.offset = function() {\n\t\tif ( !this[0] ) return { top: 0, left: 0 };\n\t\tif ( this[0] === this[0].ownerDocument.body ) return jQuery.offset.bodyOffset( this[0] );\n\t\tjQuery.offset.initialized || jQuery.offset.initialize();\n\n\t\tvar elem = this[0], offsetParent = elem.offsetParent, prevOffsetParent = elem,\n\t\t\tdoc = elem.ownerDocument, computedStyle, docElem = doc.documentElement,\n\t\t\tbody = doc.body, defaultView = doc.defaultView,\n\t\t\tprevComputedStyle = defaultView.getComputedStyle(elem, null),\n\t\t\ttop = elem.offsetTop, left = elem.offsetLeft;\n\n\t\twhile ( (elem = elem.parentNode) && elem !== body && elem !== docElem ) {\n\t\t\tcomputedStyle = defaultView.getComputedStyle(elem, null);\n\t\t\ttop -= elem.scrollTop, left -= elem.scrollLeft;\n\t\t\tif ( elem === offsetParent ) {\n\t\t\t\ttop += elem.offsetTop, left += elem.offsetLeft;\n\t\t\t\tif ( jQuery.offset.doesNotAddBorder && !(jQuery.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(elem.tagName)) )\n\t\t\t\t\ttop += parseInt( computedStyle.borderTopWidth, 10) || 0,\n\t\t\t\t\tleft += parseInt( computedStyle.borderLeftWidth, 10) || 0;\n\t\t\t\tprevOffsetParent = offsetParent, offsetParent = elem.offsetParent;\n\t\t\t}\n\t\t\tif ( jQuery.offset.subtractsBorderForOverflowNotVisible && computedStyle.overflow !== \"visible\" )\n\t\t\t\ttop += parseInt( computedStyle.borderTopWidth, 10) || 0,\n\t\t\t\tleft += parseInt( computedStyle.borderLeftWidth, 10) || 0;\n\t\t\tprevComputedStyle = computedStyle;\n\t\t}\n\n\t\tif ( prevComputedStyle.position === \"relative\" || prevComputedStyle.position === \"static\" )\n\t\t\ttop += body.offsetTop,\n\t\t\tleft += body.offsetLeft;\n\n\t\tif ( prevComputedStyle.position === \"fixed\" )\n\t\t\ttop += Math.max(docElem.scrollTop, body.scrollTop),\n\t\t\tleft += Math.max(docElem.scrollLeft, body.scrollLeft);\n\n\t\treturn { top: top, left: left };\n\t};\n\njQuery.offset = {\n\tinitialize: function() {\n\t\tif ( this.initialized ) return;\n\t\tvar body = document.body, container = document.createElement('div'), innerDiv, checkDiv, table, td, rules, prop, bodyMarginTop = body.style.marginTop,\n\t\t\thtml = '<div style=\"position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;\"><div></div></div><table style=\"position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;\" cellpadding=\"0\" cellspacing=\"0\"><tr><td></td></tr></table>';\n\n\t\trules = { position: 'absolute', top: 0, left: 0, margin: 0, border: 0, width: '1px', height: '1px', visibility: 'hidden' };\n\t\tfor ( prop in rules ) container.style[prop] = rules[prop];\n\n\t\tcontainer.innerHTML = html;\n\t\tbody.insertBefore(container, body.firstChild);\n\t\tinnerDiv = container.firstChild, checkDiv = innerDiv.firstChild, td = innerDiv.nextSibling.firstChild.firstChild;\n\n\t\tthis.doesNotAddBorder = (checkDiv.offsetTop !== 5);\n\t\tthis.doesAddBorderForTableAndCells = (td.offsetTop === 5);\n\n\t\tinnerDiv.style.overflow = 'hidden', innerDiv.style.position = 'relative';\n\t\tthis.subtractsBorderForOverflowNotVisible = (checkDiv.offsetTop === -5);\n\n\t\tbody.style.marginTop = '1px';\n\t\tthis.doesNotIncludeMarginInBodyOffset = (body.offsetTop === 0);\n\t\tbody.style.marginTop = bodyMarginTop;\n\n\t\tbody.removeChild(container);\n\t\tthis.initialized = true;\n\t},\n\n\tbodyOffset: function(body) {\n\t\tjQuery.offset.initialized || jQuery.offset.initialize();\n\t\tvar top = body.offsetTop, left = body.offsetLeft;\n\t\tif ( jQuery.offset.doesNotIncludeMarginInBodyOffset )\n\t\t\ttop += parseInt( jQuery.curCSS(body, 'marginTop', true), 10 ) || 0,\n\t\t\tleft += parseInt( jQuery.curCSS(body, 'marginLeft', true), 10 ) || 0;\n\t\treturn { top: top, left: left };\n\t}\n};\n\n\njQuery.fn.extend({\n\tposition: function() {\n\t\tvar left = 0, top = 0, results;\n\n\t\tif ( this[0] ) {\n\t\t\t// Get *real* offsetParent\n\t\t\tvar offsetParent = this.offsetParent(),\n\n\t\t\t// Get correct offsets\n\t\t\toffset = this.offset(),\n\t\t\tparentOffset = /^body|html$/i.test(offsetParent[0].tagName) ? { top: 0, left: 0 } : offsetParent.offset();\n\n\t\t\t// Subtract element margins\n\t\t\t// note: when an element has margin: auto the offsetLeft and marginLeft \n\t\t\t// are the same in Safari causing offset.left to incorrectly be 0\n\t\t\toffset.top -= num( this, 'marginTop' );\n\t\t\toffset.left -= num( this, 'marginLeft' );\n\n\t\t\t// Add offsetParent borders\n\t\t\tparentOffset.top += num( offsetParent, 'borderTopWidth' );\n\t\t\tparentOffset.left += num( offsetParent, 'borderLeftWidth' );\n\n\t\t\t// Subtract the two offsets\n\t\t\tresults = {\n\t\t\t\ttop: offset.top - parentOffset.top,\n\t\t\t\tleft: offset.left - parentOffset.left\n\t\t\t};\n\t\t}\n\n\t\treturn results;\n\t},\n\n\toffsetParent: function() {\n\t\tvar offsetParent = this[0].offsetParent || document.body;\n\t\twhile ( offsetParent && (!/^body|html$/i.test(offsetParent.tagName) && jQuery.css(offsetParent, 'position') == 'static') )\n\t\t\toffsetParent = offsetParent.offsetParent;\n\t\treturn jQuery(offsetParent);\n\t}\n});\n\n\n// Create scrollLeft and scrollTop methods\njQuery.each( ['Left', 'Top'], function(i, name) {\n\tvar method = 'scroll' + name;\n\t\n\tjQuery.fn[ method ] = function(val) {\n\t\tif (!this[0]) return null;\n\n\t\treturn val !== undefined ?\n\n\t\t\t// Set the scroll offset\n\t\t\tthis.each(function() {\n\t\t\t\tthis == window || this == document ?\n\t\t\t\t\twindow.scrollTo(\n\t\t\t\t\t\t!i ? val : jQuery(window).scrollLeft(),\n\t\t\t\t\t\t i ? val : jQuery(window).scrollTop()\n\t\t\t\t\t) :\n\t\t\t\t\tthis[ method ] = val;\n\t\t\t}) :\n\n\t\t\t// Return the scroll offset\n\t\t\tthis[0] == window || this[0] == document ?\n\t\t\t\tself[ i ? 'pageYOffset' : 'pageXOffset' ] ||\n\t\t\t\t\tjQuery.boxModel && document.documentElement[ method ] ||\n\t\t\t\t\tdocument.body[ method ] :\n\t\t\t\tthis[0][ method ];\n\t};\n});\n// Create innerHeight, innerWidth, outerHeight and outerWidth methods\njQuery.each([ \"Height\", \"Width\" ], function(i, name){\n\n\tvar tl = i ? \"Left\" : \"Top\", // top or left\n\t\tbr = i ? \"Right\" : \"Bottom\", // bottom or right\n\t\tlower = name.toLowerCase();\n\n\t// innerHeight and innerWidth\n\tjQuery.fn[\"inner\" + name] = function(){\n\t\treturn this[0] ?\n\t\t\tjQuery.css( this[0], lower, false, \"padding\" ) :\n\t\t\tnull;\n\t};\n\n\t// outerHeight and outerWidth\n\tjQuery.fn[\"outer\" + name] = function(margin) {\n\t\treturn this[0] ?\n\t\t\tjQuery.css( this[0], lower, false, margin ? \"margin\" : \"border\" ) :\n\t\t\tnull;\n\t};\n\t\n\tvar type = name.toLowerCase();\n\n\tjQuery.fn[ type ] = function( size ) {\n\t\t// Get window width or height\n\t\treturn this[0] == window ?\n\t\t\t// Everyone else use document.documentElement or document.body depending on Quirks vs Standards mode\n\t\t\tdocument.compatMode == \"CSS1Compat\" && document.documentElement[ \"client\" + name ] ||\n\t\t\tdocument.body[ \"client\" + name ] :\n\n\t\t\t// Get document width or height\n\t\t\tthis[0] == document ?\n\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height], whichever is greater\n\t\t\t\tMath.max(\n\t\t\t\t\tdocument.documentElement[\"client\" + name],\n\t\t\t\t\tdocument.body[\"scroll\" + name], document.documentElement[\"scroll\" + name],\n\t\t\t\t\tdocument.body[\"offset\" + name], document.documentElement[\"offset\" + name]\n\t\t\t\t) :\n\n\t\t\t\t// Get or set width or height on the element\n\t\t\t\tsize === undefined ?\n\t\t\t\t\t// Get width or height on the element\n\t\t\t\t\t(this.length ? jQuery.css( this[0], type ) : null) :\n\n\t\t\t\t\t// Set the width or height on the element (default to pixels if value is unitless)\n\t\t\t\t\tthis.css( type, typeof size === \"string\" ? size : size + \"px\" );\n\t};\n\n});\n})();\n"
},
"redirectURL": "",
"headersSize": 332,
"bodySize": 120654,
"_transferSize": 120986
},
"cache": {},
"timings": {
"blocked": 438.450000001467,
"dns": 0.006999995094020051,
"connect": 57.646000001113975,
"send": 0.11400000948901834,
"wait": 31.68000000005094,
"receive": 271.8739999982063,
"ssl": 17.39799999631998
},
"connection": "138491",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.243Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/themes/blitzer/jquery-ui.css",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "date",
"value": "Tue, 08 Sep 2015 16:06:47 GMT"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "age",
"value": "8029"
},
{
"name": "status",
"value": "200"
},
{
"name": "alt-svc",
"value": "quic=\":443\"; p=\"1\"; ma=604800"
},
{
"name": "content-length",
"value": "6071"
},
{
"name": "x-xss-protection",
"value": "1; mode=block"
},
{
"name": "last-modified",
"value": "Mon, 02 Apr 2012 18:24:28 GMT"
},
{
"name": "server",
"value": "sffe"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "content-type",
"value": "text/css; charset=UTF-8"
},
{
"name": "access-control-allow-origin",
"value": "*"
},
{
"name": "alternate-protocol",
"value": "443:quic,p=1"
},
{
"name": "cache-control",
"value": "public, max-age=31536000"
},
{
"name": "timing-allow-origin",
"value": "*"
},
{
"name": "expires",
"value": "Wed, 07 Sep 2016 16:06:47 GMT"
}
],
"cookies": [],
"content": {
"size": 33288,
"mimeType": "text/css",
"text": "/*\n * jQuery UI CSS Framework 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Theming/API\n */\n\n/* Layout helpers\n----------------------------------*/\n.ui-helper-hidden { display: none; }\n.ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px 1px 1px 1px); clip: rect(1px,1px,1px,1px); }\n.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }\n.ui-helper-clearfix:before, .ui-helper-clearfix:after { content: \"\"; display: table; }\n.ui-helper-clearfix:after { clear: both; }\n.ui-helper-clearfix { zoom: 1; }\n.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }\n\n\n/* Interaction Cues\n----------------------------------*/\n.ui-state-disabled { cursor: default !important; }\n\n\n/* Icons\n----------------------------------*/\n\n/* states and images */\n.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }\n\n\n/* Misc visuals\n----------------------------------*/\n\n/* Overlays */\n.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }\n\n\n/*\n * jQuery UI CSS Framework 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Theming/API\n *\n * To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Arial,sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=6px&bgColorHeader=cc0000&bgTextureHeader=03_highlight_soft.png&bgImgOpacityHeader=15&borderColorHeader=e3a1a1&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=ffffff&bgTextureContent=01_flat.png&bgImgOpacityContent=75&borderColorContent=eeeeee&fcContent=333333&iconColorContent=cc0000&bgColorDefault=eeeeee&bgTextureDefault=04_highlight_hard.png&bgImgOpacityDefault=100&borderColorDefault=d8dcdf&fcDefault=004276&iconColorDefault=cc0000&bgColorHover=f6f6f6&bgTextureHover=04_highlight_hard.png&bgImgOpacityHover=100&borderColorHover=cdd5da&fcHover=111111&iconColorHover=cc0000&bgColorActive=ffffff&bgTextureActive=01_flat.png&bgImgOpacityActive=65&borderColorActive=eeeeee&fcActive=cc0000&iconColorActive=cc0000&bgColorHighlight=fbf8ee&bgTextureHighlight=02_glass.png&bgImgOpacityHighlight=55&borderColorHighlight=fcd3a1&fcHighlight=444444&iconColorHighlight=004276&bgColorError=f3d8d8&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=75&borderColorError=cc0000&fcError=2e2e2e&iconColorError=cc0000&bgColorOverlay=a6a6a6&bgTextureOverlay=09_dots_small.png&bgImgOpacityOverlay=65&opacityOverlay=40&bgColorShadow=333333&bgTextureShadow=01_flat.png&bgImgOpacityShadow=0&opacityShadow=10&thicknessShadow=8px&offsetTopShadow=-8px&offsetLeftShadow=-8px&cornerRadiusShadow=8px\n */\n\n\n/* Component containers\n----------------------------------*/\n.ui-widget { font-family: Arial,sans-serif; font-size: 1.1em; }\n.ui-widget .ui-widget { font-size: 1em; }\n.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Arial,sans-serif; font-size: 1em; }\n.ui-widget-content { border: 1px solid #eeeeee; background: #ffffff url(images/ui-bg_flat_75_ffffff_40x100.png) 50% 50% repeat-x; color: #333333; }\n.ui-widget-content a { color: #333333; }\n.ui-widget-header { border: 1px solid #e3a1a1; background: #cc0000 url(images/ui-bg_highlight-soft_15_cc0000_1x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }\n.ui-widget-header a { color: #ffffff; }\n\n/* Interaction states\n----------------------------------*/\n.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default { border: 1px solid #d8dcdf; background: #eeeeee url(images/ui-bg_highlight-hard_100_eeeeee_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #004276; }\n.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #004276; text-decoration: none; }\n.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-widget-header .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus, .ui-widget-header .ui-state-focus { border: 1px solid #cdd5da; background: #f6f6f6 url(images/ui-bg_highlight-hard_100_f6f6f6_1x100.png) 50% 50% repeat-x; font-weight: bold; color: #111111; }\n.ui-state-hover a, .ui-state-hover a:hover { color: #111111; text-decoration: none; }\n.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active { border: 1px solid #eeeeee; background: #ffffff url(images/ui-bg_flat_65_ffffff_40x100.png) 50% 50% repeat-x; font-weight: bold; color: #cc0000; }\n.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #cc0000; text-decoration: none; }\n.ui-widget :active { outline: none; }\n\n/* Interaction Cues\n----------------------------------*/\n.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {border: 1px solid #fcd3a1; background: #fbf8ee url(images/ui-bg_glass_55_fbf8ee_1x400.png) 50% 50% repeat-x; color: #444444; }\n.ui-state-highlight a, .ui-widget-content .ui-state-highlight a,.ui-widget-header .ui-state-highlight a { color: #444444; }\n.ui-state-error, .ui-widget-content .ui-state-error, .ui-widget-header .ui-state-error {border: 1px solid #cc0000; background: #f3d8d8 url(images/ui-bg_diagonals-thick_75_f3d8d8_40x40.png) 50% 50% repeat; color: #2e2e2e; }\n.ui-state-error a, .ui-widget-content .ui-state-error a, .ui-widget-header .ui-state-error a { color: #2e2e2e; }\n.ui-state-error-text, .ui-widget-content .ui-state-error-text, .ui-widget-header .ui-state-error-text { color: #2e2e2e; }\n.ui-priority-primary, .ui-widget-content .ui-priority-primary, .ui-widget-header .ui-priority-primary { font-weight: bold; }\n.ui-priority-secondary, .ui-widget-content .ui-priority-secondary, .ui-widget-header .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }\n.ui-state-disabled, .ui-widget-content .ui-state-disabled, .ui-widget-header .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }\n\n/* Icons\n----------------------------------*/\n\n/* states and images */\n.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_cc0000_256x240.png); }\n.ui-widget-content .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }\n.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }\n.ui-state-default .ui-icon { background-image: url(images/ui-icons_cc0000_256x240.png); }\n.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }\n.ui-state-active .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }\n.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_004276_256x240.png); }\n.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_cc0000_256x240.png); }\n\n/* positioning */\n.ui-icon-carat-1-n { background-position: 0 0; }\n.ui-icon-carat-1-ne { background-position: -16px 0; }\n.ui-icon-carat-1-e { background-position: -32px 0; }\n.ui-icon-carat-1-se { background-position: -48px 0; }\n.ui-icon-carat-1-s { background-position: -64px 0; }\n.ui-icon-carat-1-sw { background-position: -80px 0; }\n.ui-icon-carat-1-w { background-position: -96px 0; }\n.ui-icon-carat-1-nw { background-position: -112px 0; }\n.ui-icon-carat-2-n-s { background-position: -128px 0; }\n.ui-icon-carat-2-e-w { background-position: -144px 0; }\n.ui-icon-triangle-1-n { background-position: 0 -16px; }\n.ui-icon-triangle-1-ne { background-position: -16px -16px; }\n.ui-icon-triangle-1-e { background-position: -32px -16px; }\n.ui-icon-triangle-1-se { background-position: -48px -16px; }\n.ui-icon-triangle-1-s { background-position: -64px -16px; }\n.ui-icon-triangle-1-sw { background-position: -80px -16px; }\n.ui-icon-triangle-1-w { background-position: -96px -16px; }\n.ui-icon-triangle-1-nw { background-position: -112px -16px; }\n.ui-icon-triangle-2-n-s { background-position: -128px -16px; }\n.ui-icon-triangle-2-e-w { background-position: -144px -16px; }\n.ui-icon-arrow-1-n { background-position: 0 -32px; }\n.ui-icon-arrow-1-ne { background-position: -16px -32px; }\n.ui-icon-arrow-1-e { background-position: -32px -32px; }\n.ui-icon-arrow-1-se { background-position: -48px -32px; }\n.ui-icon-arrow-1-s { background-position: -64px -32px; }\n.ui-icon-arrow-1-sw { background-position: -80px -32px; }\n.ui-icon-arrow-1-w { background-position: -96px -32px; }\n.ui-icon-arrow-1-nw { background-position: -112px -32px; }\n.ui-icon-arrow-2-n-s { background-position: -128px -32px; }\n.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }\n.ui-icon-arrow-2-e-w { background-position: -160px -32px; }\n.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }\n.ui-icon-arrowstop-1-n { background-position: -192px -32px; }\n.ui-icon-arrowstop-1-e { background-position: -208px -32px; }\n.ui-icon-arrowstop-1-s { background-position: -224px -32px; }\n.ui-icon-arrowstop-1-w { background-position: -240px -32px; }\n.ui-icon-arrowthick-1-n { background-position: 0 -48px; }\n.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }\n.ui-icon-arrowthick-1-e { background-position: -32px -48px; }\n.ui-icon-arrowthick-1-se { background-position: -48px -48px; }\n.ui-icon-arrowthick-1-s { background-position: -64px -48px; }\n.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }\n.ui-icon-arrowthick-1-w { background-position: -96px -48px; }\n.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }\n.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }\n.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }\n.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }\n.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }\n.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }\n.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }\n.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }\n.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }\n.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }\n.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }\n.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }\n.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }\n.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }\n.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }\n.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }\n.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }\n.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }\n.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }\n.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }\n.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }\n.ui-icon-arrow-4 { background-position: 0 -80px; }\n.ui-icon-arrow-4-diag { background-position: -16px -80px; }\n.ui-icon-extlink { background-position: -32px -80px; }\n.ui-icon-newwin { background-position: -48px -80px; }\n.ui-icon-refresh { background-position: -64px -80px; }\n.ui-icon-shuffle { background-position: -80px -80px; }\n.ui-icon-transfer-e-w { background-position: -96px -80px; }\n.ui-icon-transferthick-e-w { background-position: -112px -80px; }\n.ui-icon-folder-collapsed { background-position: 0 -96px; }\n.ui-icon-folder-open { background-position: -16px -96px; }\n.ui-icon-document { background-position: -32px -96px; }\n.ui-icon-document-b { background-position: -48px -96px; }\n.ui-icon-note { background-position: -64px -96px; }\n.ui-icon-mail-closed { background-position: -80px -96px; }\n.ui-icon-mail-open { background-position: -96px -96px; }\n.ui-icon-suitcase { background-position: -112px -96px; }\n.ui-icon-comment { background-position: -128px -96px; }\n.ui-icon-person { background-position: -144px -96px; }\n.ui-icon-print { background-position: -160px -96px; }\n.ui-icon-trash { background-position: -176px -96px; }\n.ui-icon-locked { background-position: -192px -96px; }\n.ui-icon-unlocked { background-position: -208px -96px; }\n.ui-icon-bookmark { background-position: -224px -96px; }\n.ui-icon-tag { background-position: -240px -96px; }\n.ui-icon-home { background-position: 0 -112px; }\n.ui-icon-flag { background-position: -16px -112px; }\n.ui-icon-calendar { background-position: -32px -112px; }\n.ui-icon-cart { background-position: -48px -112px; }\n.ui-icon-pencil { background-position: -64px -112px; }\n.ui-icon-clock { background-position: -80px -112px; }\n.ui-icon-disk { background-position: -96px -112px; }\n.ui-icon-calculator { background-position: -112px -112px; }\n.ui-icon-zoomin { background-position: -128px -112px; }\n.ui-icon-zoomout { background-position: -144px -112px; }\n.ui-icon-search { background-position: -160px -112px; }\n.ui-icon-wrench { background-position: -176px -112px; }\n.ui-icon-gear { background-position: -192px -112px; }\n.ui-icon-heart { background-position: -208px -112px; }\n.ui-icon-star { background-position: -224px -112px; }\n.ui-icon-link { background-position: -240px -112px; }\n.ui-icon-cancel { background-position: 0 -128px; }\n.ui-icon-plus { background-position: -16px -128px; }\n.ui-icon-plusthick { background-position: -32px -128px; }\n.ui-icon-minus { background-position: -48px -128px; }\n.ui-icon-minusthick { background-position: -64px -128px; }\n.ui-icon-close { background-position: -80px -128px; }\n.ui-icon-closethick { background-position: -96px -128px; }\n.ui-icon-key { background-position: -112px -128px; }\n.ui-icon-lightbulb { background-position: -128px -128px; }\n.ui-icon-scissors { background-position: -144px -128px; }\n.ui-icon-clipboard { background-position: -160px -128px; }\n.ui-icon-copy { background-position: -176px -128px; }\n.ui-icon-contact { background-position: -192px -128px; }\n.ui-icon-image { background-position: -208px -128px; }\n.ui-icon-video { background-position: -224px -128px; }\n.ui-icon-script { background-position: -240px -128px; }\n.ui-icon-alert { background-position: 0 -144px; }\n.ui-icon-info { background-position: -16px -144px; }\n.ui-icon-notice { background-position: -32px -144px; }\n.ui-icon-help { background-position: -48px -144px; }\n.ui-icon-check { background-position: -64px -144px; }\n.ui-icon-bullet { background-position: -80px -144px; }\n.ui-icon-radio-off { background-position: -96px -144px; }\n.ui-icon-radio-on { background-position: -112px -144px; }\n.ui-icon-pin-w { background-position: -128px -144px; }\n.ui-icon-pin-s { background-position: -144px -144px; }\n.ui-icon-play { background-position: 0 -160px; }\n.ui-icon-pause { background-position: -16px -160px; }\n.ui-icon-seek-next { background-position: -32px -160px; }\n.ui-icon-seek-prev { background-position: -48px -160px; }\n.ui-icon-seek-end { background-position: -64px -160px; }\n.ui-icon-seek-start { background-position: -80px -160px; }\n/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */\n.ui-icon-seek-first { background-position: -80px -160px; }\n.ui-icon-stop { background-position: -96px -160px; }\n.ui-icon-eject { background-position: -112px -160px; }\n.ui-icon-volume-off { background-position: -128px -160px; }\n.ui-icon-volume-on { background-position: -144px -160px; }\n.ui-icon-power { background-position: 0 -176px; }\n.ui-icon-signal-diag { background-position: -16px -176px; }\n.ui-icon-signal { background-position: -32px -176px; }\n.ui-icon-battery-0 { background-position: -48px -176px; }\n.ui-icon-battery-1 { background-position: -64px -176px; }\n.ui-icon-battery-2 { background-position: -80px -176px; }\n.ui-icon-battery-3 { background-position: -96px -176px; }\n.ui-icon-circle-plus { background-position: 0 -192px; }\n.ui-icon-circle-minus { background-position: -16px -192px; }\n.ui-icon-circle-close { background-position: -32px -192px; }\n.ui-icon-circle-triangle-e { background-position: -48px -192px; }\n.ui-icon-circle-triangle-s { background-position: -64px -192px; }\n.ui-icon-circle-triangle-w { background-position: -80px -192px; }\n.ui-icon-circle-triangle-n { background-position: -96px -192px; }\n.ui-icon-circle-arrow-e { background-position: -112px -192px; }\n.ui-icon-circle-arrow-s { background-position: -128px -192px; }\n.ui-icon-circle-arrow-w { background-position: -144px -192px; }\n.ui-icon-circle-arrow-n { background-position: -160px -192px; }\n.ui-icon-circle-zoomin { background-position: -176px -192px; }\n.ui-icon-circle-zoomout { background-position: -192px -192px; }\n.ui-icon-circle-check { background-position: -208px -192px; }\n.ui-icon-circlesmall-plus { background-position: 0 -208px; }\n.ui-icon-circlesmall-minus { background-position: -16px -208px; }\n.ui-icon-circlesmall-close { background-position: -32px -208px; }\n.ui-icon-squaresmall-plus { background-position: -48px -208px; }\n.ui-icon-squaresmall-minus { background-position: -64px -208px; }\n.ui-icon-squaresmall-close { background-position: -80px -208px; }\n.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }\n.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }\n.ui-icon-grip-solid-vertical { background-position: -32px -224px; }\n.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }\n.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }\n.ui-icon-grip-diagonal-se { background-position: -80px -224px; }\n\n\n/* Misc visuals\n----------------------------------*/\n\n/* Corner radius */\n.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { -moz-border-radius-topleft: 6px; -webkit-border-top-left-radius: 6px; -khtml-border-top-left-radius: 6px; border-top-left-radius: 6px; }\n.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { -moz-border-radius-topright: 6px; -webkit-border-top-right-radius: 6px; -khtml-border-top-right-radius: 6px; border-top-right-radius: 6px; }\n.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; }\n.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; }\n\n/* Overlays */\n.ui-widget-overlay { background: #a6a6a6 url(images/ui-bg_dots-small_65_a6a6a6_2x2.png) 50% 50% repeat; opacity: .40;filter:Alpha(Opacity=40); }\n.ui-widget-shadow { margin: -8px 0 0 -8px; padding: 8px; background: #333333 url(images/ui-bg_flat_0_333333_40x100.png) 50% 50% repeat-x; opacity: .10;filter:Alpha(Opacity=10); -moz-border-radius: 8px; -khtml-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }/*\n * jQuery UI Resizable 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Resizable#theming\n */\n.ui-resizable { position: relative;}\n.ui-resizable-handle { position: absolute;font-size: 0.1px;z-index: 99999; display: block; }\n.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle { display: none; }\n.ui-resizable-n { cursor: n-resize; height: 7px; width: 100%; top: -5px; left: 0; }\n.ui-resizable-s { cursor: s-resize; height: 7px; width: 100%; bottom: -5px; left: 0; }\n.ui-resizable-e { cursor: e-resize; width: 7px; right: -5px; top: 0; height: 100%; }\n.ui-resizable-w { cursor: w-resize; width: 7px; left: -5px; top: 0; height: 100%; }\n.ui-resizable-se { cursor: se-resize; width: 12px; height: 12px; right: 1px; bottom: 1px; }\n.ui-resizable-sw { cursor: sw-resize; width: 9px; height: 9px; left: -5px; bottom: -5px; }\n.ui-resizable-nw { cursor: nw-resize; width: 9px; height: 9px; left: -5px; top: -5px; }\n.ui-resizable-ne { cursor: ne-resize; width: 9px; height: 9px; right: -5px; top: -5px;}/*\n * jQuery UI Selectable 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Selectable#theming\n */\n.ui-selectable-helper { position: absolute; z-index: 100; border:1px dotted black; }\n/*\n * jQuery UI Accordion 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Accordion#theming\n */\n/* IE/Win - Fix animation bug - #4615 */\n.ui-accordion { width: 100%; }\n.ui-accordion .ui-accordion-header { cursor: pointer; position: relative; margin-top: 1px; zoom: 1; }\n.ui-accordion .ui-accordion-li-fix { display: inline; }\n.ui-accordion .ui-accordion-header-active { border-bottom: 0 !important; }\n.ui-accordion .ui-accordion-header a { display: block; font-size: 1em; padding: .5em .5em .5em .7em; }\n.ui-accordion-icons .ui-accordion-header a { padding-left: 2.2em; }\n.ui-accordion .ui-accordion-header .ui-icon { position: absolute; left: .5em; top: 50%; margin-top: -8px; }\n.ui-accordion .ui-accordion-content { padding: 1em 2.2em; border-top: 0; margin-top: -2px; position: relative; top: 1px; margin-bottom: 2px; overflow: auto; display: none; zoom: 1; }\n.ui-accordion .ui-accordion-content-active { display: block; }\n/*\n * jQuery UI Autocomplete 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Autocomplete#theming\n */\n.ui-autocomplete { position: absolute; cursor: default; }\t\n\n/* workarounds */\n* html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */\n\n/*\n * jQuery UI Menu 1.8.17\n *\n * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Menu#theming\n */\n.ui-menu {\n\tlist-style:none;\n\tpadding: 2px;\n\tmargin: 0;\n\tdisplay:block;\n\tfloat: left;\n}\n.ui-menu .ui-menu {\n\tmargin-top: -3px;\n}\n.ui-menu .ui-menu-item {\n\tmargin:0;\n\tpadding: 0;\n\tzoom: 1;\n\tfloat: left;\n\tclear: left;\n\twidth: 100%;\n}\n.ui-menu .ui-menu-item a {\n\ttext-decoration:none;\n\tdisplay:block;\n\tpadding:.2em .4em;\n\tline-height:1.5;\n\tzoom:1;\n}\n.ui-menu .ui-menu-item a.ui-state-hover,\n.ui-menu .ui-menu-item a.ui-state-active {\n\tfont-weight: normal;\n\tmargin: -1px;\n}\n/*\n * jQuery UI Button 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Button#theming\n */\n.ui-button { display: inline-block; position: relative; padding: 0; margin-right: .1em; text-decoration: none !important; cursor: pointer; text-align: center; zoom: 1; overflow: visible; } /* the overflow property removes extra width in IE */\n.ui-button-icon-only { width: 2.2em; } /* to make room for the icon, a width needs to be set here */\nbutton.ui-button-icon-only { width: 2.4em; } /* button elements seem to need a little more width */\n.ui-button-icons-only { width: 3.4em; } \nbutton.ui-button-icons-only { width: 3.7em; } \n\n/*button text element */\n.ui-button .ui-button-text { display: block; line-height: 1.4; }\n.ui-button-text-only .ui-button-text { padding: .4em 1em; }\n.ui-button-icon-only .ui-button-text, .ui-button-icons-only .ui-button-text { padding: .4em; text-indent: -9999999px; }\n.ui-button-text-icon-primary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 1em .4em 2.1em; }\n.ui-button-text-icon-secondary .ui-button-text, .ui-button-text-icons .ui-button-text { padding: .4em 2.1em .4em 1em; }\n.ui-button-text-icons .ui-button-text { padding-left: 2.1em; padding-right: 2.1em; }\n/* no icon support for input elements, provide padding by default */\ninput.ui-button { padding: .4em 1em; }\n\n/*button icon element(s) */\n.ui-button-icon-only .ui-icon, .ui-button-text-icon-primary .ui-icon, .ui-button-text-icon-secondary .ui-icon, .ui-button-text-icons .ui-icon, .ui-button-icons-only .ui-icon { position: absolute; top: 50%; margin-top: -8px; }\n.ui-button-icon-only .ui-icon { left: 50%; margin-left: -8px; }\n.ui-button-text-icon-primary .ui-button-icon-primary, .ui-button-text-icons .ui-button-icon-primary, .ui-button-icons-only .ui-button-icon-primary { left: .5em; }\n.ui-button-text-icon-secondary .ui-button-icon-secondary, .ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }\n.ui-button-text-icons .ui-button-icon-secondary, .ui-button-icons-only .ui-button-icon-secondary { right: .5em; }\n\n/*button sets*/\n.ui-buttonset { margin-right: 7px; }\n.ui-buttonset .ui-button { margin-left: 0; margin-right: -.3em; }\n\n/* workarounds */\nbutton.ui-button::-moz-focus-inner { border: 0; padding: 0; } /* reset extra padding in Firefox */\n/*\n * jQuery UI Dialog 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Dialog#theming\n */\n.ui-dialog { position: absolute; padding: .2em; width: 300px; overflow: hidden; }\n.ui-dialog .ui-dialog-titlebar { padding: .4em 1em; position: relative; }\n.ui-dialog .ui-dialog-title { float: left; margin: .1em 16px .1em 0; } \n.ui-dialog .ui-dialog-titlebar-close { position: absolute; right: .3em; top: 50%; width: 19px; margin: -10px 0 0 0; padding: 1px; height: 18px; }\n.ui-dialog .ui-dialog-titlebar-close span { display: block; margin: 1px; }\n.ui-dialog .ui-dialog-titlebar-close:hover, .ui-dialog .ui-dialog-titlebar-close:focus { padding: 0; }\n.ui-dialog .ui-dialog-content { position: relative; border: 0; padding: .5em 1em; background: none; overflow: auto; zoom: 1; }\n.ui-dialog .ui-dialog-buttonpane { text-align: left; border-width: 1px 0 0 0; background-image: none; margin: .5em 0 0 0; padding: .3em 1em .5em .4em; }\n.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { float: right; }\n.ui-dialog .ui-dialog-buttonpane button { margin: .5em .4em .5em 0; cursor: pointer; }\n.ui-dialog .ui-resizable-se { width: 14px; height: 14px; right: 3px; bottom: 3px; }\n.ui-draggable .ui-dialog-titlebar { cursor: move; }\n/*\n * jQuery UI Slider 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Slider#theming\n */\n.ui-slider { position: relative; text-align: left; }\n.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }\n.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }\n\n.ui-slider-horizontal { height: .8em; }\n.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }\n.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }\n.ui-slider-horizontal .ui-slider-range-min { left: 0; }\n.ui-slider-horizontal .ui-slider-range-max { right: 0; }\n\n.ui-slider-vertical { width: .8em; height: 100px; }\n.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }\n.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }\n.ui-slider-vertical .ui-slider-range-min { bottom: 0; }\n.ui-slider-vertical .ui-slider-range-max { top: 0; }/*\n * jQuery UI Tabs 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Tabs#theming\n */\n.ui-tabs { position: relative; padding: .2em; zoom: 1; } /* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as \"fixed\") */\n.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }\n.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }\n.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }\n.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }\n.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }\n.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; } /* first selector in group seems obsolete, but required to overcome bug in Opera applying cursor: text overall if defined elsewhere... */\n.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 1em 1.4em; background: none; }\n.ui-tabs .ui-tabs-hide { display: none !important; }\n/*\n * jQuery UI Datepicker 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Datepicker#theming\n */\n.ui-datepicker { width: 17em; padding: .2em .2em 0; display: none; }\n.ui-datepicker .ui-datepicker-header { position:relative; padding:.2em 0; }\n.ui-datepicker .ui-datepicker-prev, .ui-datepicker .ui-datepicker-next { position:absolute; top: 2px; width: 1.8em; height: 1.8em; }\n.ui-datepicker .ui-datepicker-prev-hover, .ui-datepicker .ui-datepicker-next-hover { top: 1px; }\n.ui-datepicker .ui-datepicker-prev { left:2px; }\n.ui-datepicker .ui-datepicker-next { right:2px; }\n.ui-datepicker .ui-datepicker-prev-hover { left:1px; }\n.ui-datepicker .ui-datepicker-next-hover { right:1px; }\n.ui-datepicker .ui-datepicker-prev span, .ui-datepicker .ui-datepicker-next span { display: block; position: absolute; left: 50%; margin-left: -8px; top: 50%; margin-top: -8px; }\n.ui-datepicker .ui-datepicker-title { margin: 0 2.3em; line-height: 1.8em; text-align: center; }\n.ui-datepicker .ui-datepicker-title select { font-size:1em; margin:1px 0; }\n.ui-datepicker select.ui-datepicker-month-year {width: 100%;}\n.ui-datepicker select.ui-datepicker-month, \n.ui-datepicker select.ui-datepicker-year { width: 49%;}\n.ui-datepicker table {width: 100%; font-size: .9em; border-collapse: collapse; margin:0 0 .4em; }\n.ui-datepicker th { padding: .7em .3em; text-align: center; font-weight: bold; border: 0; }\n.ui-datepicker td { border: 0; padding: 1px; }\n.ui-datepicker td span, .ui-datepicker td a { display: block; padding: .2em; text-align: right; text-decoration: none; }\n.ui-datepicker .ui-datepicker-buttonpane { background-image: none; margin: .7em 0 0 0; padding:0 .2em; border-left: 0; border-right: 0; border-bottom: 0; }\n.ui-datepicker .ui-datepicker-buttonpane button { float: right; margin: .5em .2em .4em; cursor: pointer; padding: .2em .6em .3em .6em; width:auto; overflow:visible; }\n.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current { float:left; }\n\n/* with multiple calendars */\n.ui-datepicker.ui-datepicker-multi { width:auto; }\n.ui-datepicker-multi .ui-datepicker-group { float:left; }\n.ui-datepicker-multi .ui-datepicker-group table { width:95%; margin:0 auto .4em; }\n.ui-datepicker-multi-2 .ui-datepicker-group { width:50%; }\n.ui-datepicker-multi-3 .ui-datepicker-group { width:33.3%; }\n.ui-datepicker-multi-4 .ui-datepicker-group { width:25%; }\n.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header { border-left-width:0; }\n.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header { border-left-width:0; }\n.ui-datepicker-multi .ui-datepicker-buttonpane { clear:left; }\n.ui-datepicker-row-break { clear:both; width:100%; font-size:0em; }\n\n/* RTL support */\n.ui-datepicker-rtl { direction: rtl; }\n.ui-datepicker-rtl .ui-datepicker-prev { right: 2px; left: auto; }\n.ui-datepicker-rtl .ui-datepicker-next { left: 2px; right: auto; }\n.ui-datepicker-rtl .ui-datepicker-prev:hover { right: 1px; left: auto; }\n.ui-datepicker-rtl .ui-datepicker-next:hover { left: 1px; right: auto; }\n.ui-datepicker-rtl .ui-datepicker-buttonpane { clear:right; }\n.ui-datepicker-rtl .ui-datepicker-buttonpane button { float: left; }\n.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current { float:right; }\n.ui-datepicker-rtl .ui-datepicker-group { float:right; }\n.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header { border-right-width:0; border-left-width:1px; }\n.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header { border-right-width:0; border-left-width:1px; }\n\n/* IE6 IFRAME FIX (taken from datepicker 1.5.3 */\n.ui-datepicker-cover {\n display: none; /*sorry for IE5*/\n display/**/: block; /*sorry for IE5*/\n position: absolute; /*must have*/\n z-index: -1; /*must have*/\n filter: mask(); /*must have*/\n top: -4px; /*must have*/\n left: -4px; /*must have*/\n width: 200px; /*must have*/\n height: 200px; /*must have*/\n}/*\n * jQuery UI Progressbar 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI/Progressbar#theming\n */\n.ui-progressbar { height:2em; text-align: left; overflow: hidden; }\n.ui-progressbar .ui-progressbar-value {margin: -1px; height:100%; }"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.243Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/css/jquery.autocomplete.css",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "Date",
"value": "Tue, 08 Sep 2015 18:20:35 GMT"
},
{
"name": "Last-Modified",
"value": "Tue, 17 Mar 2015 17:35:50 GMT"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "ETag",
"value": "\"772-1426613750000\""
},
{
"name": "Content-Length",
"value": "772"
},
{
"name": "Content-Type",
"value": "text/css;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 772,
"mimeType": "text/css",
"text": "body {\r\n\t;\r\n}\r\n.ac_results {\r\n\tpadding: 0px;\r\n\tborder: 1px solid WindowFrame;\r\n\tbackground-color: Window;\r\n\toverflow: hidden;\r\n}\r\n\r\n.ac_results ul {\r\n\twidth: 100%;\r\n\tlist-style-position: outside;\r\n\tlist-style: none;\r\n\tpadding: 0;\r\n\tmargin: 0;\r\n}\r\n\r\n.ac_results iframe {\r\n\tdisplay:none;/*sorry for IE5*/\r\n\tdisplay/**/:block;/*sorry for IE5*/\r\n\tposition:absolute;\r\n\ttop:0;\r\n\tleft:0;\r\n\tz-index:-1;\r\n\tfilter:mask();\r\n\twidth:3000px;\r\n\theight:3000px;\r\n}\r\n\r\n.ac_results li {\r\n\tmargin: 0px;\r\n\tpadding: 2px 5px;\r\n\tcursor: pointer;\r\n\tdisplay: block;\r\n\twidth: 100%;\r\n\tfont: menu;\r\n\tfont-size: 60%;\r\n\toverflow: hidden;\r\n}\r\n\r\n.ac_loading {\r\n\tbackground : Window url('./indicator.gif') right center no-repeat;\r\n}\r\n\r\n.ac_over {\r\n\tbackground-color: Highlight;\r\n\tcolor: HighlightText;\r\n}\r\n"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.244Z",
"time": 717.1719999896595,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/calendar.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 670,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"49304-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "49304"
}
],
"cookies": [],
"content": {
"size": 49304,
"mimeType": "text/javascript",
"compression": 0,
"text": "/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo\n * -----------------------------------------------------------\n *\n * The DHTML Calendar, version 1.0 \"It is happening again\"\n *\n * Details and latest version at:\n * www.dynarch.com/projects/calendar\n *\n * This script is developed by Dynarch.com. Visit us at www.dynarch.com.\n *\n * This script is distributed under the GNU Lesser General Public License.\n * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html\n */\n\n// $Id: calendar.js,v 1.53 2006/02/11 12:32:59 mishoo Exp $\n\n/** The Calendar object constructor. */\nCalendar = function (firstDayOfWeek, dateStr, onSelected, onClose) {\n\t// member variables\n\tthis.activeDiv = null;\n\tthis.currentDateEl = null;\n\tthis.getDateStatus = null;\n\tthis.getDateToolTip = null;\n\tthis.getDateText = null;\n\tthis.timeout = null;\n\tthis.onSelected = onSelected || null;\n\tthis.onClose = onClose || null;\n\tthis.dragging = false;\n\tthis.hidden = false;\n\tthis.minYear = 1970;\n\tthis.maxYear = 2050;\n\tthis.dateFormat = Calendar._TT[\"DEF_DATE_FORMAT\"];\n\tthis.ttDateFormat = Calendar._TT[\"TT_DATE_FORMAT\"];\n\tthis.isPopup = true;\n\tthis.weekNumbers = true;\n\tthis.firstDayOfWeek = typeof firstDayOfWeek == \"number\" ? firstDayOfWeek : Calendar._FD; // 0 for Sunday, 1 for Monday, etc.\n\tthis.showsOtherMonths = false;\n\tthis.dateStr = dateStr;\n\tthis.ar_days = null;\n\tthis.showsTime = false;\n\tthis.time24 = true;\n\tthis.yearStep = 2;\n\tthis.hiliteToday = true;\n\tthis.multiple = null;\n\t// HTML elements\n\tthis.table = null;\n\tthis.element = null;\n\tthis.tbody = null;\n\tthis.firstdayname = null;\n\t// Combo boxes\n\tthis.monthsCombo = null;\n\tthis.yearsCombo = null;\n\tthis.hilitedMonth = null;\n\tthis.activeMonth = null;\n\tthis.hilitedYear = null;\n\tthis.activeYear = null;\n\t// Information\n\tthis.dateClicked = false;\n\n\t// one-time initializations\n\tif (typeof Calendar._SDN == \"undefined\") {\n\t\t// table of short day names\n\t\tif (typeof Calendar._SDN_len == \"undefined\")\n\t\t\tCalendar._SDN_len = 3;\n\t\tvar ar = new Array();\n\t\tfor (var i = 8; i > 0;) {\n\t\t\tar[--i] = Calendar._DN[i].substr(0, Calendar._SDN_len);\n\t\t}\n\t\tCalendar._SDN = ar;\n\t\t// table of short month names\n\t\tif (typeof Calendar._SMN_len == \"undefined\")\n\t\t\tCalendar._SMN_len = 3;\n\t\tar = new Array();\n\t\tfor (var i = 12; i > 0;) {\n\t\t\tar[--i] = Calendar._MN[i].substr(0, Calendar._SMN_len);\n\t\t}\n\t\tCalendar._SMN = ar;\n\t}\n};\n\n// ** constants\n\n/// \"static\", needed for event handlers.\nCalendar._C = null;\n\n/// detect a special case of \"web browser\"\nCalendar.is_ie = ( /msie/i.test(navigator.userAgent) &&\n\t\t !/opera/i.test(navigator.userAgent) );\n\nCalendar.is_ie5 = ( Calendar.is_ie && /msie 5\\.0/i.test(navigator.userAgent) );\n\n/// detect Opera browser\nCalendar.is_opera = /opera/i.test(navigator.userAgent);\n\n/// detect KHTML-based browsers\nCalendar.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent);\n\n// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate\n// library, at some point.\n\nCalendar.getAbsolutePos = function(el) {\n\tvar SL = 0, ST = 0;\n\tvar is_div = /^div$/i.test(el.tagName);\n\tif (is_div && el.scrollLeft)\n\t\tSL = el.scrollLeft;\n\tif (is_div && el.scrollTop)\n\t\tST = el.scrollTop;\n\tvar r = { x: el.offsetLeft - SL, y: el.offsetTop - ST };\n\tif (el.offsetParent) {\n\t\tvar tmp = this.getAbsolutePos(el.offsetParent);\n\t\tr.x += tmp.x;\n\t\tr.y += tmp.y;\n\t}\n\treturn r;\n};\n\nCalendar.isRelated = function (el, evt) {\n\tvar related = evt.relatedTarget;\n\tif (!related) {\n\t\tvar type = evt.type;\n\t\tif (type == \"mouseover\") {\n\t\t\trelated = evt.fromElement;\n\t\t} else if (type == \"mouseout\") {\n\t\t\trelated = evt.toElement;\n\t\t}\n\t}\n\twhile (related) {\n\t\tif (related == el) {\n\t\t\treturn true;\n\t\t}\n\t\trelated = related.parentNode;\n\t}\n\treturn false;\n};\n\nCalendar.removeClass = function(el, className) {\n\tif (!(el && el.className)) {\n\t\treturn;\n\t}\n\tvar cls = el.className.split(\" \");\n\tvar ar = new Array();\n\tfor (var i = cls.length; i > 0;) {\n\t\tif (cls[--i] != className) {\n\t\t\tar[ar.length] = cls[i];\n\t\t}\n\t}\n\tel.className = ar.join(\" \");\n};\n\nCalendar.addClass = function(el, className) {\n\tCalendar.removeClass(el, className);\n\tel.className += \" \" + className;\n};\n\n// FIXME: the following 2 functions totally suck, are useless and should be replaced immediately.\nCalendar.getElement = function(ev) {\n\tvar f = Calendar.is_ie ? window.event.srcElement : ev.currentTarget;\n\twhile (f.nodeType != 1 || /^div$/i.test(f.tagName))\n\t\tf = f.parentNode;\n\treturn f;\n};\n\nCalendar.getTargetElement = function(ev) {\n\tvar f = Calendar.is_ie ? window.event.srcElement : ev.target;\n\twhile (f.nodeType != 1)\n\t\tf = f.parentNode;\n\treturn f;\n};\n\nCalendar.stopEvent = function(ev) {\n\tev || (ev = window.event);\n\tif (Calendar.is_ie) {\n\t\tev.cancelBubble = true;\n\t\tev.returnValue = false;\n\t} else {\n\t\tev.preventDefault();\n\t\tev.stopPropagation();\n\t}\n\treturn false;\n};\n\nCalendar.addEvent = function(el, evname, func) {\n\tif (el.attachEvent) { // IE\n\t\tel.attachEvent(\"on\" + evname, func);\n\t} else if (el.addEventListener) { // Gecko / W3C\n\t\tel.addEventListener(evname, func, true);\n\t} else {\n\t\tel[\"on\" + evname] = func;\n\t}\n};\n\nCalendar.removeEvent = function(el, evname, func) {\n\tif (el.detachEvent) { // IE\n\t\tel.detachEvent(\"on\" + evname, func);\n\t} else if (el.removeEventListener) { // Gecko / W3C\n\t\tel.removeEventListener(evname, func, true);\n\t} else {\n\t\tel[\"on\" + evname] = null;\n\t}\n};\n\nCalendar.createElement = function(type, parent) {\n\tvar el = null;\n\tif (document.createElementNS) {\n\t\t// use the XHTML namespace; IE won't normally get here unless\n\t\t// _they_ \"fix\" the DOM2 implementation.\n\t\tel = document.createElementNS(\"http://www.w3.org/1999/xhtml\", type);\n\t} else {\n\t\tel = document.createElement(type);\n\t}\n\tif (typeof parent != \"undefined\") {\n\t\tparent.appendChild(el);\n\t}\n\treturn el;\n};\n\n// END: UTILITY FUNCTIONS\n\n// BEGIN: CALENDAR STATIC FUNCTIONS\n\n/** Internal -- adds a set of events to make some element behave like a button. */\nCalendar._add_evs = function(el) {\n\twith (Calendar) {\n\t\taddEvent(el, \"mouseover\", dayMouseOver);\n\t\taddEvent(el, \"mousedown\", dayMouseDown);\n\t\taddEvent(el, \"mouseout\", dayMouseOut);\n\t\tif (is_ie) {\n\t\t\taddEvent(el, \"dblclick\", dayMouseDblClick);\n\t\t\tel.setAttribute(\"unselectable\", true);\n\t\t}\n\t}\n};\n\nCalendar.findMonth = function(el) {\n\tif (typeof el.month != \"undefined\") {\n\t\treturn el;\n\t} else if (typeof el.parentNode.month != \"undefined\") {\n\t\treturn el.parentNode;\n\t}\n\treturn null;\n};\n\nCalendar.findYear = function(el) {\n\tif (typeof el.year != \"undefined\") {\n\t\treturn el;\n\t} else if (typeof el.parentNode.year != \"undefined\") {\n\t\treturn el.parentNode;\n\t}\n\treturn null;\n};\n\nCalendar.showMonthsCombo = function () {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tvar cal = cal;\n\tvar cd = cal.activeDiv;\n\tvar mc = cal.monthsCombo;\n\tif (cal.hilitedMonth) {\n\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t}\n\tif (cal.activeMonth) {\n\t\tCalendar.removeClass(cal.activeMonth, \"active\");\n\t}\n\tvar mon = cal.monthsCombo.getElementsByTagName(\"div\")[cal.date.getMonth()];\n\tCalendar.addClass(mon, \"active\");\n\tcal.activeMonth = mon;\n\tvar s = mc.style;\n\ts.display = \"block\";\n\tif (cd.navtype < 0)\n\t\ts.left = cd.offsetLeft + \"px\";\n\telse {\n\t\tvar mcw = mc.offsetWidth;\n\t\tif (typeof mcw == \"undefined\")\n\t\t\t// Konqueror brain-dead techniques\n\t\t\tmcw = 50;\n\t\ts.left = (cd.offsetLeft + cd.offsetWidth - mcw) + \"px\";\n\t}\n\ts.top = (cd.offsetTop + cd.offsetHeight) + \"px\";\n};\n\nCalendar.showYearsCombo = function (fwd) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tvar cal = cal;\n\tvar cd = cal.activeDiv;\n\tvar yc = cal.yearsCombo;\n\tif (cal.hilitedYear) {\n\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t}\n\tif (cal.activeYear) {\n\t\tCalendar.removeClass(cal.activeYear, \"active\");\n\t}\n\tcal.activeYear = null;\n\tvar Y = cal.date.getFullYear() + (fwd ? 1 : -1);\n\tvar yr = yc.firstChild;\n\tvar show = false;\n\tfor (var i = 12; i > 0; --i) {\n\t\tif (Y >= cal.minYear && Y <= cal.maxYear) {\n\t\t\tyr.innerHTML = Y;\n\t\t\tyr.year = Y;\n\t\t\tyr.style.display = \"block\";\n\t\t\tshow = true;\n\t\t} else {\n\t\t\tyr.style.display = \"none\";\n\t\t}\n\t\tyr = yr.nextSibling;\n\t\tY += fwd ? cal.yearStep : -cal.yearStep;\n\t}\n\tif (show) {\n\t\tvar s = yc.style;\n\t\ts.display = \"block\";\n\t\tif (cd.navtype < 0)\n\t\t\ts.left = cd.offsetLeft + \"px\";\n\t\telse {\n\t\t\tvar ycw = yc.offsetWidth;\n\t\t\tif (typeof ycw == \"undefined\")\n\t\t\t\t// Konqueror brain-dead techniques\n\t\t\t\tycw = 50;\n\t\t\ts.left = (cd.offsetLeft + cd.offsetWidth - ycw) + \"px\";\n\t\t}\n\t\ts.top = (cd.offsetTop + cd.offsetHeight) + \"px\";\n\t}\n};\n\n// event handlers\n\nCalendar.tableMouseUp = function(ev) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tif (cal.timeout) {\n\t\tclearTimeout(cal.timeout);\n\t}\n\tvar el = cal.activeDiv;\n\tif (!el) {\n\t\treturn false;\n\t}\n\tvar target = Calendar.getTargetElement(ev);\n\tev || (ev = window.event);\n\tCalendar.removeClass(el, \"active\");\n\tif (target == el || target.parentNode == el) {\n\t\tCalendar.cellClick(el, ev);\n\t}\n\tvar mon = Calendar.findMonth(target);\n\tvar date = null;\n\tif (mon) {\n\t\tdate = new Date(cal.date);\n\t\tif (mon.month != date.getMonth()) {\n\t\t\tdate.setMonth(mon.month);\n\t\t\tcal.setDate(date);\n\t\t\tcal.dateClicked = false;\n\t\t\tcal.callHandler();\n\t\t}\n\t} else {\n\t\tvar year = Calendar.findYear(target);\n\t\tif (year) {\n\t\t\tdate = new Date(cal.date);\n\t\t\tif (year.year != date.getFullYear()) {\n\t\t\t\tdate.setFullYear(year.year);\n\t\t\t\tcal.setDate(date);\n\t\t\t\tcal.dateClicked = false;\n\t\t\t\tcal.callHandler();\n\t\t\t}\n\t\t}\n\t}\n\twith (Calendar) {\n\t\tremoveEvent(document, \"mouseup\", tableMouseUp);\n\t\tremoveEvent(document, \"mouseover\", tableMouseOver);\n\t\tremoveEvent(document, \"mousemove\", tableMouseOver);\n\t\tcal._hideCombos();\n\t\t_C = null;\n\t\treturn stopEvent(ev);\n\t}\n};\n\nCalendar.tableMouseOver = function (ev) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn;\n\t}\n\tvar el = cal.activeDiv;\n\tvar target = Calendar.getTargetElement(ev);\n\tif (target == el || target.parentNode == el) {\n\t\tCalendar.addClass(el, \"hilite active\");\n\t\tCalendar.addClass(el.parentNode, \"rowhilite\");\n\t} else {\n\t\tif (typeof el.navtype == \"undefined\" || (el.navtype != 50 && (el.navtype == 0 || Math.abs(el.navtype) > 2)))\n\t\t\tCalendar.removeClass(el, \"active\");\n\t\tCalendar.removeClass(el, \"hilite\");\n\t\tCalendar.removeClass(el.parentNode, \"rowhilite\");\n\t}\n\tev || (ev = window.event);\n\tif (el.navtype == 50 && target != el) {\n\t\tvar pos = Calendar.getAbsolutePos(el);\n\t\tvar w = el.offsetWidth;\n\t\tvar x = ev.clientX;\n\t\tvar dx;\n\t\tvar decrease = true;\n\t\tif (x > pos.x + w) {\n\t\t\tdx = x - pos.x - w;\n\t\t\tdecrease = false;\n\t\t} else\n\t\t\tdx = pos.x - x;\n\n\t\tif (dx < 0) dx = 0;\n\t\tvar range = el._range;\n\t\tvar current = el._current;\n\t\tvar count = Math.floor(dx / 10) % range.length;\n\t\tfor (var i = range.length; --i >= 0;)\n\t\t\tif (range[i] == current)\n\t\t\t\tbreak;\n\t\twhile (count-- > 0)\n\t\t\tif (decrease) {\n\t\t\t\tif (--i < 0)\n\t\t\t\t\ti = range.length - 1;\n\t\t\t} else if ( ++i >= range.length )\n\t\t\t\ti = 0;\n\t\tvar newval = range[i];\n\t\tel.innerHTML = newval;\n\n\t\tcal.onUpdateTime();\n\t}\n\tvar mon = Calendar.findMonth(target);\n\tif (mon) {\n\t\tif (mon.month != cal.date.getMonth()) {\n\t\t\tif (cal.hilitedMonth) {\n\t\t\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t\t\t}\n\t\t\tCalendar.addClass(mon, \"hilite\");\n\t\t\tcal.hilitedMonth = mon;\n\t\t} else if (cal.hilitedMonth) {\n\t\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t\t}\n\t} else {\n\t\tif (cal.hilitedMonth) {\n\t\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t\t}\n\t\tvar year = Calendar.findYear(target);\n\t\tif (year) {\n\t\t\tif (year.year != cal.date.getFullYear()) {\n\t\t\t\tif (cal.hilitedYear) {\n\t\t\t\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t\t\t\t}\n\t\t\t\tCalendar.addClass(year, \"hilite\");\n\t\t\t\tcal.hilitedYear = year;\n\t\t\t} else if (cal.hilitedYear) {\n\t\t\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t\t\t}\n\t\t} else if (cal.hilitedYear) {\n\t\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t\t}\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.tableMouseDown = function (ev) {\n\tif (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) {\n\t\treturn Calendar.stopEvent(ev);\n\t}\n};\n\nCalendar.calDragIt = function (ev) {\n\tvar cal = Calendar._C;\n\tif (!(cal && cal.dragging)) {\n\t\treturn false;\n\t}\n\tvar posX;\n\tvar posY;\n\tif (Calendar.is_ie) {\n\t\tposY = window.event.clientY + document.body.scrollTop;\n\t\tposX = window.event.clientX + document.body.scrollLeft;\n\t} else {\n\t\tposX = ev.pageX;\n\t\tposY = ev.pageY;\n\t}\n\tcal.hideShowCovered();\n\tvar st = cal.element.style;\n\tst.left = (posX - cal.xOffs) + \"px\";\n\tst.top = (posY - cal.yOffs) + \"px\";\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.calDragEnd = function (ev) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tcal.dragging = false;\n\twith (Calendar) {\n\t\tremoveEvent(document, \"mousemove\", calDragIt);\n\t\tremoveEvent(document, \"mouseup\", calDragEnd);\n\t\ttableMouseUp(ev);\n\t}\n\tcal.hideShowCovered();\n};\n\nCalendar.dayMouseDown = function(ev) {\n\tvar el = Calendar.getElement(ev);\n\tif (el.disabled) {\n\t\treturn false;\n\t}\n\tvar cal = el.calendar;\n\tcal.activeDiv = el;\n\tCalendar._C = cal;\n\tif (el.navtype != 300) with (Calendar) {\n\t\tif (el.navtype == 50) {\n\t\t\tel._current = el.innerHTML;\n\t\t\taddEvent(document, \"mousemove\", tableMouseOver);\n\t\t} else\n\t\t\taddEvent(document, Calendar.is_ie5 ? \"mousemove\" : \"mouseover\", tableMouseOver);\n\t\taddClass(el, \"hilite active\");\n\t\taddEvent(document, \"mouseup\", tableMouseUp);\n\t} else if (cal.isPopup) {\n\t\tcal._dragStart(ev);\n\t}\n\tif (el.navtype == -1 || el.navtype == 1) {\n\t\tif (cal.timeout) clearTimeout(cal.timeout);\n\t\tcal.timeout = setTimeout(\"Calendar.showMonthsCombo()\", 250);\n\t} else if (el.navtype == -2 || el.navtype == 2) {\n\t\tif (cal.timeout) clearTimeout(cal.timeout);\n\t\tcal.timeout = setTimeout((el.navtype > 0) ? \"Calendar.showYearsCombo(true)\" : \"Calendar.showYearsCombo(false)\", 250);\n\t} else {\n\t\tcal.timeout = null;\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.dayMouseDblClick = function(ev) {\n\tCalendar.cellClick(Calendar.getElement(ev), ev || window.event);\n\tif (Calendar.is_ie) {\n\t\tdocument.selection.empty();\n\t}\n};\n\nCalendar.dayMouseOver = function(ev) {\n\tvar el = Calendar.getElement(ev);\n\tif (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) {\n\t\treturn false;\n\t}\n\tif (el.ttip) {\n\t\tif (el.ttip.substr(0, 1) == \"_\") {\n\t\t\tel.ttip = el.caldate.print(el.calendar.ttDateFormat) + el.ttip.substr(1);\n\t\t}\n\t\tel.calendar.tooltips.innerHTML = el.ttip;\n\t}\n\tif (el.navtype != 300) {\n\t\tCalendar.addClass(el, \"hilite\");\n\t\tif (el.caldate) {\n\t\t\tCalendar.addClass(el.parentNode, \"rowhilite\");\n\t\t\tvar cal = el.calendar;\n\t\t\tif (cal && cal.getDateToolTip) {\n\t\t\t\tvar d = el.caldate;\n\t\t\t\twindow.status = d;\n\t\t\t\tel.title = cal.getDateToolTip(d, d.getFullYear(), d.getMonth(), d.getDate());\n\t\t\t}\n\t\t}\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.dayMouseOut = function(ev) {\n\twith (Calendar) {\n\t\tvar el = getElement(ev);\n\t\tif (isRelated(el, ev) || _C || el.disabled)\n\t\t\treturn false;\n\t\tremoveClass(el, \"hilite\");\n\t\tif (el.caldate)\n\t\t\tremoveClass(el.parentNode, \"rowhilite\");\n\t\tif (el.calendar)\n\t\t\tel.calendar.tooltips.innerHTML = _TT[\"SEL_DATE\"];\n\t\t// return stopEvent(ev);\n\t}\n};\n\n/**\n * A generic \"click\" handler :) handles all types of buttons defined in this\n * calendar.\n */\nCalendar.cellClick = function(el, ev) {\n\tvar cal = el.calendar;\n\tvar closing = false;\n\tvar newdate = false;\n\tvar date = null;\n\tif (typeof el.navtype == \"undefined\") {\n\t\tif (cal.currentDateEl) {\n\t\t\tCalendar.removeClass(cal.currentDateEl, \"selected\");\n\t\t\tCalendar.addClass(el, \"selected\");\n\t\t\tclosing = (cal.currentDateEl == el);\n\t\t\tif (!closing) {\n\t\t\t\tcal.currentDateEl = el;\n\t\t\t}\n\t\t}\n\t\tcal.date.setDateOnly(el.caldate);\n\t\tdate = cal.date;\n\t\tvar other_month = !(cal.dateClicked = !el.otherMonth);\n\t\tif (!other_month && !cal.currentDateEl && cal.multiple)\n\t\t\tcal._toggleMultipleDate(new Date(date));\n\t\telse\n\t\t\tnewdate = !el.disabled;\n\t\t// a date was clicked\n\t\tif (other_month)\n\t\t\tcal._init(cal.firstDayOfWeek, date);\n\t} else {\n\t\tif (el.navtype == 200) {\n\t\t\tCalendar.removeClass(el, \"hilite\");\n\t\t\tcal.callCloseHandler();\n\t\t\treturn;\n\t\t}\n\t\tdate = new Date(cal.date);\n\t\tif (el.navtype == 0)\n\t\t\tdate.setDateOnly(new Date()); // TODAY\n\t\t// unless \"today\" was clicked, we assume no date was clicked so\n\t\t// the selected handler will know not to close the calenar when\n\t\t// in single-click mode.\n\t\t// cal.dateClicked = (el.navtype == 0);\n\t\tcal.dateClicked = false;\n\t\tvar year = date.getFullYear();\n\t\tvar mon = date.getMonth();\n\t\tfunction setMonth(m) {\n\t\t\tvar day = date.getDate();\n\t\t\tvar max = date.getMonthDays(m);\n\t\t\tif (day > max) {\n\t\t\t\tdate.setDate(max);\n\t\t\t}\n\t\t\tdate.setMonth(m);\n\t\t};\n\t\tswitch (el.navtype) {\n\t\t case 400:\n\t\t\tCalendar.removeClass(el, \"hilite\");\n\t\t\tvar text = Calendar._TT[\"ABOUT\"];\n\t\t\tif (typeof text != \"undefined\") {\n\t\t\t\ttext += cal.showsTime ? Calendar._TT[\"ABOUT_TIME\"] : \"\";\n\t\t\t} else {\n\t\t\t\t// FIXME: this should be removed as soon as lang files get updated!\n\t\t\t\ttext = \"Help and about box text is not translated into this language.\\n\" +\n\t\t\t\t\t\"If you know this language and you feel generous please update\\n\" +\n\t\t\t\t\t\"the corresponding file in \\\"lang\\\" subdir to match calendar-en.js\\n\" +\n\t\t\t\t\t\"and send it back to <mihai_bazon@yahoo.com> to get it into the distribution ;-)\\n\\n\" +\n\t\t\t\t\t\"Thank you!\\n\" +\n\t\t\t\t\t\"http://dynarch.com/mishoo/calendar.epl\\n\";\n\t\t\t}\n\t\t\talert(text);\n\t\t\treturn;\n\t\t case -2:\n\t\t\tif (year > cal.minYear) {\n\t\t\t\tdate.setFullYear(year - 1);\n\t\t\t}\n\t\t\tbreak;\n\t\t case -1:\n\t\t\tif (mon > 0) {\n\t\t\t\tsetMonth(mon - 1);\n\t\t\t} else if (year-- > cal.minYear) {\n\t\t\t\tdate.setFullYear(year);\n\t\t\t\tsetMonth(11);\n\t\t\t}\n\t\t\tbreak;\n\t\t case 1:\n\t\t\tif (mon < 11) {\n\t\t\t\tsetMonth(mon + 1);\n\t\t\t} else if (year < cal.maxYear) {\n\t\t\t\tdate.setFullYear(year + 1);\n\t\t\t\tsetMonth(0);\n\t\t\t}\n\t\t\tbreak;\n\t\t case 2:\n\t\t\tif (year < cal.maxYear) {\n\t\t\t\tdate.setFullYear(year + 1);\n\t\t\t}\n\t\t\tbreak;\n\t\t case 100:\n\t\t\tcal.setFirstDayOfWeek(el.fdow);\n\t\t\treturn;\n\t\t case 50:\n\t\t\tvar range = el._range;\n\t\t\tvar current = el.innerHTML;\n\t\t\tfor (var i = range.length; --i >= 0;)\n\t\t\t\tif (range[i] == current)\n\t\t\t\t\tbreak;\n\t\t\tif (ev && ev.shiftKey) {\n\t\t\t\tif (--i < 0)\n\t\t\t\t\ti = range.length - 1;\n\t\t\t} else if ( ++i >= range.length )\n\t\t\t\ti = 0;\n\t\t\tvar newval = range[i];\n\t\t\tel.innerHTML = newval;\n\t\t\tcal.onUpdateTime();\n\t\t\treturn;\n\t\t case 0:\n\t\t\t// TODAY will bring us here\n\t\t\tif ((typeof cal.getDateStatus == \"function\") &&\n\t\t\t cal.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate())) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tif (!date.equalsTo(cal.date)) {\n\t\t\tcal.setDate(date);\n\t\t\tnewdate = true;\n\t\t} else if (el.navtype == 0)\n\t\t\tnewdate = closing = true;\n\t}\n\tif (newdate) {\n\t\tev && cal.callHandler();\n\t}\n\tif (closing) {\n\t\tCalendar.removeClass(el, \"hilite\");\n\t\tev && cal.callCloseHandler();\n\t}\n};\n\n// END: CALENDAR STATIC FUNCTIONS\n\n// BEGIN: CALENDAR OBJECT FUNCTIONS\n\n/**\n * This function creates the calendar inside the given parent. If _par is\n * null than it creates a popup calendar inside the BODY element. If _par is\n * an element, be it BODY, then it creates a non-popup calendar (still\n * hidden). Some properties need to be set before calling this function.\n */\nCalendar.prototype.create = function (_par) {\n\tvar parent = null;\n\tif (! _par) {\n\t\t// default parent is the document body, in which case we create\n\t\t// a popup calendar.\n\t\tparent = document.getElementsByTagName(\"body\")[0];\n\t\tthis.isPopup = true;\n\t} else {\n\t\tparent = _par;\n\t\tthis.isPopup = false;\n\t}\n\tthis.date = this.dateStr ? new Date(this.dateStr) : new Date();\n\n\tvar table = Calendar.createElement(\"table\");\n\tthis.table = table;\n\ttable.cellSpacing = 0;\n\ttable.cellPadding = 0;\n\ttable.calendar = this;\n\tCalendar.addEvent(table, \"mousedown\", Calendar.tableMouseDown);\n\n\tvar div = Calendar.createElement(\"div\");\n\tthis.element = div;\n\tdiv.className = \"calendar\";\n\tif (this.isPopup) {\n\t\tdiv.style.position = \"absolute\";\n\t\tdiv.style.display = \"none\";\n\t}\n\tdiv.appendChild(table);\n\n\tvar thead = Calendar.createElement(\"thead\", table);\n\tvar cell = null;\n\tvar row = null;\n\n\tvar cal = this;\n\tvar hh = function (text, cs, navtype) {\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.colSpan = cs;\n\t\tcell.className = \"button\";\n\t\tif (navtype != 0 && Math.abs(navtype) <= 2)\n\t\t\tcell.className += \" nav\";\n\t\tCalendar._add_evs(cell);\n\t\tcell.calendar = cal;\n\t\tcell.navtype = navtype;\n\t\tcell.innerHTML = \"<div unselectable='on'>\" + text + \"</div>\";\n\t\treturn cell;\n\t};\n\n\trow = Calendar.createElement(\"tr\", thead);\n\tvar title_length = 6;\n\t(this.isPopup) && --title_length;\n\t(this.weekNumbers) && ++title_length;\n\n\thh(\"?\", 1, 400).ttip = Calendar._TT[\"INFO\"];\n\tthis.title = hh(\"\", title_length, 300);\n\tthis.title.className = \"title\";\n\tif (this.isPopup) {\n\t\tthis.title.ttip = Calendar._TT[\"DRAG_TO_MOVE\"];\n\t\tthis.title.style.cursor = \"move\";\n\t\thh(\"&#x00d7;\", 1, 200).ttip = Calendar._TT[\"CLOSE\"];\n\t}\n\n\trow = Calendar.createElement(\"tr\", thead);\n\trow.className = \"headrow\";\n\n\tthis._nav_py = hh(\"&#x00ab;\", 1, -2);\n\tthis._nav_py.ttip = Calendar._TT[\"PREV_YEAR\"];\n\n\tthis._nav_pm = hh(\"&#x2039;\", 1, -1);\n\tthis._nav_pm.ttip = Calendar._TT[\"PREV_MONTH\"];\n\n\tthis._nav_now = hh(Calendar._TT[\"TODAY\"], this.weekNumbers ? 4 : 3, 0);\n\tthis._nav_now.ttip = Calendar._TT[\"GO_TODAY\"];\n\n\tthis._nav_nm = hh(\"&#x203a;\", 1, 1);\n\tthis._nav_nm.ttip = Calendar._TT[\"NEXT_MONTH\"];\n\n\tthis._nav_ny = hh(\"&#x00bb;\", 1, 2);\n\tthis._nav_ny.ttip = Calendar._TT[\"NEXT_YEAR\"];\n\n\t// day names\n\trow = Calendar.createElement(\"tr\", thead);\n\trow.className = \"daynames\";\n\tif (this.weekNumbers) {\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.className = \"name wn\";\n\t\tcell.innerHTML = Calendar._TT[\"WK\"];\n\t}\n\tfor (var i = 7; i > 0; --i) {\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tif (!i) {\n\t\t\tcell.navtype = 100;\n\t\t\tcell.calendar = this;\n\t\t\tCalendar._add_evs(cell);\n\t\t}\n\t}\n\tthis.firstdayname = (this.weekNumbers) ? row.firstChild.nextSibling : row.firstChild;\n\tthis._displayWeekdays();\n\n\tvar tbody = Calendar.createElement(\"tbody\", table);\n\tthis.tbody = tbody;\n\n\tfor (i = 6; i > 0; --i) {\n\t\trow = Calendar.createElement(\"tr\", tbody);\n\t\tif (this.weekNumbers) {\n\t\t\tcell = Calendar.createElement(\"td\", row);\n\t\t}\n\t\tfor (var j = 7; j > 0; --j) {\n\t\t\tcell = Calendar.createElement(\"td\", row);\n\t\t\tcell.calendar = this;\n\t\t\tCalendar._add_evs(cell);\n\t\t}\n\t}\n\n\tif (this.showsTime) {\n\t\trow = Calendar.createElement(\"tr\", tbody);\n\t\trow.className = \"time\";\n\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.className = \"time\";\n\t\tcell.colSpan = 2;\n\t\tcell.innerHTML = Calendar._TT[\"TIME\"] || \"&nbsp;\";\n\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.className = \"time\";\n\t\tcell.colSpan = this.weekNumbers ? 4 : 3;\n\n\t\t(function(){\n\t\t\tfunction makeTimePart(className, init, range_start, range_end) {\n\t\t\t\tvar part = Calendar.createElement(\"span\", cell);\n\t\t\t\tpart.className = className;\n\t\t\t\tpart.innerHTML = init;\n\t\t\t\tpart.calendar = cal;\n\t\t\t\tpart.ttip = Calendar._TT[\"TIME_PART\"];\n\t\t\t\tpart.navtype = 50;\n\t\t\t\tpart._range = [];\n\t\t\t\tif (typeof range_start != \"number\")\n\t\t\t\t\tpart._range = range_start;\n\t\t\t\telse {\n\t\t\t\t\tfor (var i = range_start; i <= range_end; ++i) {\n\t\t\t\t\t\tvar txt;\n\t\t\t\t\t\tif (i < 10 && range_end >= 10) txt = '0' + i;\n\t\t\t\t\t\telse txt = '' + i;\n\t\t\t\t\t\tpart._range[part._range.length] = txt;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tCalendar._add_evs(part);\n\t\t\t\treturn part;\n\t\t\t};\n\t\t\tvar hrs = cal.date.getHours();\n\t\t\tvar mins = cal.date.getMinutes();\n\t\t\tvar t12 = !cal.time24;\n\t\t\tvar pm = (hrs > 12);\n\t\t\tif (t12 && pm) hrs -= 12;\n\t\t\tvar H = makeTimePart(\"hour\", hrs, t12 ? 1 : 0, t12 ? 12 : 23);\n\t\t\tvar span = Calendar.createElement(\"span\", cell);\n\t\t\tspan.innerHTML = \":\";\n\t\t\tspan.className = \"colon\";\n\t\t\tvar M = makeTimePart(\"minute\", mins, 0, 59);\n\t\t\tvar AP = null;\n\t\t\tcell = Calendar.createElement(\"td\", row);\n\t\t\tcell.className = \"time\";\n\t\t\tcell.colSpan = 2;\n\t\t\tif (t12)\n\t\t\t\tAP = makeTimePart(\"ampm\", pm ? \"pm\" : \"am\", [\"am\", \"pm\"]);\n\t\t\telse\n\t\t\t\tcell.innerHTML = \"&nbsp;\";\n\n\t\t\tcal.onSetTime = function() {\n\t\t\t\tvar pm, hrs = this.date.getHours(),\n\t\t\t\t\tmins = this.date.getMinutes();\n\t\t\t\tif (t12) {\n\t\t\t\t\tpm = (hrs >= 12);\n\t\t\t\t\tif (pm) hrs -= 12;\n\t\t\t\t\tif (hrs == 0) hrs = 12;\n\t\t\t\t\tAP.innerHTML = pm ? \"pm\" : \"am\";\n\t\t\t\t}\n\t\t\t\tH.innerHTML = (hrs < 10) ? (\"0\" + hrs) : hrs;\n\t\t\t\tM.innerHTML = (mins < 10) ? (\"0\" + mins) : mins;\n\t\t\t};\n\n\t\t\tcal.onUpdateTime = function() {\n\t\t\t\tvar date = this.date;\n\t\t\t\tvar h = parseInt(H.innerHTML, 10);\n\t\t\t\tif (t12) {\n\t\t\t\t\tif (/pm/i.test(AP.innerHTML) && h < 12)\n\t\t\t\t\t\th += 12;\n\t\t\t\t\telse if (/am/i.test(AP.innerHTML) && h == 12)\n\t\t\t\t\t\th = 0;\n\t\t\t\t}\n\t\t\t\tvar d = date.getDate();\n\t\t\t\tvar m = date.getMonth();\n\t\t\t\tvar y = date.getFullYear();\n\t\t\t\tdate.setHours(h);\n\t\t\t\tdate.setMinutes(parseInt(M.innerHTML, 10));\n\t\t\t\tdate.setFullYear(y);\n\t\t\t\tdate.setMonth(m);\n\t\t\t\tdate.setDate(d);\n\t\t\t\tthis.dateClicked = false;\n\t\t\t\tthis.callHandler();\n\t\t\t};\n\t\t})();\n\t} else {\n\t\tthis.onSetTime = this.onUpdateTime = function() {};\n\t}\n\n\tvar tfoot = Calendar.createElement(\"tfoot\", table);\n\n\trow = Calendar.createElement(\"tr\", tfoot);\n\trow.className = \"footrow\";\n\n\tcell = hh(Calendar._TT[\"SEL_DATE\"], this.weekNumbers ? 8 : 7, 300);\n\tcell.className = \"ttip\";\n\tif (this.isPopup) {\n\t\tcell.ttip = Calendar._TT[\"DRAG_TO_MOVE\"];\n\t\tcell.style.cursor = \"move\";\n\t}\n\tthis.tooltips = cell;\n\n\tdiv = Calendar.createElement(\"div\", this.element);\n\tthis.monthsCombo = div;\n\tdiv.className = \"combo\";\n\tfor (i = 0; i < Calendar._MN.length; ++i) {\n\t\tvar mn = Calendar.createElement(\"div\");\n\t\tmn.className = Calendar.is_ie ? \"label-IEfix\" : \"label\";\n\t\tmn.month = i;\n\t\tmn.innerHTML = Calendar._SMN[i];\n\t\tdiv.appendChild(mn);\n\t}\n\n\tdiv = Calendar.createElement(\"div\", this.element);\n\tthis.yearsCombo = div;\n\tdiv.className = \"combo\";\n\tfor (i = 12; i > 0; --i) {\n\t\tvar yr = Calendar.createElement(\"div\");\n\t\tyr.className = Calendar.is_ie ? \"label-IEfix\" : \"label\";\n\t\tdiv.appendChild(yr);\n\t}\n\n\tthis._init(this.firstDayOfWeek, this.date);\n\tparent.appendChild(this.element);\n};\n\n/** keyboard navigation, only for popup calendars */\nCalendar._keyEvent = function(ev) {\n\tvar cal = window._dynarch_popupCalendar;\n\tif (!cal || cal.multiple)\n\t\treturn false;\n\t(Calendar.is_ie) && (ev = window.event);\n\tvar act = (Calendar.is_ie || ev.type == \"keypress\"),\n\t\tK = ev.keyCode;\n\tif (ev.ctrlKey) {\n\t\tswitch (K) {\n\t\t case 37: // KEY left\n\t\t\tact && Calendar.cellClick(cal._nav_pm);\n\t\t\tbreak;\n\t\t case 38: // KEY up\n\t\t\tact && Calendar.cellClick(cal._nav_py);\n\t\t\tbreak;\n\t\t case 39: // KEY right\n\t\t\tact && Calendar.cellClick(cal._nav_nm);\n\t\t\tbreak;\n\t\t case 40: // KEY down\n\t\t\tact && Calendar.cellClick(cal._nav_ny);\n\t\t\tbreak;\n\t\t default:\n\t\t\treturn false;\n\t\t}\n\t} else switch (K) {\n\t case 32: // KEY space (now)\n\t\tCalendar.cellClick(cal._nav_now);\n\t\tbreak;\n\t case 27: // KEY esc\n\t\tact && cal.callCloseHandler();\n\t\tbreak;\n\t case 37: // KEY left\n\t case 38: // KEY up\n\t case 39: // KEY right\n\t case 40: // KEY down\n\t\tif (act) {\n\t\t\tvar prev, x, y, ne, el, step;\n\t\t\tprev = K == 37 || K == 38;\n\t\t\tstep = (K == 37 || K == 39) ? 1 : 7;\n\t\t\tfunction setVars() {\n\t\t\t\tel = cal.currentDateEl;\n\t\t\t\tvar p = el.pos;\n\t\t\t\tx = p & 15;\n\t\t\t\ty = p >> 4;\n\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t};setVars();\n\t\t\tfunction prevMonth() {\n\t\t\t\tvar date = new Date(cal.date);\n\t\t\t\tdate.setDate(date.getDate() - step);\n\t\t\t\tcal.setDate(date);\n\t\t\t};\n\t\t\tfunction nextMonth() {\n\t\t\t\tvar date = new Date(cal.date);\n\t\t\t\tdate.setDate(date.getDate() + step);\n\t\t\t\tcal.setDate(date);\n\t\t\t};\n\t\t\twhile (1) {\n\t\t\t\tswitch (K) {\n\t\t\t\t case 37: // KEY left\n\t\t\t\t\tif (--x >= 0)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tx = 6;\n\t\t\t\t\t\tK = 38;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t case 38: // KEY up\n\t\t\t\t\tif (--y >= 0)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tprevMonth();\n\t\t\t\t\t\tsetVars();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t case 39: // KEY right\n\t\t\t\t\tif (++x < 7)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tx = 0;\n\t\t\t\t\t\tK = 40;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t case 40: // KEY down\n\t\t\t\t\tif (++y < cal.ar_days.length)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tnextMonth();\n\t\t\t\t\t\tsetVars();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (ne) {\n\t\t\t\tif (!ne.disabled)\n\t\t\t\t\tCalendar.cellClick(ne);\n\t\t\t\telse if (prev)\n\t\t\t\t\tprevMonth();\n\t\t\t\telse\n\t\t\t\t\tnextMonth();\n\t\t\t}\n\t\t}\n\t\tbreak;\n\t case 13: // KEY enter\n\t\tif (act)\n\t\t\tCalendar.cellClick(cal.currentDateEl, ev);\n\t\tbreak;\n\t default:\n\t\treturn false;\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\n/**\n * (RE)Initializes the calendar to the given date and firstDayOfWeek\n */\nCalendar.prototype._init = function (firstDayOfWeek, date) {\n\tvar today = new Date(),\n\t\tTY = today.getFullYear(),\n\t\tTM = today.getMonth(),\n\t\tTD = today.getDate();\n\tthis.table.style.visibility = \"hidden\";\n\tvar year = date.getFullYear();\n\tif (year < this.minYear) {\n\t\tyear = this.minYear;\n\t\tdate.setFullYear(year);\n\t} else if (year > this.maxYear) {\n\t\tyear = this.maxYear;\n\t\tdate.setFullYear(year);\n\t}\n\tthis.firstDayOfWeek = firstDayOfWeek;\n\tthis.date = new Date(date);\n\tvar month = date.getMonth();\n\tvar mday = date.getDate();\n\tvar no_days = date.getMonthDays();\n\n\t// calendar voodoo for computing the first day that would actually be\n\t// displayed in the calendar, even if it's from the previous month.\n\t// WARNING: this is magic. ;-)\n\tdate.setDate(1);\n\tvar day1 = (date.getDay() - this.firstDayOfWeek) % 7;\n\tif (day1 < 0)\n\t\tday1 += 7;\n\tdate.setDate(-day1);\n\tdate.setDate(date.getDate() + 1);\n\n\tvar row = this.tbody.firstChild;\n\tvar MN = Calendar._SMN[month];\n\tvar ar_days = this.ar_days = new Array();\n\tvar weekend = Calendar._TT[\"WEEKEND\"];\n\tvar dates = this.multiple ? (this.datesCells = {}) : null;\n\tfor (var i = 0; i < 6; ++i, row = row.nextSibling) {\n\t\tvar cell = row.firstChild;\n\t\tif (this.weekNumbers) {\n\t\t\tcell.className = \"day wn\";\n\t\t\tcell.innerHTML = date.getWeekNumber();\n\t\t\tcell = cell.nextSibling;\n\t\t}\n\t\trow.className = \"daysrow\";\n\t\tvar hasdays = false, iday, dpos = ar_days[i] = [];\n\t\tfor (var j = 0; j < 7; ++j, cell = cell.nextSibling, date.setDate(iday + 1)) {\n\t\t\tiday = date.getDate();\n\t\t\tvar wday = date.getDay();\n\t\t\tcell.className = \"day\";\n\t\t\tcell.pos = i << 4 | j;\n\t\t\tdpos[j] = cell;\n\t\t\tvar current_month = (date.getMonth() == month);\n\t\t\tif (!current_month) {\n\t\t\t\tif (this.showsOtherMonths) {\n\t\t\t\t\tcell.className += \" othermonth\";\n\t\t\t\t\tcell.otherMonth = true;\n\t\t\t\t} else {\n\t\t\t\t\tcell.className = \"emptycell\";\n\t\t\t\t\tcell.innerHTML = \"&nbsp;\";\n\t\t\t\t\tcell.disabled = true;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcell.otherMonth = false;\n\t\t\t\thasdays = true;\n\t\t\t}\n\t\t\tcell.disabled = false;\n\t\t\tcell.innerHTML = this.getDateText ? this.getDateText(date, iday) : iday;\n\t\t\tif (dates)\n\t\t\t\tdates[date.print(\"%Y%m%d\")] = cell;\n\t\t\tif (this.getDateStatus) {\n\t\t\t\tvar status = this.getDateStatus(date, year, month, iday);\n\t\t\t\tif (status === true) {\n\t\t\t\t\tcell.className += \" disabled\";\n\t\t\t\t\tcell.disabled = true;\n\t\t\t\t} else {\n\t\t\t\t\tif (/disabled/i.test(status))\n\t\t\t\t\t\tcell.disabled = true;\n\t\t\t\t\tcell.className += \" \" + status;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!cell.disabled) {\n\t\t\t\tcell.caldate = new Date(date);\n\t\t\t\tcell.ttip = \"_\";\n\t\t\t\tif (!this.multiple && current_month\n\t\t\t\t && iday == mday && this.hiliteToday) {\n\t\t\t\t\tcell.className += \" selected\";\n\t\t\t\t\tthis.currentDateEl = cell;\n\t\t\t\t}\n\t\t\t\tif (date.getFullYear() == TY &&\n\t\t\t\t date.getMonth() == TM &&\n\t\t\t\t iday == TD) {\n\t\t\t\t\tcell.className += \" today\";\n\t\t\t\t\tcell.ttip += Calendar._TT[\"PART_TODAY\"];\n\t\t\t\t}\n\t\t\t\tif (weekend.indexOf(wday.toString()) != -1)\n\t\t\t\t\tcell.className += cell.otherMonth ? \" oweekend\" : \" weekend\";\n\t\t\t}\n\t\t}\n\t\tif (!(hasdays || this.showsOtherMonths))\n\t\t\trow.className = \"emptyrow\";\n\t}\n\tthis.title.innerHTML = Calendar._MN[month] + \", \" + year;\n\tthis.onSetTime();\n\tthis.table.style.visibility = \"visible\";\n\tthis._initMultipleDates();\n\t// PROFILE\n\t// this.tooltips.innerHTML = \"Generated in \" + ((new Date()) - today) + \" ms\";\n};\n\nCalendar.prototype._initMultipleDates = function() {\n\tif (this.multiple) {\n\t\tfor (var i in this.multiple) {\n\t\t\tvar cell = this.datesCells[i];\n\t\t\tvar d = this.multiple[i];\n\t\t\tif (!d)\n\t\t\t\tcontinue;\n\t\t\tif (cell)\n\t\t\t\tcell.className += \" selected\";\n\t\t}\n\t}\n};\n\nCalendar.prototype._toggleMultipleDate = function(date) {\n\tif (this.multiple) {\n\t\tvar ds = date.print(\"%Y%m%d\");\n\t\tvar cell = this.datesCells[ds];\n\t\tif (cell) {\n\t\t\tvar d = this.multiple[ds];\n\t\t\tif (!d) {\n\t\t\t\tCalendar.addClass(cell, \"selected\");\n\t\t\t\tthis.multiple[ds] = date;\n\t\t\t} else {\n\t\t\t\tCalendar.removeClass(cell, \"selected\");\n\t\t\t\tdelete this.multiple[ds];\n\t\t\t}\n\t\t}\n\t}\n};\n\nCalendar.prototype.setDateToolTipHandler = function (unaryFunction) {\n\tthis.getDateToolTip = unaryFunction;\n};\n\n/**\n * Calls _init function above for going to a certain date (but only if the\n * date is different than the currently selected one).\n */\nCalendar.prototype.setDate = function (date) {\n\tif (!date.equalsTo(this.date)) {\n\t\tthis._init(this.firstDayOfWeek, date);\n\t}\n};\n\n/**\n * Refreshes the calendar. Useful if the \"disabledHandler\" function is\n * dynamic, meaning that the list of disabled date can change at runtime.\n * Just * call this function if you think that the list of disabled dates\n * should * change.\n */\nCalendar.prototype.refresh = function () {\n\tthis._init(this.firstDayOfWeek, this.date);\n};\n\n/** Modifies the \"firstDayOfWeek\" parameter (pass 0 for Synday, 1 for Monday, etc.). */\nCalendar.prototype.setFirstDayOfWeek = function (firstDayOfWeek) {\n\tthis._init(firstDayOfWeek, this.date);\n\tthis._displayWeekdays();\n};\n\n/**\n * Allows customization of what dates are enabled. The \"unaryFunction\"\n * parameter must be a function object that receives the date (as a JS Date\n * object) and returns a boolean value. If the returned value is true then\n * the passed date will be marked as disabled.\n */\nCalendar.prototype.setDateStatusHandler = Calendar.prototype.setDisabledHandler = function (unaryFunction) {\n\tthis.getDateStatus = unaryFunction;\n};\n\n/** Customization of allowed year range for the calendar. */\nCalendar.prototype.setRange = function (a, z) {\n\tthis.minYear = a;\n\tthis.maxYear = z;\n};\n\n/** Calls the first user handler (selectedHandler). */\nCalendar.prototype.callHandler = function () {\n\tif (this.onSelected) {\n\t\tthis.onSelected(this, this.date.print(this.dateFormat));\n\t}\n};\n\n/** Calls the second user handler (closeHandler). */\nCalendar.prototype.callCloseHandler = function () {\n\tif (this.onClose) {\n\t\tthis.onClose(this);\n\t}\n\tthis.hideShowCovered();\n};\n\n/** Removes the calendar object from the DOM tree and destroys it. */\nCalendar.prototype.destroy = function () {\n\tvar el = this.element.parentNode;\n\tel.removeChild(this.element);\n\tCalendar._C = null;\n\twindow._dynarch_popupCalendar = null;\n};\n\n/**\n * Moves the calendar element to a different section in the DOM tree (changes\n * its parent).\n */\nCalendar.prototype.reparent = function (new_parent) {\n\tvar el = this.element;\n\tel.parentNode.removeChild(el);\n\tnew_parent.appendChild(el);\n};\n\n// This gets called when the user presses a mouse button anywhere in the\n// document, if the calendar is shown. If the click was outside the open\n// calendar this function closes it.\nCalendar._checkCalendar = function(ev) {\n\tvar calendar = window._dynarch_popupCalendar;\n\tif (!calendar) {\n\t\treturn false;\n\t}\n\tvar el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev);\n\tfor (; el != null && el != calendar.element; el = el.parentNode);\n\tif (el == null) {\n\t\t// calls closeHandler which should hide the calendar.\n\t\twindow._dynarch_popupCalendar.callCloseHandler();\n\t\treturn Calendar.stopEvent(ev);\n\t}\n};\n\n/** Shows the calendar. */\nCalendar.prototype.show = function () {\n\tvar rows = this.table.getElementsByTagName(\"tr\");\n\tfor (var i = rows.length; i > 0;) {\n\t\tvar row = rows[--i];\n\t\tCalendar.removeClass(row, \"rowhilite\");\n\t\tvar cells = row.getElementsByTagName(\"td\");\n\t\tfor (var j = cells.length; j > 0;) {\n\t\t\tvar cell = cells[--j];\n\t\t\tCalendar.removeClass(cell, \"hilite\");\n\t\t\tCalendar.removeClass(cell, \"active\");\n\t\t}\n\t}\n\tthis.element.style.display = \"block\";\n\tthis.hidden = false;\n\tif (this.isPopup) {\n\t\twindow._dynarch_popupCalendar = this;\n\t\tCalendar.addEvent(document, \"keydown\", Calendar._keyEvent);\n\t\tCalendar.addEvent(document, \"keypress\", Calendar._keyEvent);\n\t\tCalendar.addEvent(document, \"mousedown\", Calendar._checkCalendar);\n\t}\n\tthis.hideShowCovered();\n};\n\n/**\n * Hides the calendar. Also removes any \"hilite\" from the class of any TD\n * element.\n */\nCalendar.prototype.hide = function () {\n\tif (this.isPopup) {\n\t\tCalendar.removeEvent(document, \"keydown\", Calendar._keyEvent);\n\t\tCalendar.removeEvent(document, \"keypress\", Calendar._keyEvent);\n\t\tCalendar.removeEvent(document, \"mousedown\", Calendar._checkCalendar);\n\t}\n\tthis.element.style.display = \"none\";\n\tthis.hidden = true;\n\tthis.hideShowCovered();\n};\n\n/**\n * Shows the calendar at a given absolute position (beware that, depending on\n * the calendar element style -- position property -- this might be relative\n * to the parent's containing rectangle).\n */\nCalendar.prototype.showAt = function (x, y) {\n\tvar s = this.element.style;\n\ts.left = x + \"px\";\n\ts.top = y + \"px\";\n\tthis.show();\n};\n\n/** Shows the calendar near a given element. */\nCalendar.prototype.showAtElement = function (el, opts) {\n\tvar self = this;\n\tvar p = Calendar.getAbsolutePos(el);\n\tif (!opts || typeof opts != \"string\") {\n\t\tthis.showAt(p.x, p.y + el.offsetHeight);\n\t\treturn true;\n\t}\n\tfunction fixPosition(box) {\n\t\tif (box.x < 0)\n\t\t\tbox.x = 0;\n\t\tif (box.y < 0)\n\t\t\tbox.y = 0;\n\t\tvar cp = document.createElement(\"div\");\n\t\tvar s = cp.style;\n\t\ts.position = \"absolute\";\n\t\ts.right = s.bottom = s.width = s.height = \"0px\";\n\t\tdocument.body.appendChild(cp);\n\t\tvar br = Calendar.getAbsolutePos(cp);\n\t\tdocument.body.removeChild(cp);\n\t\tif (Calendar.is_ie) {\n\t\t\tbr.y += document.body.scrollTop;\n\t\t\tbr.x += document.body.scrollLeft;\n\t\t} else {\n\t\t\tbr.y += window.scrollY;\n\t\t\tbr.x += window.scrollX;\n\t\t}\n\t\tvar tmp = box.x + box.width - br.x;\n\t\tif (tmp > 0) box.x -= tmp;\n\t\ttmp = box.y + box.height - br.y;\n\t\tif (tmp > 0) box.y -= tmp;\n\t};\n\tthis.element.style.display = \"block\";\n\tCalendar.continuation_for_the_fucking_khtml_browser = function() {\n\t\tvar w = self.element.offsetWidth;\n\t\tvar h = self.element.offsetHeight;\n\t\tself.element.style.display = \"none\";\n\t\tvar valign = opts.substr(0, 1);\n\t\tvar halign = \"l\";\n\t\tif (opts.length > 1) {\n\t\t\thalign = opts.substr(1, 1);\n\t\t}\n\t\t// vertical alignment\n\t\tswitch (valign) {\n\t\t case \"T\": p.y -= h; break;\n\t\t case \"B\": p.y += el.offsetHeight; break;\n\t\t case \"C\": p.y += (el.offsetHeight - h) / 2; break;\n\t\t case \"t\": p.y += el.offsetHeight - h; break;\n\t\t case \"b\": break; // already there\n\t\t}\n\t\t// horizontal alignment\n\t\tswitch (halign) {\n\t\t case \"L\": p.x -= w; break;\n\t\t case \"R\": p.x += el.offsetWidth; break;\n\t\t case \"C\": p.x += (el.offsetWidth - w) / 2; break;\n\t\t case \"l\": p.x += el.offsetWidth - w; break;\n\t\t case \"r\": break; // already there\n\t\t}\n\t\tp.width = w;\n\t\tp.height = h + 40;\n\t\tself.monthsCombo.style.display = \"none\";\n\t\tfixPosition(p);\n\t\tself.showAt(p.x, p.y);\n\t};\n\tif (Calendar.is_khtml)\n\t\tsetTimeout(\"Calendar.continuation_for_the_fucking_khtml_browser()\", 10);\n\telse\n\t\tCalendar.continuation_for_the_fucking_khtml_browser();\n};\n\n/** Customizes the date format. */\nCalendar.prototype.setDateFormat = function (str) {\n\tthis.dateFormat = str;\n};\n\n/** Customizes the tooltip date format. */\nCalendar.prototype.setTtDateFormat = function (str) {\n\tthis.ttDateFormat = str;\n};\n\n/**\n * Tries to identify the date represented in a string. If successful it also\n * calls this.setDate which moves the calendar to the given date.\n */\nCalendar.prototype.parseDate = function(str, fmt) {\n\tif (!fmt)\n\t\tfmt = this.dateFormat;\n\tthis.setDate(Date.parseDate(str, fmt));\n};\n\nCalendar.prototype.hideShowCovered = function () {\n\tif (!Calendar.is_ie && !Calendar.is_opera)\n\t\treturn;\n\tfunction getVisib(obj){\n\t\tvar value = obj.style.visibility;\n\t\tif (!value) {\n\t\t\tif (document.defaultView && typeof (document.defaultView.getComputedStyle) == \"function\") { // Gecko, W3C\n\t\t\t\tif (!Calendar.is_khtml)\n\t\t\t\t\tvalue = document.defaultView.\n\t\t\t\t\t\tgetComputedStyle(obj, \"\").getPropertyValue(\"visibility\");\n\t\t\t\telse\n\t\t\t\t\tvalue = '';\n\t\t\t} else if (obj.currentStyle) { // IE\n\t\t\t\tvalue = obj.currentStyle.visibility;\n\t\t\t} else\n\t\t\t\tvalue = '';\n\t\t}\n\t\treturn value;\n\t};\n\n\tvar tags = new Array(\"applet\", \"iframe\", \"select\");\n\tvar el = this.element;\n\n\tvar p = Calendar.getAbsolutePos(el);\n\tvar EX1 = p.x;\n\tvar EX2 = el.offsetWidth + EX1;\n\tvar EY1 = p.y;\n\tvar EY2 = el.offsetHeight + EY1;\n\n\tfor (var k = tags.length; k > 0; ) {\n\t\tvar ar = document.getElementsByTagName(tags[--k]);\n\t\tvar cc = null;\n\n\t\tfor (var i = ar.length; i > 0;) {\n\t\t\tcc = ar[--i];\n\n\t\t\tp = Calendar.getAbsolutePos(cc);\n\t\t\tvar CX1 = p.x;\n\t\t\tvar CX2 = cc.offsetWidth + CX1;\n\t\t\tvar CY1 = p.y;\n\t\t\tvar CY2 = cc.offsetHeight + CY1;\n\n\t\t\tif (this.hidden || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) {\n\t\t\t\tif (!cc.__msh_save_visibility) {\n\t\t\t\t\tcc.__msh_save_visibility = getVisib(cc);\n\t\t\t\t}\n\t\t\t\tcc.style.visibility = cc.__msh_save_visibility;\n\t\t\t} else {\n\t\t\t\tif (!cc.__msh_save_visibility) {\n\t\t\t\t\tcc.__msh_save_visibility = getVisib(cc);\n\t\t\t\t}\n\t\t\t\tcc.style.visibility = \"hidden\";\n\t\t\t}\n\t\t}\n\t}\n};\n\n/** Internal function; it displays the bar with the names of the weekday. */\nCalendar.prototype._displayWeekdays = function () {\n\tvar fdow = this.firstDayOfWeek;\n\tvar cell = this.firstdayname;\n\tvar weekend = Calendar._TT[\"WEEKEND\"];\n\tfor (var i = 0; i < 7; ++i) {\n\t\tcell.className = \"day name\";\n\t\tvar realday = (i + fdow) % 7;\n\t\tif (i) {\n\t\t\tcell.ttip = Calendar._TT[\"DAY_FIRST\"].replace(\"%s\", Calendar._DN[realday]);\n\t\t\tcell.navtype = 100;\n\t\t\tcell.calendar = this;\n\t\t\tcell.fdow = realday;\n\t\t\tCalendar._add_evs(cell);\n\t\t}\n\t\tif (weekend.indexOf(realday.toString()) != -1) {\n\t\t\tCalendar.addClass(cell, \"weekend\");\n\t\t}\n\t\tcell.innerHTML = Calendar._SDN[(i + fdow) % 7];\n\t\tcell = cell.nextSibling;\n\t}\n};\n\n/** Internal function. Hides all combo boxes that might be displayed. */\nCalendar.prototype._hideCombos = function () {\n\tthis.monthsCombo.style.display = \"none\";\n\tthis.yearsCombo.style.display = \"none\";\n};\n\n/** Internal function. Starts dragging the element. */\nCalendar.prototype._dragStart = function (ev) {\n\tif (this.dragging) {\n\t\treturn;\n\t}\n\tthis.dragging = true;\n\tvar posX;\n\tvar posY;\n\tif (Calendar.is_ie) {\n\t\tposY = window.event.clientY + document.body.scrollTop;\n\t\tposX = window.event.clientX + document.body.scrollLeft;\n\t} else {\n\t\tposY = ev.clientY + window.scrollY;\n\t\tposX = ev.clientX + window.scrollX;\n\t}\n\tvar st = this.element.style;\n\tthis.xOffs = posX - parseInt(st.left);\n\tthis.yOffs = posY - parseInt(st.top);\n\twith (Calendar) {\n\t\taddEvent(document, \"mousemove\", calDragIt);\n\t\taddEvent(document, \"mouseup\", calDragEnd);\n\t}\n};\n\n// BEGIN: DATE OBJECT PATCHES\n\n/** Adds the number of days array to the Date object. */\nDate._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31);\n\n/** Constants used for time computations */\nDate.SECOND = 1000 /* milliseconds */;\nDate.MINUTE = 60 * Date.SECOND;\nDate.HOUR = 60 * Date.MINUTE;\nDate.DAY = 24 * Date.HOUR;\nDate.WEEK = 7 * Date.DAY;\n\nDate.parseDate = function(str, fmt) {\n\tvar today = new Date();\n\tvar y = 0;\n\tvar m = -1;\n\tvar d = 0;\n\tvar a = str.split(/\\W+/);\n\tvar b = fmt.match(/%./g);\n\tvar i = 0, j = 0;\n\tvar hr = 0;\n\tvar min = 0;\n\tfor (i = 0; i < a.length; ++i) {\n\t\tif (!a[i])\n\t\t\tcontinue;\n\t\tswitch (b[i]) {\n\t\t case \"%d\":\n\t\t case \"%e\":\n\t\t\td = parseInt(a[i], 10);\n\t\t\tbreak;\n\n\t\t case \"%m\":\n\t\t\tm = parseInt(a[i], 10) - 1;\n\t\t\tbreak;\n\n\t\t case \"%Y\":\n\t\t case \"%y\":\n\t\t\ty = parseInt(a[i], 10);\n\t\t\t(y < 100) && (y += (y > 29) ? 1900 : 2000);\n\t\t\tbreak;\n\n\t\t case \"%b\":\n\t\t case \"%B\":\n\t\t\tfor (j = 0; j < 12; ++j) {\n\t\t\t\tif (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; }\n\t\t\t}\n\t\t\tbreak;\n\n\t\t case \"%H\":\n\t\t case \"%I\":\n\t\t case \"%k\":\n\t\t case \"%l\":\n\t\t\thr = parseInt(a[i], 10);\n\t\t\tbreak;\n\n\t\t case \"%P\":\n\t\t case \"%p\":\n\t\t\tif (/pm/i.test(a[i]) && hr < 12)\n\t\t\t\thr += 12;\n\t\t\telse if (/am/i.test(a[i]) && hr >= 12)\n\t\t\t\thr -= 12;\n\t\t\tbreak;\n\n\t\t case \"%M\":\n\t\t\tmin = parseInt(a[i], 10);\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (isNaN(y)) y = today.getFullYear();\n\tif (isNaN(m)) m = today.getMonth();\n\tif (isNaN(d)) d = today.getDate();\n\tif (isNaN(hr)) hr = today.getHours();\n\tif (isNaN(min)) min = today.getMinutes();\n\tif (y != 0 && m != -1 && d != 0)\n\t\treturn new Date(y, m, d, hr, min, 0);\n\ty = 0; m = -1; d = 0;\n\tfor (i = 0; i < a.length; ++i) {\n\t\tif (a[i].search(/[a-zA-Z]+/) != -1) {\n\t\t\tvar t = -1;\n\t\t\tfor (j = 0; j < 12; ++j) {\n\t\t\t\tif (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; }\n\t\t\t}\n\t\t\tif (t != -1) {\n\t\t\t\tif (m != -1) {\n\t\t\t\t\td = m+1;\n\t\t\t\t}\n\t\t\t\tm = t;\n\t\t\t}\n\t\t} else if (parseInt(a[i], 10) <= 12 && m == -1) {\n\t\t\tm = a[i]-1;\n\t\t} else if (parseInt(a[i], 10) > 31 && y == 0) {\n\t\t\ty = parseInt(a[i], 10);\n\t\t\t(y < 100) && (y += (y > 29) ? 1900 : 2000);\n\t\t} else if (d == 0) {\n\t\t\td = a[i];\n\t\t}\n\t}\n\tif (y == 0)\n\t\ty = today.getFullYear();\n\tif (m != -1 && d != 0)\n\t\treturn new Date(y, m, d, hr, min, 0);\n\treturn today;\n};\n\n/** Returns the number of days in the current month */\nDate.prototype.getMonthDays = function(month) {\n\tvar year = this.getFullYear();\n\tif (typeof month == \"undefined\") {\n\t\tmonth = this.getMonth();\n\t}\n\tif (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {\n\t\treturn 29;\n\t} else {\n\t\treturn Date._MD[month];\n\t}\n};\n\n/** Returns the number of day in the year. */\nDate.prototype.getDayOfYear = function() {\n\tvar now = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);\n\tvar then = new Date(this.getFullYear(), 0, 0, 0, 0, 0);\n\tvar time = now - then;\n\treturn Math.floor(time / Date.DAY);\n};\n\n/** Returns the number of the week in year, as defined in ISO 8601. */\nDate.prototype.getWeekNumber = function() {\n\tvar d = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);\n\tvar DoW = d.getDay();\n\td.setDate(d.getDate() - (DoW + 6) % 7 + 3); // Nearest Thu\n\tvar ms = d.valueOf(); // GMT\n\td.setMonth(0);\n\td.setDate(4); // Thu in Week 1\n\treturn Math.round((ms - d.valueOf()) / (7 * 864e5)) + 1;\n};\n\n/** Checks date and time equality */\nDate.prototype.equalsTo = function(date) {\n\treturn ((this.getFullYear() == date.getFullYear()) &&\n\t\t(this.getMonth() == date.getMonth()) &&\n\t\t(this.getDate() == date.getDate()) &&\n\t\t(this.getHours() == date.getHours()) &&\n\t\t(this.getMinutes() == date.getMinutes()));\n};\n\n/** Set only the year, month, date parts (keep existing time) */\nDate.prototype.setDateOnly = function(date) {\n\tvar tmp = new Date(date);\n\tthis.setDate(1);\n\tthis.setFullYear(tmp.getFullYear());\n\tthis.setMonth(tmp.getMonth());\n\tthis.setDate(tmp.getDate());\n};\n\n/** Prints the date in a string according to the given format. */\nDate.prototype.print = function (str) {\n\tvar m = this.getMonth();\n\tvar d = this.getDate();\n\tvar y = this.getFullYear();\n\tvar wn = this.getWeekNumber();\n\tvar w = this.getDay();\n\tvar s = {};\n\tvar hr = this.getHours();\n\tvar pm = (hr >= 12);\n\tvar ir = (pm) ? (hr - 12) : hr;\n\tvar dy = this.getDayOfYear();\n\tif (ir == 0)\n\t\tir = 12;\n\tvar min = this.getMinutes();\n\tvar sec = this.getSeconds();\n\ts[\"%a\"] = Calendar._SDN[w]; // abbreviated weekday name [FIXME: I18N]\n\ts[\"%A\"] = Calendar._DN[w]; // full weekday name\n\ts[\"%b\"] = Calendar._SMN[m]; // abbreviated month name [FIXME: I18N]\n\ts[\"%B\"] = Calendar._MN[m]; // full month name\n\t// FIXME: %c : preferred date and time representation for the current locale\n\ts[\"%C\"] = 1 + Math.floor(y / 100); // the century number\n\ts[\"%d\"] = (d < 10) ? (\"0\" + d) : d; // the day of the month (range 01 to 31)\n\ts[\"%e\"] = d; // the day of the month (range 1 to 31)\n\t// FIXME: %D : american date style: %m/%d/%y\n\t// FIXME: %E, %F, %G, %g, %h (man strftime)\n\ts[\"%H\"] = (hr < 10) ? (\"0\" + hr) : hr; // hour, range 00 to 23 (24h format)\n\ts[\"%I\"] = (ir < 10) ? (\"0\" + ir) : ir; // hour, range 01 to 12 (12h format)\n\ts[\"%j\"] = (dy < 100) ? ((dy < 10) ? (\"00\" + dy) : (\"0\" + dy)) : dy; // day of the year (range 001 to 366)\n\ts[\"%k\"] = hr;\t\t// hour, range 0 to 23 (24h format)\n\ts[\"%l\"] = ir;\t\t// hour, range 1 to 12 (12h format)\n\ts[\"%m\"] = (m < 9) ? (\"0\" + (1+m)) : (1+m); // month, range 01 to 12\n\ts[\"%M\"] = (min < 10) ? (\"0\" + min) : min; // minute, range 00 to 59\n\ts[\"%n\"] = \"\\n\";\t\t// a newline character\n\ts[\"%p\"] = pm ? \"PM\" : \"AM\";\n\ts[\"%P\"] = pm ? \"pm\" : \"am\";\n\t// FIXME: %r : the time in am/pm notation %I:%M:%S %p\n\t// FIXME: %R : the time in 24-hour notation %H:%M\n\ts[\"%s\"] = Math.floor(this.getTime() / 1000);\n\ts[\"%S\"] = (sec < 10) ? (\"0\" + sec) : sec; // seconds, range 00 to 59\n\ts[\"%t\"] = \"\\t\";\t\t// a tab character\n\t// FIXME: %T : the time in 24-hour notation (%H:%M:%S)\n\ts[\"%U\"] = s[\"%W\"] = s[\"%V\"] = (wn < 10) ? (\"0\" + wn) : wn;\n\ts[\"%u\"] = w + 1;\t// the day of the week (range 1 to 7, 1 = MON)\n\ts[\"%w\"] = w;\t\t// the day of the week (range 0 to 6, 0 = SUN)\n\t// FIXME: %x : preferred date representation for the current locale without the time\n\t// FIXME: %X : preferred time representation for the current locale without the date\n\ts[\"%y\"] = ('' + y).substr(2, 2); // year without the century (range 00 to 99)\n\ts[\"%Y\"] = y;\t\t// year with the century\n\ts[\"%%\"] = \"%\";\t\t// a literal '%' character\n\n\tvar re = /%./g;\n\tif (!Calendar.is_ie5 && !Calendar.is_khtml)\n\t\treturn str.replace(re, function (par) { return s[par] || par; });\n\n\tvar a = str.match(re);\n\tfor (var i = 0; i < a.length; i++) {\n\t\tvar tmp = s[a[i]];\n\t\tif (tmp) {\n\t\t\tre = new RegExp(a[i], 'g');\n\t\t\tstr = str.replace(re, tmp);\n\t\t}\n\t}\n\n\treturn str;\n};\n\nDate.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;\nDate.prototype.setFullYear = function(y) {\n\tvar d = new Date(this);\n\td.__msh_oldSetFullYear(y);\n\tif (d.getMonth() != this.getMonth())\n\t\tthis.setDate(28);\n\tthis.__msh_oldSetFullYear(y);\n};\n\n// END: DATE OBJECT PATCHES\n\n\n// global object that remembers the calendar\nwindow._dynarch_popupCalendar = null;\n"
},
"redirectURL": "",
"headersSize": 330,
"bodySize": 49304,
"_transferSize": 49634
},
"cache": {},
"timings": {
"blocked": 437.582999991719,
"dns": 0.00800000270800183,
"connect": 58.336999994934956,
"send": 0.07400001050001492,
"wait": 39.31499998725502,
"receive": 181.8550000025425,
"ssl": 18.03399999334897
},
"connection": "138479",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.244Z",
"time": 538.7049999990268,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/lang/calendar-en.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 678,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"3600-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "3600"
}
],
"cookies": [],
"content": {
"size": 3600,
"mimeType": "text/javascript",
"compression": 0,
"text": "// ** I18N\n\n// Calendar EN language\n// Author: Mihai Bazon, <mihai_bazon@yahoo.com>\n// Encoding: any\n// Distributed under the same terms as the calendar itself.\n\n// For translators: please use UTF-8 if possible. We strongly believe that\n// Unicode is the answer to a real internationalized world. Also please\n// include your contact information in the header, as can be seen above.\n\n// full day names\nCalendar._DN = new Array\n(\"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\",\n \"Sunday\");\n\n// Please note that the following array of short day names (and the same goes\n// for short month names, _SMN) isn't absolutely necessary. We give it here\n// for exemplification on how one can customize the short day names, but if\n// they are simply the first N letters of the full name you can simply say:\n//\n// Calendar._SDN_len = N; // short day name length\n// Calendar._SMN_len = N; // short month name length\n//\n// If N = 3 then this is not needed either since we assume a value of 3 if not\n// present, to be compatible with translation files that were written before\n// this feature.\n\n// short day names\nCalendar._SDN = new Array\n(\"Sun\",\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\",\n \"Sun\");\n\n// First day of the week. \"0\" means display Sunday first, \"1\" means display\n// Monday first, etc.\nCalendar._FD = 0;\n\n// full month names\nCalendar._MN = new Array\n(\"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\");\n\n// short month names\nCalendar._SMN = new Array\n(\"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\");\n\n// tooltips\nCalendar._TT = {};\nCalendar._TT[\"INFO\"] = \"About the calendar\";\n\nCalendar._TT[\"ABOUT\"] =\n\"DHTML Date/Time Selector\\n\" +\n\"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\\n\" + // don't translate this this ;-)\n\"For latest version visit: http://www.dynarch.com/projects/calendar/\\n\" +\n\"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details.\" +\n\"\\n\\n\" +\n\"Date selection:\\n\" +\n\"- Use the \\xab, \\xbb buttons to select year\\n\" +\n\"- Use the \" + String.fromCharCode(0x2039) + \", \" + String.fromCharCode(0x203a) + \" buttons to select month\\n\" +\n\"- Hold mouse button on any of the above buttons for faster selection.\";\nCalendar._TT[\"ABOUT_TIME\"] = \"\\n\\n\" +\n\"Time selection:\\n\" +\n\"- Click on any of the time parts to increase it\\n\" +\n\"- or Shift-click to decrease it\\n\" +\n\"- or click and drag for faster selection.\";\n\nCalendar._TT[\"PREV_YEAR\"] = \"Prev. year (hold for menu)\";\nCalendar._TT[\"PREV_MONTH\"] = \"Prev. month (hold for menu)\";\nCalendar._TT[\"GO_TODAY\"] = \"Go Today\";\nCalendar._TT[\"NEXT_MONTH\"] = \"Next month (hold for menu)\";\nCalendar._TT[\"NEXT_YEAR\"] = \"Next year (hold for menu)\";\nCalendar._TT[\"SEL_DATE\"] = \"Select date\";\nCalendar._TT[\"DRAG_TO_MOVE\"] = \"Drag to move\";\nCalendar._TT[\"PART_TODAY\"] = \" (today)\";\n\n// the following is to inform that \"%s\" is to be the first day of week\n// %s will be replaced with the day name.\nCalendar._TT[\"DAY_FIRST\"] = \"Display %s first\";\n\n// This may be locale-dependent. It specifies the week-end days, as an array\n// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1\n// means Monday, etc.\nCalendar._TT[\"WEEKEND\"] = \"0,6\";\n\nCalendar._TT[\"CLOSE\"] = \"Close\";\nCalendar._TT[\"TODAY\"] = \"Today\";\nCalendar._TT[\"TIME_PART\"] = \"(Shift-)Click or drag to change value\";\n\n// date formats\nCalendar._TT[\"DEF_DATE_FORMAT\"] = \"%Y-%m-%d\";\nCalendar._TT[\"TT_DATE_FORMAT\"] = \"%a, %b %e\";\n\nCalendar._TT[\"WK\"] = \"wk\";\nCalendar._TT[\"TIME\"] = \"Time:\";\n"
},
"redirectURL": "",
"headersSize": 328,
"bodySize": 3600,
"_transferSize": 3928
},
"cache": {},
"timings": {
"blocked": 437.399000002188,
"dns": 0.008999995770977876,
"connect": 63.053999998373,
"send": 0.1139999949380126,
"wait": 37.229000008665025,
"receive": 0.8999999990917331,
"ssl": 23.262999995495022
},
"connection": "138483",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.244Z",
"time": 537.3259999905713,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/calendar-setup.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 676,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"9029-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "9029"
}
],
"cookies": [],
"content": {
"size": 9029,
"mimeType": "text/javascript",
"compression": 0,
"text": "/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/\n * ---------------------------------------------------------------------------\n *\n * The DHTML Calendar\n *\n * Details and latest version at:\n * http://dynarch.com/mishoo/calendar.epl\n *\n * This script is distributed under the GNU Lesser General Public License.\n * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html\n *\n * This file defines helper functions for setting up the calendar. They are\n * intended to help non-programmers get a working calendar on their site\n * quickly. This script should not be seen as part of the calendar. It just\n * shows you what one can do with the calendar, while in the same time\n * providing a quick and simple method for setting it up. If you need\n * exhaustive customization of the calendar creation process feel free to\n * modify this code to suit your needs (this is recommended and much better\n * than modifying calendar.js itself).\n */\n\n// $Id: calendar-setup.js,v 1.26 2006/02/11 12:32:59 mishoo Exp $\n\n/**\n * This function \"patches\" an input field (or other element) to use a calendar\n * widget for date selection.\n *\n * The \"params\" is a single object that can have the following properties:\n *\n * prop. name | description\n * -------------------------------------------------------------------------------------------------\n * inputField | the ID of an input field to store the date\n * displayArea | the ID of a DIV or other element to show the date\n * button | ID of a button or other element that will trigger the calendar\n * eventName | event that will trigger the calendar, without the \"on\" prefix (default: \"click\")\n * ifFormat | date format that will be stored in the input field\n * daFormat | the date format that will be used to display the date in displayArea\n * singleClick | (true/false) wether the calendar is in single click mode or not (default: true)\n * firstDay | numeric: 0 to 6. \"0\" means display Sunday first, \"1\" means display Monday first, etc.\n * align | alignment (default: \"Br\"); if you don't know what's this see the calendar documentation\n * range | array with 2 elements. Default: [1900, 2999] -- the range of years available\n * weekNumbers | (true/false) if it's true (default) the calendar will display week numbers\n * flat | null or element ID; if not null the calendar will be a flat calendar having the parent with the given ID\n * flatCallback | function that receives a JS Date object and returns an URL to point the browser to (for flat calendar)\n * disableFunc | function that receives a JS Date object and should return true if that date has to be disabled in the calendar\n * onSelect | function that gets called when a date is selected. You don't _have_ to supply this (the default is generally okay)\n * onClose | function that gets called when the calendar is closed. [default]\n * onUpdate | function that gets called after the date is updated in the input field. Receives a reference to the calendar.\n * date | the date that the calendar will be initially displayed to\n * showsTime | default: false; if true the calendar will include a time selector\n * timeFormat | the time format; can be \"12\" or \"24\", default is \"12\"\n * electric | if true (default) then given fields/date areas are updated for each move; otherwise they're updated only on close\n * step | configures the step of the years in drop-down boxes; default: 2\n * position | configures the calendar absolute position; default: null\n * cache | if \"true\" (but default: \"false\") it will reuse the same calendar object, where possible\n * showOthers | if \"true\" (but default: \"false\") it will show days from other months too\n *\n * None of them is required, they all have default values. However, if you\n * pass none of \"inputField\", \"displayArea\" or \"button\" you'll get a warning\n * saying \"nothing to setup\".\n */\nCalendar.setup = function (params) {\n\tfunction param_default(pname, def) { if (typeof params[pname] == \"undefined\") { params[pname] = def; } };\n\n\tparam_default(\"inputField\", null);\n\tparam_default(\"displayArea\", null);\n\tparam_default(\"button\", null);\n\tparam_default(\"eventName\", \"click\");\n\tparam_default(\"ifFormat\", \"%Y/%m/%d\");\n\tparam_default(\"daFormat\", \"%Y/%m/%d\");\n\tparam_default(\"singleClick\", true);\n\tparam_default(\"disableFunc\", null);\n\tparam_default(\"dateStatusFunc\", params[\"disableFunc\"]);\t// takes precedence if both are defined\n\tparam_default(\"dateTooltipFunc\", null);\n\tparam_default(\"dateText\", null);\n\tparam_default(\"firstDay\", null);\n\tparam_default(\"align\", \"Br\");\n\tparam_default(\"range\", [1900, 2999]);\n\tparam_default(\"weekNumbers\", true);\n\tparam_default(\"flat\", null);\n\tparam_default(\"flatCallback\", null);\n\tparam_default(\"onSelect\", null);\n\tparam_default(\"onClose\", null);\n\tparam_default(\"onUpdate\", null);\n\tparam_default(\"date\", null);\n\tparam_default(\"showsTime\", false);\n\tparam_default(\"timeFormat\", \"24\");\n\tparam_default(\"electric\", true);\n\tparam_default(\"step\", 2);\n\tparam_default(\"position\", null);\n\tparam_default(\"cache\", false);\n\tparam_default(\"showOthers\", false);\n\tparam_default(\"multiple\", null);\n\n\tvar tmp = [\"inputField\", \"displayArea\", \"button\"];\n\tfor (var i in tmp) {\n\t\tif (typeof params[tmp[i]] == \"string\") {\n\t\t\tparams[tmp[i]] = document.getElementById(params[tmp[i]]);\n\t\t}\n\t}\n\tif (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) {\n\t\talert(\"Calendar.setup:\\n Nothing to setup (no fields found). Please check your code\");\n\t\treturn false;\n\t}\n\n\tfunction onSelect(cal) {\n\t\tvar p = cal.params;\n\t\tvar update = (cal.dateClicked || p.electric);\n\t\tif (update && p.inputField) {\n\t\t\tp.inputField.value = cal.date.print(p.ifFormat);\n\t\t\tif (typeof p.inputField.onchange == \"function\")\n\t\t\t\tp.inputField.onchange();\n\t\t}\n\t\tif (update && p.displayArea)\n\t\t\tp.displayArea.innerHTML = cal.date.print(p.daFormat);\n\t\tif (update && typeof p.onUpdate == \"function\")\n\t\t\tp.onUpdate(cal);\n\t\tif (update && p.flat) {\n\t\t\tif (typeof p.flatCallback == \"function\")\n\t\t\t\tp.flatCallback(cal);\n\t\t}\n\t\tif (update && p.singleClick && cal.dateClicked)\n\t\t\tcal.callCloseHandler();\n\t};\n\n\tif (params.flat != null) {\n\t\tif (typeof params.flat == \"string\")\n\t\t\tparams.flat = document.getElementById(params.flat);\n\t\tif (!params.flat) {\n\t\t\talert(\"Calendar.setup:\\n Flat specified but can't find parent.\");\n\t\t\treturn false;\n\t\t}\n\t\tvar cal = new Calendar(params.firstDay, params.date, params.onSelect || onSelect);\n\t\tcal.setDateToolTipHandler(params.dateTooltipFunc);\n\t\tcal.showsOtherMonths = params.showOthers;\n\t\tcal.showsTime = params.showsTime;\n\t\tcal.time24 = (params.timeFormat == \"24\");\n\t\tcal.params = params;\n\t\tcal.weekNumbers = params.weekNumbers;\n\t\tcal.setRange(params.range[0], params.range[1]);\n\t\tcal.setDateStatusHandler(params.dateStatusFunc);\n\t\tcal.getDateText = params.dateText;\n\t\tif (params.ifFormat) {\n\t\t\tcal.setDateFormat(params.ifFormat);\n\t\t}\n\t\tif (params.inputField && typeof params.inputField.value == \"string\") {\n\t\t\tcal.parseDate(params.inputField.value);\n\t\t}\n\t\tcal.create(params.flat);\n\t\tcal.show();\n\t\treturn false;\n\t}\n\n\tvar triggerEl = params.button || params.displayArea || params.inputField;\n\ttriggerEl[\"on\" + params.eventName] = function() {\n\t\tvar dateEl = params.inputField || params.displayArea;\n\t\tvar dateFmt = params.inputField ? params.ifFormat : params.daFormat;\n\t\tvar mustCreate = false;\n\t\tvar cal = window.calendar;\n\t\tif (dateEl)\n\t\t\tparams.date = Date.parseDate(dateEl.value || dateEl.innerHTML, dateFmt);\n\t\tif (!(cal && params.cache)) {\n\t\t\twindow.calendar = cal = new Calendar(params.firstDay,\n\t\t\t\t\t\t\t params.date,\n\t\t\t\t\t\t\t params.onSelect || onSelect,\n\t\t\t\t\t\t\t params.onClose || function(cal) { cal.hide(); });\n\t\t\tcal.setDateToolTipHandler(params.dateTooltipFunc);\n\t\t\tcal.showsTime = params.showsTime;\n\t\t\tcal.time24 = (params.timeFormat == \"24\");\n\t\t\tcal.weekNumbers = params.weekNumbers;\n\t\t\tmustCreate = true;\n\t\t} else {\n\t\t\tif (params.date)\n\t\t\t\tcal.setDate(params.date);\n\t\t\tcal.hide();\n\t\t}\n\t\tif (params.multiple) {\n\t\t\tcal.multiple = {};\n\t\t\tfor (var i = params.multiple.length; --i >= 0;) {\n\t\t\t\tvar d = params.multiple[i];\n\t\t\t\tvar ds = d.print(\"%Y%m%d\");\n\t\t\t\tcal.multiple[ds] = d;\n\t\t\t}\n\t\t}\n\t\tcal.showsOtherMonths = params.showOthers;\n\t\tcal.yearStep = params.step;\n\t\tcal.setRange(params.range[0], params.range[1]);\n\t\tcal.params = params;\n\t\tcal.setDateStatusHandler(params.dateStatusFunc);\n\t\tcal.getDateText = params.dateText;\n\t\tcal.setDateFormat(dateFmt);\n\t\tif (mustCreate)\n\t\t\tcal.create();\n\t\tcal.refresh();\n\t\tif (!params.position)\n\t\t\tcal.showAtElement(params.button || params.displayArea || params.inputField, params.align);\n\t\telse\n\t\t\tcal.showAt(params.position[0], params.position[1]);\n\t\treturn false;\n\t};\n\n\treturn cal;\n};\n"
},
"redirectURL": "",
"headersSize": 328,
"bodySize": 9029,
"_transferSize": 9357
},
"cache": {},
"timings": {
"blocked": 437.357000002521,
"dns": 0.006999995094020051,
"connect": 63.02899999718602,
"send": 0.07199999527097134,
"wait": 35.70700000273098,
"receive": 1.1539999977683237,
"ssl": 24.15900000778504
},
"connection": "138487",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.245Z",
"time": 647.3540000006324,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/check_hin.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 659,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"1252-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Content-Length",
"value": "1252"
}
],
"cookies": [],
"content": {
"size": 1252,
"mimeType": "text/javascript",
"compression": 0,
"text": "function mod10CheckCalDig(dig) {\n\tvar ret = dig*2 + \"\";\n\tif (ret.length==2) ret = eval(ret.charAt(0)*1+ret.charAt(1)*1);\n\n\treturn ret;\n}\n\nfunction mod10Check(hinNum) {\n\tvar typeInOK = false;\n\tvar hChar = new Array();\n\tvar sum = 0;\n\tfor (i=0; i<hinNum.length; i++) {\n\t\thChar[i] = hinNum.charAt(i);\n\t}\n\n\tfor (i=0; i<hinNum.length; i=i+2) {\n\t\thChar[i] = mod10CheckCalDig(hChar[i]);\n\t}\n\n\tfor (i=0; i<hinNum.length-1; i++) {\n\t\tsum = eval(sum*1 + hChar[i]*1);\n\t}\n\n\tvar calDigit = 10-(\"\"+sum).charAt((\"\"+sum).length-1) ;\n\tif (hChar[hinNum.length-1] == ( (\"\"+calDigit).charAt((\"\"+calDigit).length-1) )) typeInOK = true;\n\n\treturn typeInOK;\n}\n\nfunction checkTypeNum(typeIn) {\n\tvar typeInOK = true;\n\tvar i = 0;\n\tvar length = typeIn.length;\n\tvar ch;\n\t// walk through a string and find a number\n\tif (length>=1) {\n\t while (i < length) {\n\t\t ch = typeIn.substring(i, i+1);\n\t\t if (ch == \"-\") { i++; continue; }\n\t\t if ((ch < \"0\") || (ch > \"9\") ) {\n\t\t\t typeInOK = false;\n\t\t\t break;\n\t\t }\n\t i++;\n }\n\t} else typeInOK = false;\n\treturn typeInOK;\n}\n\nfunction isValidHin(hin, province) {\n\tif (province!=\"ON\") return(true);\n\tif (hin.length==0) return(true);\n\t\n\tif (hin.length!=10) return(false);\n\tif (!checkTypeNum(hin)) return(false);\n\t\n\treturn(mod10Check(hin));\n}"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 1252,
"_transferSize": 1579
},
"cache": {},
"timings": {
"blocked": 530.064999999013,
"dns": -1,
"connect": -1,
"send": 0.20399999630194543,
"wait": 115.95600000873605,
"receive": 1.1289999965813422,
"ssl": -1
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.244Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/oscarEncounter/encounterStyles.css",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "Date",
"value": "Tue, 08 Sep 2015 18:20:36 GMT"
},
{
"name": "Last-Modified",
"value": "Tue, 17 Mar 2015 17:35:50 GMT"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "ETag",
"value": "\"14629-1426613750000\""
},
{
"name": "Content-Length",
"value": "14629"
},
{
"name": "Content-Type",
"value": "text/css;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 14629,
"mimeType": "text/css",
"text": "/*\r\n *\r\n * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. *\r\n * This software is published under the GPL GNU General Public License.\r\n * This program is free software; you can redistribute it and/or\r\n * modify it under the terms of the GNU General Public License\r\n * as published by the Free Software Foundation; either version 2\r\n * of the License, or (at your option) any later version. *\r\n * This program is distributed in the hope that it will be useful,\r\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\r\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r\n * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License\r\n * along with this program; if not, write to the Free Software\r\n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *\r\n *\r\n * <OSCAR TEAM>\r\n *\r\n * This software was written for the\r\n * Department of Family Medicine\r\n * McMaster University\r\n * Hamilton\r\n * Ontario, Canada\r\n */ /* styles.css -- Style sheet for the UI prototype.\r\n\r\n\tColours used:\r\n\t\t#A9A9A9 = darkgray\r\n\t\t#DCDCDC = gainsboro\r\n\t\t#F5F5F5 = whitesmoke\r\n\t\t#000000 = black\r\n\t\t#FF8C00 = darkorange\r\n*/\r\nBODY {\r\n\tFONT-SIZE: medium;\r\n\tFONT-FAMILY: Verdana, Tahoma, Arial, sans-serif;\r\n}\r\n\r\nTABLE {\r\n\tFONT-SIZE: x-small;\r\n}\r\n\r\nTH {\r\n\tFONT-SIZE: small;\r\n\tfont-weight: bold;\r\n}\r\n\r\nA IMG {\r\n\tborder: 0px;\r\n}\r\n\r\nH3 {\r\n\tfont-size: x-small;\r\n\tfont-weight: bold;\r\n\tmargin-bottom: -10px;\r\n}\r\n\r\n.box {\r\n\tborder-top: 1px;\r\n\tborder-left: 1px;\r\n\tborder-right: 1px;\r\n\tborder-bottom: 1px;\r\n}\r\n\r\n.ControlTextarea {\r\n\tfont-family: Verdana, Tahoma, Arial, sans-serif;\r\n\tfont-size: 100%;\r\n}\r\n\r\n.FakeLink {\r\n\ttext-align: right;\r\n\tfont-size: 80%;\r\n}\r\n\r\n.Head {\r\n\tbackground-color: #BBBBBB;\r\n\tpadding-top: 5px;\r\n\tpadding-bottom: 5px;\r\n\twidth: 100%;\r\n\tfont-size: 12pt;\r\n}\r\n\r\n.Head INPUT {\r\n\twidth: 100px;\r\n}\r\n\r\n.RowTop {\r\n\tfont-size: 9px;\r\n\tfont-variant: small-caps;\r\n\tfont-weight: bold;\r\n background-color: #CCCCFF;\r\n}\r\n\r\n.ControlPushButton {\r\n\tfont-size: 80%;\r\n\tfont-family: Verdana, Tahoma, Arial, sans-serif;\r\n}\r\n\r\n.Header {\r\n\tfont-weight: bold;\r\n\tfont-size: 80%;\r\n\tbackground-color: #6699cc;\r\n}\r\n\r\n/*These are my additions************************/\r\nH4 {\r\n\tfont-size: x-small;\r\n\tfont-weight: bold;\r\n\tmargin-bottom: -10px;\r\n}\r\n\r\nH3 {\r\n\tfont-size: x-small;\r\n\tfont-weight: bold;\r\n\tmargin-bottom: -10px;\r\n}\r\n\r\nTH {\r\n\tfont-size: small;\r\n\tfont-weight: bold;\r\n}\r\n\r\n.doctorInfo {\r\n\tfont-size: x-small;\r\n\tfont-weight: bold;\r\n\tbackground-color: #A39FC4;\r\n}\r\n\r\n.encounterTable {\r\n\tbackground-color: #EBEAF2;\r\n}\r\n\r\n.patientInfo {\r\n\tfont-size: small;\r\n\tfont-weight: bold;\r\n\tbackground-color: #CBC9E0;\r\n\t/*#CBC9E0;*/\r\n}\r\n\r\n.ControlTextarea {\r\n\tfont-family: Verdana, Tahoma, Arial, sans-serif;\r\n\tfont-size: 100%;\r\n}\r\n\r\n.ControlSelect {\r\n\tfont-family: Verdana, Tahoma, Arial, sans-serif;\r\n\tfont-size: 80%;\r\n\twidth: 100%;\r\n}\r\n\r\n.LeftTable {\r\n\twidth: 100%;\r\n}\r\n\r\n.BodyStyle {\r\n\tmargin-left: 0;\r\n\tmargin-right: 0;\r\n\tmargin-top: 0;\r\n}\r\n\r\n.MainTable {\r\n\tborder-collapse: collapse;\r\n\tborder-color: #111111;\r\n\tborder-width: 0;\r\n\tpadding-bottom: 0;\r\n\tpadding-top: 0;\r\n\tpadding-left: 0;\r\n\tpadding-right: 0;\r\n\twidth: 100%;\r\n\tfont-size: 80%;\r\n}\r\n\r\n.MainTableTopRowLeftColumn {\r\n\tbackground-color: #003399;\r\n\tborder-right: 2px solid #A9A9A9;\r\n\tborder-left: 2px solid #A9A9A9;\r\n\tborder-top: 2px solid #A9A9A9;\r\n\theight: 34px;\r\n\tmax-width: 130px;\r\n\tfont-size: 110%;\r\n\tfont-weight: bold;\r\n\tcolor: #FFFFFF;\r\n}\r\n\r\n.MainTableBottomRowLeftColumn {\r\n\tborder-right: 2px solid #A9A9A9;\r\n\tborder-left: 2px solid #A9A9A9;\r\n\tborder-bottom: 2px solid #A9A9A9;\r\n\theight: 4px;\r\n\tmax-width: 130px;\r\n}\r\n\r\n.MainTableLeftColumn {\r\n\tborder-right: 2px solid #A9A9A9;\r\n\tborder-left: 2px solid #A9A9A9;\r\n\tmax-width: 130px;\r\n}\r\n\r\n.MainTableTopRowRightColumn {\r\n\tborder-right: 2px solid #A9A9A9;\r\n\tborder-top: 2px solid #A9A9A9;\r\n\tbackground-color: #003399;\r\n\theight: 34px;\r\n min-width: 400px;\r\n}\r\n\r\n.MainTableBottomRowRightColumn {\r\n\tborder-bottom: 2px solid #A9A9A9;\r\n\tborder-right: 2px solid #A9A9A9;\r\n\theight: 4px;\r\n}\r\n\r\n.MainTableRightColumn {\r\n\tborder-right: 2px solid #A9A9A9;\r\n\theight: 34px;\r\n margin-left: 4px;\r\n}\r\n\r\n.TopStatusBar {\r\n\tfont-weight: bold;\r\n\tbackground-color: #6699cc;\r\n\tcolor: black;\r\n\theight: 23px;\r\n\twidth: 100%;\r\n}\r\n\r\n/* FOR DEMOGRAPHIC EDIT DEMOGRAPHIC PAGE */\r\n\r\n.demographicDetail {\r\n background-color: #CCCCFF;\r\n}\r\n\r\ndiv.info, span.info {\r\n font-weight:bold;\r\n}\r\n\r\ndiv.statusName, div.statusInfo, div.statusAppointment {\r\n float:left;\r\n padding-right: 20px;\r\n}\r\n\r\ndiv.statusAppointment {\r\n font-style: italic;\r\n}\r\n\r\ndiv.demographicSection{\r\n width:100%;\r\n margin-top: 2px;\r\n border-top: 1px solid #ccccff;\r\n border-bottom: 1px solid #ccccff;\r\n border-left: 1px solid #ccccff;\r\n border-right: 1px solid #ccccff;\r\n float: left;\r\n}\r\n\r\ndiv.demographicSection h3 {\r\n background-color: #ccccff;\r\n font-size: 8pt;\r\n font-variant:small-caps;\r\n font-weight:bold;\r\n margin-top:0px;\r\n padding-top:0px;\r\n margin-bottom:0px;\r\n padding-bottom:0px;\r\n}\r\n\r\ndiv.demographicSection ul{\r\n\r\n list-style:none;\r\n list-style-type:none;\r\n list-style-position:outside;\r\n padding-left:1px;\r\n margin-left:1px;\r\n margin-top:0px;\r\n padding-top:1px;\r\n margin-bottom:0px;\r\n padding-bottom:0px;\r\n}\r\n\r\ndiv.leftSection, div.rightSection {\r\n float:left;\r\n width:48%;\r\n margin-left:1%;\r\n}\r\n\r\ndiv.rightSection {\r\n}\r\n\r\ndiv.demographicSection li {\r\npadding-right: 15px;\r\nwhite-space: nowrap;\r\n}\r\n\r\n#viewDemographics2, div.demographicWrapper, .lightPurple {\r\n background-color: #eeeeff;\r\n width:100%;\r\n}\r\n\r\ndiv.demographicDetail {\r\n width:100%;\r\n background-color: #eeeeff;\r\n}\r\n\r\ndiv.label {\r\n clear:both;\r\n float:left;\r\n}\r\n\r\n#viewMobileMenu, .mobileScrollBtns, .mobileTitle, .mobileTopBar {\r\n display:none;\r\n}\r\n\r\n.darkPurple {\r\n background-color: #CCCCFF;\r\n}\r\n\r\ndiv.demographicWrapper {\r\n background-color: #eeeeff;\r\n margin-top: 5px;\r\n margin-left:1px;\r\n margin-right:1px;\r\n}\r\n\r\n/* popup menu style for encounter reason */\r\n.menu {\r\n position: absolute;\r\n visibility: hidden;\r\n background-color: #6699cc;\r\n /*layer-background-color: #6699cc;*/\r\n color: white;\r\n border-left: 1px solid black;\r\n border-top: 1px solid black;\r\n border-bottom: 3px solid black;\r\n border-right: 3px solid black;\r\n padding: 3px;\r\n z-index: 10;\r\n font-size: 9px;\r\n width: 25em;\r\n}\r\n\r\n.menu a {\r\n text-decoration: none;\r\n color:white;\r\n}\r\n\r\ndiv.label {\r\n display:block;\r\n}\r\n\r\n/*****************/\r\n\r\n.TopStatusBarShort {\r\n\tfont-weight: bold;\r\n\tbackground-color: #6699cc;\r\n\tcolor: black;\r\n\theight: 23px;\r\n\twidth: 500px;\r\n}\r\n\r\n.Title {\r\n\tfont-weight: bold;\r\n\tfont-size: 110%;\r\n\tcolor: white;\r\n\tbackground-color: #6699cc;\r\n}\r\n\r\n.fieldBox {\r\n\tfont-family: tahoma, helvetica;\r\n\tbackground-color: #ddddff;\r\n}\r\n\r\n.note {\r\n\tfont-size: 80%;\r\n\tcolor: #3366CC;\r\n}\r\n\r\n.data {\r\n\tbackground-color: #F7F7F7;\r\n\tfont-size: 80%;\r\n}\r\n\r\n.data2 {\r\n\tbackground-color: #F7F7F7;\r\n\tcolor: #3366CC;\r\n\tfont-size: 9px;\r\n}\r\n\r\n.data3 {\r\n\tcolor: #15120B;\r\n\tfont-size: 11px;\r\n}\r\n\r\n.data4 {\r\n\tbackground-color: #F7F7F7;\r\n\tcolor: #3366CC;\r\n\tfont-size: 12px;\r\n}\r\n\r\n.data5 {\r\n\tbackground-color: #FDFEC7;\r\n\tcolor: #3366CC;\r\n\tfont-size: 9px;\r\n}\r\n\r\ndiv.topBox {\r\n\tmargin-top: 2px;\r\n\tpadding: 0px;\r\n\tbackground-color: #FFFFFF;\r\n\t/* margin-left:3px;\r\n margin-right:3px;*/\r\n\tborder-left: 1px solid #6699cc;\r\n\tborder-right: 1px solid #6699cc;\r\n\tborder-bottom: 1px solid #6699cc;\r\n}\r\n\r\ndiv.leftBox {\r\n\tclear: both;\r\n\twidth: 100%;\r\n\tmargin-top: 2px;\r\n\t/*margin-left:3px;\r\n margin-right:1px;\r\n /*float: left;\r\n border-left: 1px solid #6699cc;\r\n border-right: 1px solid #6699cc;\r\n border-bottom: 1px solid #6699cc; */\r\n\tbackground-color: #FFFFFF;\r\n}\r\n\r\nspan.footnote {\r\n\tbackground-color: #ccccee;\r\n\tborder: 1px solid #000;\r\n\twidth: 4px;\r\n}\r\n\r\ndiv.topBox h3 a {\r\n\tcolor: white;\r\n\ttext-decoration: none;\r\n}\r\n\r\ndiv.topBox h3 {\r\n\tbackground-color: #6699cc;\r\n\t/*font-size: 1.0em;*/\r\n\tfont-size: 9px;\r\n\t/*font-variant:small-caps;*/\r\n\tcolor: white;\r\n\tfont-weight: bold;\r\n\tmargin-top: 0px;\r\n\tpadding-top: 0px;\r\n\tmargin-bottom: 0px;\r\n\tpadding-bottom: 0px;\r\n\tpadding-left: 5px;\r\n\t/*padding-right:5px;*/\r\n}\r\n\r\ndiv.topBox ul { /*border-top: 1px solid #F11;*/\r\n\t/*border-bottom: 1px solid #F11;*/ /*font-size: 1.0em;*/\r\n\tfont-size: 9px;\r\n\tlist-style: circle inside;\r\n\tpadding-left: 1px;\r\n\tmargin-left: 5px;\r\n\tmargin-top: 0px;\r\n\tpadding-top: 1px;\r\n\tmargin-bottom: 0px;\r\n\tpadding-bottom: 0px;\r\n}\r\n\r\ndiv.topBox li { /*padding-right: 15px;*/\r\n\twhite-space: nowrap;\r\n}\r\n\r\ndiv.leftBox h3 a {\r\n\tcolor: white;\r\n\ttext-decoration: none;\r\n}\r\n\r\ndiv.leftBox h3 {\r\n\tbackground-color: #6699cc;\r\n\t/*font-size: 1.0em;*/\r\n\tfont-size: 9px;\r\n\t/*font-variant:small-caps;*/\r\n\tcolor: white;\r\n\tfont-weight: bold;\r\n\tmargin-top: 0px;\r\n\tpadding-top: 0px;\r\n\tmargin-bottom: 0px;\r\n\tpadding-bottom: 0px;\r\n\tpadding-left: 5px;\r\n\t/*padding-right:5px;*/\r\n}\r\n\r\ndiv.leftBox ul { /*border-top: 1px solid #F11;*/\r\n\t/*border-bottom: 1px solid #F11;*/ /*font-size: 1.0em;*/\r\n\tfont-size: 9px;\r\n\tlist-style: none;\r\n\tlist-style-type: none;\r\n\tlist-style-position: outside;\r\n\tpadding-left: 1px;\r\n\tmargin-left: 1px;\r\n\tmargin-top: 0px;\r\n\tpadding-top: 1px;\r\n\tmargin-bottom: 0px;\r\n\tpadding-bottom: 0px;\r\n}\r\n\r\ndiv.leftBox li { /*padding-right: 15px;*/\r\n\twhite-space: nowrap;\r\n}\r\n\r\n/* popup menu styles for forms */\r\n.menu {\r\n\tposition: absolute;\r\n\tvisibility: hidden;\r\n\tbackground-color: #6699cc;\r\n\t/*layer-background-color: #6699cc;*/\r\n\tcolor: white;\r\n\tborder-left: 1px solid black;\r\n\tborder-top: 1px solid black;\r\n\tborder-bottom: 3px solid black;\r\n\tborder-right: 3px solid black;\r\n\tpadding: 3px;\r\n\tz-index: 101;\r\n\tfont-size: 9px;\r\n}\r\n\r\n.menuItemright {\r\n\tfloat: right;\r\n\tcolor: white;\r\n\ttext-decoration: none;\r\n}\r\n\r\n.menuItemleft {\r\n\tfloat: left;\r\n\tcolor: white;\r\n\ttext-decoration: none;\r\n}\r\n\r\n#leftNavBar {\r\n display:inline; float:left; width:20%;\r\n}\r\n#rightNavBar {\r\n display:inline; float:right; width:20%; margin-left:-3px;\r\n}\r\n#content {\r\n display:inline; float:left; width:60%; background-color:#CCCCFF;\r\n}\r\n#encMainDiv {\r\n width: 99%; border-top: thin groove #000000; border-right: thin groove #000000; border-left: thin groove #000000; background-color: #FFFFFF; height: 410px; overflow: auto; margin-left: 2px;\r\n\tposition: relative;\r\n}\r\n.addItem {\r\n width: 10%; float: right; text-align: center;\r\n}\r\n.headerTitle {\r\n clear: left; float: left; width: 90%;\r\n}\r\n/* formatting for navbar */\r\n.links {\r\n color: blue;\r\n text-decoration:none;\r\n font-size:9px;\r\n}\r\n\r\n.linkhover {\r\n color: black;\r\n text-decoration: underline;\r\n}\r\n#mainContent {\r\n background-color: #FFFFFF; width: 100%; margin-right: -2px; display: inline; float: left;\r\n}\r\n#notCpp {\r\n height: 70%; margin-left: 2px; background-color: #FFFFFF;\r\n}\r\n.editBtn {\r\n float: right; margin-right: 5px; font-size: 8px;\r\n}\r\n.caseNote_date {\r\n float:left; font-size:1.0em; width:25%;\r\n font-weight:bold;\r\n}\r\n.caseNote_content {\r\n float:left; font-size:1.0em; width:60%;\r\n}\r\n\r\ndiv.note {\r\n color: #000000;\r\n font-family:arial,sans-serif;\r\n margin: 3px 0px 3px 5px;\r\n float:left;\r\n width:98%;\r\n }\r\n\r\n#save {\r\n width: 98.7%; margin-left: 2px; background-color: #CCCCFF; padding: 5px 0px 5px 2px; margin-left: 2px; border-left: thin solid #000000; border-right: thin solid #000000; border-bottom: thin solid #000000;\r\n}\r\n#save #saveButtons, #save #globalButtons {\r\n float:right; margin-right: 5px;\r\n}\r\n#saveButtons > input {\r\n margin: 0 3px;\r\n}\r\n.sig {\r\n background-color:#CCCCFF;\r\n color: #000000;\r\n width:100%;\r\n font-size:9px;\r\n}\r\n.observation, .observationEdit, .showEditDate {\r\n float: right;\r\n margin-right: 3px;\r\n font-style: italic;\r\n}\r\n.encType{\r\n clear: right;\r\n margin-right: 3px;\r\n float: right;\r\n}\r\n.topLinks {\r\n color: black;\r\n text-decoration:none;\r\n font-size:9px;\r\n}\r\n\r\n.topLinkhover {\r\n color: blue;\r\n text-decoration: underline;\r\n}\r\ndiv.newNote {\r\n color: #000000;\r\n font-family:arial,sans-serif;\r\n font-size:0.8em;\r\n margin: 5px 0px 5px 5px;\r\n float:left;\r\n width:98%;\r\n /* margin-bottom: 30px; /* removes br's */\r\n}\r\n\r\ndiv.newNote pre {\r\n color: #000000;\r\n font-family:arial,sans-serif;\r\n margin: 0px 3px 0px 3px;\r\n width:100%;\r\n clear:left;\r\n}\r\n\r\n.txtArea {\r\n font-family:arial,sans-serif;\r\n font-size:1.0em;\r\n width:99%;\r\n /*rows:10;*/\r\n overflow:hidden;\r\n border:none;\r\n margin: 0px 3px;\r\n}\r\n\r\ndiv#autosaveTime {\r\n text-align:center;\r\n margin:0px;\r\n}\r\ndiv.expandedBox, div.cppBox { clear: both; overflow: auto; }\r\ndiv.expandedBox { height:100%; }\r\n\r\n/* in place editor */\r\n.showEdPosition {\r\n display: table-cell;\r\n vertical-align: middle;\r\n}\r\n\r\n.showEdFooter {\r\n text-align:left;\r\n padding: 0 2px;\r\n}\r\n\r\nul#issueIdList {\r\n padding:0;\r\n}\r\n\r\n.showEdContent {\r\n /*border: thin ridge black;*/\r\n background-color:#CCCCFF;\r\n font-size:9px;\r\n\r\n position: absolute;\r\n display:none;\r\n z-index:200;\r\n right:100px;\r\n bottom:200px;\r\n text-align: center;\r\n}\r\n\r\n#showEditButtons, #showEditLogout {float:right; margin-right:10px;}\r\n\r\n#noteEditTxt { margin: 10px; }\r\n\r\ndiv#issueNoteAssign { text-align: center; }\r\n/*****/\r\n\r\n/* template styles*/\r\n#issueListCPP {\r\n background-color:#FFFFFF;\r\n height:200px; width:350px;\r\n position:absolute;\r\n z-index:1;\r\n overflow:auto;\r\n}\r\n.enTemplate_name_auto_complete {\r\n width: 350px;\r\n background: #fff;\r\n font-size: 9px;\r\n text-align:left;\r\n}\r\n.enTemplate_name_auto_complete ul {\r\n border:1px solid #888;\r\n margin:0;\r\n padding:0;\r\n width:100%;\r\n list-style-type:square;\r\n list-style-position:inside;\r\n}\r\n.enTemplate_name_auto_complete ul li {\r\n margin:0;\r\n padding:3px;\r\n}\r\n.enTemplate_name_auto_complete ul li.selected {\r\n background-color: #ffb;\r\n text-decoration: underline;\r\n}\r\n.enTemplate_name_auto_complete ul strong.highlight {\r\n color: #800;\r\n margin:0;\r\n padding:0;\r\n}\r\np.passwd, p.passwdErr { margin: 0px 3px; }\r\np.passwdErr { color: red; }\r\n\r\n#notesLoading {\r\n\tbackground-color: #AAAADD;\r\n border: 1px solid black;\r\n border-radius: 3px 3px 3px 3px;\r\n box-shadow: 2px 2px 4px;\r\n font-size: 12px;\r\n margin-left: 20px;\r\n padding: 4px;\r\n position: absolute;\r\n right: 50px;\r\n text-align: center;\r\n top: 25px;\r\n width: 130px;\r\n z-index: 4000;\r\n}\r\n\r\n#notesLoading img {\r\n\tmargin-right: 5px;\r\n}\r\n"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.245Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/css/searchBox.css",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "Date",
"value": "Tue, 08 Sep 2015 18:19:53 GMT"
},
{
"name": "Last-Modified",
"value": "Tue, 17 Mar 2015 17:35:50 GMT"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "ETag",
"value": "\"1642-1426613750000\""
},
{
"name": "Content-Length",
"value": "1642"
},
{
"name": "Content-Type",
"value": "text/css;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 1642,
"mimeType": "text/css",
"text": "/*\n *\n * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. *\n * This software is published under the GPL GNU General Public License.\n * This program is free software; you can redistribute it and/or\n * modify it under the terms of the GNU General Public License\n * as published by the Free Software Foundation; either version 2\n * of the License, or (at your option) any later version. *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License\n * along with this program; if not, write to the Free Software\n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *\n *\n * <OSCAR TEAM>\n *\n * This software was written for the\n * Department of Family Medicine\n * McMaster University\n * Hamilton\n * Ontario, Canada\n */\nform {\n padding: 0;\n margin: 0;\n}\n\n.searchBox {\n background-color: white;\n border: 2px solid #ccccff;\n}\n\n.searchBox ul {\n overflow:auto; /* Fixes border issues found in IE6 */\n width:100%;\n padding: 12px 0;\n display: table;\n}\n\n.searchBox ul li {\n padding: 0 7px;\n float:left; /* display: table-cell */\n vertical-align: middle;\n}\n\n.searchBox .title {\n color:black;\n font-weight: bold;\n background-color: #CCCCFF;\n}\n\n.searchBox .label {\n clear:both;\n padding-right: 5px;\n float:left;\n}\n\nul {\n margin: 0px;\n padding: 0px;\n list-style:none;\n}\n"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.245Z",
"time": 649.7250000102213,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/global.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 656,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 24 Aug 2015 20:39:14 GMT"
},
{
"name": "ETag",
"value": "\"4129-1440448754000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Content-Length",
"value": "4129"
}
],
"cookies": [],
"content": {
"size": 4129,
"mimeType": "text/javascript",
"compression": 0,
"text": "\n// setfocus to the current window\nfunction setfocus() {\n this.focus();\n}\n\n// refresh this page\nfunction refresh() {\n\t history.go(0);\n}\nfunction showHideItem(id){\n if(document.getElementById(id).style.display == 'none')\n document.getElementById(id).style.display = 'block';\n else\n document.getElementById(id).style.display = 'none';\n}\nvar currentWidth;\n// This function is useful to simulate min-width for the body in IE6 (for popup windows)\nfunction setMinWidth(width){\n if (currentWidth != document.documentElement.clientWidth) {\n document.body.style.width = (document.documentElement.clientWidth < (width+10))? width+\"px\" : \"auto\";\n }\n currentWidth = document.documentElement.clientWidth;\n}\n\n// open a new popup window\nfunction popupPage(vheight,vwidth,varpage) { \n var page = \"\" + varpage;\n windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes\";\n var popup=window.open(page, \"attachment\", windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self; \n }\n }\n}\n//popup and focus\n//allow to specify pageTitle\nfunction popupFocusPage(vheight,vwidth,varpage,pageTitle){\n var page = \"\" + varpage;\n var windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,\"+\n \"screenX=50,screenY=50,top=0,left=0\";\n var popup=window.open(page, pageTitle, windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self;\n }\n popup.focus();\n }\n}\n// Prompt user if exiting without saving\nfunction onExit() {\n if(confirm(\"Are you sure you wish to exit without saving your changes?\")==true)\n {\n window.close();\n }\n return(false);\n}\n\n// Check if the entered type is a number\nfunction checkTypeNum(typeIn) {\n\tvar typeInOK = true;\n\tvar i = 0;\n\tvar length = typeIn.length;\n\tvar ch;\n\t// walk through a string and find a number\n\tif (length>=1) {\n\t while (i < length) {\n\t\tch = typeIn.substring(i, i+1);\n\t\tif ((ch < \"0\") || (ch > \"9\")) {\n\t\t\ttypeInOK = false;\n\t\t\tbreak;\n\t\t}\n\t i++;\n }\n\t} else typeInOK = false;\n\treturn typeInOK;\n}\n\n// print the current window\nfunction onPrint() {\n\twindows.print();\n}\n\n// change the case of current control's text to upper case\nfunction upCaseCtrl(ctrl) {\n\tctrl.value = ctrl.value.toUpperCase();\n}\n\n\nfunction openBrWindow(theURL,winName,features) { \n window.open(theURL,winName,features);\n}\n\nfunction Check(e) {\n\te.checked = true;\n}\n\nfunction Clear(e) {\n\te.checked = false;\n}\n \nfunction CheckAll(ml) {\n\tvar len = ml.elements.length;\n\tfor (var i = 0; i < len; i++) {\n\t var e = ml.elements[i];\n\t if (e.name == \"checkbox\") {\n\t\t\tCheck(e);\n\t }\n\t}\n}\n\nfunction ClearAll(ml) {\n\tvar len = ml.elements.length;\n\tfor (var i = 0; i < len; i++) {\n\t var e = ml.elements[i];\n\t if (e.name == \"checkbox\") {\n\t\tClear(e);\n\t }\n\t}\n}\n\n//set the focus to this window\nfunction start(){\n\t this.focus();\n}\n\n//close the current window\nfunction closeit() {\n self.opener.refresh();\n close();\n} \n\n//ajax update of the current window\nfunction updateAjax() {\n var parentAjaxId = \"<%=parentAjaxId%>\"; \n if( parentAjaxId != \"null\" ) {\n window.opener.document.forms['encForm'].elements['reloadDiv'].value = parentAjaxId;\n window.opener.updateNeeded = true; \n }\n}\n\nfunction setEnabledAll(form, enabled){\n\tfor (var i = 0; i < form.elements.length; i++) {\n\t\tform.elements[i].disabled=!enabled;\n\t}\n}\n\nfunction getSelectedRadioValue(radioGroup)\n{\n\tfor (var i=0; i<radioGroup.length; i++)\n\t{\n\t\tif (radioGroup[i].checked == true) return(radioGroup[i].value);\n\t}\n}\n\n\nfunction selectSelectListOption(selectList, optionValue)\n{\n\t for (var i=0; i<selectList.options.length; i++)\n\t {\n\t\t if (selectList.options[i].value==optionValue)\n\t\t {\n\t\t\t selectList.selectedIndex=i;\n\t\t\t return;\n\t\t }\n\t } \n}\n\nfunction getSelectListValue(selectList)\n{\n\treturn(selectList.options[selectList.selectedIndex].value);\n}"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 4129,
"_transferSize": 4456
},
"cache": {},
"timings": {
"blocked": 538.389000008465,
"dns": -1,
"connect": -1,
"send": 0.12799999967694475,
"wait": 108.72599999129307,
"receive": 2.482000010786237,
"ssl": -1
},
"connection": "138487",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.245Z",
"time": 649.8700000083772,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/Oscar.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 669,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"7027-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Content-Length",
"value": "7027"
}
],
"cookies": [],
"content": {
"size": 7027,
"mimeType": "text/javascript",
"compression": 0,
"text": "/*\n * \n * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. *\n * This software is published under the GPL GNU General Public License. \n * This program is free software; you can redistribute it and/or \n * modify it under the terms of the GNU General Public License \n * as published by the Free Software Foundation; either version 2 \n * of the License, or (at your option) any later version. * \n * This program is distributed in the hope that it will be useful, \n * but WITHOUT ANY WARRANTY; without even the implied warranty of \n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \n * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License \n * along with this program; if not, write to the Free Software \n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * \n * \n * <OSCAR TEAM>\n * \n * This software was written for the \n * Department of Family Medicine \n * McMaster University \n * Hamilton \n * Ontario, Canada \n */\n\nfunction popup(height, width, url, windowName) {\n return popup2(height, width, 0, 0, url, windowName);\n}\n\n\nfunction popup2(height, width, top, left, url, windowName){ \n var page = url; \n windowprops = \"height=\"+height+\",width=\"+width+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,screenX=0,screenY=0,top=\" + top + \",left=\" + left;\n var popup=window.open(url, windowName, windowprops); \n if (popup != null){ \n if (popup.opener == null){ \n popup.opener = self; \n } \n } \n popup.focus(); \n return popup; \n}\n\nfunction confirmNGo(url, message) {\n if (confirm(message)) {\n location.href = url;\n }\n return false;\n}\n\n\nfunction showHideItem(id){ \n if(document.getElementById(id).style.display == 'none')\n showItem(id); \n else\n hideItem(id); \n}\n\nfunction showItem(id){\n document.getElementById(id).style.display = ''; \n}\n\nfunction hideItem(id){\n document.getElementById(id).style.display = 'none'; \n}\n\n/*\noElm - Mandatory. This is element in whose children you will look for the attribute.\nstrTagName - Mandatory. This is the name of the HTML elements you want to look in. Use wildcard (*) if you want to look in all elements.\nstrAttributeName - Mandatory. The name of the attribute youre looking for.\nstrAttributeValue - Optional. If you want the attribute youre looking for to have a certain value as well. (don't specify it if you don't know it)\n*/\ndocument.getElementsByAttribute = function(oElm, strTagName, strAttributeName, strAttributeValue){\n var arrElements = (strTagName == \"*\" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);\n var arrReturnElements = new Array();\n var oAttributeValue = (typeof strAttributeValue != \"undefined\")? new RegExp(\"(^|\\\\s)\" + strAttributeValue + \"(\\\\s|$)\") : null;\n var oCurrent;\n var oAttribute;\n for(var i=0; i<arrElements.length; i++){\n oCurrent = arrElements[i];\n oAttribute = oCurrent.getAttribute && oCurrent.getAttribute(strAttributeName);\n if(typeof oAttribute == \"string\" && oAttribute.length > 0){\n if(typeof strAttributeValue == \"undefined\" || (oAttributeValue && oAttributeValue.test(oAttribute))){\n arrReturnElements.push(oCurrent);\n }\n }\n }\n return arrReturnElements;\n}\n\nfunction validDate(id) {\n //checks if the <input type=\"text\"> has a valid date format yyyy/mm/dd\n var completeRawDate = document.getElementById(id).value;\n return validDateText(completeRawDate);\n}\n\nfunction validDateText(completeRawDate) {\n//Just another method that validates date in a string, useful if you want to make your own\n//date checking script.\n var delimiter = '/';\n if (completeRawDate.indexOf('/') == -1)\n delimiter = '-';\n var dateArray = completeRawDate.split(delimiter);\n if (dateArray.length != 3) return false;\n year = (dateArray[0] - 0);\n month = (dateArray[1] - 1);\n day = (dateArray[2] - 0);\n //alert(\"year: \" + year + \", \" + month + \", \" + day);\n dateObject = new Date(year,month,day);\n return ((day==dateObject.getDate()) && (month==dateObject.getMonth()) && (year==dateObject.getFullYear()));\n}\n\nfunction validDateFieldsByClass(className, parentEle) {\n//Checks if the dates are valid, identifies date fields by class name; datefield preferrably type=\"text\"\n// parentEle is any object that encloses the fields, usually the form element\n var datefields = document.getElementsByClassName(className, parentEle)\n for (var i=0; i<datefields.length; i++) {\n if (!validDateText(datefields[i].value)) {\n datefields[i].focus();\n return false;\n }\n }\n return true;\n}\n\n//returns mouse coordinates\nfunction getMouseCoords(e) {\n var array = new Array(2);\n\tvar posx = 0;\n\tvar posy = 0;\n\tif (!e) var e = window.event;\n\tif (e.pageX || e.pageY) \t{\n\t\tposx = e.pageX;\n\t\tposy = e.pageY;\n\t}\n\telse if (e.clientX || e.clientY) \t{\n posx = e.clientX + document.body.scrollLeft\n\t\t\t+ document.documentElement.scrollLeft;\n\t\tposy = e.clientY + document.body.scrollTop\n\t\t\t+ document.documentElement.scrollTop;\n\t}\n array[0] = posx;\n array[1] = posy;\n return array;\n}\n\n//example <input type=\"checkbox\" onclick=\"checkAll(this, 'parentEle', 'checkclass')\">\nfunction checkAll(master, parentEle, className){\n var val = master.checked;\n var chkList = document.getElementsByClassName(className, parentEle);\n for (i =0; i < chkList.length; i++){\n chkList[i].checked = val;\n }\n}\n\n//Calls firebugs console log if it's available. A safer way to use the console because if firebug is not enabled the javascript will error on the console.log line.\nfunction oscarLog(str){\n if(window.console){\n console.log(str);\n }\n \n}\n\n\n//Can be use the enter key in a text box and call javacript function\n//example: <itput type=\"text\" onkeypress=\"return grabEnter(event,'ReferralScriptAttach1()')\"/>\nfunction grabEnter(event,callb){\n if( (window.event && window.event.keyCode == 13) || (event && event.which == 13) ) {\n eval(callb);\n return false;\n }\n}\n\n\n\n//Checks to see if a String is numeric integer ie. No decimal aloud\nfunction isNumericInt(sText){\n var validNumChars = \"0123456789\";\n var isNumber=true;\n var chara;\n for (i = 0; i < sText.length && isNumber == true; i++) {\n chara = sText.charAt(i);\n if (validNumChars.indexOf(chara) == -1) {\n isNumber = false;\n }\n }\n return isNumber;\n}\n\n//Checks to see if a String is numeric\nfunction isNumeric(sText){\n var validNumChars = \"0123456789.\";\n var isNumber=true;\n var chara;\n for (i = 0; i < sText.length && isNumber == true; i++) {\n chara = sText.charAt(i);\n if (validNumChars.indexOf(chara) == -1) {\n isNumber = false;\n }\n }\n return isNumber;\n}\n//remove leading and trailing white space\nfunction trim(str){\n str=str.replace(/^\\s+/g,\"\");\n str=str.replace(/\\s+$/g,\"\");//trim str\n return str;\n}"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 7027,
"_transferSize": 7354
},
"cache": {},
"timings": {
"blocked": 538.37600001134,
"dns": -1,
"connect": -1,
"send": 0.09599998884402794,
"wait": 109.77900000580098,
"receive": 1.6190000023922266,
"ssl": -1
},
"connection": "138483",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.245Z",
"time": 703.7489999929676,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/popupmenu.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 673,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"3601-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=98"
},
{
"name": "Content-Length",
"value": "3601"
}
],
"cookies": [],
"content": {
"size": 3601,
"mimeType": "text/javascript",
"compression": 0,
"text": "// Copyright <20> 2000 by Apple Computer, Inc., All Rights Reserved.\n//\n// You may incorporate this Apple sample code into your own code\n// without restriction. This Apple sample code has been provided \"AS IS\"\n// and the responsibility for its operation is yours. You may redistribute\n// this code, but you are not permitted to redistribute it as\n// \"Apple sample code\" after having made changes.\n// ********************************\n// application-specific functions *\n// ********************************\n\n// store variables to control where the popup will appear relative to the cursor position\n// positive numbers are below and to the right of the cursor, negative numbers are above and to the left\nvar xOffset = -30;\nvar yOffset = -5;\n\nfunction showPopup (targetObjectId, eventObj) {\n if(eventObj) {\n\t// hide any currently-visible popups\n\thideCurrentPopup();\n\t// stop event from bubbling up any farther\n\teventObj.cancelBubble = true;\n\t// move popup div to current cursor position \n\t// (add scrollTop to account for scrolling for IE)\n\tvar newXCoordinate = (eventObj.pageX)?eventObj.pageX + xOffset:eventObj.x + xOffset + ((document.body.scrollLeft)?document.body.scrollLeft:0);\n\tvar newYCoordinate = (eventObj.pageY)?eventObj.pageY + yOffset:eventObj.y + yOffset + ((document.body.scrollTop)?document.body.scrollTop:0);\n\tmoveObject(targetObjectId, newXCoordinate, newYCoordinate);\n\t// and make it visible\n\tif( changeObjectVisibility(targetObjectId, 'visible') ) {\n\t // if we successfully showed the popup\n\t // store its Id on a globally-accessible object\n\t window.currentlyVisiblePopup = targetObjectId;\n\t return true;\n\t} else {\n\t // we couldn't show the popup, boo hoo!\n\t return false;\n\t}\n } else {\n\t// there was no event object, so we won't be able to position anything, so give up\n\treturn false;\n }\n} // showPopup\n\nfunction hideCurrentPopup() {\n // note: we've stored the currently-visible popup on the global object window.currentlyVisiblePopup\n if(window.currentlyVisiblePopup) {\n\tchangeObjectVisibility(window.currentlyVisiblePopup, 'hidden');\n\twindow.currentlyVisiblePopup = false;\n }\n} // hideCurrentPopup\n\n\n\n// ***********************\n// hacks and workarounds *\n// ***********************\n\n// initialize hacks whenever the page loads\n//window.onload = initializeHacks;\n\n// setup an event handler to hide popups for generic clicks on the document\ndocument.onclick = hideCurrentPopup;\n\nfunction initializeHacks() {\n // this ugly little hack resizes a blank div to make sure you can click\n // anywhere in the window for Mac MSIE 5\n if ((navigator.appVersion.indexOf('MSIE 5') != -1) \n\t&& (navigator.platform.indexOf('Mac') != -1)\n\t&& getStyleObject('blankDiv')) {\n\twindow.onresize = explorerMacResizeFix;\n }\n resizeBlankDiv();\n // this next function creates a placeholder object for older browsers\n createFakeEventObj();\n}\n\nfunction createFakeEventObj() {\n // create a fake event object for older browsers to avoid errors in function call\n // when we need to pass the event object to functions\n if (!window.event) {\n\twindow.event = false;\n }\n} // createFakeEventObj\n\nfunction resizeBlankDiv() {\n // resize blank placeholder div so IE 5 on mac will get all clicks in window\n if ((navigator.appVersion.indexOf('MSIE 5') != -1) \n\t&& (navigator.platform.indexOf('Mac') != -1)\n\t&& getStyleObject('blankDiv')) {\n\tgetStyleObject('blankDiv').width = document.body.clientWidth - 20;\n\tgetStyleObject('blankDiv').height = document.body.clientHeight - 20;\n }\n}\n\nfunction explorerMacResizeFix () {\n location.reload(false);\n}\n\n"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 3601,
"_transferSize": 3928
},
"cache": {},
"timings": {
"blocked": 649.787999995169,
"dns": -1,
"connect": -1,
"send": 0.11300000187497972,
"wait": 52.666999996291,
"receive": 1.1809999996326042,
"ssl": -1
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.246Z",
"time": 715.0239999900805,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/menutility.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 674,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"1865-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=98"
},
{
"name": "Content-Length",
"value": "1865"
}
],
"cookies": [],
"content": {
"size": 1865,
"mimeType": "text/javascript",
"compression": 0,
"text": "// Copyright <20> 2000 by Apple Computer, Inc., All Rights Reserved.\n//\n// You may incorporate this Apple sample code into your own code\n// without restriction. This Apple sample code has been provided \"AS IS\"\n// and the responsibility for its operation is yours. You may redistribute\n// this code, but you are not permitted to redistribute it as\n// \"Apple sample code\" after having made changes.\n//\n// ************************\n// layer utility routines *\n// ************************\n\nfunction getStyleObject(objectId) {\n // cross-browser function to get an object's style object given its id\n if(document.getElementById && document.getElementById(objectId)) {\n\t// W3C DOM\n\treturn document.getElementById(objectId).style;\n } else if (document.all && document.all(objectId)) {\n\t// MSIE 4 DOM\n\treturn document.all(objectId).style;\n } else if (document.layers && document.layers[objectId]) {\n\t// NN 4 DOM.. note: this won't find nested layers\n\treturn document.layers[objectId];\n } else {\n\treturn false;\n }\n} // getStyleObject\n\nfunction changeObjectVisibility(objectId, newVisibility) {\n // get a reference to the cross-browser style object and make sure the object exists\n var styleObject = getStyleObject(objectId);\n if(styleObject) {\n\tstyleObject.visibility = newVisibility;\n\treturn true;\n } else {\n\t// we couldn't find the object, so we can't change its visibility\n\treturn false;\n }\n} // changeObjectVisibility\n\nfunction moveObject(objectId, newXCoordinate, newYCoordinate) {\n // get a reference to the cross-browser style object and make sure the object exists\n var styleObject = getStyleObject(objectId);\n if(styleObject) {\n\tstyleObject.left = newXCoordinate;\n\tstyleObject.top = newYCoordinate;\n\treturn true;\n } else {\n\t// we couldn't find the object, so we can't very well move it\n\treturn false;\n }\n} // moveObject\n\n\n"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 1865,
"_transferSize": 2192
},
"cache": {},
"timings": {
"blocked": 649.923999997554,
"dns": -1,
"connect": -1,
"send": 0.10599999222904444,
"wait": 64.04700000712194,
"receive": 0.9469999931754955,
"ssl": -1
},
"connection": "138487",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.246Z",
"time": 528.1690000119852,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/custom/global.css",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "text/css,*/*;q=0.1"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 679,
"bodySize": 0
},
"response": {
"status": 404,
"statusText": "Not Found",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "1048"
},
{
"name": "Content-Type",
"value": "text/html;charset=utf-8"
}
],
"cookies": [],
"content": {
"size": 0,
"mimeType": "text/html",
"compression": 181,
"text": ""
},
"redirectURL": "",
"headersSize": 181,
"bodySize": -181,
"_transferSize": 0,
"_error": ""
},
"cache": {},
"timings": {
"blocked": 435.235000011744,
"dns": 0.02500000118703838,
"connect": 57.00199998682399,
"send": 0.09700001100998179,
"wait": 34.77600000041997,
"receive": 1.0340000008002335,
"ssl": 16.693999990821
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.246Z",
"time": 713.2480000000214,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/custom/default/global.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 671,
"bodySize": 0
},
"response": {
"status": 404,
"statusText": "Not Found",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=98"
},
{
"name": "Content-Length",
"value": "1069"
},
{
"name": "Content-Type",
"value": "text/html;charset=utf-8"
}
],
"cookies": [],
"content": {
"size": 0,
"mimeType": "text/html",
"compression": 232,
"text": ""
},
"redirectURL": "",
"headersSize": 232,
"bodySize": -232,
"_transferSize": 0,
"_error": ""
},
"cache": {},
"timings": {
"blocked": 649.636999994982,
"dns": -1,
"connect": -1,
"send": 0.10699999984399255,
"wait": 62.54499999340601,
"receive": 0.9590000117893851,
"ssl": -1
},
"connection": "138483",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.247Z",
"time": 748.0599999980768,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/custom/default/master.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 671,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"39-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=97"
},
{
"name": "Content-Length",
"value": "39"
}
],
"cookies": [],
"content": {
"size": 39,
"mimeType": "text/javascript",
"compression": 0,
"text": "jQuery(document).ready(function(){\n});\n"
},
"redirectURL": "",
"headersSize": 323,
"bodySize": 39,
"_transferSize": 362
},
"cache": {},
"timings": {
"blocked": 702.965000004042,
"dns": -1,
"connect": -1,
"send": 0.10499999916589786,
"wait": 44.24899999867205,
"receive": 0.7409999961968197,
"ssl": -1
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.298Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/images/cal.gif",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "Date",
"value": "Tue, 08 Sep 2015 18:20:36 GMT"
},
{
"name": "Last-Modified",
"value": "Tue, 17 Mar 2015 17:35:50 GMT"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "ETag",
"value": "\"223-1426613750000\""
},
{
"name": "Content-Length",
"value": "223"
},
{
"name": "Content-Type",
"value": "image/gif;charset=UTF-8"
}
],
"cookies": [],
"content": {
"size": 223,
"mimeType": "image/gif",
"text": "R0lGODlhFAAOAPIEADAwMP8AANzc3P//wP///////wAAAAAAACH5BAEBAAUALAAAAAAUAA4AAAOkWFVVhVVVVVhVVYVVBQAIAACAAAAACABVgDMzMzgzM4MzM1BYMDODMzMzODMzg1AFAAgAAIAAAAAIAFWARERESEREhEREUFhAAIQABEAIQBGEUAVESEREhEREREgEVYAEQABIAASAFEFQWEBEhEREREhERIRQBQQIBECAQAAUGARVgEREREhERIRERFBYAACAAAAACAAAgFBVVVhVVYVVVVVYVZUAOw==",
"encoding": "base64"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:15.299Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://www.google.com/jsapi",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "date",
"value": "Thu, 10 Sep 2015 16:23:46 GMT"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "server",
"value": "GSE"
},
{
"name": "x-frame-options",
"value": "SAMEORIGIN"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "content-type",
"value": "text/javascript; charset=utf-8"
},
{
"name": "status",
"value": "200"
},
{
"name": "cache-control",
"value": "private, max-age=3600, must-revalidate"
},
{
"name": "content-length",
"value": "5935"
},
{
"name": "x-xss-protection",
"value": "1; mode=block"
},
{
"name": "expires",
"value": "Thu, 10 Sep 2015 16:23:46 GMT"
}
],
"cookies": [],
"content": {
"size": 24351,
"mimeType": "text/javascript",
"text": "if(!window['googleLT_']){window['googleLT_']=(new Date()).getTime();}if (!window['google']) {\nwindow['google'] = {};\n}\nif (!window['google']['loader']) {\nwindow['google']['loader'] = {};\ngoogle.loader.ServiceBase = 'https://www.google.com/uds';\ngoogle.loader.GoogleApisBase = 'https://ajax.googleapis.com/ajax';\ngoogle.loader.ApiKey = 'notsupplied';\ngoogle.loader.KeyVerified = true;\ngoogle.loader.LoadFailure = false;\ngoogle.loader.Secure = true;\ngoogle.loader.GoogleLocale = 'www.google.com';\ngoogle.loader.ClientLocation = null;\ngoogle.loader.AdditionalParams = '';\n(function() {var d=window,g=encodeURIComponent,h=document;function l(a,b){return a.load=b}var m=\"join\",n=\"name\",q=\"prototype\",r=\"ServiceBase\",u=\"indexOf\",v=\"setTimeout\",w=\"replace\",x=\"substring\",y=\"charAt\",z=\"push\",A=\"loader\",B=\"length\",C=\"toLowerCase\",D=\"getTime\";function E(a){return a in F?F[a]:F[a]=-1!=navigator.userAgent[C]()[u](a)}var F={};function G(a,b){var c=function(){};c.prototype=b[q];a.ca=b[q];a.prototype=new c}\nfunction H(a,b,c){var e=Array[q].slice.call(arguments,2)||[];return function(){return a.apply(b,e.concat(Array[q].slice.call(arguments)))}}function I(a){a=Error(a);a.toString=function(){return this.message};return a}function J(a,b){for(var c=a.split(/\\./),e=d,f=0;f<c[B]-1;f++)e[c[f]]||(e[c[f]]={}),e=e[c[f]];e[c[c[B]-1]]=b}function K(a,b,c){a[b]=c}if(!L)var L=J;if(!M)var M=K;google[A].F={};L(\"google.loader.callbacks\",google[A].F);var N={},O={};google[A].eval={};L(\"google.loader.eval\",google[A].eval);\nl(google,function(a,b,c){function e(a){var b=a.split(\".\");if(2<b[B])throw I(\"Module: '\"+a+\"' not found!\");\"undefined\"!=typeof b[1]&&(f=b[0],c.packages=c.packages||[],c.packages[z](b[1]))}var f=a;c=c||{};if(a instanceof Array||a&&\"object\"==typeof a&&\"function\"==typeof a[m]&&\"function\"==typeof a.reverse)for(var k=0;k<a[B];k++)e(a[k]);else e(a);if(a=N[\":\"+f]){c&&!c.language&&c.locale&&(c.language=c.locale);c&&\"string\"==typeof c.callback&&(k=c.callback,k.match(/^[[\\]A-Za-z0-9._]+$/)&&(k=d.eval(k),c.callback=\nk));if((k=c&&null!=c.callback)&&!a.D(b))throw I(\"Module: '\"+f+\"' must be loaded before DOM onLoad!\");k?a.u(b,c)?d[v](c.callback,0):a.load(b,c):a.u(b,c)||a.load(b,c)}else throw I(\"Module: '\"+f+\"' not found!\");});L(\"google.load\",google.load);\ngoogle.ba=function(a,b){b?(0==P[B]&&(Q(d,\"load\",R),!E(\"msie\")&&!E(\"safari\")&&!E(\"konqueror\")&&E(\"mozilla\")||d.opera?d.addEventListener(\"DOMContentLoaded\",R,!1):E(\"msie\")?h.write(\"<script defer onreadystatechange='google.loader.domReady()' src=//:>\\x3c/script>\"):(E(\"safari\")||E(\"konqueror\"))&&d[v](aa,10)),P[z](a)):Q(d,\"load\",a)};L(\"google.setOnLoadCallback\",google.ba);\nfunction Q(a,b,c){if(a.addEventListener)a.addEventListener(b,c,!1);else if(a.attachEvent)a.attachEvent(\"on\"+b,c);else{var e=a[\"on\"+b];a[\"on\"+b]=null!=e?ba([c,e]):c}}function ba(a){return function(){for(var b=0;b<a[B];b++)a[b]()}}var P=[];google[A].W=function(){var a=d.event.srcElement;\"complete\"==a.readyState&&(a.onreadystatechange=null,a.parentNode.removeChild(a),R())};L(\"google.loader.domReady\",google[A].W);var ca={loaded:!0,complete:!0};function aa(){ca[h.readyState]?R():0<P[B]&&d[v](aa,10)}\nfunction R(){for(var a=0;a<P[B];a++)P[a]();P.length=0}google[A].f=function(a,b,c){if(c){var e;\"script\"==a?(e=h.createElement(\"script\"),e.type=\"text/javascript\",e.src=b):\"css\"==a&&(e=h.createElement(\"link\"),e.type=\"text/css\",e.href=b,e.rel=\"stylesheet\");(a=h.getElementsByTagName(\"head\")[0])||(a=h.body.parentNode.appendChild(h.createElement(\"head\")));a.appendChild(e)}else\"script\"==a?h.write('<script src=\"'+b+'\" type=\"text/javascript\">\\x3c/script>'):\"css\"==a&&h.write('<link href=\"'+b+'\" type=\"text/css\" rel=\"stylesheet\"></link>')};\nL(\"google.loader.writeLoadTag\",google[A].f);google[A].Z=function(a){O=a};L(\"google.loader.rfm\",google[A].Z);google[A].aa=function(a){for(var b in a)\"string\"==typeof b&&b&&\":\"==b[y](0)&&!N[b]&&(N[b]=new T(b[x](1),a[b]))};L(\"google.loader.rpl\",google[A].aa);google[A].$=function(a){if((a=a.specs)&&a[B])for(var b=0;b<a[B];++b){var c=a[b];\"string\"==typeof c?N[\":\"+c]=new U(c):(c=new V(c[n],c.baseSpec,c.customSpecs),N[\":\"+c[n]]=c)}};L(\"google.loader.rm\",google[A].$);google[A].loaded=function(a){N[\":\"+a.module].o(a)};\nL(\"google.loader.loaded\",google[A].loaded);google[A].V=function(){return\"qid=\"+((new Date)[D]().toString(16)+Math.floor(1E7*Math.random()).toString(16))};L(\"google.loader.createGuidArg_\",google[A].V);J(\"google_exportSymbol\",J);J(\"google_exportProperty\",K);google[A].a={};L(\"google.loader.themes\",google[A].a);google[A].a.K=\"//www.google.com/cse/style/look/bubblegum.css\";M(google[A].a,\"BUBBLEGUM\",google[A].a.K);google[A].a.M=\"//www.google.com/cse/style/look/greensky.css\";M(google[A].a,\"GREENSKY\",google[A].a.M);\ngoogle[A].a.L=\"//www.google.com/cse/style/look/espresso.css\";M(google[A].a,\"ESPRESSO\",google[A].a.L);google[A].a.O=\"//www.google.com/cse/style/look/shiny.css\";M(google[A].a,\"SHINY\",google[A].a.O);google[A].a.N=\"//www.google.com/cse/style/look/minimalist.css\";M(google[A].a,\"MINIMALIST\",google[A].a.N);google[A].a.P=\"//www.google.com/cse/style/look/v2/default.css\";M(google[A].a,\"V2_DEFAULT\",google[A].a.P);function U(a){this.b=a;this.B=[];this.A={};this.l={};this.g={};this.s=!0;this.c=-1}\nU[q].i=function(a,b){var c=\"\";void 0!=b&&(void 0!=b.language&&(c+=\"&hl=\"+g(b.language)),void 0!=b.nocss&&(c+=\"&output=\"+g(\"nocss=\"+b.nocss)),void 0!=b.nooldnames&&(c+=\"&nooldnames=\"+g(b.nooldnames)),void 0!=b.packages&&(c+=\"&packages=\"+g(b.packages)),null!=b.callback&&(c+=\"&async=2\"),void 0!=b.style&&(c+=\"&style=\"+g(b.style)),void 0!=b.noexp&&(c+=\"&noexp=true\"),void 0!=b.other_params&&(c+=\"&\"+b.other_params));if(!this.s){google[this.b]&&google[this.b].JSHash&&(c+=\"&sig=\"+g(google[this.b].JSHash));\nvar e=[],f;for(f in this.A)\":\"==f[y](0)&&e[z](f[x](1));for(f in this.l)\":\"==f[y](0)&&this.l[f]&&e[z](f[x](1));c+=\"&have=\"+g(e[m](\",\"))}return google[A][r]+\"/?file=\"+this.b+\"&v=\"+a+google[A].AdditionalParams+c};U[q].H=function(a){var b=null;a&&(b=a.packages);var c=null;if(b)if(\"string\"==typeof b)c=[a.packages];else if(b[B])for(c=[],a=0;a<b[B];a++)\"string\"==typeof b[a]&&c[z](b[a][w](/^\\s*|\\s*$/,\"\")[C]());c||(c=[\"default\"]);b=[];for(a=0;a<c[B];a++)this.A[\":\"+c[a]]||b[z](c[a]);return b};\nl(U[q],function(a,b){var c=this.H(b),e=b&&null!=b.callback;if(e)var f=new W(b.callback);for(var k=[],p=c[B]-1;0<=p;p--){var t=c[p];e&&f.R(t);if(this.l[\":\"+t])c.splice(p,1),e&&this.g[\":\"+t][z](f);else k[z](t)}if(c[B]){b&&b.packages&&(b.packages=c.sort()[m](\",\"));for(p=0;p<k[B];p++)t=k[p],this.g[\":\"+t]=[],e&&this.g[\":\"+t][z](f);if(b||null==O[\":\"+this.b]||null==O[\":\"+this.b].versions[\":\"+a]||google[A].AdditionalParams||!this.s)b&&b.autoloaded||google[A].f(\"script\",this.i(a,b),e);else{c=O[\":\"+this.b];\ngoogle[this.b]=google[this.b]||{};for(var S in c.properties)S&&\":\"==S[y](0)&&(google[this.b][S[x](1)]=c.properties[S]);google[A].f(\"script\",google[A][r]+c.path+c.js,e);c.css&&google[A].f(\"css\",google[A][r]+c.path+c.css,e)}this.s&&(this.s=!1,this.c=(new Date)[D](),1!=this.c%100&&(this.c=-1));for(p=0;p<k[B];p++)t=k[p],this.l[\":\"+t]=!0}});\nU[q].o=function(a){-1!=this.c&&(da(\"al_\"+this.b,\"jl.\"+((new Date)[D]()-this.c),!0),this.c=-1);this.B=this.B.concat(a.components);google[A][this.b]||(google[A][this.b]={});google[A][this.b].packages=this.B.slice(0);for(var b=0;b<a.components[B];b++){this.A[\":\"+a.components[b]]=!0;this.l[\":\"+a.components[b]]=!1;var c=this.g[\":\"+a.components[b]];if(c){for(var e=0;e<c[B];e++)c[e].U(a.components[b]);delete this.g[\":\"+a.components[b]]}}};U[q].u=function(a,b){return 0==this.H(b)[B]};U[q].D=function(){return!0};\nfunction W(a){this.T=a;this.v={};this.C=0}W[q].R=function(a){this.C++;this.v[\":\"+a]=!0};W[q].U=function(a){this.v[\":\"+a]&&(this.v[\":\"+a]=!1,this.C--,0==this.C&&d[v](this.T,0))};function V(a,b,c){this.name=a;this.S=b;this.w=c;this.G=this.j=!1;this.m=[];google[A].F[this[n]]=H(this.o,this)}G(V,U);l(V[q],function(a,b){var c=b&&null!=b.callback;c?(this.m[z](b.callback),b.callback=\"google.loader.callbacks.\"+this[n]):this.j=!0;b&&b.autoloaded||google[A].f(\"script\",this.i(a,b),c)});V[q].u=function(a,b){return b&&null!=b.callback?this.G:this.j};V[q].o=function(){this.G=!0;for(var a=0;a<this.m[B];a++)d[v](this.m[a],0);this.m=[]};\nvar X=function(a,b){return a.string?g(a.string)+\"=\"+g(b):a.regex?b[w](/(^.*$)/,a.regex):\"\"};V[q].i=function(a,b){return this.X(this.I(a),a,b)};\nV[q].X=function(a,b,c){var e=\"\";a.key&&(e+=\"&\"+X(a.key,google[A].ApiKey));a.version&&(e+=\"&\"+X(a.version,b));b=google[A].Secure&&a.ssl?a.ssl:a.uri;if(null!=c)for(var f in c)a.params[f]?e+=\"&\"+X(a.params[f],c[f]):\"other_params\"==f?e+=\"&\"+c[f]:\"base_domain\"==f&&(b=\"http://\"+c[f]+a.uri[x](a.uri[u](\"/\",7)));google[this[n]]={};-1==b[u](\"?\")&&e&&(e=\"?\"+e[x](1));return b+e};V[q].D=function(a){return this.I(a).deferred};V[q].I=function(a){if(this.w)for(var b=0;b<this.w[B];++b){var c=this.w[b];if((new RegExp(c.pattern)).test(a))return c}return this.S};function T(a,b){this.b=a;this.h=b;this.j=!1}G(T,U);l(T[q],function(a,b){this.j=!0;google[A].f(\"script\",this.i(a,b),!1)});T[q].u=function(){return this.j};T[q].o=function(){};T[q].i=function(a,b){if(!this.h.versions[\":\"+a]){if(this.h.aliases){var c=this.h.aliases[\":\"+a];c&&(a=c)}if(!this.h.versions[\":\"+a])throw I(\"Module: '\"+this.b+\"' with version '\"+a+\"' not found!\");}return google[A].GoogleApisBase+\"/libs/\"+this.b+\"/\"+a+\"/\"+this.h.versions[\":\"+a][b&&b.uncompressed?\"uncompressed\":\"compressed\"]};\nT[q].D=function(){return!1};var ea=!1,Y=[],fa=(new Date)[D](),ha=function(){ea||(Q(d,\"unload\",ga),ea=!0)},ia=function(a,b){ha();if(!(google[A].Secure||google[A].Options&&!1!==google[A].Options.csi)){for(var c=0;c<a[B];c++)a[c]=g(a[c][C]()[w](/[^a-z0-9_.]+/g,\"_\"));for(c=0;c<b[B];c++)b[c]=g(b[c][C]()[w](/[^a-z0-9_.]+/g,\"_\"));d[v](H(Z,null,\"//gg.google.com/csi?s=uds&v=2&action=\"+a[m](\",\")+\"&it=\"+b[m](\",\")),1E4)}},da=function(a,b,c){c?ia([a],[b]):(ha(),Y[z](\"r\"+Y[B]+\"=\"+g(a+(b?\"|\"+b:\"\"))),d[v](ga,5<Y[B]?0:15E3))},ga=function(){if(Y[B]){var a=\ngoogle[A][r];0==a[u](\"http:\")&&(a=a[w](/^http:/,\"https:\"));Z(a+\"/stats?\"+Y[m](\"&\")+\"&nc=\"+(new Date)[D]()+\"_\"+((new Date)[D]()-fa));Y.length=0}},Z=function(a){var b=new Image,c=Z.Y++;Z.J[c]=b;b.onload=b.onerror=function(){delete Z.J[c]};b.src=a;b=null};Z.J={};Z.Y=0;J(\"google.loader.recordCsiStat\",ia);J(\"google.loader.recordStat\",da);J(\"google.loader.createImageForLogging\",Z);\n\n}) ();google.loader.rm({\"specs\":[\"visualization\",\"payments\",{\"name\":\"annotations\",\"baseSpec\":{\"uri\":\"http://www.google.com/reviews/scripts/annotations_bootstrap.js\",\"ssl\":null,\"key\":{\"string\":\"key\"},\"version\":{\"string\":\"v\"},\"deferred\":true,\"params\":{\"country\":{\"string\":\"gl\"},\"callback\":{\"string\":\"callback\"},\"language\":{\"string\":\"hl\"}}}},\"language\",\"gdata\",\"wave\",\"spreadsheets\",\"search\",\"orkut\",\"feeds\",\"annotations_v2\",\"picker\",\"identitytoolkit\",{\"name\":\"maps\",\"baseSpec\":{\"uri\":\"http://maps.google.com/maps?file\\u003dgoogleapi\",\"ssl\":\"https://maps-api-ssl.google.com/maps?file\\u003dgoogleapi\",\"key\":{\"string\":\"key\"},\"version\":{\"string\":\"v\"},\"deferred\":true,\"params\":{\"callback\":{\"regex\":\"callback\\u003d$1\\u0026async\\u003d2\"},\"language\":{\"string\":\"hl\"}}},\"customSpecs\":[{\"uri\":\"http://maps.googleapis.com/maps/api/js\",\"ssl\":\"https://maps.googleapis.com/maps/api/js\",\"version\":{\"string\":\"v\"},\"deferred\":true,\"params\":{\"callback\":{\"string\":\"callback\"},\"language\":{\"string\":\"hl\"}},\"pattern\":\"^(3|3..*)$\"}]},{\"name\":\"friendconnect\",\"baseSpec\":{\"uri\":\"http://www.google.com/friendconnect/script/friendconnect.js\",\"ssl\":\"https://www.google.com/friendconnect/script/friendconnect.js\",\"key\":{\"string\":\"key\"},\"version\":{\"string\":\"v\"},\"deferred\":false,\"params\":{}}},{\"name\":\"sharing\",\"baseSpec\":{\"uri\":\"http://www.google.com/s2/sharing/js\",\"ssl\":null,\"key\":{\"string\":\"key\"},\"version\":{\"string\":\"v\"},\"deferred\":false,\"params\":{\"language\":{\"string\":\"hl\"}}}},\"ads\",{\"name\":\"books\",\"baseSpec\":{\"uri\":\"http://books.google.com/books/api.js\",\"ssl\":\"https://encrypted.google.com/books/api.js\",\"key\":{\"string\":\"key\"},\"version\":{\"string\":\"v\"},\"deferred\":true,\"params\":{\"callback\":{\"string\":\"callback\"},\"language\":{\"string\":\"hl\"}}}},\"elements\",\"earth\",\"ima\"]});\ngoogle.loader.rfm({\":search\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/search/1.0/56f70d816baa48bdfe9284ebc883ad41/\",\"js\":\"default+en.I.js\",\"css\":\"default+en.css\",\"properties\":{\":Version\":\"1.0\",\":NoOldNames\":false,\":JSHash\":\"56f70d816baa48bdfe9284ebc883ad41\"}},\":language\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/language/1.0/cddd1e0315f352539fc3732010bda57f/\",\"js\":\"default+en.I.js\",\"properties\":{\":Version\":\"1.0\",\":JSHash\":\"cddd1e0315f352539fc3732010bda57f\"}},\":annotations\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/annotations/1.0/69e4c522bede40545878d7b96b100995/\",\"js\":\"default+en.I.js\",\"properties\":{\":Version\":\"1.0\",\":JSHash\":\"69e4c522bede40545878d7b96b100995\"}},\":wave\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/wave/1.0/3b6f7573ff78da6602dda5e09c9025bf/\",\"js\":\"default.I.js\",\"properties\":{\":Version\":\"1.0\",\":JSHash\":\"3b6f7573ff78da6602dda5e09c9025bf\"}},\":earth\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/earth/1.0/db22e5693e0a8de1f62f3536f5a8d7d3/\",\"js\":\"default.I.js\",\"properties\":{\":Version\":\"1.0\",\":JSHash\":\"db22e5693e0a8de1f62f3536f5a8d7d3\"}},\":feeds\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/feeds/1.0/482f2817cdf8982edf2e5669f9e3a627/\",\"js\":\"default+en.I.js\",\"css\":\"default+en.css\",\"properties\":{\":Version\":\"1.0\",\":JSHash\":\"482f2817cdf8982edf2e5669f9e3a627\"}},\":picker\":{\"versions\":{\":1\":\"1\",\":1.0\":\"1\"},\"path\":\"/api/picker/1.0/1c635e91b9d0c082c660a42091913907/\",\"js\":\"default.I.js\",\"css\":\"default.css\",\"properties\":{\":Version\":\"1.0\",\":JSHash\":\"1c635e91b9d0c082c660a42091913907\"}},\":ima\":{\"versions\":{\":3\":\"1\",\":3.0\":\"1\"},\"path\":\"/api/ima/3.0/28a914332232c9a8ac0ae8da68b1006e/\",\"js\":\"default.I.js\",\"properties\":{\":Version\":\"3.0\",\":JSHash\":\"28a914332232c9a8ac0ae8da68b1006e\"}}});\ngoogle.loader.rpl({\":chrome-frame\":{\"versions\":{\":1.0.0\":{\"uncompressed\":\"CFInstall.js\",\"compressed\":\"CFInstall.min.js\"},\":1.0.1\":{\"uncompressed\":\"CFInstall.js\",\"compressed\":\"CFInstall.min.js\"},\":1.0.2\":{\"uncompressed\":\"CFInstall.js\",\"compressed\":\"CFInstall.min.js\"}},\"aliases\":{\":1\":\"1.0.2\",\":1.0\":\"1.0.2\"}},\":swfobject\":{\"versions\":{\":2.1\":{\"uncompressed\":\"swfobject_src.js\",\"compressed\":\"swfobject.js\"},\":2.2\":{\"uncompressed\":\"swfobject_src.js\",\"compressed\":\"swfobject.js\"}},\"aliases\":{\":2\":\"2.2\"}},\":ext-core\":{\"versions\":{\":3.1.0\":{\"uncompressed\":\"ext-core-debug.js\",\"compressed\":\"ext-core.js\"},\":3.0.0\":{\"uncompressed\":\"ext-core-debug.js\",\"compressed\":\"ext-core.js\"}},\"aliases\":{\":3\":\"3.1.0\",\":3.0\":\"3.0.0\",\":3.1\":\"3.1.0\"}},\":webfont\":{\"versions\":{\":1.0.12\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.13\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.14\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.15\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.10\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.11\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.27\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.28\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.29\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.23\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.24\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.25\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.26\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.21\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.22\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.3\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.4\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.5\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.6\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.9\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.16\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.17\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.0\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.18\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.1\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.19\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"},\":1.0.2\":{\"uncompressed\":\"webfont_debug.js\",\"compressed\":\"webfont.js\"}},\"aliases\":{\":1\":\"1.0.29\",\":1.0\":\"1.0.29\"}},\":scriptaculous\":{\"versions\":{\":1.8.3\":{\"uncompressed\":\"scriptaculous.js\",\"compressed\":\"scriptaculous.js\"},\":1.9.0\":{\"uncompressed\":\"scriptaculous.js\",\"compressed\":\"scriptaculous.js\"},\":1.8.1\":{\"uncompressed\":\"scriptaculous.js\",\"compressed\":\"scriptaculous.js\"},\":1.8.2\":{\"uncompressed\":\"scriptaculous.js\",\"compressed\":\"scriptaculous.js\"}},\"aliases\":{\":1\":\"1.9.0\",\":1.8\":\"1.8.3\",\":1.9\":\"1.9.0\"}},\":mootools\":{\"versions\":{\":1.3.0\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.2.1\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.1.2\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.4.0\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.3.1\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.2.2\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.4.1\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.3.2\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.2.3\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.4.2\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.2.4\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.2.5\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"},\":1.1.1\":{\"uncompressed\":\"mootools.js\",\"compressed\":\"mootools-yui-compressed.js\"}},\"aliases\":{\":1\":\"1.1.2\",\":1.1\":\"1.1.2\",\":1.2\":\"1.2.5\",\":1.3\":\"1.3.2\",\":1.4\":\"1.4.2\",\":1.11\":\"1.1.1\"}},\":jqueryui\":{\"versions\":{\":1.8.17\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.16\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.15\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.14\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.4\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.13\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.5\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.12\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.6\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.11\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.7\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.10\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.8\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.9\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.6.0\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.7.0\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.5.2\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.0\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.7.1\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.5.3\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.1\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.7.2\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.8.2\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"},\":1.7.3\":{\"uncompressed\":\"jquery-ui.js\",\"compressed\":\"jquery-ui.min.js\"}},\"aliases\":{\":1\":\"1.8.17\",\":1.8.3\":\"1.8.4\",\":1.5\":\"1.5.3\",\":1.6\":\"1.6.0\",\":1.7\":\"1.7.3\",\":1.8\":\"1.8.17\"}},\":yui\":{\"versions\":{\":2.8.0r4\":{\"uncompressed\":\"build/yuiloader/yuiloader.js\",\"compressed\":\"build/yuiloader/yuiloader-min.js\"},\":2.9.0\":{\"uncompressed\":\"build/yuiloader/yuiloader.js\",\"compressed\":\"build/yuiloader/yuiloader-min.js\"},\":2.8.1\":{\"uncompressed\":\"build/yuiloader/yuiloader.js\",\"compressed\":\"build/yuiloader/yuiloader-min.js\"},\":2.6.0\":{\"uncompressed\":\"build/yuiloader/yuiloader.js\",\"compressed\":\"build/yuiloader/yuiloader-min.js\"},\":2.7.0\":{\"uncompressed\":\"build/yuiloader/yuiloader.js\",\"compressed\":\"build/yuiloader/yuiloader-min.js\"},\":3.3.0\":{\"uncompressed\":\"build/yui/yui.js\",\"compressed\":\"build/yui/yui-min.js\"},\":2.8.2r1\":{\"uncompressed\":\"build/yuiloader/yuiloader.js\",\"compressed\":\"build/yuiloader/yuiloader-min.js\"}},\"aliases\":{\":2\":\"2.9.0\",\":3\":\"3.3.0\",\":2.8.2\":\"2.8.2r1\",\":2.8.0\":\"2.8.0r4\",\":3.3\":\"3.3.0\",\":2.6\":\"2.6.0\",\":2.7\":\"2.7.0\",\":2.8\":\"2.8.2r1\",\":2.9\":\"2.9.0\"}},\":prototype\":{\"versions\":{\":1.6.1.0\":{\"uncompressed\":\"prototype.js\",\"compressed\":\"prototype.js\"},\":1.6.0.2\":{\"uncompressed\":\"prototype.js\",\"compressed\":\"prototype.js\"},\":1.7.0.0\":{\"uncompressed\":\"prototype.js\",\"compressed\":\"prototype.js\"},\":1.6.0.3\":{\"uncompressed\":\"prototype.js\",\"compressed\":\"prototype.js\"}},\"aliases\":{\":1\":\"1.7.0.0\",\":1.6.0\":\"1.6.0.3\",\":1.6.1\":\"1.6.1.0\",\":1.7.0\":\"1.7.0.0\",\":1.6\":\"1.6.1.0\",\":1.7\":\"1.7.0.0\"}},\":jquery\":{\"versions\":{\":1.3.0\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.4.0\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.3.1\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.5.0\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.4.1\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.3.2\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.2.3\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.6.0\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.5.1\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.4.2\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.7.0\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.6.1\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.5.2\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.4.3\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.7.1\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.6.2\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.4.4\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.2.6\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.6.3\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"},\":1.6.4\":{\"uncompressed\":\"jquery.js\",\"compressed\":\"jquery.min.js\"}},\"aliases\":{\":1\":\"1.7.1\",\":1.2\":\"1.2.6\",\":1.3\":\"1.3.2\",\":1.4\":\"1.4.4\",\":1.5\":\"1.5.2\",\":1.6\":\"1.6.4\",\":1.7\":\"1.7.1\"}},\":dojo\":{\"versions\":{\":1.3.0\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.4.0\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.3.1\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.5.0\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.4.1\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.3.2\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.2.3\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.6.0\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.5.1\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.7.0\":{\"uncompressed\":\"dojo/dojo.js.uncompressed.js\",\"compressed\":\"dojo/dojo.js\"},\":1.6.1\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.4.3\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.7.1\":{\"uncompressed\":\"dojo/dojo.js.uncompressed.js\",\"compressed\":\"dojo/dojo.js\"},\":1.7.2\":{\"uncompressed\":\"dojo/dojo.js.uncompressed.js\",\"compressed\":\"dojo/dojo.js\"},\":1.2.0\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"},\":1.1.1\":{\"uncompressed\":\"dojo/dojo.xd.js.uncompressed.js\",\"compressed\":\"dojo/dojo.xd.js\"}},\"aliases\":{\":1\":\"1.6.1\",\":1.1\":\"1.1.1\",\":1.2\":\"1.2.3\",\":1.3\":\"1.3.2\",\":1.4\":\"1.4.3\",\":1.5\":\"1.5.1\",\":1.6\":\"1.6.1\",\":1.7\":\"1.7.2\"}}});\n}\n"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.059Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/calendar.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 670,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"49304-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "49304"
}
],
"cookies": [],
"content": {
"size": 49304,
"mimeType": "text/javascript",
"text": "/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo\n * -----------------------------------------------------------\n *\n * The DHTML Calendar, version 1.0 \"It is happening again\"\n *\n * Details and latest version at:\n * www.dynarch.com/projects/calendar\n *\n * This script is developed by Dynarch.com. Visit us at www.dynarch.com.\n *\n * This script is distributed under the GNU Lesser General Public License.\n * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html\n */\n\n// $Id: calendar.js,v 1.53 2006/02/11 12:32:59 mishoo Exp $\n\n/** The Calendar object constructor. */\nCalendar = function (firstDayOfWeek, dateStr, onSelected, onClose) {\n\t// member variables\n\tthis.activeDiv = null;\n\tthis.currentDateEl = null;\n\tthis.getDateStatus = null;\n\tthis.getDateToolTip = null;\n\tthis.getDateText = null;\n\tthis.timeout = null;\n\tthis.onSelected = onSelected || null;\n\tthis.onClose = onClose || null;\n\tthis.dragging = false;\n\tthis.hidden = false;\n\tthis.minYear = 1970;\n\tthis.maxYear = 2050;\n\tthis.dateFormat = Calendar._TT[\"DEF_DATE_FORMAT\"];\n\tthis.ttDateFormat = Calendar._TT[\"TT_DATE_FORMAT\"];\n\tthis.isPopup = true;\n\tthis.weekNumbers = true;\n\tthis.firstDayOfWeek = typeof firstDayOfWeek == \"number\" ? firstDayOfWeek : Calendar._FD; // 0 for Sunday, 1 for Monday, etc.\n\tthis.showsOtherMonths = false;\n\tthis.dateStr = dateStr;\n\tthis.ar_days = null;\n\tthis.showsTime = false;\n\tthis.time24 = true;\n\tthis.yearStep = 2;\n\tthis.hiliteToday = true;\n\tthis.multiple = null;\n\t// HTML elements\n\tthis.table = null;\n\tthis.element = null;\n\tthis.tbody = null;\n\tthis.firstdayname = null;\n\t// Combo boxes\n\tthis.monthsCombo = null;\n\tthis.yearsCombo = null;\n\tthis.hilitedMonth = null;\n\tthis.activeMonth = null;\n\tthis.hilitedYear = null;\n\tthis.activeYear = null;\n\t// Information\n\tthis.dateClicked = false;\n\n\t// one-time initializations\n\tif (typeof Calendar._SDN == \"undefined\") {\n\t\t// table of short day names\n\t\tif (typeof Calendar._SDN_len == \"undefined\")\n\t\t\tCalendar._SDN_len = 3;\n\t\tvar ar = new Array();\n\t\tfor (var i = 8; i > 0;) {\n\t\t\tar[--i] = Calendar._DN[i].substr(0, Calendar._SDN_len);\n\t\t}\n\t\tCalendar._SDN = ar;\n\t\t// table of short month names\n\t\tif (typeof Calendar._SMN_len == \"undefined\")\n\t\t\tCalendar._SMN_len = 3;\n\t\tar = new Array();\n\t\tfor (var i = 12; i > 0;) {\n\t\t\tar[--i] = Calendar._MN[i].substr(0, Calendar._SMN_len);\n\t\t}\n\t\tCalendar._SMN = ar;\n\t}\n};\n\n// ** constants\n\n/// \"static\", needed for event handlers.\nCalendar._C = null;\n\n/// detect a special case of \"web browser\"\nCalendar.is_ie = ( /msie/i.test(navigator.userAgent) &&\n\t\t !/opera/i.test(navigator.userAgent) );\n\nCalendar.is_ie5 = ( Calendar.is_ie && /msie 5\\.0/i.test(navigator.userAgent) );\n\n/// detect Opera browser\nCalendar.is_opera = /opera/i.test(navigator.userAgent);\n\n/// detect KHTML-based browsers\nCalendar.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent);\n\n// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate\n// library, at some point.\n\nCalendar.getAbsolutePos = function(el) {\n\tvar SL = 0, ST = 0;\n\tvar is_div = /^div$/i.test(el.tagName);\n\tif (is_div && el.scrollLeft)\n\t\tSL = el.scrollLeft;\n\tif (is_div && el.scrollTop)\n\t\tST = el.scrollTop;\n\tvar r = { x: el.offsetLeft - SL, y: el.offsetTop - ST };\n\tif (el.offsetParent) {\n\t\tvar tmp = this.getAbsolutePos(el.offsetParent);\n\t\tr.x += tmp.x;\n\t\tr.y += tmp.y;\n\t}\n\treturn r;\n};\n\nCalendar.isRelated = function (el, evt) {\n\tvar related = evt.relatedTarget;\n\tif (!related) {\n\t\tvar type = evt.type;\n\t\tif (type == \"mouseover\") {\n\t\t\trelated = evt.fromElement;\n\t\t} else if (type == \"mouseout\") {\n\t\t\trelated = evt.toElement;\n\t\t}\n\t}\n\twhile (related) {\n\t\tif (related == el) {\n\t\t\treturn true;\n\t\t}\n\t\trelated = related.parentNode;\n\t}\n\treturn false;\n};\n\nCalendar.removeClass = function(el, className) {\n\tif (!(el && el.className)) {\n\t\treturn;\n\t}\n\tvar cls = el.className.split(\" \");\n\tvar ar = new Array();\n\tfor (var i = cls.length; i > 0;) {\n\t\tif (cls[--i] != className) {\n\t\t\tar[ar.length] = cls[i];\n\t\t}\n\t}\n\tel.className = ar.join(\" \");\n};\n\nCalendar.addClass = function(el, className) {\n\tCalendar.removeClass(el, className);\n\tel.className += \" \" + className;\n};\n\n// FIXME: the following 2 functions totally suck, are useless and should be replaced immediately.\nCalendar.getElement = function(ev) {\n\tvar f = Calendar.is_ie ? window.event.srcElement : ev.currentTarget;\n\twhile (f.nodeType != 1 || /^div$/i.test(f.tagName))\n\t\tf = f.parentNode;\n\treturn f;\n};\n\nCalendar.getTargetElement = function(ev) {\n\tvar f = Calendar.is_ie ? window.event.srcElement : ev.target;\n\twhile (f.nodeType != 1)\n\t\tf = f.parentNode;\n\treturn f;\n};\n\nCalendar.stopEvent = function(ev) {\n\tev || (ev = window.event);\n\tif (Calendar.is_ie) {\n\t\tev.cancelBubble = true;\n\t\tev.returnValue = false;\n\t} else {\n\t\tev.preventDefault();\n\t\tev.stopPropagation();\n\t}\n\treturn false;\n};\n\nCalendar.addEvent = function(el, evname, func) {\n\tif (el.attachEvent) { // IE\n\t\tel.attachEvent(\"on\" + evname, func);\n\t} else if (el.addEventListener) { // Gecko / W3C\n\t\tel.addEventListener(evname, func, true);\n\t} else {\n\t\tel[\"on\" + evname] = func;\n\t}\n};\n\nCalendar.removeEvent = function(el, evname, func) {\n\tif (el.detachEvent) { // IE\n\t\tel.detachEvent(\"on\" + evname, func);\n\t} else if (el.removeEventListener) { // Gecko / W3C\n\t\tel.removeEventListener(evname, func, true);\n\t} else {\n\t\tel[\"on\" + evname] = null;\n\t}\n};\n\nCalendar.createElement = function(type, parent) {\n\tvar el = null;\n\tif (document.createElementNS) {\n\t\t// use the XHTML namespace; IE won't normally get here unless\n\t\t// _they_ \"fix\" the DOM2 implementation.\n\t\tel = document.createElementNS(\"http://www.w3.org/1999/xhtml\", type);\n\t} else {\n\t\tel = document.createElement(type);\n\t}\n\tif (typeof parent != \"undefined\") {\n\t\tparent.appendChild(el);\n\t}\n\treturn el;\n};\n\n// END: UTILITY FUNCTIONS\n\n// BEGIN: CALENDAR STATIC FUNCTIONS\n\n/** Internal -- adds a set of events to make some element behave like a button. */\nCalendar._add_evs = function(el) {\n\twith (Calendar) {\n\t\taddEvent(el, \"mouseover\", dayMouseOver);\n\t\taddEvent(el, \"mousedown\", dayMouseDown);\n\t\taddEvent(el, \"mouseout\", dayMouseOut);\n\t\tif (is_ie) {\n\t\t\taddEvent(el, \"dblclick\", dayMouseDblClick);\n\t\t\tel.setAttribute(\"unselectable\", true);\n\t\t}\n\t}\n};\n\nCalendar.findMonth = function(el) {\n\tif (typeof el.month != \"undefined\") {\n\t\treturn el;\n\t} else if (typeof el.parentNode.month != \"undefined\") {\n\t\treturn el.parentNode;\n\t}\n\treturn null;\n};\n\nCalendar.findYear = function(el) {\n\tif (typeof el.year != \"undefined\") {\n\t\treturn el;\n\t} else if (typeof el.parentNode.year != \"undefined\") {\n\t\treturn el.parentNode;\n\t}\n\treturn null;\n};\n\nCalendar.showMonthsCombo = function () {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tvar cal = cal;\n\tvar cd = cal.activeDiv;\n\tvar mc = cal.monthsCombo;\n\tif (cal.hilitedMonth) {\n\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t}\n\tif (cal.activeMonth) {\n\t\tCalendar.removeClass(cal.activeMonth, \"active\");\n\t}\n\tvar mon = cal.monthsCombo.getElementsByTagName(\"div\")[cal.date.getMonth()];\n\tCalendar.addClass(mon, \"active\");\n\tcal.activeMonth = mon;\n\tvar s = mc.style;\n\ts.display = \"block\";\n\tif (cd.navtype < 0)\n\t\ts.left = cd.offsetLeft + \"px\";\n\telse {\n\t\tvar mcw = mc.offsetWidth;\n\t\tif (typeof mcw == \"undefined\")\n\t\t\t// Konqueror brain-dead techniques\n\t\t\tmcw = 50;\n\t\ts.left = (cd.offsetLeft + cd.offsetWidth - mcw) + \"px\";\n\t}\n\ts.top = (cd.offsetTop + cd.offsetHeight) + \"px\";\n};\n\nCalendar.showYearsCombo = function (fwd) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tvar cal = cal;\n\tvar cd = cal.activeDiv;\n\tvar yc = cal.yearsCombo;\n\tif (cal.hilitedYear) {\n\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t}\n\tif (cal.activeYear) {\n\t\tCalendar.removeClass(cal.activeYear, \"active\");\n\t}\n\tcal.activeYear = null;\n\tvar Y = cal.date.getFullYear() + (fwd ? 1 : -1);\n\tvar yr = yc.firstChild;\n\tvar show = false;\n\tfor (var i = 12; i > 0; --i) {\n\t\tif (Y >= cal.minYear && Y <= cal.maxYear) {\n\t\t\tyr.innerHTML = Y;\n\t\t\tyr.year = Y;\n\t\t\tyr.style.display = \"block\";\n\t\t\tshow = true;\n\t\t} else {\n\t\t\tyr.style.display = \"none\";\n\t\t}\n\t\tyr = yr.nextSibling;\n\t\tY += fwd ? cal.yearStep : -cal.yearStep;\n\t}\n\tif (show) {\n\t\tvar s = yc.style;\n\t\ts.display = \"block\";\n\t\tif (cd.navtype < 0)\n\t\t\ts.left = cd.offsetLeft + \"px\";\n\t\telse {\n\t\t\tvar ycw = yc.offsetWidth;\n\t\t\tif (typeof ycw == \"undefined\")\n\t\t\t\t// Konqueror brain-dead techniques\n\t\t\t\tycw = 50;\n\t\t\ts.left = (cd.offsetLeft + cd.offsetWidth - ycw) + \"px\";\n\t\t}\n\t\ts.top = (cd.offsetTop + cd.offsetHeight) + \"px\";\n\t}\n};\n\n// event handlers\n\nCalendar.tableMouseUp = function(ev) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tif (cal.timeout) {\n\t\tclearTimeout(cal.timeout);\n\t}\n\tvar el = cal.activeDiv;\n\tif (!el) {\n\t\treturn false;\n\t}\n\tvar target = Calendar.getTargetElement(ev);\n\tev || (ev = window.event);\n\tCalendar.removeClass(el, \"active\");\n\tif (target == el || target.parentNode == el) {\n\t\tCalendar.cellClick(el, ev);\n\t}\n\tvar mon = Calendar.findMonth(target);\n\tvar date = null;\n\tif (mon) {\n\t\tdate = new Date(cal.date);\n\t\tif (mon.month != date.getMonth()) {\n\t\t\tdate.setMonth(mon.month);\n\t\t\tcal.setDate(date);\n\t\t\tcal.dateClicked = false;\n\t\t\tcal.callHandler();\n\t\t}\n\t} else {\n\t\tvar year = Calendar.findYear(target);\n\t\tif (year) {\n\t\t\tdate = new Date(cal.date);\n\t\t\tif (year.year != date.getFullYear()) {\n\t\t\t\tdate.setFullYear(year.year);\n\t\t\t\tcal.setDate(date);\n\t\t\t\tcal.dateClicked = false;\n\t\t\t\tcal.callHandler();\n\t\t\t}\n\t\t}\n\t}\n\twith (Calendar) {\n\t\tremoveEvent(document, \"mouseup\", tableMouseUp);\n\t\tremoveEvent(document, \"mouseover\", tableMouseOver);\n\t\tremoveEvent(document, \"mousemove\", tableMouseOver);\n\t\tcal._hideCombos();\n\t\t_C = null;\n\t\treturn stopEvent(ev);\n\t}\n};\n\nCalendar.tableMouseOver = function (ev) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn;\n\t}\n\tvar el = cal.activeDiv;\n\tvar target = Calendar.getTargetElement(ev);\n\tif (target == el || target.parentNode == el) {\n\t\tCalendar.addClass(el, \"hilite active\");\n\t\tCalendar.addClass(el.parentNode, \"rowhilite\");\n\t} else {\n\t\tif (typeof el.navtype == \"undefined\" || (el.navtype != 50 && (el.navtype == 0 || Math.abs(el.navtype) > 2)))\n\t\t\tCalendar.removeClass(el, \"active\");\n\t\tCalendar.removeClass(el, \"hilite\");\n\t\tCalendar.removeClass(el.parentNode, \"rowhilite\");\n\t}\n\tev || (ev = window.event);\n\tif (el.navtype == 50 && target != el) {\n\t\tvar pos = Calendar.getAbsolutePos(el);\n\t\tvar w = el.offsetWidth;\n\t\tvar x = ev.clientX;\n\t\tvar dx;\n\t\tvar decrease = true;\n\t\tif (x > pos.x + w) {\n\t\t\tdx = x - pos.x - w;\n\t\t\tdecrease = false;\n\t\t} else\n\t\t\tdx = pos.x - x;\n\n\t\tif (dx < 0) dx = 0;\n\t\tvar range = el._range;\n\t\tvar current = el._current;\n\t\tvar count = Math.floor(dx / 10) % range.length;\n\t\tfor (var i = range.length; --i >= 0;)\n\t\t\tif (range[i] == current)\n\t\t\t\tbreak;\n\t\twhile (count-- > 0)\n\t\t\tif (decrease) {\n\t\t\t\tif (--i < 0)\n\t\t\t\t\ti = range.length - 1;\n\t\t\t} else if ( ++i >= range.length )\n\t\t\t\ti = 0;\n\t\tvar newval = range[i];\n\t\tel.innerHTML = newval;\n\n\t\tcal.onUpdateTime();\n\t}\n\tvar mon = Calendar.findMonth(target);\n\tif (mon) {\n\t\tif (mon.month != cal.date.getMonth()) {\n\t\t\tif (cal.hilitedMonth) {\n\t\t\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t\t\t}\n\t\t\tCalendar.addClass(mon, \"hilite\");\n\t\t\tcal.hilitedMonth = mon;\n\t\t} else if (cal.hilitedMonth) {\n\t\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t\t}\n\t} else {\n\t\tif (cal.hilitedMonth) {\n\t\t\tCalendar.removeClass(cal.hilitedMonth, \"hilite\");\n\t\t}\n\t\tvar year = Calendar.findYear(target);\n\t\tif (year) {\n\t\t\tif (year.year != cal.date.getFullYear()) {\n\t\t\t\tif (cal.hilitedYear) {\n\t\t\t\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t\t\t\t}\n\t\t\t\tCalendar.addClass(year, \"hilite\");\n\t\t\t\tcal.hilitedYear = year;\n\t\t\t} else if (cal.hilitedYear) {\n\t\t\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t\t\t}\n\t\t} else if (cal.hilitedYear) {\n\t\t\tCalendar.removeClass(cal.hilitedYear, \"hilite\");\n\t\t}\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.tableMouseDown = function (ev) {\n\tif (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) {\n\t\treturn Calendar.stopEvent(ev);\n\t}\n};\n\nCalendar.calDragIt = function (ev) {\n\tvar cal = Calendar._C;\n\tif (!(cal && cal.dragging)) {\n\t\treturn false;\n\t}\n\tvar posX;\n\tvar posY;\n\tif (Calendar.is_ie) {\n\t\tposY = window.event.clientY + document.body.scrollTop;\n\t\tposX = window.event.clientX + document.body.scrollLeft;\n\t} else {\n\t\tposX = ev.pageX;\n\t\tposY = ev.pageY;\n\t}\n\tcal.hideShowCovered();\n\tvar st = cal.element.style;\n\tst.left = (posX - cal.xOffs) + \"px\";\n\tst.top = (posY - cal.yOffs) + \"px\";\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.calDragEnd = function (ev) {\n\tvar cal = Calendar._C;\n\tif (!cal) {\n\t\treturn false;\n\t}\n\tcal.dragging = false;\n\twith (Calendar) {\n\t\tremoveEvent(document, \"mousemove\", calDragIt);\n\t\tremoveEvent(document, \"mouseup\", calDragEnd);\n\t\ttableMouseUp(ev);\n\t}\n\tcal.hideShowCovered();\n};\n\nCalendar.dayMouseDown = function(ev) {\n\tvar el = Calendar.getElement(ev);\n\tif (el.disabled) {\n\t\treturn false;\n\t}\n\tvar cal = el.calendar;\n\tcal.activeDiv = el;\n\tCalendar._C = cal;\n\tif (el.navtype != 300) with (Calendar) {\n\t\tif (el.navtype == 50) {\n\t\t\tel._current = el.innerHTML;\n\t\t\taddEvent(document, \"mousemove\", tableMouseOver);\n\t\t} else\n\t\t\taddEvent(document, Calendar.is_ie5 ? \"mousemove\" : \"mouseover\", tableMouseOver);\n\t\taddClass(el, \"hilite active\");\n\t\taddEvent(document, \"mouseup\", tableMouseUp);\n\t} else if (cal.isPopup) {\n\t\tcal._dragStart(ev);\n\t}\n\tif (el.navtype == -1 || el.navtype == 1) {\n\t\tif (cal.timeout) clearTimeout(cal.timeout);\n\t\tcal.timeout = setTimeout(\"Calendar.showMonthsCombo()\", 250);\n\t} else if (el.navtype == -2 || el.navtype == 2) {\n\t\tif (cal.timeout) clearTimeout(cal.timeout);\n\t\tcal.timeout = setTimeout((el.navtype > 0) ? \"Calendar.showYearsCombo(true)\" : \"Calendar.showYearsCombo(false)\", 250);\n\t} else {\n\t\tcal.timeout = null;\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.dayMouseDblClick = function(ev) {\n\tCalendar.cellClick(Calendar.getElement(ev), ev || window.event);\n\tif (Calendar.is_ie) {\n\t\tdocument.selection.empty();\n\t}\n};\n\nCalendar.dayMouseOver = function(ev) {\n\tvar el = Calendar.getElement(ev);\n\tif (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) {\n\t\treturn false;\n\t}\n\tif (el.ttip) {\n\t\tif (el.ttip.substr(0, 1) == \"_\") {\n\t\t\tel.ttip = el.caldate.print(el.calendar.ttDateFormat) + el.ttip.substr(1);\n\t\t}\n\t\tel.calendar.tooltips.innerHTML = el.ttip;\n\t}\n\tif (el.navtype != 300) {\n\t\tCalendar.addClass(el, \"hilite\");\n\t\tif (el.caldate) {\n\t\t\tCalendar.addClass(el.parentNode, \"rowhilite\");\n\t\t\tvar cal = el.calendar;\n\t\t\tif (cal && cal.getDateToolTip) {\n\t\t\t\tvar d = el.caldate;\n\t\t\t\twindow.status = d;\n\t\t\t\tel.title = cal.getDateToolTip(d, d.getFullYear(), d.getMonth(), d.getDate());\n\t\t\t}\n\t\t}\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\nCalendar.dayMouseOut = function(ev) {\n\twith (Calendar) {\n\t\tvar el = getElement(ev);\n\t\tif (isRelated(el, ev) || _C || el.disabled)\n\t\t\treturn false;\n\t\tremoveClass(el, \"hilite\");\n\t\tif (el.caldate)\n\t\t\tremoveClass(el.parentNode, \"rowhilite\");\n\t\tif (el.calendar)\n\t\t\tel.calendar.tooltips.innerHTML = _TT[\"SEL_DATE\"];\n\t\t// return stopEvent(ev);\n\t}\n};\n\n/**\n * A generic \"click\" handler :) handles all types of buttons defined in this\n * calendar.\n */\nCalendar.cellClick = function(el, ev) {\n\tvar cal = el.calendar;\n\tvar closing = false;\n\tvar newdate = false;\n\tvar date = null;\n\tif (typeof el.navtype == \"undefined\") {\n\t\tif (cal.currentDateEl) {\n\t\t\tCalendar.removeClass(cal.currentDateEl, \"selected\");\n\t\t\tCalendar.addClass(el, \"selected\");\n\t\t\tclosing = (cal.currentDateEl == el);\n\t\t\tif (!closing) {\n\t\t\t\tcal.currentDateEl = el;\n\t\t\t}\n\t\t}\n\t\tcal.date.setDateOnly(el.caldate);\n\t\tdate = cal.date;\n\t\tvar other_month = !(cal.dateClicked = !el.otherMonth);\n\t\tif (!other_month && !cal.currentDateEl && cal.multiple)\n\t\t\tcal._toggleMultipleDate(new Date(date));\n\t\telse\n\t\t\tnewdate = !el.disabled;\n\t\t// a date was clicked\n\t\tif (other_month)\n\t\t\tcal._init(cal.firstDayOfWeek, date);\n\t} else {\n\t\tif (el.navtype == 200) {\n\t\t\tCalendar.removeClass(el, \"hilite\");\n\t\t\tcal.callCloseHandler();\n\t\t\treturn;\n\t\t}\n\t\tdate = new Date(cal.date);\n\t\tif (el.navtype == 0)\n\t\t\tdate.setDateOnly(new Date()); // TODAY\n\t\t// unless \"today\" was clicked, we assume no date was clicked so\n\t\t// the selected handler will know not to close the calenar when\n\t\t// in single-click mode.\n\t\t// cal.dateClicked = (el.navtype == 0);\n\t\tcal.dateClicked = false;\n\t\tvar year = date.getFullYear();\n\t\tvar mon = date.getMonth();\n\t\tfunction setMonth(m) {\n\t\t\tvar day = date.getDate();\n\t\t\tvar max = date.getMonthDays(m);\n\t\t\tif (day > max) {\n\t\t\t\tdate.setDate(max);\n\t\t\t}\n\t\t\tdate.setMonth(m);\n\t\t};\n\t\tswitch (el.navtype) {\n\t\t case 400:\n\t\t\tCalendar.removeClass(el, \"hilite\");\n\t\t\tvar text = Calendar._TT[\"ABOUT\"];\n\t\t\tif (typeof text != \"undefined\") {\n\t\t\t\ttext += cal.showsTime ? Calendar._TT[\"ABOUT_TIME\"] : \"\";\n\t\t\t} else {\n\t\t\t\t// FIXME: this should be removed as soon as lang files get updated!\n\t\t\t\ttext = \"Help and about box text is not translated into this language.\\n\" +\n\t\t\t\t\t\"If you know this language and you feel generous please update\\n\" +\n\t\t\t\t\t\"the corresponding file in \\\"lang\\\" subdir to match calendar-en.js\\n\" +\n\t\t\t\t\t\"and send it back to <mihai_bazon@yahoo.com> to get it into the distribution ;-)\\n\\n\" +\n\t\t\t\t\t\"Thank you!\\n\" +\n\t\t\t\t\t\"http://dynarch.com/mishoo/calendar.epl\\n\";\n\t\t\t}\n\t\t\talert(text);\n\t\t\treturn;\n\t\t case -2:\n\t\t\tif (year > cal.minYear) {\n\t\t\t\tdate.setFullYear(year - 1);\n\t\t\t}\n\t\t\tbreak;\n\t\t case -1:\n\t\t\tif (mon > 0) {\n\t\t\t\tsetMonth(mon - 1);\n\t\t\t} else if (year-- > cal.minYear) {\n\t\t\t\tdate.setFullYear(year);\n\t\t\t\tsetMonth(11);\n\t\t\t}\n\t\t\tbreak;\n\t\t case 1:\n\t\t\tif (mon < 11) {\n\t\t\t\tsetMonth(mon + 1);\n\t\t\t} else if (year < cal.maxYear) {\n\t\t\t\tdate.setFullYear(year + 1);\n\t\t\t\tsetMonth(0);\n\t\t\t}\n\t\t\tbreak;\n\t\t case 2:\n\t\t\tif (year < cal.maxYear) {\n\t\t\t\tdate.setFullYear(year + 1);\n\t\t\t}\n\t\t\tbreak;\n\t\t case 100:\n\t\t\tcal.setFirstDayOfWeek(el.fdow);\n\t\t\treturn;\n\t\t case 50:\n\t\t\tvar range = el._range;\n\t\t\tvar current = el.innerHTML;\n\t\t\tfor (var i = range.length; --i >= 0;)\n\t\t\t\tif (range[i] == current)\n\t\t\t\t\tbreak;\n\t\t\tif (ev && ev.shiftKey) {\n\t\t\t\tif (--i < 0)\n\t\t\t\t\ti = range.length - 1;\n\t\t\t} else if ( ++i >= range.length )\n\t\t\t\ti = 0;\n\t\t\tvar newval = range[i];\n\t\t\tel.innerHTML = newval;\n\t\t\tcal.onUpdateTime();\n\t\t\treturn;\n\t\t case 0:\n\t\t\t// TODAY will bring us here\n\t\t\tif ((typeof cal.getDateStatus == \"function\") &&\n\t\t\t cal.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate())) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tbreak;\n\t\t}\n\t\tif (!date.equalsTo(cal.date)) {\n\t\t\tcal.setDate(date);\n\t\t\tnewdate = true;\n\t\t} else if (el.navtype == 0)\n\t\t\tnewdate = closing = true;\n\t}\n\tif (newdate) {\n\t\tev && cal.callHandler();\n\t}\n\tif (closing) {\n\t\tCalendar.removeClass(el, \"hilite\");\n\t\tev && cal.callCloseHandler();\n\t}\n};\n\n// END: CALENDAR STATIC FUNCTIONS\n\n// BEGIN: CALENDAR OBJECT FUNCTIONS\n\n/**\n * This function creates the calendar inside the given parent. If _par is\n * null than it creates a popup calendar inside the BODY element. If _par is\n * an element, be it BODY, then it creates a non-popup calendar (still\n * hidden). Some properties need to be set before calling this function.\n */\nCalendar.prototype.create = function (_par) {\n\tvar parent = null;\n\tif (! _par) {\n\t\t// default parent is the document body, in which case we create\n\t\t// a popup calendar.\n\t\tparent = document.getElementsByTagName(\"body\")[0];\n\t\tthis.isPopup = true;\n\t} else {\n\t\tparent = _par;\n\t\tthis.isPopup = false;\n\t}\n\tthis.date = this.dateStr ? new Date(this.dateStr) : new Date();\n\n\tvar table = Calendar.createElement(\"table\");\n\tthis.table = table;\n\ttable.cellSpacing = 0;\n\ttable.cellPadding = 0;\n\ttable.calendar = this;\n\tCalendar.addEvent(table, \"mousedown\", Calendar.tableMouseDown);\n\n\tvar div = Calendar.createElement(\"div\");\n\tthis.element = div;\n\tdiv.className = \"calendar\";\n\tif (this.isPopup) {\n\t\tdiv.style.position = \"absolute\";\n\t\tdiv.style.display = \"none\";\n\t}\n\tdiv.appendChild(table);\n\n\tvar thead = Calendar.createElement(\"thead\", table);\n\tvar cell = null;\n\tvar row = null;\n\n\tvar cal = this;\n\tvar hh = function (text, cs, navtype) {\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.colSpan = cs;\n\t\tcell.className = \"button\";\n\t\tif (navtype != 0 && Math.abs(navtype) <= 2)\n\t\t\tcell.className += \" nav\";\n\t\tCalendar._add_evs(cell);\n\t\tcell.calendar = cal;\n\t\tcell.navtype = navtype;\n\t\tcell.innerHTML = \"<div unselectable='on'>\" + text + \"</div>\";\n\t\treturn cell;\n\t};\n\n\trow = Calendar.createElement(\"tr\", thead);\n\tvar title_length = 6;\n\t(this.isPopup) && --title_length;\n\t(this.weekNumbers) && ++title_length;\n\n\thh(\"?\", 1, 400).ttip = Calendar._TT[\"INFO\"];\n\tthis.title = hh(\"\", title_length, 300);\n\tthis.title.className = \"title\";\n\tif (this.isPopup) {\n\t\tthis.title.ttip = Calendar._TT[\"DRAG_TO_MOVE\"];\n\t\tthis.title.style.cursor = \"move\";\n\t\thh(\"&#x00d7;\", 1, 200).ttip = Calendar._TT[\"CLOSE\"];\n\t}\n\n\trow = Calendar.createElement(\"tr\", thead);\n\trow.className = \"headrow\";\n\n\tthis._nav_py = hh(\"&#x00ab;\", 1, -2);\n\tthis._nav_py.ttip = Calendar._TT[\"PREV_YEAR\"];\n\n\tthis._nav_pm = hh(\"&#x2039;\", 1, -1);\n\tthis._nav_pm.ttip = Calendar._TT[\"PREV_MONTH\"];\n\n\tthis._nav_now = hh(Calendar._TT[\"TODAY\"], this.weekNumbers ? 4 : 3, 0);\n\tthis._nav_now.ttip = Calendar._TT[\"GO_TODAY\"];\n\n\tthis._nav_nm = hh(\"&#x203a;\", 1, 1);\n\tthis._nav_nm.ttip = Calendar._TT[\"NEXT_MONTH\"];\n\n\tthis._nav_ny = hh(\"&#x00bb;\", 1, 2);\n\tthis._nav_ny.ttip = Calendar._TT[\"NEXT_YEAR\"];\n\n\t// day names\n\trow = Calendar.createElement(\"tr\", thead);\n\trow.className = \"daynames\";\n\tif (this.weekNumbers) {\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.className = \"name wn\";\n\t\tcell.innerHTML = Calendar._TT[\"WK\"];\n\t}\n\tfor (var i = 7; i > 0; --i) {\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tif (!i) {\n\t\t\tcell.navtype = 100;\n\t\t\tcell.calendar = this;\n\t\t\tCalendar._add_evs(cell);\n\t\t}\n\t}\n\tthis.firstdayname = (this.weekNumbers) ? row.firstChild.nextSibling : row.firstChild;\n\tthis._displayWeekdays();\n\n\tvar tbody = Calendar.createElement(\"tbody\", table);\n\tthis.tbody = tbody;\n\n\tfor (i = 6; i > 0; --i) {\n\t\trow = Calendar.createElement(\"tr\", tbody);\n\t\tif (this.weekNumbers) {\n\t\t\tcell = Calendar.createElement(\"td\", row);\n\t\t}\n\t\tfor (var j = 7; j > 0; --j) {\n\t\t\tcell = Calendar.createElement(\"td\", row);\n\t\t\tcell.calendar = this;\n\t\t\tCalendar._add_evs(cell);\n\t\t}\n\t}\n\n\tif (this.showsTime) {\n\t\trow = Calendar.createElement(\"tr\", tbody);\n\t\trow.className = \"time\";\n\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.className = \"time\";\n\t\tcell.colSpan = 2;\n\t\tcell.innerHTML = Calendar._TT[\"TIME\"] || \"&nbsp;\";\n\n\t\tcell = Calendar.createElement(\"td\", row);\n\t\tcell.className = \"time\";\n\t\tcell.colSpan = this.weekNumbers ? 4 : 3;\n\n\t\t(function(){\n\t\t\tfunction makeTimePart(className, init, range_start, range_end) {\n\t\t\t\tvar part = Calendar.createElement(\"span\", cell);\n\t\t\t\tpart.className = className;\n\t\t\t\tpart.innerHTML = init;\n\t\t\t\tpart.calendar = cal;\n\t\t\t\tpart.ttip = Calendar._TT[\"TIME_PART\"];\n\t\t\t\tpart.navtype = 50;\n\t\t\t\tpart._range = [];\n\t\t\t\tif (typeof range_start != \"number\")\n\t\t\t\t\tpart._range = range_start;\n\t\t\t\telse {\n\t\t\t\t\tfor (var i = range_start; i <= range_end; ++i) {\n\t\t\t\t\t\tvar txt;\n\t\t\t\t\t\tif (i < 10 && range_end >= 10) txt = '0' + i;\n\t\t\t\t\t\telse txt = '' + i;\n\t\t\t\t\t\tpart._range[part._range.length] = txt;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tCalendar._add_evs(part);\n\t\t\t\treturn part;\n\t\t\t};\n\t\t\tvar hrs = cal.date.getHours();\n\t\t\tvar mins = cal.date.getMinutes();\n\t\t\tvar t12 = !cal.time24;\n\t\t\tvar pm = (hrs > 12);\n\t\t\tif (t12 && pm) hrs -= 12;\n\t\t\tvar H = makeTimePart(\"hour\", hrs, t12 ? 1 : 0, t12 ? 12 : 23);\n\t\t\tvar span = Calendar.createElement(\"span\", cell);\n\t\t\tspan.innerHTML = \":\";\n\t\t\tspan.className = \"colon\";\n\t\t\tvar M = makeTimePart(\"minute\", mins, 0, 59);\n\t\t\tvar AP = null;\n\t\t\tcell = Calendar.createElement(\"td\", row);\n\t\t\tcell.className = \"time\";\n\t\t\tcell.colSpan = 2;\n\t\t\tif (t12)\n\t\t\t\tAP = makeTimePart(\"ampm\", pm ? \"pm\" : \"am\", [\"am\", \"pm\"]);\n\t\t\telse\n\t\t\t\tcell.innerHTML = \"&nbsp;\";\n\n\t\t\tcal.onSetTime = function() {\n\t\t\t\tvar pm, hrs = this.date.getHours(),\n\t\t\t\t\tmins = this.date.getMinutes();\n\t\t\t\tif (t12) {\n\t\t\t\t\tpm = (hrs >= 12);\n\t\t\t\t\tif (pm) hrs -= 12;\n\t\t\t\t\tif (hrs == 0) hrs = 12;\n\t\t\t\t\tAP.innerHTML = pm ? \"pm\" : \"am\";\n\t\t\t\t}\n\t\t\t\tH.innerHTML = (hrs < 10) ? (\"0\" + hrs) : hrs;\n\t\t\t\tM.innerHTML = (mins < 10) ? (\"0\" + mins) : mins;\n\t\t\t};\n\n\t\t\tcal.onUpdateTime = function() {\n\t\t\t\tvar date = this.date;\n\t\t\t\tvar h = parseInt(H.innerHTML, 10);\n\t\t\t\tif (t12) {\n\t\t\t\t\tif (/pm/i.test(AP.innerHTML) && h < 12)\n\t\t\t\t\t\th += 12;\n\t\t\t\t\telse if (/am/i.test(AP.innerHTML) && h == 12)\n\t\t\t\t\t\th = 0;\n\t\t\t\t}\n\t\t\t\tvar d = date.getDate();\n\t\t\t\tvar m = date.getMonth();\n\t\t\t\tvar y = date.getFullYear();\n\t\t\t\tdate.setHours(h);\n\t\t\t\tdate.setMinutes(parseInt(M.innerHTML, 10));\n\t\t\t\tdate.setFullYear(y);\n\t\t\t\tdate.setMonth(m);\n\t\t\t\tdate.setDate(d);\n\t\t\t\tthis.dateClicked = false;\n\t\t\t\tthis.callHandler();\n\t\t\t};\n\t\t})();\n\t} else {\n\t\tthis.onSetTime = this.onUpdateTime = function() {};\n\t}\n\n\tvar tfoot = Calendar.createElement(\"tfoot\", table);\n\n\trow = Calendar.createElement(\"tr\", tfoot);\n\trow.className = \"footrow\";\n\n\tcell = hh(Calendar._TT[\"SEL_DATE\"], this.weekNumbers ? 8 : 7, 300);\n\tcell.className = \"ttip\";\n\tif (this.isPopup) {\n\t\tcell.ttip = Calendar._TT[\"DRAG_TO_MOVE\"];\n\t\tcell.style.cursor = \"move\";\n\t}\n\tthis.tooltips = cell;\n\n\tdiv = Calendar.createElement(\"div\", this.element);\n\tthis.monthsCombo = div;\n\tdiv.className = \"combo\";\n\tfor (i = 0; i < Calendar._MN.length; ++i) {\n\t\tvar mn = Calendar.createElement(\"div\");\n\t\tmn.className = Calendar.is_ie ? \"label-IEfix\" : \"label\";\n\t\tmn.month = i;\n\t\tmn.innerHTML = Calendar._SMN[i];\n\t\tdiv.appendChild(mn);\n\t}\n\n\tdiv = Calendar.createElement(\"div\", this.element);\n\tthis.yearsCombo = div;\n\tdiv.className = \"combo\";\n\tfor (i = 12; i > 0; --i) {\n\t\tvar yr = Calendar.createElement(\"div\");\n\t\tyr.className = Calendar.is_ie ? \"label-IEfix\" : \"label\";\n\t\tdiv.appendChild(yr);\n\t}\n\n\tthis._init(this.firstDayOfWeek, this.date);\n\tparent.appendChild(this.element);\n};\n\n/** keyboard navigation, only for popup calendars */\nCalendar._keyEvent = function(ev) {\n\tvar cal = window._dynarch_popupCalendar;\n\tif (!cal || cal.multiple)\n\t\treturn false;\n\t(Calendar.is_ie) && (ev = window.event);\n\tvar act = (Calendar.is_ie || ev.type == \"keypress\"),\n\t\tK = ev.keyCode;\n\tif (ev.ctrlKey) {\n\t\tswitch (K) {\n\t\t case 37: // KEY left\n\t\t\tact && Calendar.cellClick(cal._nav_pm);\n\t\t\tbreak;\n\t\t case 38: // KEY up\n\t\t\tact && Calendar.cellClick(cal._nav_py);\n\t\t\tbreak;\n\t\t case 39: // KEY right\n\t\t\tact && Calendar.cellClick(cal._nav_nm);\n\t\t\tbreak;\n\t\t case 40: // KEY down\n\t\t\tact && Calendar.cellClick(cal._nav_ny);\n\t\t\tbreak;\n\t\t default:\n\t\t\treturn false;\n\t\t}\n\t} else switch (K) {\n\t case 32: // KEY space (now)\n\t\tCalendar.cellClick(cal._nav_now);\n\t\tbreak;\n\t case 27: // KEY esc\n\t\tact && cal.callCloseHandler();\n\t\tbreak;\n\t case 37: // KEY left\n\t case 38: // KEY up\n\t case 39: // KEY right\n\t case 40: // KEY down\n\t\tif (act) {\n\t\t\tvar prev, x, y, ne, el, step;\n\t\t\tprev = K == 37 || K == 38;\n\t\t\tstep = (K == 37 || K == 39) ? 1 : 7;\n\t\t\tfunction setVars() {\n\t\t\t\tel = cal.currentDateEl;\n\t\t\t\tvar p = el.pos;\n\t\t\t\tx = p & 15;\n\t\t\t\ty = p >> 4;\n\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t};setVars();\n\t\t\tfunction prevMonth() {\n\t\t\t\tvar date = new Date(cal.date);\n\t\t\t\tdate.setDate(date.getDate() - step);\n\t\t\t\tcal.setDate(date);\n\t\t\t};\n\t\t\tfunction nextMonth() {\n\t\t\t\tvar date = new Date(cal.date);\n\t\t\t\tdate.setDate(date.getDate() + step);\n\t\t\t\tcal.setDate(date);\n\t\t\t};\n\t\t\twhile (1) {\n\t\t\t\tswitch (K) {\n\t\t\t\t case 37: // KEY left\n\t\t\t\t\tif (--x >= 0)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tx = 6;\n\t\t\t\t\t\tK = 38;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t case 38: // KEY up\n\t\t\t\t\tif (--y >= 0)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tprevMonth();\n\t\t\t\t\t\tsetVars();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t case 39: // KEY right\n\t\t\t\t\tif (++x < 7)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tx = 0;\n\t\t\t\t\t\tK = 40;\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t case 40: // KEY down\n\t\t\t\t\tif (++y < cal.ar_days.length)\n\t\t\t\t\t\tne = cal.ar_days[y][x];\n\t\t\t\t\telse {\n\t\t\t\t\t\tnextMonth();\n\t\t\t\t\t\tsetVars();\n\t\t\t\t\t}\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif (ne) {\n\t\t\t\tif (!ne.disabled)\n\t\t\t\t\tCalendar.cellClick(ne);\n\t\t\t\telse if (prev)\n\t\t\t\t\tprevMonth();\n\t\t\t\telse\n\t\t\t\t\tnextMonth();\n\t\t\t}\n\t\t}\n\t\tbreak;\n\t case 13: // KEY enter\n\t\tif (act)\n\t\t\tCalendar.cellClick(cal.currentDateEl, ev);\n\t\tbreak;\n\t default:\n\t\treturn false;\n\t}\n\treturn Calendar.stopEvent(ev);\n};\n\n/**\n * (RE)Initializes the calendar to the given date and firstDayOfWeek\n */\nCalendar.prototype._init = function (firstDayOfWeek, date) {\n\tvar today = new Date(),\n\t\tTY = today.getFullYear(),\n\t\tTM = today.getMonth(),\n\t\tTD = today.getDate();\n\tthis.table.style.visibility = \"hidden\";\n\tvar year = date.getFullYear();\n\tif (year < this.minYear) {\n\t\tyear = this.minYear;\n\t\tdate.setFullYear(year);\n\t} else if (year > this.maxYear) {\n\t\tyear = this.maxYear;\n\t\tdate.setFullYear(year);\n\t}\n\tthis.firstDayOfWeek = firstDayOfWeek;\n\tthis.date = new Date(date);\n\tvar month = date.getMonth();\n\tvar mday = date.getDate();\n\tvar no_days = date.getMonthDays();\n\n\t// calendar voodoo for computing the first day that would actually be\n\t// displayed in the calendar, even if it's from the previous month.\n\t// WARNING: this is magic. ;-)\n\tdate.setDate(1);\n\tvar day1 = (date.getDay() - this.firstDayOfWeek) % 7;\n\tif (day1 < 0)\n\t\tday1 += 7;\n\tdate.setDate(-day1);\n\tdate.setDate(date.getDate() + 1);\n\n\tvar row = this.tbody.firstChild;\n\tvar MN = Calendar._SMN[month];\n\tvar ar_days = this.ar_days = new Array();\n\tvar weekend = Calendar._TT[\"WEEKEND\"];\n\tvar dates = this.multiple ? (this.datesCells = {}) : null;\n\tfor (var i = 0; i < 6; ++i, row = row.nextSibling) {\n\t\tvar cell = row.firstChild;\n\t\tif (this.weekNumbers) {\n\t\t\tcell.className = \"day wn\";\n\t\t\tcell.innerHTML = date.getWeekNumber();\n\t\t\tcell = cell.nextSibling;\n\t\t}\n\t\trow.className = \"daysrow\";\n\t\tvar hasdays = false, iday, dpos = ar_days[i] = [];\n\t\tfor (var j = 0; j < 7; ++j, cell = cell.nextSibling, date.setDate(iday + 1)) {\n\t\t\tiday = date.getDate();\n\t\t\tvar wday = date.getDay();\n\t\t\tcell.className = \"day\";\n\t\t\tcell.pos = i << 4 | j;\n\t\t\tdpos[j] = cell;\n\t\t\tvar current_month = (date.getMonth() == month);\n\t\t\tif (!current_month) {\n\t\t\t\tif (this.showsOtherMonths) {\n\t\t\t\t\tcell.className += \" othermonth\";\n\t\t\t\t\tcell.otherMonth = true;\n\t\t\t\t} else {\n\t\t\t\t\tcell.className = \"emptycell\";\n\t\t\t\t\tcell.innerHTML = \"&nbsp;\";\n\t\t\t\t\tcell.disabled = true;\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcell.otherMonth = false;\n\t\t\t\thasdays = true;\n\t\t\t}\n\t\t\tcell.disabled = false;\n\t\t\tcell.innerHTML = this.getDateText ? this.getDateText(date, iday) : iday;\n\t\t\tif (dates)\n\t\t\t\tdates[date.print(\"%Y%m%d\")] = cell;\n\t\t\tif (this.getDateStatus) {\n\t\t\t\tvar status = this.getDateStatus(date, year, month, iday);\n\t\t\t\tif (status === true) {\n\t\t\t\t\tcell.className += \" disabled\";\n\t\t\t\t\tcell.disabled = true;\n\t\t\t\t} else {\n\t\t\t\t\tif (/disabled/i.test(status))\n\t\t\t\t\t\tcell.disabled = true;\n\t\t\t\t\tcell.className += \" \" + status;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (!cell.disabled) {\n\t\t\t\tcell.caldate = new Date(date);\n\t\t\t\tcell.ttip = \"_\";\n\t\t\t\tif (!this.multiple && current_month\n\t\t\t\t && iday == mday && this.hiliteToday) {\n\t\t\t\t\tcell.className += \" selected\";\n\t\t\t\t\tthis.currentDateEl = cell;\n\t\t\t\t}\n\t\t\t\tif (date.getFullYear() == TY &&\n\t\t\t\t date.getMonth() == TM &&\n\t\t\t\t iday == TD) {\n\t\t\t\t\tcell.className += \" today\";\n\t\t\t\t\tcell.ttip += Calendar._TT[\"PART_TODAY\"];\n\t\t\t\t}\n\t\t\t\tif (weekend.indexOf(wday.toString()) != -1)\n\t\t\t\t\tcell.className += cell.otherMonth ? \" oweekend\" : \" weekend\";\n\t\t\t}\n\t\t}\n\t\tif (!(hasdays || this.showsOtherMonths))\n\t\t\trow.className = \"emptyrow\";\n\t}\n\tthis.title.innerHTML = Calendar._MN[month] + \", \" + year;\n\tthis.onSetTime();\n\tthis.table.style.visibility = \"visible\";\n\tthis._initMultipleDates();\n\t// PROFILE\n\t// this.tooltips.innerHTML = \"Generated in \" + ((new Date()) - today) + \" ms\";\n};\n\nCalendar.prototype._initMultipleDates = function() {\n\tif (this.multiple) {\n\t\tfor (var i in this.multiple) {\n\t\t\tvar cell = this.datesCells[i];\n\t\t\tvar d = this.multiple[i];\n\t\t\tif (!d)\n\t\t\t\tcontinue;\n\t\t\tif (cell)\n\t\t\t\tcell.className += \" selected\";\n\t\t}\n\t}\n};\n\nCalendar.prototype._toggleMultipleDate = function(date) {\n\tif (this.multiple) {\n\t\tvar ds = date.print(\"%Y%m%d\");\n\t\tvar cell = this.datesCells[ds];\n\t\tif (cell) {\n\t\t\tvar d = this.multiple[ds];\n\t\t\tif (!d) {\n\t\t\t\tCalendar.addClass(cell, \"selected\");\n\t\t\t\tthis.multiple[ds] = date;\n\t\t\t} else {\n\t\t\t\tCalendar.removeClass(cell, \"selected\");\n\t\t\t\tdelete this.multiple[ds];\n\t\t\t}\n\t\t}\n\t}\n};\n\nCalendar.prototype.setDateToolTipHandler = function (unaryFunction) {\n\tthis.getDateToolTip = unaryFunction;\n};\n\n/**\n * Calls _init function above for going to a certain date (but only if the\n * date is different than the currently selected one).\n */\nCalendar.prototype.setDate = function (date) {\n\tif (!date.equalsTo(this.date)) {\n\t\tthis._init(this.firstDayOfWeek, date);\n\t}\n};\n\n/**\n * Refreshes the calendar. Useful if the \"disabledHandler\" function is\n * dynamic, meaning that the list of disabled date can change at runtime.\n * Just * call this function if you think that the list of disabled dates\n * should * change.\n */\nCalendar.prototype.refresh = function () {\n\tthis._init(this.firstDayOfWeek, this.date);\n};\n\n/** Modifies the \"firstDayOfWeek\" parameter (pass 0 for Synday, 1 for Monday, etc.). */\nCalendar.prototype.setFirstDayOfWeek = function (firstDayOfWeek) {\n\tthis._init(firstDayOfWeek, this.date);\n\tthis._displayWeekdays();\n};\n\n/**\n * Allows customization of what dates are enabled. The \"unaryFunction\"\n * parameter must be a function object that receives the date (as a JS Date\n * object) and returns a boolean value. If the returned value is true then\n * the passed date will be marked as disabled.\n */\nCalendar.prototype.setDateStatusHandler = Calendar.prototype.setDisabledHandler = function (unaryFunction) {\n\tthis.getDateStatus = unaryFunction;\n};\n\n/** Customization of allowed year range for the calendar. */\nCalendar.prototype.setRange = function (a, z) {\n\tthis.minYear = a;\n\tthis.maxYear = z;\n};\n\n/** Calls the first user handler (selectedHandler). */\nCalendar.prototype.callHandler = function () {\n\tif (this.onSelected) {\n\t\tthis.onSelected(this, this.date.print(this.dateFormat));\n\t}\n};\n\n/** Calls the second user handler (closeHandler). */\nCalendar.prototype.callCloseHandler = function () {\n\tif (this.onClose) {\n\t\tthis.onClose(this);\n\t}\n\tthis.hideShowCovered();\n};\n\n/** Removes the calendar object from the DOM tree and destroys it. */\nCalendar.prototype.destroy = function () {\n\tvar el = this.element.parentNode;\n\tel.removeChild(this.element);\n\tCalendar._C = null;\n\twindow._dynarch_popupCalendar = null;\n};\n\n/**\n * Moves the calendar element to a different section in the DOM tree (changes\n * its parent).\n */\nCalendar.prototype.reparent = function (new_parent) {\n\tvar el = this.element;\n\tel.parentNode.removeChild(el);\n\tnew_parent.appendChild(el);\n};\n\n// This gets called when the user presses a mouse button anywhere in the\n// document, if the calendar is shown. If the click was outside the open\n// calendar this function closes it.\nCalendar._checkCalendar = function(ev) {\n\tvar calendar = window._dynarch_popupCalendar;\n\tif (!calendar) {\n\t\treturn false;\n\t}\n\tvar el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev);\n\tfor (; el != null && el != calendar.element; el = el.parentNode);\n\tif (el == null) {\n\t\t// calls closeHandler which should hide the calendar.\n\t\twindow._dynarch_popupCalendar.callCloseHandler();\n\t\treturn Calendar.stopEvent(ev);\n\t}\n};\n\n/** Shows the calendar. */\nCalendar.prototype.show = function () {\n\tvar rows = this.table.getElementsByTagName(\"tr\");\n\tfor (var i = rows.length; i > 0;) {\n\t\tvar row = rows[--i];\n\t\tCalendar.removeClass(row, \"rowhilite\");\n\t\tvar cells = row.getElementsByTagName(\"td\");\n\t\tfor (var j = cells.length; j > 0;) {\n\t\t\tvar cell = cells[--j];\n\t\t\tCalendar.removeClass(cell, \"hilite\");\n\t\t\tCalendar.removeClass(cell, \"active\");\n\t\t}\n\t}\n\tthis.element.style.display = \"block\";\n\tthis.hidden = false;\n\tif (this.isPopup) {\n\t\twindow._dynarch_popupCalendar = this;\n\t\tCalendar.addEvent(document, \"keydown\", Calendar._keyEvent);\n\t\tCalendar.addEvent(document, \"keypress\", Calendar._keyEvent);\n\t\tCalendar.addEvent(document, \"mousedown\", Calendar._checkCalendar);\n\t}\n\tthis.hideShowCovered();\n};\n\n/**\n * Hides the calendar. Also removes any \"hilite\" from the class of any TD\n * element.\n */\nCalendar.prototype.hide = function () {\n\tif (this.isPopup) {\n\t\tCalendar.removeEvent(document, \"keydown\", Calendar._keyEvent);\n\t\tCalendar.removeEvent(document, \"keypress\", Calendar._keyEvent);\n\t\tCalendar.removeEvent(document, \"mousedown\", Calendar._checkCalendar);\n\t}\n\tthis.element.style.display = \"none\";\n\tthis.hidden = true;\n\tthis.hideShowCovered();\n};\n\n/**\n * Shows the calendar at a given absolute position (beware that, depending on\n * the calendar element style -- position property -- this might be relative\n * to the parent's containing rectangle).\n */\nCalendar.prototype.showAt = function (x, y) {\n\tvar s = this.element.style;\n\ts.left = x + \"px\";\n\ts.top = y + \"px\";\n\tthis.show();\n};\n\n/** Shows the calendar near a given element. */\nCalendar.prototype.showAtElement = function (el, opts) {\n\tvar self = this;\n\tvar p = Calendar.getAbsolutePos(el);\n\tif (!opts || typeof opts != \"string\") {\n\t\tthis.showAt(p.x, p.y + el.offsetHeight);\n\t\treturn true;\n\t}\n\tfunction fixPosition(box) {\n\t\tif (box.x < 0)\n\t\t\tbox.x = 0;\n\t\tif (box.y < 0)\n\t\t\tbox.y = 0;\n\t\tvar cp = document.createElement(\"div\");\n\t\tvar s = cp.style;\n\t\ts.position = \"absolute\";\n\t\ts.right = s.bottom = s.width = s.height = \"0px\";\n\t\tdocument.body.appendChild(cp);\n\t\tvar br = Calendar.getAbsolutePos(cp);\n\t\tdocument.body.removeChild(cp);\n\t\tif (Calendar.is_ie) {\n\t\t\tbr.y += document.body.scrollTop;\n\t\t\tbr.x += document.body.scrollLeft;\n\t\t} else {\n\t\t\tbr.y += window.scrollY;\n\t\t\tbr.x += window.scrollX;\n\t\t}\n\t\tvar tmp = box.x + box.width - br.x;\n\t\tif (tmp > 0) box.x -= tmp;\n\t\ttmp = box.y + box.height - br.y;\n\t\tif (tmp > 0) box.y -= tmp;\n\t};\n\tthis.element.style.display = \"block\";\n\tCalendar.continuation_for_the_fucking_khtml_browser = function() {\n\t\tvar w = self.element.offsetWidth;\n\t\tvar h = self.element.offsetHeight;\n\t\tself.element.style.display = \"none\";\n\t\tvar valign = opts.substr(0, 1);\n\t\tvar halign = \"l\";\n\t\tif (opts.length > 1) {\n\t\t\thalign = opts.substr(1, 1);\n\t\t}\n\t\t// vertical alignment\n\t\tswitch (valign) {\n\t\t case \"T\": p.y -= h; break;\n\t\t case \"B\": p.y += el.offsetHeight; break;\n\t\t case \"C\": p.y += (el.offsetHeight - h) / 2; break;\n\t\t case \"t\": p.y += el.offsetHeight - h; break;\n\t\t case \"b\": break; // already there\n\t\t}\n\t\t// horizontal alignment\n\t\tswitch (halign) {\n\t\t case \"L\": p.x -= w; break;\n\t\t case \"R\": p.x += el.offsetWidth; break;\n\t\t case \"C\": p.x += (el.offsetWidth - w) / 2; break;\n\t\t case \"l\": p.x += el.offsetWidth - w; break;\n\t\t case \"r\": break; // already there\n\t\t}\n\t\tp.width = w;\n\t\tp.height = h + 40;\n\t\tself.monthsCombo.style.display = \"none\";\n\t\tfixPosition(p);\n\t\tself.showAt(p.x, p.y);\n\t};\n\tif (Calendar.is_khtml)\n\t\tsetTimeout(\"Calendar.continuation_for_the_fucking_khtml_browser()\", 10);\n\telse\n\t\tCalendar.continuation_for_the_fucking_khtml_browser();\n};\n\n/** Customizes the date format. */\nCalendar.prototype.setDateFormat = function (str) {\n\tthis.dateFormat = str;\n};\n\n/** Customizes the tooltip date format. */\nCalendar.prototype.setTtDateFormat = function (str) {\n\tthis.ttDateFormat = str;\n};\n\n/**\n * Tries to identify the date represented in a string. If successful it also\n * calls this.setDate which moves the calendar to the given date.\n */\nCalendar.prototype.parseDate = function(str, fmt) {\n\tif (!fmt)\n\t\tfmt = this.dateFormat;\n\tthis.setDate(Date.parseDate(str, fmt));\n};\n\nCalendar.prototype.hideShowCovered = function () {\n\tif (!Calendar.is_ie && !Calendar.is_opera)\n\t\treturn;\n\tfunction getVisib(obj){\n\t\tvar value = obj.style.visibility;\n\t\tif (!value) {\n\t\t\tif (document.defaultView && typeof (document.defaultView.getComputedStyle) == \"function\") { // Gecko, W3C\n\t\t\t\tif (!Calendar.is_khtml)\n\t\t\t\t\tvalue = document.defaultView.\n\t\t\t\t\t\tgetComputedStyle(obj, \"\").getPropertyValue(\"visibility\");\n\t\t\t\telse\n\t\t\t\t\tvalue = '';\n\t\t\t} else if (obj.currentStyle) { // IE\n\t\t\t\tvalue = obj.currentStyle.visibility;\n\t\t\t} else\n\t\t\t\tvalue = '';\n\t\t}\n\t\treturn value;\n\t};\n\n\tvar tags = new Array(\"applet\", \"iframe\", \"select\");\n\tvar el = this.element;\n\n\tvar p = Calendar.getAbsolutePos(el);\n\tvar EX1 = p.x;\n\tvar EX2 = el.offsetWidth + EX1;\n\tvar EY1 = p.y;\n\tvar EY2 = el.offsetHeight + EY1;\n\n\tfor (var k = tags.length; k > 0; ) {\n\t\tvar ar = document.getElementsByTagName(tags[--k]);\n\t\tvar cc = null;\n\n\t\tfor (var i = ar.length; i > 0;) {\n\t\t\tcc = ar[--i];\n\n\t\t\tp = Calendar.getAbsolutePos(cc);\n\t\t\tvar CX1 = p.x;\n\t\t\tvar CX2 = cc.offsetWidth + CX1;\n\t\t\tvar CY1 = p.y;\n\t\t\tvar CY2 = cc.offsetHeight + CY1;\n\n\t\t\tif (this.hidden || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) {\n\t\t\t\tif (!cc.__msh_save_visibility) {\n\t\t\t\t\tcc.__msh_save_visibility = getVisib(cc);\n\t\t\t\t}\n\t\t\t\tcc.style.visibility = cc.__msh_save_visibility;\n\t\t\t} else {\n\t\t\t\tif (!cc.__msh_save_visibility) {\n\t\t\t\t\tcc.__msh_save_visibility = getVisib(cc);\n\t\t\t\t}\n\t\t\t\tcc.style.visibility = \"hidden\";\n\t\t\t}\n\t\t}\n\t}\n};\n\n/** Internal function; it displays the bar with the names of the weekday. */\nCalendar.prototype._displayWeekdays = function () {\n\tvar fdow = this.firstDayOfWeek;\n\tvar cell = this.firstdayname;\n\tvar weekend = Calendar._TT[\"WEEKEND\"];\n\tfor (var i = 0; i < 7; ++i) {\n\t\tcell.className = \"day name\";\n\t\tvar realday = (i + fdow) % 7;\n\t\tif (i) {\n\t\t\tcell.ttip = Calendar._TT[\"DAY_FIRST\"].replace(\"%s\", Calendar._DN[realday]);\n\t\t\tcell.navtype = 100;\n\t\t\tcell.calendar = this;\n\t\t\tcell.fdow = realday;\n\t\t\tCalendar._add_evs(cell);\n\t\t}\n\t\tif (weekend.indexOf(realday.toString()) != -1) {\n\t\t\tCalendar.addClass(cell, \"weekend\");\n\t\t}\n\t\tcell.innerHTML = Calendar._SDN[(i + fdow) % 7];\n\t\tcell = cell.nextSibling;\n\t}\n};\n\n/** Internal function. Hides all combo boxes that might be displayed. */\nCalendar.prototype._hideCombos = function () {\n\tthis.monthsCombo.style.display = \"none\";\n\tthis.yearsCombo.style.display = \"none\";\n};\n\n/** Internal function. Starts dragging the element. */\nCalendar.prototype._dragStart = function (ev) {\n\tif (this.dragging) {\n\t\treturn;\n\t}\n\tthis.dragging = true;\n\tvar posX;\n\tvar posY;\n\tif (Calendar.is_ie) {\n\t\tposY = window.event.clientY + document.body.scrollTop;\n\t\tposX = window.event.clientX + document.body.scrollLeft;\n\t} else {\n\t\tposY = ev.clientY + window.scrollY;\n\t\tposX = ev.clientX + window.scrollX;\n\t}\n\tvar st = this.element.style;\n\tthis.xOffs = posX - parseInt(st.left);\n\tthis.yOffs = posY - parseInt(st.top);\n\twith (Calendar) {\n\t\taddEvent(document, \"mousemove\", calDragIt);\n\t\taddEvent(document, \"mouseup\", calDragEnd);\n\t}\n};\n\n// BEGIN: DATE OBJECT PATCHES\n\n/** Adds the number of days array to the Date object. */\nDate._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31);\n\n/** Constants used for time computations */\nDate.SECOND = 1000 /* milliseconds */;\nDate.MINUTE = 60 * Date.SECOND;\nDate.HOUR = 60 * Date.MINUTE;\nDate.DAY = 24 * Date.HOUR;\nDate.WEEK = 7 * Date.DAY;\n\nDate.parseDate = function(str, fmt) {\n\tvar today = new Date();\n\tvar y = 0;\n\tvar m = -1;\n\tvar d = 0;\n\tvar a = str.split(/\\W+/);\n\tvar b = fmt.match(/%./g);\n\tvar i = 0, j = 0;\n\tvar hr = 0;\n\tvar min = 0;\n\tfor (i = 0; i < a.length; ++i) {\n\t\tif (!a[i])\n\t\t\tcontinue;\n\t\tswitch (b[i]) {\n\t\t case \"%d\":\n\t\t case \"%e\":\n\t\t\td = parseInt(a[i], 10);\n\t\t\tbreak;\n\n\t\t case \"%m\":\n\t\t\tm = parseInt(a[i], 10) - 1;\n\t\t\tbreak;\n\n\t\t case \"%Y\":\n\t\t case \"%y\":\n\t\t\ty = parseInt(a[i], 10);\n\t\t\t(y < 100) && (y += (y > 29) ? 1900 : 2000);\n\t\t\tbreak;\n\n\t\t case \"%b\":\n\t\t case \"%B\":\n\t\t\tfor (j = 0; j < 12; ++j) {\n\t\t\t\tif (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; }\n\t\t\t}\n\t\t\tbreak;\n\n\t\t case \"%H\":\n\t\t case \"%I\":\n\t\t case \"%k\":\n\t\t case \"%l\":\n\t\t\thr = parseInt(a[i], 10);\n\t\t\tbreak;\n\n\t\t case \"%P\":\n\t\t case \"%p\":\n\t\t\tif (/pm/i.test(a[i]) && hr < 12)\n\t\t\t\thr += 12;\n\t\t\telse if (/am/i.test(a[i]) && hr >= 12)\n\t\t\t\thr -= 12;\n\t\t\tbreak;\n\n\t\t case \"%M\":\n\t\t\tmin = parseInt(a[i], 10);\n\t\t\tbreak;\n\t\t}\n\t}\n\tif (isNaN(y)) y = today.getFullYear();\n\tif (isNaN(m)) m = today.getMonth();\n\tif (isNaN(d)) d = today.getDate();\n\tif (isNaN(hr)) hr = today.getHours();\n\tif (isNaN(min)) min = today.getMinutes();\n\tif (y != 0 && m != -1 && d != 0)\n\t\treturn new Date(y, m, d, hr, min, 0);\n\ty = 0; m = -1; d = 0;\n\tfor (i = 0; i < a.length; ++i) {\n\t\tif (a[i].search(/[a-zA-Z]+/) != -1) {\n\t\t\tvar t = -1;\n\t\t\tfor (j = 0; j < 12; ++j) {\n\t\t\t\tif (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; }\n\t\t\t}\n\t\t\tif (t != -1) {\n\t\t\t\tif (m != -1) {\n\t\t\t\t\td = m+1;\n\t\t\t\t}\n\t\t\t\tm = t;\n\t\t\t}\n\t\t} else if (parseInt(a[i], 10) <= 12 && m == -1) {\n\t\t\tm = a[i]-1;\n\t\t} else if (parseInt(a[i], 10) > 31 && y == 0) {\n\t\t\ty = parseInt(a[i], 10);\n\t\t\t(y < 100) && (y += (y > 29) ? 1900 : 2000);\n\t\t} else if (d == 0) {\n\t\t\td = a[i];\n\t\t}\n\t}\n\tif (y == 0)\n\t\ty = today.getFullYear();\n\tif (m != -1 && d != 0)\n\t\treturn new Date(y, m, d, hr, min, 0);\n\treturn today;\n};\n\n/** Returns the number of days in the current month */\nDate.prototype.getMonthDays = function(month) {\n\tvar year = this.getFullYear();\n\tif (typeof month == \"undefined\") {\n\t\tmonth = this.getMonth();\n\t}\n\tif (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) {\n\t\treturn 29;\n\t} else {\n\t\treturn Date._MD[month];\n\t}\n};\n\n/** Returns the number of day in the year. */\nDate.prototype.getDayOfYear = function() {\n\tvar now = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);\n\tvar then = new Date(this.getFullYear(), 0, 0, 0, 0, 0);\n\tvar time = now - then;\n\treturn Math.floor(time / Date.DAY);\n};\n\n/** Returns the number of the week in year, as defined in ISO 8601. */\nDate.prototype.getWeekNumber = function() {\n\tvar d = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0);\n\tvar DoW = d.getDay();\n\td.setDate(d.getDate() - (DoW + 6) % 7 + 3); // Nearest Thu\n\tvar ms = d.valueOf(); // GMT\n\td.setMonth(0);\n\td.setDate(4); // Thu in Week 1\n\treturn Math.round((ms - d.valueOf()) / (7 * 864e5)) + 1;\n};\n\n/** Checks date and time equality */\nDate.prototype.equalsTo = function(date) {\n\treturn ((this.getFullYear() == date.getFullYear()) &&\n\t\t(this.getMonth() == date.getMonth()) &&\n\t\t(this.getDate() == date.getDate()) &&\n\t\t(this.getHours() == date.getHours()) &&\n\t\t(this.getMinutes() == date.getMinutes()));\n};\n\n/** Set only the year, month, date parts (keep existing time) */\nDate.prototype.setDateOnly = function(date) {\n\tvar tmp = new Date(date);\n\tthis.setDate(1);\n\tthis.setFullYear(tmp.getFullYear());\n\tthis.setMonth(tmp.getMonth());\n\tthis.setDate(tmp.getDate());\n};\n\n/** Prints the date in a string according to the given format. */\nDate.prototype.print = function (str) {\n\tvar m = this.getMonth();\n\tvar d = this.getDate();\n\tvar y = this.getFullYear();\n\tvar wn = this.getWeekNumber();\n\tvar w = this.getDay();\n\tvar s = {};\n\tvar hr = this.getHours();\n\tvar pm = (hr >= 12);\n\tvar ir = (pm) ? (hr - 12) : hr;\n\tvar dy = this.getDayOfYear();\n\tif (ir == 0)\n\t\tir = 12;\n\tvar min = this.getMinutes();\n\tvar sec = this.getSeconds();\n\ts[\"%a\"] = Calendar._SDN[w]; // abbreviated weekday name [FIXME: I18N]\n\ts[\"%A\"] = Calendar._DN[w]; // full weekday name\n\ts[\"%b\"] = Calendar._SMN[m]; // abbreviated month name [FIXME: I18N]\n\ts[\"%B\"] = Calendar._MN[m]; // full month name\n\t// FIXME: %c : preferred date and time representation for the current locale\n\ts[\"%C\"] = 1 + Math.floor(y / 100); // the century number\n\ts[\"%d\"] = (d < 10) ? (\"0\" + d) : d; // the day of the month (range 01 to 31)\n\ts[\"%e\"] = d; // the day of the month (range 1 to 31)\n\t// FIXME: %D : american date style: %m/%d/%y\n\t// FIXME: %E, %F, %G, %g, %h (man strftime)\n\ts[\"%H\"] = (hr < 10) ? (\"0\" + hr) : hr; // hour, range 00 to 23 (24h format)\n\ts[\"%I\"] = (ir < 10) ? (\"0\" + ir) : ir; // hour, range 01 to 12 (12h format)\n\ts[\"%j\"] = (dy < 100) ? ((dy < 10) ? (\"00\" + dy) : (\"0\" + dy)) : dy; // day of the year (range 001 to 366)\n\ts[\"%k\"] = hr;\t\t// hour, range 0 to 23 (24h format)\n\ts[\"%l\"] = ir;\t\t// hour, range 1 to 12 (12h format)\n\ts[\"%m\"] = (m < 9) ? (\"0\" + (1+m)) : (1+m); // month, range 01 to 12\n\ts[\"%M\"] = (min < 10) ? (\"0\" + min) : min; // minute, range 00 to 59\n\ts[\"%n\"] = \"\\n\";\t\t// a newline character\n\ts[\"%p\"] = pm ? \"PM\" : \"AM\";\n\ts[\"%P\"] = pm ? \"pm\" : \"am\";\n\t// FIXME: %r : the time in am/pm notation %I:%M:%S %p\n\t// FIXME: %R : the time in 24-hour notation %H:%M\n\ts[\"%s\"] = Math.floor(this.getTime() / 1000);\n\ts[\"%S\"] = (sec < 10) ? (\"0\" + sec) : sec; // seconds, range 00 to 59\n\ts[\"%t\"] = \"\\t\";\t\t// a tab character\n\t// FIXME: %T : the time in 24-hour notation (%H:%M:%S)\n\ts[\"%U\"] = s[\"%W\"] = s[\"%V\"] = (wn < 10) ? (\"0\" + wn) : wn;\n\ts[\"%u\"] = w + 1;\t// the day of the week (range 1 to 7, 1 = MON)\n\ts[\"%w\"] = w;\t\t// the day of the week (range 0 to 6, 0 = SUN)\n\t// FIXME: %x : preferred date representation for the current locale without the time\n\t// FIXME: %X : preferred time representation for the current locale without the date\n\ts[\"%y\"] = ('' + y).substr(2, 2); // year without the century (range 00 to 99)\n\ts[\"%Y\"] = y;\t\t// year with the century\n\ts[\"%%\"] = \"%\";\t\t// a literal '%' character\n\n\tvar re = /%./g;\n\tif (!Calendar.is_ie5 && !Calendar.is_khtml)\n\t\treturn str.replace(re, function (par) { return s[par] || par; });\n\n\tvar a = str.match(re);\n\tfor (var i = 0; i < a.length; i++) {\n\t\tvar tmp = s[a[i]];\n\t\tif (tmp) {\n\t\t\tre = new RegExp(a[i], 'g');\n\t\t\tstr = str.replace(re, tmp);\n\t\t}\n\t}\n\n\treturn str;\n};\n\nDate.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear;\nDate.prototype.setFullYear = function(y) {\n\tvar d = new Date(this);\n\td.__msh_oldSetFullYear(y);\n\tif (d.getMonth() != this.getMonth())\n\t\tthis.setDate(28);\n\tthis.__msh_oldSetFullYear(y);\n};\n\n// END: DATE OBJECT PATCHES\n\n\n// global object that remembers the calendar\nwindow._dynarch_popupCalendar = null;\n"
},
"redirectURL": "",
"headersSize": 330,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138479",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.063Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/lang/calendar-en.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 678,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"3600-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "3600"
}
],
"cookies": [],
"content": {
"size": 3600,
"mimeType": "text/javascript",
"text": "// ** I18N\n\n// Calendar EN language\n// Author: Mihai Bazon, <mihai_bazon@yahoo.com>\n// Encoding: any\n// Distributed under the same terms as the calendar itself.\n\n// For translators: please use UTF-8 if possible. We strongly believe that\n// Unicode is the answer to a real internationalized world. Also please\n// include your contact information in the header, as can be seen above.\n\n// full day names\nCalendar._DN = new Array\n(\"Sunday\",\n \"Monday\",\n \"Tuesday\",\n \"Wednesday\",\n \"Thursday\",\n \"Friday\",\n \"Saturday\",\n \"Sunday\");\n\n// Please note that the following array of short day names (and the same goes\n// for short month names, _SMN) isn't absolutely necessary. We give it here\n// for exemplification on how one can customize the short day names, but if\n// they are simply the first N letters of the full name you can simply say:\n//\n// Calendar._SDN_len = N; // short day name length\n// Calendar._SMN_len = N; // short month name length\n//\n// If N = 3 then this is not needed either since we assume a value of 3 if not\n// present, to be compatible with translation files that were written before\n// this feature.\n\n// short day names\nCalendar._SDN = new Array\n(\"Sun\",\n \"Mon\",\n \"Tue\",\n \"Wed\",\n \"Thu\",\n \"Fri\",\n \"Sat\",\n \"Sun\");\n\n// First day of the week. \"0\" means display Sunday first, \"1\" means display\n// Monday first, etc.\nCalendar._FD = 0;\n\n// full month names\nCalendar._MN = new Array\n(\"January\",\n \"February\",\n \"March\",\n \"April\",\n \"May\",\n \"June\",\n \"July\",\n \"August\",\n \"September\",\n \"October\",\n \"November\",\n \"December\");\n\n// short month names\nCalendar._SMN = new Array\n(\"Jan\",\n \"Feb\",\n \"Mar\",\n \"Apr\",\n \"May\",\n \"Jun\",\n \"Jul\",\n \"Aug\",\n \"Sep\",\n \"Oct\",\n \"Nov\",\n \"Dec\");\n\n// tooltips\nCalendar._TT = {};\nCalendar._TT[\"INFO\"] = \"About the calendar\";\n\nCalendar._TT[\"ABOUT\"] =\n\"DHTML Date/Time Selector\\n\" +\n\"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\\n\" + // don't translate this this ;-)\n\"For latest version visit: http://www.dynarch.com/projects/calendar/\\n\" +\n\"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details.\" +\n\"\\n\\n\" +\n\"Date selection:\\n\" +\n\"- Use the \\xab, \\xbb buttons to select year\\n\" +\n\"- Use the \" + String.fromCharCode(0x2039) + \", \" + String.fromCharCode(0x203a) + \" buttons to select month\\n\" +\n\"- Hold mouse button on any of the above buttons for faster selection.\";\nCalendar._TT[\"ABOUT_TIME\"] = \"\\n\\n\" +\n\"Time selection:\\n\" +\n\"- Click on any of the time parts to increase it\\n\" +\n\"- or Shift-click to decrease it\\n\" +\n\"- or click and drag for faster selection.\";\n\nCalendar._TT[\"PREV_YEAR\"] = \"Prev. year (hold for menu)\";\nCalendar._TT[\"PREV_MONTH\"] = \"Prev. month (hold for menu)\";\nCalendar._TT[\"GO_TODAY\"] = \"Go Today\";\nCalendar._TT[\"NEXT_MONTH\"] = \"Next month (hold for menu)\";\nCalendar._TT[\"NEXT_YEAR\"] = \"Next year (hold for menu)\";\nCalendar._TT[\"SEL_DATE\"] = \"Select date\";\nCalendar._TT[\"DRAG_TO_MOVE\"] = \"Drag to move\";\nCalendar._TT[\"PART_TODAY\"] = \" (today)\";\n\n// the following is to inform that \"%s\" is to be the first day of week\n// %s will be replaced with the day name.\nCalendar._TT[\"DAY_FIRST\"] = \"Display %s first\";\n\n// This may be locale-dependent. It specifies the week-end days, as an array\n// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1\n// means Monday, etc.\nCalendar._TT[\"WEEKEND\"] = \"0,6\";\n\nCalendar._TT[\"CLOSE\"] = \"Close\";\nCalendar._TT[\"TODAY\"] = \"Today\";\nCalendar._TT[\"TIME_PART\"] = \"(Shift-)Click or drag to change value\";\n\n// date formats\nCalendar._TT[\"DEF_DATE_FORMAT\"] = \"%Y-%m-%d\";\nCalendar._TT[\"TT_DATE_FORMAT\"] = \"%a, %b %e\";\n\nCalendar._TT[\"WK\"] = \"wk\";\nCalendar._TT[\"TIME\"] = \"Time:\";\n"
},
"redirectURL": "",
"headersSize": 328,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138483",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.064Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/calendar/calendar-setup.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 676,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"9029-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=100"
},
{
"name": "Content-Length",
"value": "9029"
}
],
"cookies": [],
"content": {
"size": 9029,
"mimeType": "text/javascript",
"text": "/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/\n * ---------------------------------------------------------------------------\n *\n * The DHTML Calendar\n *\n * Details and latest version at:\n * http://dynarch.com/mishoo/calendar.epl\n *\n * This script is distributed under the GNU Lesser General Public License.\n * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html\n *\n * This file defines helper functions for setting up the calendar. They are\n * intended to help non-programmers get a working calendar on their site\n * quickly. This script should not be seen as part of the calendar. It just\n * shows you what one can do with the calendar, while in the same time\n * providing a quick and simple method for setting it up. If you need\n * exhaustive customization of the calendar creation process feel free to\n * modify this code to suit your needs (this is recommended and much better\n * than modifying calendar.js itself).\n */\n\n// $Id: calendar-setup.js,v 1.26 2006/02/11 12:32:59 mishoo Exp $\n\n/**\n * This function \"patches\" an input field (or other element) to use a calendar\n * widget for date selection.\n *\n * The \"params\" is a single object that can have the following properties:\n *\n * prop. name | description\n * -------------------------------------------------------------------------------------------------\n * inputField | the ID of an input field to store the date\n * displayArea | the ID of a DIV or other element to show the date\n * button | ID of a button or other element that will trigger the calendar\n * eventName | event that will trigger the calendar, without the \"on\" prefix (default: \"click\")\n * ifFormat | date format that will be stored in the input field\n * daFormat | the date format that will be used to display the date in displayArea\n * singleClick | (true/false) wether the calendar is in single click mode or not (default: true)\n * firstDay | numeric: 0 to 6. \"0\" means display Sunday first, \"1\" means display Monday first, etc.\n * align | alignment (default: \"Br\"); if you don't know what's this see the calendar documentation\n * range | array with 2 elements. Default: [1900, 2999] -- the range of years available\n * weekNumbers | (true/false) if it's true (default) the calendar will display week numbers\n * flat | null or element ID; if not null the calendar will be a flat calendar having the parent with the given ID\n * flatCallback | function that receives a JS Date object and returns an URL to point the browser to (for flat calendar)\n * disableFunc | function that receives a JS Date object and should return true if that date has to be disabled in the calendar\n * onSelect | function that gets called when a date is selected. You don't _have_ to supply this (the default is generally okay)\n * onClose | function that gets called when the calendar is closed. [default]\n * onUpdate | function that gets called after the date is updated in the input field. Receives a reference to the calendar.\n * date | the date that the calendar will be initially displayed to\n * showsTime | default: false; if true the calendar will include a time selector\n * timeFormat | the time format; can be \"12\" or \"24\", default is \"12\"\n * electric | if true (default) then given fields/date areas are updated for each move; otherwise they're updated only on close\n * step | configures the step of the years in drop-down boxes; default: 2\n * position | configures the calendar absolute position; default: null\n * cache | if \"true\" (but default: \"false\") it will reuse the same calendar object, where possible\n * showOthers | if \"true\" (but default: \"false\") it will show days from other months too\n *\n * None of them is required, they all have default values. However, if you\n * pass none of \"inputField\", \"displayArea\" or \"button\" you'll get a warning\n * saying \"nothing to setup\".\n */\nCalendar.setup = function (params) {\n\tfunction param_default(pname, def) { if (typeof params[pname] == \"undefined\") { params[pname] = def; } };\n\n\tparam_default(\"inputField\", null);\n\tparam_default(\"displayArea\", null);\n\tparam_default(\"button\", null);\n\tparam_default(\"eventName\", \"click\");\n\tparam_default(\"ifFormat\", \"%Y/%m/%d\");\n\tparam_default(\"daFormat\", \"%Y/%m/%d\");\n\tparam_default(\"singleClick\", true);\n\tparam_default(\"disableFunc\", null);\n\tparam_default(\"dateStatusFunc\", params[\"disableFunc\"]);\t// takes precedence if both are defined\n\tparam_default(\"dateTooltipFunc\", null);\n\tparam_default(\"dateText\", null);\n\tparam_default(\"firstDay\", null);\n\tparam_default(\"align\", \"Br\");\n\tparam_default(\"range\", [1900, 2999]);\n\tparam_default(\"weekNumbers\", true);\n\tparam_default(\"flat\", null);\n\tparam_default(\"flatCallback\", null);\n\tparam_default(\"onSelect\", null);\n\tparam_default(\"onClose\", null);\n\tparam_default(\"onUpdate\", null);\n\tparam_default(\"date\", null);\n\tparam_default(\"showsTime\", false);\n\tparam_default(\"timeFormat\", \"24\");\n\tparam_default(\"electric\", true);\n\tparam_default(\"step\", 2);\n\tparam_default(\"position\", null);\n\tparam_default(\"cache\", false);\n\tparam_default(\"showOthers\", false);\n\tparam_default(\"multiple\", null);\n\n\tvar tmp = [\"inputField\", \"displayArea\", \"button\"];\n\tfor (var i in tmp) {\n\t\tif (typeof params[tmp[i]] == \"string\") {\n\t\t\tparams[tmp[i]] = document.getElementById(params[tmp[i]]);\n\t\t}\n\t}\n\tif (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) {\n\t\talert(\"Calendar.setup:\\n Nothing to setup (no fields found). Please check your code\");\n\t\treturn false;\n\t}\n\n\tfunction onSelect(cal) {\n\t\tvar p = cal.params;\n\t\tvar update = (cal.dateClicked || p.electric);\n\t\tif (update && p.inputField) {\n\t\t\tp.inputField.value = cal.date.print(p.ifFormat);\n\t\t\tif (typeof p.inputField.onchange == \"function\")\n\t\t\t\tp.inputField.onchange();\n\t\t}\n\t\tif (update && p.displayArea)\n\t\t\tp.displayArea.innerHTML = cal.date.print(p.daFormat);\n\t\tif (update && typeof p.onUpdate == \"function\")\n\t\t\tp.onUpdate(cal);\n\t\tif (update && p.flat) {\n\t\t\tif (typeof p.flatCallback == \"function\")\n\t\t\t\tp.flatCallback(cal);\n\t\t}\n\t\tif (update && p.singleClick && cal.dateClicked)\n\t\t\tcal.callCloseHandler();\n\t};\n\n\tif (params.flat != null) {\n\t\tif (typeof params.flat == \"string\")\n\t\t\tparams.flat = document.getElementById(params.flat);\n\t\tif (!params.flat) {\n\t\t\talert(\"Calendar.setup:\\n Flat specified but can't find parent.\");\n\t\t\treturn false;\n\t\t}\n\t\tvar cal = new Calendar(params.firstDay, params.date, params.onSelect || onSelect);\n\t\tcal.setDateToolTipHandler(params.dateTooltipFunc);\n\t\tcal.showsOtherMonths = params.showOthers;\n\t\tcal.showsTime = params.showsTime;\n\t\tcal.time24 = (params.timeFormat == \"24\");\n\t\tcal.params = params;\n\t\tcal.weekNumbers = params.weekNumbers;\n\t\tcal.setRange(params.range[0], params.range[1]);\n\t\tcal.setDateStatusHandler(params.dateStatusFunc);\n\t\tcal.getDateText = params.dateText;\n\t\tif (params.ifFormat) {\n\t\t\tcal.setDateFormat(params.ifFormat);\n\t\t}\n\t\tif (params.inputField && typeof params.inputField.value == \"string\") {\n\t\t\tcal.parseDate(params.inputField.value);\n\t\t}\n\t\tcal.create(params.flat);\n\t\tcal.show();\n\t\treturn false;\n\t}\n\n\tvar triggerEl = params.button || params.displayArea || params.inputField;\n\ttriggerEl[\"on\" + params.eventName] = function() {\n\t\tvar dateEl = params.inputField || params.displayArea;\n\t\tvar dateFmt = params.inputField ? params.ifFormat : params.daFormat;\n\t\tvar mustCreate = false;\n\t\tvar cal = window.calendar;\n\t\tif (dateEl)\n\t\t\tparams.date = Date.parseDate(dateEl.value || dateEl.innerHTML, dateFmt);\n\t\tif (!(cal && params.cache)) {\n\t\t\twindow.calendar = cal = new Calendar(params.firstDay,\n\t\t\t\t\t\t\t params.date,\n\t\t\t\t\t\t\t params.onSelect || onSelect,\n\t\t\t\t\t\t\t params.onClose || function(cal) { cal.hide(); });\n\t\t\tcal.setDateToolTipHandler(params.dateTooltipFunc);\n\t\t\tcal.showsTime = params.showsTime;\n\t\t\tcal.time24 = (params.timeFormat == \"24\");\n\t\t\tcal.weekNumbers = params.weekNumbers;\n\t\t\tmustCreate = true;\n\t\t} else {\n\t\t\tif (params.date)\n\t\t\t\tcal.setDate(params.date);\n\t\t\tcal.hide();\n\t\t}\n\t\tif (params.multiple) {\n\t\t\tcal.multiple = {};\n\t\t\tfor (var i = params.multiple.length; --i >= 0;) {\n\t\t\t\tvar d = params.multiple[i];\n\t\t\t\tvar ds = d.print(\"%Y%m%d\");\n\t\t\t\tcal.multiple[ds] = d;\n\t\t\t}\n\t\t}\n\t\tcal.showsOtherMonths = params.showOthers;\n\t\tcal.yearStep = params.step;\n\t\tcal.setRange(params.range[0], params.range[1]);\n\t\tcal.params = params;\n\t\tcal.setDateStatusHandler(params.dateStatusFunc);\n\t\tcal.getDateText = params.dateText;\n\t\tcal.setDateFormat(dateFmt);\n\t\tif (mustCreate)\n\t\t\tcal.create();\n\t\tcal.refresh();\n\t\tif (!params.position)\n\t\t\tcal.showAtElement(params.button || params.displayArea || params.inputField, params.align);\n\t\telse\n\t\t\tcal.showAt(params.position[0], params.position[1]);\n\t\treturn false;\n\t};\n\n\treturn cal;\n};\n"
},
"redirectURL": "",
"headersSize": 328,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138487",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.065Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/check_hin.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 659,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"1252-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Content-Length",
"value": "1252"
}
],
"cookies": [],
"content": {
"size": 1252,
"mimeType": "text/javascript",
"text": "function mod10CheckCalDig(dig) {\n\tvar ret = dig*2 + \"\";\n\tif (ret.length==2) ret = eval(ret.charAt(0)*1+ret.charAt(1)*1);\n\n\treturn ret;\n}\n\nfunction mod10Check(hinNum) {\n\tvar typeInOK = false;\n\tvar hChar = new Array();\n\tvar sum = 0;\n\tfor (i=0; i<hinNum.length; i++) {\n\t\thChar[i] = hinNum.charAt(i);\n\t}\n\n\tfor (i=0; i<hinNum.length; i=i+2) {\n\t\thChar[i] = mod10CheckCalDig(hChar[i]);\n\t}\n\n\tfor (i=0; i<hinNum.length-1; i++) {\n\t\tsum = eval(sum*1 + hChar[i]*1);\n\t}\n\n\tvar calDigit = 10-(\"\"+sum).charAt((\"\"+sum).length-1) ;\n\tif (hChar[hinNum.length-1] == ( (\"\"+calDigit).charAt((\"\"+calDigit).length-1) )) typeInOK = true;\n\n\treturn typeInOK;\n}\n\nfunction checkTypeNum(typeIn) {\n\tvar typeInOK = true;\n\tvar i = 0;\n\tvar length = typeIn.length;\n\tvar ch;\n\t// walk through a string and find a number\n\tif (length>=1) {\n\t while (i < length) {\n\t\t ch = typeIn.substring(i, i+1);\n\t\t if (ch == \"-\") { i++; continue; }\n\t\t if ((ch < \"0\") || (ch > \"9\") ) {\n\t\t\t typeInOK = false;\n\t\t\t break;\n\t\t }\n\t i++;\n }\n\t} else typeInOK = false;\n\treturn typeInOK;\n}\n\nfunction isValidHin(hin, province) {\n\tif (province!=\"ON\") return(true);\n\tif (hin.length==0) return(true);\n\t\n\tif (hin.length!=10) return(false);\n\tif (!checkTypeNum(hin)) return(false);\n\t\n\treturn(mod10Check(hin));\n}"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.066Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/global.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 656,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 24 Aug 2015 20:39:14 GMT"
},
{
"name": "ETag",
"value": "\"4129-1440448754000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Content-Length",
"value": "4129"
}
],
"cookies": [],
"content": {
"size": 4129,
"mimeType": "text/javascript",
"text": "\n// setfocus to the current window\nfunction setfocus() {\n this.focus();\n}\n\n// refresh this page\nfunction refresh() {\n\t history.go(0);\n}\nfunction showHideItem(id){\n if(document.getElementById(id).style.display == 'none')\n document.getElementById(id).style.display = 'block';\n else\n document.getElementById(id).style.display = 'none';\n}\nvar currentWidth;\n// This function is useful to simulate min-width for the body in IE6 (for popup windows)\nfunction setMinWidth(width){\n if (currentWidth != document.documentElement.clientWidth) {\n document.body.style.width = (document.documentElement.clientWidth < (width+10))? width+\"px\" : \"auto\";\n }\n currentWidth = document.documentElement.clientWidth;\n}\n\n// open a new popup window\nfunction popupPage(vheight,vwidth,varpage) { \n var page = \"\" + varpage;\n windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes\";\n var popup=window.open(page, \"attachment\", windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self; \n }\n }\n}\n//popup and focus\n//allow to specify pageTitle\nfunction popupFocusPage(vheight,vwidth,varpage,pageTitle){\n var page = \"\" + varpage;\n var windowprops = \"height=\"+vheight+\",width=\"+vwidth+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,\"+\n \"screenX=50,screenY=50,top=0,left=0\";\n var popup=window.open(page, pageTitle, windowprops);\n if (popup != null) {\n if (popup.opener == null) {\n popup.opener = self;\n }\n popup.focus();\n }\n}\n// Prompt user if exiting without saving\nfunction onExit() {\n if(confirm(\"Are you sure you wish to exit without saving your changes?\")==true)\n {\n window.close();\n }\n return(false);\n}\n\n// Check if the entered type is a number\nfunction checkTypeNum(typeIn) {\n\tvar typeInOK = true;\n\tvar i = 0;\n\tvar length = typeIn.length;\n\tvar ch;\n\t// walk through a string and find a number\n\tif (length>=1) {\n\t while (i < length) {\n\t\tch = typeIn.substring(i, i+1);\n\t\tif ((ch < \"0\") || (ch > \"9\")) {\n\t\t\ttypeInOK = false;\n\t\t\tbreak;\n\t\t}\n\t i++;\n }\n\t} else typeInOK = false;\n\treturn typeInOK;\n}\n\n// print the current window\nfunction onPrint() {\n\twindows.print();\n}\n\n// change the case of current control's text to upper case\nfunction upCaseCtrl(ctrl) {\n\tctrl.value = ctrl.value.toUpperCase();\n}\n\n\nfunction openBrWindow(theURL,winName,features) { \n window.open(theURL,winName,features);\n}\n\nfunction Check(e) {\n\te.checked = true;\n}\n\nfunction Clear(e) {\n\te.checked = false;\n}\n \nfunction CheckAll(ml) {\n\tvar len = ml.elements.length;\n\tfor (var i = 0; i < len; i++) {\n\t var e = ml.elements[i];\n\t if (e.name == \"checkbox\") {\n\t\t\tCheck(e);\n\t }\n\t}\n}\n\nfunction ClearAll(ml) {\n\tvar len = ml.elements.length;\n\tfor (var i = 0; i < len; i++) {\n\t var e = ml.elements[i];\n\t if (e.name == \"checkbox\") {\n\t\tClear(e);\n\t }\n\t}\n}\n\n//set the focus to this window\nfunction start(){\n\t this.focus();\n}\n\n//close the current window\nfunction closeit() {\n self.opener.refresh();\n close();\n} \n\n//ajax update of the current window\nfunction updateAjax() {\n var parentAjaxId = \"<%=parentAjaxId%>\"; \n if( parentAjaxId != \"null\" ) {\n window.opener.document.forms['encForm'].elements['reloadDiv'].value = parentAjaxId;\n window.opener.updateNeeded = true; \n }\n}\n\nfunction setEnabledAll(form, enabled){\n\tfor (var i = 0; i < form.elements.length; i++) {\n\t\tform.elements[i].disabled=!enabled;\n\t}\n}\n\nfunction getSelectedRadioValue(radioGroup)\n{\n\tfor (var i=0; i<radioGroup.length; i++)\n\t{\n\t\tif (radioGroup[i].checked == true) return(radioGroup[i].value);\n\t}\n}\n\n\nfunction selectSelectListOption(selectList, optionValue)\n{\n\t for (var i=0; i<selectList.options.length; i++)\n\t {\n\t\t if (selectList.options[i].value==optionValue)\n\t\t {\n\t\t\t selectList.selectedIndex=i;\n\t\t\t return;\n\t\t }\n\t } \n}\n\nfunction getSelectListValue(selectList)\n{\n\treturn(selectList.options[selectList.selectedIndex].value);\n}"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138487",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.068Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/Oscar.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 669,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"7027-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=99"
},
{
"name": "Content-Length",
"value": "7027"
}
],
"cookies": [],
"content": {
"size": 7027,
"mimeType": "text/javascript",
"text": "/*\n * \n * Copyright (c) 2001-2002. Department of Family Medicine, McMaster University. All Rights Reserved. *\n * This software is published under the GPL GNU General Public License. \n * This program is free software; you can redistribute it and/or \n * modify it under the terms of the GNU General Public License \n * as published by the Free Software Foundation; either version 2 \n * of the License, or (at your option) any later version. * \n * This program is distributed in the hope that it will be useful, \n * but WITHOUT ANY WARRANTY; without even the implied warranty of \n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the \n * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License \n * along with this program; if not, write to the Free Software \n * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * \n * \n * <OSCAR TEAM>\n * \n * This software was written for the \n * Department of Family Medicine \n * McMaster University \n * Hamilton \n * Ontario, Canada \n */\n\nfunction popup(height, width, url, windowName) {\n return popup2(height, width, 0, 0, url, windowName);\n}\n\n\nfunction popup2(height, width, top, left, url, windowName){ \n var page = url; \n windowprops = \"height=\"+height+\",width=\"+width+\",location=no,scrollbars=yes,menubars=no,toolbars=no,resizable=yes,screenX=0,screenY=0,top=\" + top + \",left=\" + left;\n var popup=window.open(url, windowName, windowprops); \n if (popup != null){ \n if (popup.opener == null){ \n popup.opener = self; \n } \n } \n popup.focus(); \n return popup; \n}\n\nfunction confirmNGo(url, message) {\n if (confirm(message)) {\n location.href = url;\n }\n return false;\n}\n\n\nfunction showHideItem(id){ \n if(document.getElementById(id).style.display == 'none')\n showItem(id); \n else\n hideItem(id); \n}\n\nfunction showItem(id){\n document.getElementById(id).style.display = ''; \n}\n\nfunction hideItem(id){\n document.getElementById(id).style.display = 'none'; \n}\n\n/*\noElm - Mandatory. This is element in whose children you will look for the attribute.\nstrTagName - Mandatory. This is the name of the HTML elements you want to look in. Use wildcard (*) if you want to look in all elements.\nstrAttributeName - Mandatory. The name of the attribute youre looking for.\nstrAttributeValue - Optional. If you want the attribute youre looking for to have a certain value as well. (don't specify it if you don't know it)\n*/\ndocument.getElementsByAttribute = function(oElm, strTagName, strAttributeName, strAttributeValue){\n var arrElements = (strTagName == \"*\" && oElm.all)? oElm.all : oElm.getElementsByTagName(strTagName);\n var arrReturnElements = new Array();\n var oAttributeValue = (typeof strAttributeValue != \"undefined\")? new RegExp(\"(^|\\\\s)\" + strAttributeValue + \"(\\\\s|$)\") : null;\n var oCurrent;\n var oAttribute;\n for(var i=0; i<arrElements.length; i++){\n oCurrent = arrElements[i];\n oAttribute = oCurrent.getAttribute && oCurrent.getAttribute(strAttributeName);\n if(typeof oAttribute == \"string\" && oAttribute.length > 0){\n if(typeof strAttributeValue == \"undefined\" || (oAttributeValue && oAttributeValue.test(oAttribute))){\n arrReturnElements.push(oCurrent);\n }\n }\n }\n return arrReturnElements;\n}\n\nfunction validDate(id) {\n //checks if the <input type=\"text\"> has a valid date format yyyy/mm/dd\n var completeRawDate = document.getElementById(id).value;\n return validDateText(completeRawDate);\n}\n\nfunction validDateText(completeRawDate) {\n//Just another method that validates date in a string, useful if you want to make your own\n//date checking script.\n var delimiter = '/';\n if (completeRawDate.indexOf('/') == -1)\n delimiter = '-';\n var dateArray = completeRawDate.split(delimiter);\n if (dateArray.length != 3) return false;\n year = (dateArray[0] - 0);\n month = (dateArray[1] - 1);\n day = (dateArray[2] - 0);\n //alert(\"year: \" + year + \", \" + month + \", \" + day);\n dateObject = new Date(year,month,day);\n return ((day==dateObject.getDate()) && (month==dateObject.getMonth()) && (year==dateObject.getFullYear()));\n}\n\nfunction validDateFieldsByClass(className, parentEle) {\n//Checks if the dates are valid, identifies date fields by class name; datefield preferrably type=\"text\"\n// parentEle is any object that encloses the fields, usually the form element\n var datefields = document.getElementsByClassName(className, parentEle)\n for (var i=0; i<datefields.length; i++) {\n if (!validDateText(datefields[i].value)) {\n datefields[i].focus();\n return false;\n }\n }\n return true;\n}\n\n//returns mouse coordinates\nfunction getMouseCoords(e) {\n var array = new Array(2);\n\tvar posx = 0;\n\tvar posy = 0;\n\tif (!e) var e = window.event;\n\tif (e.pageX || e.pageY) \t{\n\t\tposx = e.pageX;\n\t\tposy = e.pageY;\n\t}\n\telse if (e.clientX || e.clientY) \t{\n posx = e.clientX + document.body.scrollLeft\n\t\t\t+ document.documentElement.scrollLeft;\n\t\tposy = e.clientY + document.body.scrollTop\n\t\t\t+ document.documentElement.scrollTop;\n\t}\n array[0] = posx;\n array[1] = posy;\n return array;\n}\n\n//example <input type=\"checkbox\" onclick=\"checkAll(this, 'parentEle', 'checkclass')\">\nfunction checkAll(master, parentEle, className){\n var val = master.checked;\n var chkList = document.getElementsByClassName(className, parentEle);\n for (i =0; i < chkList.length; i++){\n chkList[i].checked = val;\n }\n}\n\n//Calls firebugs console log if it's available. A safer way to use the console because if firebug is not enabled the javascript will error on the console.log line.\nfunction oscarLog(str){\n if(window.console){\n console.log(str);\n }\n \n}\n\n\n//Can be use the enter key in a text box and call javacript function\n//example: <itput type=\"text\" onkeypress=\"return grabEnter(event,'ReferralScriptAttach1()')\"/>\nfunction grabEnter(event,callb){\n if( (window.event && window.event.keyCode == 13) || (event && event.which == 13) ) {\n eval(callb);\n return false;\n }\n}\n\n\n\n//Checks to see if a String is numeric integer ie. No decimal aloud\nfunction isNumericInt(sText){\n var validNumChars = \"0123456789\";\n var isNumber=true;\n var chara;\n for (i = 0; i < sText.length && isNumber == true; i++) {\n chara = sText.charAt(i);\n if (validNumChars.indexOf(chara) == -1) {\n isNumber = false;\n }\n }\n return isNumber;\n}\n\n//Checks to see if a String is numeric\nfunction isNumeric(sText){\n var validNumChars = \"0123456789.\";\n var isNumber=true;\n var chara;\n for (i = 0; i < sText.length && isNumber == true; i++) {\n chara = sText.charAt(i);\n if (validNumChars.indexOf(chara) == -1) {\n isNumber = false;\n }\n }\n return isNumber;\n}\n//remove leading and trailing white space\nfunction trim(str){\n str=str.replace(/^\\s+/g,\"\");\n str=str.replace(/\\s+$/g,\"\");//trim str\n return str;\n}"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138483",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.070Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/popupmenu.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 673,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"3601-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=98"
},
{
"name": "Content-Length",
"value": "3601"
}
],
"cookies": [],
"content": {
"size": 3601,
"mimeType": "text/javascript",
"text": "// Copyright <20> 2000 by Apple Computer, Inc., All Rights Reserved.\n//\n// You may incorporate this Apple sample code into your own code\n// without restriction. This Apple sample code has been provided \"AS IS\"\n// and the responsibility for its operation is yours. You may redistribute\n// this code, but you are not permitted to redistribute it as\n// \"Apple sample code\" after having made changes.\n// ********************************\n// application-specific functions *\n// ********************************\n\n// store variables to control where the popup will appear relative to the cursor position\n// positive numbers are below and to the right of the cursor, negative numbers are above and to the left\nvar xOffset = -30;\nvar yOffset = -5;\n\nfunction showPopup (targetObjectId, eventObj) {\n if(eventObj) {\n\t// hide any currently-visible popups\n\thideCurrentPopup();\n\t// stop event from bubbling up any farther\n\teventObj.cancelBubble = true;\n\t// move popup div to current cursor position \n\t// (add scrollTop to account for scrolling for IE)\n\tvar newXCoordinate = (eventObj.pageX)?eventObj.pageX + xOffset:eventObj.x + xOffset + ((document.body.scrollLeft)?document.body.scrollLeft:0);\n\tvar newYCoordinate = (eventObj.pageY)?eventObj.pageY + yOffset:eventObj.y + yOffset + ((document.body.scrollTop)?document.body.scrollTop:0);\n\tmoveObject(targetObjectId, newXCoordinate, newYCoordinate);\n\t// and make it visible\n\tif( changeObjectVisibility(targetObjectId, 'visible') ) {\n\t // if we successfully showed the popup\n\t // store its Id on a globally-accessible object\n\t window.currentlyVisiblePopup = targetObjectId;\n\t return true;\n\t} else {\n\t // we couldn't show the popup, boo hoo!\n\t return false;\n\t}\n } else {\n\t// there was no event object, so we won't be able to position anything, so give up\n\treturn false;\n }\n} // showPopup\n\nfunction hideCurrentPopup() {\n // note: we've stored the currently-visible popup on the global object window.currentlyVisiblePopup\n if(window.currentlyVisiblePopup) {\n\tchangeObjectVisibility(window.currentlyVisiblePopup, 'hidden');\n\twindow.currentlyVisiblePopup = false;\n }\n} // hideCurrentPopup\n\n\n\n// ***********************\n// hacks and workarounds *\n// ***********************\n\n// initialize hacks whenever the page loads\n//window.onload = initializeHacks;\n\n// setup an event handler to hide popups for generic clicks on the document\ndocument.onclick = hideCurrentPopup;\n\nfunction initializeHacks() {\n // this ugly little hack resizes a blank div to make sure you can click\n // anywhere in the window for Mac MSIE 5\n if ((navigator.appVersion.indexOf('MSIE 5') != -1) \n\t&& (navigator.platform.indexOf('Mac') != -1)\n\t&& getStyleObject('blankDiv')) {\n\twindow.onresize = explorerMacResizeFix;\n }\n resizeBlankDiv();\n // this next function creates a placeholder object for older browsers\n createFakeEventObj();\n}\n\nfunction createFakeEventObj() {\n // create a fake event object for older browsers to avoid errors in function call\n // when we need to pass the event object to functions\n if (!window.event) {\n\twindow.event = false;\n }\n} // createFakeEventObj\n\nfunction resizeBlankDiv() {\n // resize blank placeholder div so IE 5 on mac will get all clicks in window\n if ((navigator.appVersion.indexOf('MSIE 5') != -1) \n\t&& (navigator.platform.indexOf('Mac') != -1)\n\t&& getStyleObject('blankDiv')) {\n\tgetStyleObject('blankDiv').width = document.body.clientWidth - 20;\n\tgetStyleObject('blankDiv').height = document.body.clientHeight - 20;\n }\n}\n\nfunction explorerMacResizeFix () {\n location.reload(false);\n}\n\n"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.071Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/share/javascript/menutility.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 674,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"1865-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=98"
},
{
"name": "Content-Length",
"value": "1865"
}
],
"cookies": [],
"content": {
"size": 1865,
"mimeType": "text/javascript",
"text": "// Copyright <20> 2000 by Apple Computer, Inc., All Rights Reserved.\n//\n// You may incorporate this Apple sample code into your own code\n// without restriction. This Apple sample code has been provided \"AS IS\"\n// and the responsibility for its operation is yours. You may redistribute\n// this code, but you are not permitted to redistribute it as\n// \"Apple sample code\" after having made changes.\n//\n// ************************\n// layer utility routines *\n// ************************\n\nfunction getStyleObject(objectId) {\n // cross-browser function to get an object's style object given its id\n if(document.getElementById && document.getElementById(objectId)) {\n\t// W3C DOM\n\treturn document.getElementById(objectId).style;\n } else if (document.all && document.all(objectId)) {\n\t// MSIE 4 DOM\n\treturn document.all(objectId).style;\n } else if (document.layers && document.layers[objectId]) {\n\t// NN 4 DOM.. note: this won't find nested layers\n\treturn document.layers[objectId];\n } else {\n\treturn false;\n }\n} // getStyleObject\n\nfunction changeObjectVisibility(objectId, newVisibility) {\n // get a reference to the cross-browser style object and make sure the object exists\n var styleObject = getStyleObject(objectId);\n if(styleObject) {\n\tstyleObject.visibility = newVisibility;\n\treturn true;\n } else {\n\t// we couldn't find the object, so we can't change its visibility\n\treturn false;\n }\n} // changeObjectVisibility\n\nfunction moveObject(objectId, newXCoordinate, newYCoordinate) {\n // get a reference to the cross-browser style object and make sure the object exists\n var styleObject = getStyleObject(objectId);\n if(styleObject) {\n\tstyleObject.left = newXCoordinate;\n\tstyleObject.top = newYCoordinate;\n\treturn true;\n } else {\n\t// we couldn't find the object, so we can't very well move it\n\treturn false;\n }\n} // moveObject\n\n\n"
},
"redirectURL": "",
"headersSize": 327,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138487",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.072Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/kensington/js/custom/default/master.js",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "JSESSIONID=C89CFAAB236CC41DEBBEEDA066552DC9; _ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "JSESSIONID",
"value": "C89CFAAB236CC41DEBBEEDA066552DC9",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 671,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Last-Modified",
"value": "Mon, 09 Mar 2015 19:32:54 GMT"
},
{
"name": "ETag",
"value": "\"39-1425929574000\""
},
{
"name": "Content-Type",
"value": "text/javascript;charset=UTF-8"
},
{
"name": "Cache-Control",
"value": "no-store, no-cache, must-revalidate"
},
{
"name": "Connection",
"value": "Keep-Alive"
},
{
"name": "Accept-Ranges",
"value": "bytes"
},
{
"name": "Keep-Alive",
"value": "timeout=15, max=97"
},
{
"name": "Content-Length",
"value": "39"
}
],
"cookies": [],
"content": {
"size": 39,
"mimeType": "text/javascript",
"text": "jQuery(document).ready(function(){\n});\n"
},
"redirectURL": "",
"headersSize": 323,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"connection": "138474",
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.207Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "date",
"value": "Tue, 08 Sep 2015 15:48:58 GMT"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "age",
"value": "9101"
},
{
"name": "status",
"value": "200"
},
{
"name": "alt-svc",
"value": "quic=\":443\"; p=\"1\"; ma=604800"
},
{
"name": "content-length",
"value": "33186"
},
{
"name": "x-xss-protection",
"value": "1; mode=block"
},
{
"name": "last-modified",
"value": "Mon, 02 Apr 2012 18:24:28 GMT"
},
{
"name": "server",
"value": "sffe"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "content-type",
"value": "text/javascript; charset=UTF-8"
},
{
"name": "access-control-allow-origin",
"value": "*"
},
{
"name": "alternate-protocol",
"value": "443:quic,p=1"
},
{
"name": "cache-control",
"value": "public, max-age=31536000"
},
{
"name": "timing-allow-origin",
"value": "*"
},
{
"name": "expires",
"value": "Wed, 07 Sep 2016 15:48:58 GMT"
}
],
"cookies": [],
"content": {
"size": 93867,
"mimeType": "text/javascript",
"text": "/*! jQuery v1.7.1 jquery.com | jquery.org/license */\n(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f(\"<\"+a+\">\").appendTo(b),e=d.css(\"display\");d.remove();if(e===\"none\"||e===\"\"){cl||(cl=c.createElement(\"iframe\"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode===\"CSS1Compat\"?\"<!doctype html>\":\"\")+\"<html><body>\"),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,\"display\"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject(\"Microsoft.XMLHTTP\")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g<i;g++){if(g===1)for(h in a.converters)typeof h==\"string\"&&(e[h.toLowerCase()]=a.converters[h]);l=k,k=d[g];if(k===\"*\")k=l;else if(l!==\"*\"&&l!==k){m=l+\" \"+k,n=e[m]||e[\"* \"+k];if(!n){p=b;for(o in e){j=o.split(\" \");if(j[0]===l||j[0]===\"*\"){p=e[j[1]+\" \"+k];if(p){o=e[o],o===!0?n=p:p===!0&&(n=o);break}}}}!n&&!p&&f.error(\"No conversion from \"+m.replace(\" \",\" to \")),n!==!0&&(c=n?n(c):p(o(c)))}}return c}function cb(a,c,d){var e=a.contents,f=a.dataTypes,g=a.responseFields,h,i,j,k;for(i in g)i in d&&(c[g[i]]=d[i]);while(f[0]===\"*\")f.shift(),h===b&&(h=a.mimeType||c.getResponseHeader(\"content-type\"));if(h)for(i in e)if(e[i]&&e[i].test(h)){f.unshift(i);break}if(f[0]in d)j=f[0];else{for(i in d){if(!f[0]||a.converters[i+\" \"+f[0]]){j=i;break}k||(k=i)}j=j||k}if(j){j!==f[0]&&f.unshift(j);return d[j]}}function ca(a,b,c,d){if(f.isArray(b))f.each(b,function(b,e){c||bE.test(a)?d(a,e):ca(a+\"[\"+(typeof e==\"object\"||f.isArray(e)?b:\"\")+\"]\",e,c,d)});else if(!c&&b!=null&&typeof b==\"object\")for(var e in b)ca(a+\"[\"+e+\"]\",b[e],c,d);else d(a,b)}function b_(a,c){var d,e,g=f.ajaxSettings.flatOptions||{};for(d in c)c[d]!==b&&((g[d]?a:e||(e={}))[d]=c[d]);e&&f.extend(!0,a,e)}function b$(a,c,d,e,f,g){f=f||c.dataTypes[0],g=g||{},g[f]=!0;var h=a[f],i=0,j=h?h.length:0,k=a===bT,l;for(;i<j&&(k||!l);i++)l=h[i](c,d,e),typeof l==\"string\"&&(!k||g[l]?l=b:(c.dataTypes.unshift(l),l=b$(a,c,d,e,l,g)));(k||!l)&&!g[\"*\"]&&(l=b$(a,c,d,e,\"*\",g));return l}function bZ(a){return function(b,c){typeof b!=\"string\"&&(c=b,b=\"*\");if(f.isFunction(c)){var d=b.toLowerCase().split(bP),e=0,g=d.length,h,i,j;for(;e<g;e++)h=d[e],j=/^\\+/.test(h),j&&(h=h.substr(1)||\"*\"),i=a[h]=a[h]||[],i[j?\"unshift\":\"push\"](c)}}}function bC(a,b,c){var d=b===\"width\"?a.offsetWidth:a.offsetHeight,e=b===\"width\"?bx:by,g=0,h=e.length;if(d>0){if(c!==\"border\")for(;g<h;g++)c||(d-=parseFloat(f.css(a,\"padding\"+e[g]))||0),c===\"margin\"?d+=parseFloat(f.css(a,c+e[g]))||0:d-=parseFloat(f.css(a,\"border\"+e[g]+\"Width\"))||0;return d+\"px\"}d=bz(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0;if(c)for(;g<h;g++)d+=parseFloat(f.css(a,\"padding\"+e[g]))||0,c!==\"padding\"&&(d+=parseFloat(f.css(a,\"border\"+e[g]+\"Width\"))||0),c===\"margin\"&&(d+=parseFloat(f.css(a,c+e[g]))||0);return d+\"px\"}function bp(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:\"script\"}):f.globalEval((b.text||b.textContent||b.innerHTML||\"\").replace(bf,\"/*$0*/\")),b.parentNode&&b.parentNode.removeChild(b)}function bo(a){var b=c.createElement(\"div\");bh.appendChild(b),b.innerHTML=a.outerHTML;return b.firstChild}function bn(a){var b=(a.nodeName||\"\").toLowerCase();b===\"input\"?bm(a):b!==\"script\"&&typeof a.getElementsByTagName!=\"undefined\"&&f.grep(a.getElementsByTagName(\"input\"),bm)}function bm(a){if(a.type===\"checkbox\"||a.type===\"radio\")a.defaultChecked=a.checked}function bl(a){return typeof a.getElementsByTagName!=\"undefined\"?a.getElementsByTagName(\"*\"):typeof a.querySelectorAll!=\"undefined\"?a.querySelectorAll(\"*\"):[]}function bk(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c===\"object\")b.outerHTML=a.outerHTML;else if(c!==\"input\"||a.type!==\"checkbox\"&&a.type!==\"radio\"){if(c===\"option\")b.selected=a.defaultSelected;else if(c===\"input\"||c===\"textarea\")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bj(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d<e;d++)f.event.add(b,c+(i[c][d].namespace?\".\":\"\")+i[c][d].namespace,i[c][d],i[c][d].data)}h.data&&(h.data=f.extend({},h.data))}}function bi(a,b){return f.nodeName(a,\"table\")?a.getElementsByTagName(\"tbody\")[0]||a.appendChild(a.ownerDocument.createElement(\"tbody\")):a}function U(a){var b=V.split(\"|\"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function T(a,b,c){b=b||0;if(f.isFunction(b))return f.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return f.grep(a,function(a,d){return a===b===c});if(typeof b==\"string\"){var d=f.grep(a,function(a){return a.nodeType===1});if(O.test(b))return f.filter(b,d,!c);b=f.filter(b,d)}return f.grep(a,function(a,d){return f.inArray(a,b)>=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+\"defer\",e=b+\"queue\",g=b+\"mark\",h=f._data(a,d);h&&(c===\"queue\"||!f._data(a,e))&&(c===\"mark\"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b===\"data\"&&f.isEmptyObject(a[b]))continue;if(b!==\"toJSON\")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e=\"data-\"+c.replace(k,\"-$1\").toLowerCase();d=a.getAttribute(e);if(typeof d==\"string\"){try{d=d===\"true\"?!0:d===\"false\"?!1:d===\"null\"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\\s+/);for(c=0,d=a.length;c<d;c++)b[a[c]]=!0;return b}var c=a.document,d=a.navigator,e=a.location,f=function(){function J(){if(!e.isReady){try{c.documentElement.doScroll(\"left\")}catch(a){setTimeout(J,1);return}e.ready()}}var e=function(a,b){return new e.fn.init(a,b,h)},f=a.jQuery,g=a.$,h,i=/^(?:[^#<]*(<[\\w\\W]+>)[^>]*$|#([\\w\\-]*)$)/,j=/\\S/,k=/^\\s+/,l=/\\s+$/,m=/^<(\\w+)\\s*\\/?>(?:<\\/\\1>)?$/,n=/^[\\],:{}\\s]*$/,o=/\\\\(?:[\"\\\\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/\"[^\"\\\\\\n\\r]*\"|true|false|null|-?\\d+(?:\\.\\d*)?(?:[eE][+\\-]?\\d+)?/g,q=/(?:^|:|,)(?:\\s*\\[)+/g,r=/(webkit)[ \\/]([\\w.]+)/,s=/(opera)(?:.*version)?[ \\/]([\\w.]+)/,t=/(msie) ([\\w.]+)/,u=/(mozilla)(?:.*? rv:([\\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+\"\").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a===\"body\"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a==\"string\"){a.charAt(0)!==\"<\"||a.charAt(a.length-1)!==\">\"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:\"\",jquery:\"1.7.1\",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b===\"find\"?d.selector=this.selector+(this.selector?\" \":\"\")+c:b&&(d.selector=this.selector+\".\"+b+\"(\"+c+\")\");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),\"slice\",F.call(arguments).join(\",\"))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i==\"boolean\"&&(l=i,i=arguments[1]||{},j=2),typeof i!=\"object\"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j<k;j++)if((a=arguments[j])!=null)for(c in a){d=i[c],f=a[c];if(i===f)continue;l&&f&&(e.isPlainObject(f)||(g=e.isArray(f)))?(g?(g=!1,h=d&&e.isArray(d)?d:[]):h=d&&e.isPlainObject(d)?d:{},i[c]=e.extend(l,h,f)):f!==b&&(i[c]=f)}return i},e.extend({noConflict:function(b){a.$===e&&(a.$=g),b&&a.jQuery===e&&(a.jQuery=f);return e},isReady:!1,readyWait:1,holdReady:function(a){a?e.readyWait++:e.ready(!0)},ready:function(a){if(a===!0&&!--e.readyWait||a!==!0&&!e.isReady){if(!c.body)return setTimeout(e.ready,1);e.isReady=!0;if(a!==!0&&--e.readyWait>0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger(\"ready\").off(\"ready\")}},bindReady:function(){if(!A){A=e.Callbacks(\"once memory\");if(c.readyState===\"complete\")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener(\"DOMContentLoaded\",B,!1),a.addEventListener(\"load\",e.ready,!1);else if(c.attachEvent){c.attachEvent(\"onreadystatechange\",B),a.attachEvent(\"onload\",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)===\"function\"},isArray:Array.isArray||function(a){return e.type(a)===\"array\"},isWindow:function(a){return a&&typeof a==\"object\"&&\"setInterval\"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||\"object\"},isPlainObject:function(a){if(!a||e.type(a)!==\"object\"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,\"constructor\")&&!D.call(a.constructor.prototype,\"isPrototypeOf\"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!=\"string\"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,\"@\").replace(p,\"]\").replace(q,\"\")))return(new Function(\"return \"+b))();e.error(\"Invalid JSON: \"+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,\"text/xml\")):(d=new ActiveXObject(\"Microsoft.XMLDOM\"),d.async=\"false\",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName(\"parsererror\").length)&&e.error(\"Invalid XML: \"+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,\"ms-\").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g<h;)if(c.apply(a[g++],d)===!1)break}else if(i){for(f in a)if(c.call(a[f],f,a[f])===!1)break}else for(;g<h;)if(c.call(a[g],g,a[g++])===!1)break;return a},trim:G?function(a){return a==null?\"\":G.call(a)}:function(a){return a==null?\"\":(a+\"\").replace(k,\"\").replace(l,\"\")},makeArray:function(a,b){var c=b||[];if(a!=null){var d=e.type(a);a.length==null||d===\"string\"||d===\"function\"||d===\"regexp\"||e.isWindow(a)?E.call(c,a):e.merge(c,a)}return c},inArray:function(a,b,c){var d;if(b){if(H)return H.call(b,a,c);d=b.length,c=c?c<0?Math.max(0,d+c):c:0;for(;c<d;c++)if(c in b&&b[c]===a)return c}return-1},merge:function(a,c){var d=a.length,e=0;if(typeof c.length==\"number\")for(var f=c.length;e<f;e++)a[d++]=c[e];else while(c[e]!==b)a[d++]=c[e++];a.length=d;return a},grep:function(a,b,c){var d=[],e;c=!!c;for(var f=0,g=a.length;f<g;f++)e=!!b(a[f],f),c!==e&&d.push(a[f]);return d},map:function(a,c,d){var f,g,h=[],i=0,j=a.length,k=a instanceof e||j!==b&&typeof j==\"number\"&&(j>0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i<j;i++)f=c(a[i],i,d),f!=null&&(h[h.length]=f);else for(g in a)f=c(a[g],g,d),f!=null&&(h[h.length]=f);return h.concat.apply([],h)},guid:1,proxy:function(a,c){if(typeof c==\"string\"){var d=a[c];c=a,a=d}if(!e.isFunction(a))return b;var f=F.call(arguments,2),g=function(){return a.apply(c,f.concat(F.call(arguments)))};g.guid=a.guid=a.guid||g.guid||e.guid++;return g},access:function(a,c,d,f,g,h){var i=a.length;if(typeof c==\"object\"){for(var j in c)e.access(a,j,c[j],f,g,d);return a}if(d!==b){f=!h&&f&&e.isFunction(d);for(var k=0;k<i;k++)g(a[k],c,f?d.call(a[k],k,g(a[k],c)):d,h);return a}return i?g(a[0],c):b},now:function(){return(new Date).getTime()},uaMatch:function(a){a=a.toLowerCase();var b=r.exec(a)||s.exec(a)||t.exec(a)||a.indexOf(\"compatible\")<0&&u.exec(a)||[];return{browser:b[1]||\"\",version:b[2]||\"0\"}},sub:function(){function a(b,c){return new a.fn.init(b,c)}e.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function(d,f){f&&f instanceof e&&!(f instanceof a)&&(f=a(f));return e.fn.init.call(this,d,f,b)},a.fn.init.prototype=a.fn;var b=a(c);return a},browser:{}}),e.each(\"Boolean Number String Function Array Date RegExp Object\".split(\" \"),function(a,b){I[\"[object \"+b+\"]\"]=b.toLowerCase()}),z=e.uaMatch(y),z.browser&&(e.browser[z.browser]=!0,e.browser.version=z.version),e.browser.webkit&&(e.browser.safari=!0),j.test(\" \")&&(k=/^[\\s\\xA0]+/,l=/[\\s\\xA0]+$/),h=e(c),c.addEventListener?B=function(){c.removeEventListener(\"DOMContentLoaded\",B,!1),e.ready()}:c.attachEvent&&(B=function(){c.readyState===\"complete\"&&(c.detachEvent(\"onreadystatechange\",B),e.ready())});return e}(),g={};f.Callbacks=function(a){a=a?g[a]||h(a):{};var c=[],d=[],e,i,j,k,l,m=function(b){var d,e,g,h,i;for(d=0,e=b.length;d<e;d++)g=b[d],h=f.type(g),h===\"array\"?m(g):h===\"function\"&&(!a.unique||!o.has(g))&&c.push(g)},n=function(b,f){f=f||[],e=!a.memory||[b,f],i=!0,l=j||0,j=0,k=c.length;for(;c&&l<k;l++)if(c[l].apply(b,f)===!1&&a.stopOnFalse){e=!0;break}i=!1,c&&(a.once?e===!0?o.disable():c=[]:d&&d.length&&(e=d.shift(),o.fireWith(e[0],e[1])))},o={add:function(){if(c){var a=c.length;m(arguments),i?k=c.length:e&&e!==!0&&(j=a,n(e[0],e[1]))}return this},remove:function(){if(c){var b=arguments,d=0,e=b.length;for(;d<e;d++)for(var f=0;f<c.length;f++)if(b[d]===c[f]){i&&f<=k&&(k--,f<=l&&l--),c.splice(f--,1);if(a.unique)break}}return this},has:function(a){if(c){var b=0,d=c.length;for(;b<d;b++)if(a===c[b])return!0}return!1},empty:function(){c=[];return this},disable:function(){c=d=e=b;return this},disabled:function(){return!c},lock:function(){d=b,(!e||e===!0)&&o.disable();return this},locked:function(){return!d},fireWith:function(b,c){d&&(i?a.once||d.push([b,c]):(!a.once||!e)&&n(b,c));return this},fire:function(){o.fireWith(this,arguments);return this},fired:function(){return!!e}};return o};var i=[].slice;f.extend({Deferred:function(a){var b=f.Callbacks(\"once memory\"),c=f.Callbacks(\"once memory\"),d=f.Callbacks(\"memory\"),e=\"pending\",g={resolve:b,reject:c,notify:d},h={done:b.add,fail:c.add,progress:d.add,state:function(){return e},isResolved:b.fired,isRejected:c.fired,then:function(a,b,c){i.done(a).fail(b).progress(c);return this},always:function(){i.done.apply(i,arguments).fail.apply(i,arguments);return this},pipe:function(a,b,c){return f.Deferred(function(d){f.each({done:[a,\"resolve\"],fail:[b,\"reject\"],progress:[c,\"notify\"]},function(a,b){var c=b[0],e=b[1],g;f.isFunction(c)?i[a](function(){g=c.apply(this,arguments),g&&f.isFunction(g.promise)?g.promise().then(d.resolve,d.reject,d.notify):d[e+\"With\"](this===i?d:this,[g])}):i[a](d[e])})}).promise()},promise:function(a){if(a==null)a=h;else for(var b in h)a[b]=h[b];return a}},i=h.promise({}),j;for(j in g)i[j]=g[j].fire,i[j+\"With\"]=g[j].fireWith;i.done(function(){e=\"resolved\"},c.disable,d.lock).fail(function(){e=\"rejected\"},b.disable,d.lock),a&&a.call(i,i);return i},when:function(a){function m(a){return function(b){e[a]=arguments.length>1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c<d;c++)b[c]&&b[c].promise&&f.isFunction(b[c].promise)?b[c].promise().then(l(c),j.reject,m(c)):--g;g||j.resolveWith(j,b)}else j!==a&&j.resolveWith(j,d?[a]:[]);return k}}),f.support=function(){var b,d,e,g,h,i,j,k,l,m,n,o,p,q=c.createElement(\"div\"),r=c.documentElement;q.setAttribute(\"className\",\"t\"),q.innerHTML=\" <link/><table></table><a href='/a' style='top:1px;float:left;opacity:.55;'>a</a><input type='checkbox'/>\",d=q.getElementsByTagName(\"*\"),e=q.getElementsByTagName(\"a\")[0];if(!d||!d.length||!e)return{};g=c.createElement(\"select\"),h=g.appendChild(c.createElement(\"option\")),i=q.getElementsByTagName(\"input\")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName(\"tbody\").length,htmlSerialize:!!q.getElementsByTagName(\"link\").length,style:/top/.test(e.getAttribute(\"style\")),hrefNormalized:e.getAttribute(\"href\")===\"/a\",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value===\"on\",optSelected:h.selected,getSetAttribute:q.className!==\"t\",enctype:!!c.createElement(\"form\").enctype,html5Clone:c.createElement(\"nav\").cloneNode(!0).outerHTML!==\"<:nav></:nav>\",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent(\"onclick\",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent(\"onclick\")),i=c.createElement(\"input\"),i.value=\"t\",i.setAttribute(\"type\",\"radio\"),b.radioValue=i.value===\"t\",i.setAttribute(\"checked\",\"checked\"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML=\"\",a.getComputedStyle&&(j=c.createElement(\"div\"),j.style.width=\"0\",j.style.marginRight=\"0\",q.style.width=\"2px\",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n=\"on\"+o,p=n in q,p||(q.setAttribute(n,\"return;\"),p=typeof q[n]==\"function\"),b[o+\"Bubbles\"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName(\"body\")[0];!r||(j=1,k=\"position:absolute;top:0;left:0;width:1px;height:1px;margin:0;\",m=\"visibility:hidden;border:0;\",n=\"style='\"+k+\"border:5px solid #000;padding:0;'\",o=\"<div \"+n+\"><div></div></div>\"+\"<table \"+n+\" cellpadding='0' cellspacing='0'>\"+\"<tr><td></td></tr></table>\",a=c.createElement(\"div\"),a.style.cssText=m+\"width:0;height:0;position:static;top:0;margin-top:\"+j+\"px\",r.insertBefore(a,r.firstChild),q=c.createElement(\"div\"),a.appendChild(q),q.innerHTML=\"<table><tr><td style='padding:0;border:0;display:none'></td><td>t</td></tr></table>\",l=q.getElementsByTagName(\"td\"),p=l[0].offsetHeight===0,l[0].style.display=\"\",l[1].style.display=\"none\",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML=\"\",q.style.width=q.style.paddingLeft=\"1px\",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!=\"undefined\"&&(q.style.display=\"inline\",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display=\"\",q.innerHTML=\"<div style='width:4px;'></div>\",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position=\"fixed\",e.style.top=\"20px\",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top=\"\",d.style.overflow=\"hidden\",d.style.position=\"relative\",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\\{.*\\}|\\[.*\\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:\"jQuery\"+(f.fn.jquery+Math.random()).replace(/\\D/g,\"\"),noData:{embed:!0,object:\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c==\"string\",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c===\"events\";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c==\"object\"||typeof c==\"function\")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(\" \")));for(e=0,g=b.length;e<g;e++)delete d[b[e]];if(!(c?m:f.isEmptyObject)(d))return}}if(!c){delete j[k].data;if(!m(j[k]))return}f.support.deleteExpando||!j.setInterval?delete j[k]:j[k]=null,i&&(f.support.deleteExpando?delete a[h]:a.removeAttribute?a.removeAttribute(h):a[h]=null)}},_data:function(a,b,c){return f.data(a,b,c,!0)},acceptData:function(a){if(a.nodeName){var b=f.noData[a.nodeName.toLowerCase()];if(b)return b!==!0&&a.getAttribute(\"classid\")===b}return!0}}),f.fn.extend({data:function(a,c){var d,e,g,h=null;if(typeof a==\"undefined\"){if(this.length){h=f.data(this[0]);if(this[0].nodeType===1&&!f._data(this[0],\"parsedAttrs\")){e=this[0].attributes;for(var i=0,j=e.length;i<j;i++)g=e[i].name,g.indexOf(\"data-\")===0&&(g=f.camelCase(g.substring(5)),l(this[0],g,h[g]));f._data(this[0],\"parsedAttrs\",!0)}}return h}if(typeof a==\"object\")return this.each(function(){f.data(this,a)});d=a.split(\".\"),d[1]=d[1]?\".\"+d[1]:\"\";if(c===b){h=this.triggerHandler(\"getData\"+d[1]+\"!\",[d[0]]),h===b&&this.length&&(h=f.data(this[0],a),h=l(this[0],a,h));return h===b&&d[1]?this.data(d[0]):h}return this.each(function(){var b=f(this),e=[d[0],c];b.triggerHandler(\"setData\"+d[1]+\"!\",e),f.data(this,a,c),b.triggerHandler(\"changeData\"+d[1]+\"!\",e)})},removeData:function(a){return this.each(function(){f.removeData(this,a)})}}),f.extend({_mark:function(a,b){a&&(b=(b||\"fx\")+\"mark\",f._data(a,b,(f._data(a,b)||0)+1))},_unmark:function(a,b,c){a!==!0&&(c=b,b=a,a=!1);if(b){c=c||\"fx\";var d=c+\"mark\",e=a?0:(f._data(b,d)||1)-1;e?f._data(b,d,e):(f.removeData(b,d,!0),n(b,c,\"mark\"))}},queue:function(a,b,c){var d;if(a){b=(b||\"fx\")+\"queue\",d=f._data(a,b),c&&(!d||f.isArray(c)?d=f._data(a,b,f.makeArray(c)):d.push(c));return d||[]}},dequeue:function(a,b){b=b||\"fx\";var c=f.queue(a,b),d=c.shift(),e={};d===\"inprogress\"&&(d=c.shift()),d&&(b===\"fx\"&&c.unshift(\"inprogress\"),f._data(a,b+\".run\",e),d.call(a,function(){f.dequeue(a,b)},e)),c.length||(f.removeData(a,b+\"queue \"+b+\".run\",!0),n(a,b,\"queue\"))}}),f.fn.extend({queue:function(a,c){typeof a!=\"string\"&&(c=a,a=\"fx\");if(c===b)return f.queue(this[0],a);return this.each(function(){var b=f.queue(this,a,c);a===\"fx\"&&b[0]!==\"inprogress\"&&f.dequeue(this,a)})},dequeue:function(a){return this.each(function(){f.dequeue(this,a)})},delay:function(a,b){a=f.fx?f.fx.speeds[a]||a:a,b=b||\"fx\";return this.queue(b,function(b,c){var d=setTimeout(b,a);c.stop=function(){clearTimeout(d)}})},clearQueue:function(a){return this.queue(a||\"fx\",[])},promise:function(a,c){function m(){--h||d.resolveWith(e,[e])}typeof a!=\"string\"&&(c=a,a=b),a=a||\"fx\";var d=f.Deferred(),e=this,g=e.length,h=1,i=a+\"defer\",j=a+\"queue\",k=a+\"mark\",l;while(g--)if(l=f.data(e[g],i,b,!0)||(f.data(e[g],j,b,!0)||f.data(e[g],k,b,!0))&&f.data(e[g],i,f.Callbacks(\"once memory\"),!0))h++,l.add(m);m();return d.promise()}});var o=/[\\n\\t\\r]/g,p=/\\s+/,q=/\\r/g,r=/^(?:button|input)$/i,s=/^(?:button|input|object|select|textarea)$/i,t=/^a(?:rea)?$/i,u=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,v=f.support.getSetAttribute,w,x,y;f.fn.extend({attr:function(a,b){return f.access(this,a,b,!0,f.attr)},removeAttr:function(a){return this.each(function(){f.removeAttr(this,a)})},prop:function(a,b){return f.access(this,a,b,!0,f.prop)},removeProp:function(a){a=f.propFix[a]||a;return this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,g,h,i;if(f.isFunction(a))return this.each(function(b){f(this).addClass(a.call(this,b,this.className))});if(a&&typeof a==\"string\"){b=a.split(p);for(c=0,d=this.length;c<d;c++){e=this[c];if(e.nodeType===1)if(!e.className&&b.length===1)e.className=a;else{g=\" \"+e.className+\" \";for(h=0,i=b.length;h<i;h++)~g.indexOf(\" \"+b[h]+\" \")||(g+=b[h]+\" \");e.className=f.trim(g)}}}return this},removeClass:function(a){var c,d,e,g,h,i,j;if(f.isFunction(a))return this.each(function(b){f(this).removeClass(a.call(this,b,this.className))});if(a&&typeof a==\"string\"||a===b){c=(a||\"\").split(p);for(d=0,e=this.length;d<e;d++){g=this[d];if(g.nodeType===1&&g.className)if(a){h=(\" \"+g.className+\" \").replace(o,\" \");for(i=0,j=c.length;i<j;i++)h=h.replace(\" \"+c[i]+\" \",\" \");g.className=f.trim(h)}else g.className=\"\"}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b==\"boolean\";if(f.isFunction(a))return this.each(function(c){f(this).toggleClass(a.call(this,c,this.className,b),b)});return this.each(function(){if(c===\"string\"){var e,g=0,h=f(this),i=b,j=a.split(p);while(e=j[g++])i=d?i:!h.hasClass(e),h[i?\"addClass\":\"removeClass\"](e)}else if(c===\"undefined\"||c===\"boolean\")this.className&&f._data(this,\"__className__\",this.className),this.className=this.className||a===!1?\"\":f._data(this,\"__className__\")||\"\"})},hasClass:function(a){var b=\" \"+a+\" \",c=0,d=this.length;for(;c<d;c++)if(this[c].nodeType===1&&(\" \"+this[c].className+\" \").replace(o,\" \").indexOf(b)>-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h=\"\":typeof h==\"number\"?h+=\"\":f.isArray(h)&&(h=f.map(h,function(a){return a==null?\"\":a+\"\"})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!(\"set\"in c)||c.set(this,h,\"value\")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&\"get\"in c&&(d=c.get(g,\"value\"))!==b)return d;d=g.value;return typeof d==\"string\"?d.replace(q,\"\"):d==null?\"\":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type===\"select-one\";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c<d;c++){e=i[c];if(e.selected&&(f.support.optDisabled?!e.disabled:e.getAttribute(\"disabled\")===null)&&(!e.parentNode.disabled||!f.nodeName(e.parentNode,\"optgroup\"))){b=f(e).val();if(j)return b;h.push(b)}}if(j&&!h.length&&i.length)return f(i[g]).val();return h},set:function(a,b){var c=f.makeArray(b);f(a).find(\"option\").each(function(){this.selected=f.inArray(f(this).val(),c)>=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute==\"undefined\")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&\"set\"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,\"\"+d);return d}if(h&&\"get\"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h<g;h++)e=d[h],e&&(c=f.propFix[e]||e,f.attr(a,e,\"\"),a.removeAttribute(v?e:c),u.test(e)&&c in a&&(a[c]=!1))}},attrHooks:{type:{set:function(a,b){if(r.test(a.nodeName)&&a.parentNode)f.error(\"type property can't be changed\");else if(!f.support.radioValue&&b===\"radio\"&&f.nodeName(a,\"input\")){var c=a.value;a.setAttribute(\"type\",b),c&&(a.value=c);return b}}},value:{get:function(a,b){if(w&&f.nodeName(a,\"button\"))return w.get(a,b);return b in a?a.value:null},set:function(a,b,c){if(w&&f.nodeName(a,\"button\"))return w.set(a,b,c);a.value=b}}},propFix:{tabindex:\"tabIndex\",readonly:\"readOnly\",\"for\":\"htmlFor\",\"class\":\"className\",maxlength:\"maxLength\",cellspacing:\"cellSpacing\",cellpadding:\"cellPadding\",rowspan:\"rowSpan\",colspan:\"colSpan\",usemap:\"useMap\",frameborder:\"frameBorder\",contenteditable:\"contentEditable\"},prop:function(a,c,d){var e,g,h,i=a.nodeType;if(!!a&&i!==3&&i!==8&&i!==2){h=i!==1||!f.isXMLDoc(a),h&&(c=f.propFix[c]||c,g=f.propHooks[c]);return d!==b?g&&\"set\"in g&&(e=g.set(a,d,c))!==b?e:a[c]=d:g&&\"get\"in g&&(e=g.get(a,c))!==null?e:a[c]}},propHooks:{tabIndex:{get:function(a){var c=a.getAttributeNode(\"tabindex\");return c&&c.specified?parseInt(c.value,10):s.test(a.nodeName)||t.test(a.nodeName)&&a.href?0:b}}}}),f.attrHooks.tabindex=f.propHooks.tabIndex,x={get:function(a,c){var d,e=f.prop(a,c);return e===!0||typeof e!=\"boolean\"&&(d=a.getAttributeNode(c))&&d.nodeValue!==!1?c.toLowerCase():b},set:function(a,b,c){var d;b===!1?f.removeAttr(a,c):(d=f.propFix[c]||c,d in a&&(a[d]=!0),a.setAttribute(c,c.toLowerCase()));return c}},v||(y={name:!0,id:!0},w=f.valHooks.button={get:function(a,c){var d;d=a.getAttributeNode(c);return d&&(y[c]?d.nodeValue!==\"\":d.specified)?d.nodeValue:b},set:function(a,b,d){var e=a.getAttributeNode(d);e||(e=c.createAttribute(d),a.setAttributeNode(e));return e.nodeValue=b+\"\"}},f.attrHooks.tabindex.set=w.set,f.each([\"width\",\"height\"],function(a,b){f.attrHooks[b]=f.extend(f.attrHooks[b],{set:function(a,c){if(c===\"\"){a.setAttribute(b,\"auto\");return c}}})}),f.attrHooks.contenteditable={get:w.get,set:function(a,b,c){b===\"\"&&(b=\"false\"),w.set(a,b,c)}}),f.support.hrefNormalized||f.each([\"href\",\"src\",\"width\",\"height\"],function(a,c){f.attrHooks[c]=f.extend(f.attrHooks[c],{get:function(a){var d=a.getAttribute(c,2);return d===null?b:d}})}),f.support.style||(f.attrHooks.style={get:function(a){return a.style.cssText.toLowerCase()||b},set:function(a,b){return a.style.cssText=\"\"+b}}),f.support.optSelected||(f.propHooks.selected=f.extend(f.propHooks.selected,{get:function(a){var b=a.parentNode;b&&(b.selectedIndex,b.parentNode&&b.parentNode.selectedIndex);return null}})),f.support.enctype||(f.propFix.enctype=\"encoding\"),f.support.checkOn||f.each([\"radio\",\"checkbox\"],function(){f.valHooks[this]={get:function(a){return a.getAttribute(\"value\")===null?\"on\":a.value}}}),f.each([\"radio\",\"checkbox\"],function(){f.valHooks[this]=f.extend(f.valHooks[this],{set:function(a,b){if(f.isArray(b))return a.checked=f.inArray(f(a).val(),b)>=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\\.]*)?(?:\\.(.+))?$/,B=/\\bhover(\\.\\S+)?\\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\\w*)(?:#([\\w\\-]+))?(?:\\.([\\w\\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||\"\").toLowerCase(),b[3]=b[3]&&new RegExp(\"(?:^|\\\\s)\"+b[3]+\"(?:\\\\s|$)\"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c[\"class\"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,\"mouseenter$1 mouseleave$1\")};\nf.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!=\"undefined\"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(\" \");for(k=0;k<c.length;k++){l=A.exec(c[k])||[],m=l[1],n=(l[2]||\"\").split(\".\").sort(),s=f.event.special[m]||{},m=(g?s.delegateType:s.bindType)||m,s=f.event.special[m]||{},o=f.extend({type:m,origType:l[1],data:e,handler:d,guid:d.guid,selector:g,quick:G(g),namespace:n.join(\".\")},p),r=j[m];if(!r){r=j[m]=[],r.delegateCount=0;if(!s.setup||s.setup.call(a,e,n,i)===!1)a.addEventListener?a.addEventListener(m,i,!1):a.attachEvent&&a.attachEvent(\"on\"+m,i)}s.add&&(s.add.call(a,o),o.handler.guid||(o.handler.guid=d.guid)),g?r.splice(r.delegateCount++,0,o):r.push(o),f.event.global[m]=!0}a=null}},global:{},remove:function(a,b,c,d,e){var g=f.hasData(a)&&f._data(a),h,i,j,k,l,m,n,o,p,q,r,s;if(!!g&&!!(o=g.events)){b=f.trim(I(b||\"\")).split(\" \");for(h=0;h<b.length;h++){i=A.exec(b[h])||[],j=k=i[1],l=i[2];if(!j){for(j in o)f.event.remove(a,j+b[h],c,d,!0);continue}p=f.event.special[j]||{},j=(d?p.delegateType:p.bindType)||j,r=o[j]||[],m=r.length,l=l?new RegExp(\"(^|\\\\.)\"+l.split(\".\").sort().join(\"\\\\.(?:.*\\\\.)?\")+\"(\\\\.|$)\"):null;for(n=0;n<r.length;n++)s=r[n],(e||k===s.origType)&&(!c||c.guid===s.guid)&&(!l||l.test(s.namespace))&&(!d||d===s.selector||d===\"**\"&&s.selector)&&(r.splice(n--,1),s.selector&&r.delegateCount--,p.remove&&p.remove.call(a,s));r.length===0&&m!==r.length&&((!p.teardown||p.teardown.call(a,l)===!1)&&f.removeEvent(a,j,g.handle),delete o[j])}f.isEmptyObject(o)&&(q=g.handle,q&&(q.elem=null),f.removeData(a,[\"events\",\"handle\"],!0))}},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(c,d,e,g){if(!e||e.nodeType!==3&&e.nodeType!==8){var h=c.type||c,i=[],j,k,l,m,n,o,p,q,r,s;if(E.test(h+f.event.triggered))return;h.indexOf(\"!\")>=0&&(h=h.slice(0,-1),k=!0),h.indexOf(\".\")>=0&&(i=h.split(\".\"),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c==\"object\"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join(\".\"),c.namespace_re=c.namespace?new RegExp(\"(^|\\\\.)\"+i.join(\"\\\\.(?:.*\\\\.)?\")+\"(\\\\.|$)\"):null,o=h.indexOf(\":\")<0?\"on\"+h:\"\";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l<r.length&&!c.isPropagationStopped();l++)m=r[l][0],c.type=r[l][1],q=(f._data(m,\"events\")||{})[c.type]&&f._data(m,\"handle\"),q&&q.apply(m,d),q=o&&m[o],q&&f.acceptData(m)&&q.apply(m,d)===!1&&c.preventDefault();c.type=h,!g&&!c.isDefaultPrevented()&&(!p._default||p._default.apply(e.ownerDocument,d)===!1)&&(h!==\"click\"||!f.nodeName(e,\"a\"))&&f.acceptData(e)&&o&&e[h]&&(h!==\"focus\"&&h!==\"blur\"||c.target.offsetWidth!==0)&&!f.isWindow(e)&&(n=e[o],n&&(e[o]=null),f.event.triggered=h,e[h](),f.event.triggered=b,n&&(e[o]=n));return c.result}},dispatch:function(c){c=f.event.fix(c||a.event);var d=(f._data(this,\"events\")||{})[c.type]||[],e=d.delegateCount,g=[].slice.call(arguments,0),h=!c.exclusive&&!c.namespace,i=[],j,k,l,m,n,o,p,q,r,s,t;g[0]=c,c.delegateTarget=this;if(e&&!c.target.disabled&&(!c.button||c.type!==\"click\")){m=f(this),m.context=this.ownerDocument||this;for(l=c.target;l!=this;l=l.parentNode||this){o={},q=[],m[0]=l;for(j=0;j<e;j++)r=d[j],s=r.selector,o[s]===b&&(o[s]=r.quick?H(l,r.quick):m.is(s)),o[s]&&q.push(r);q.length&&i.push({elem:l,matches:q})}}d.length>e&&i.push({elem:this,matches:d.slice(e)});for(j=0;j<i.length&&!c.isPropagationStopped();j++){p=i[j],c.currentTarget=p.elem;for(k=0;k<p.matches.length&&!c.isImmediatePropagationStopped();k++){r=p.matches[k];if(h||!c.namespace&&!r.namespace||c.namespace_re&&c.namespace_re.test(r.namespace))c.data=r.data,c.handleObj=r,n=((f.event.special[r.origType]||{}).handle||r.handler).apply(p.elem,g),n!==b&&(c.result=n,n===!1&&(c.preventDefault(),c.stopPropagation()))}}return c.result},props:\"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which\".split(\" \"),fixHooks:{},keyHooks:{props:\"char charCode key keyCode\".split(\" \"),filter:function(a,b){a.which==null&&(a.which=b.charCode!=null?b.charCode:b.keyCode);return a}},mouseHooks:{props:\"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement\".split(\" \"),filter:function(a,d){var e,f,g,h=d.button,i=d.fromElement;a.pageX==null&&d.clientX!=null&&(e=a.target.ownerDocument||c,f=e.documentElement,g=e.body,a.pageX=d.clientX+(f&&f.scrollLeft||g&&g.scrollLeft||0)-(f&&f.clientLeft||g&&g.clientLeft||0),a.pageY=d.clientY+(f&&f.scrollTop||g&&g.scrollTop||0)-(f&&f.clientTop||g&&g.clientTop||0)),!a.relatedTarget&&i&&(a.relatedTarget=i===a.target?d.toElement:i),!a.which&&h!==b&&(a.which=h&1?1:h&2?3:h&4?2:0);return a}},fix:function(a){if(a[f.expando])return a;var d,e,g=a,h=f.event.fixHooks[a.type]||{},i=h.props?this.props.concat(h.props):this.props;a=f.Event(g);for(d=i.length;d;)e=i[--d],a[e]=g[e];a.target||(a.target=g.srcElement||c),a.target.nodeType===3&&(a.target=a.target.parentNode),a.metaKey===b&&(a.metaKey=a.ctrlKey);return h.filter?h.filter(a,g):a},special:{ready:{setup:f.bindReady},load:{noBubble:!0},focus:{delegateType:\"focusin\"},blur:{delegateType:\"focusout\"},beforeunload:{setup:function(a,b,c){f.isWindow(this)&&(this.onbeforeunload=c)},teardown:function(a,b){this.onbeforeunload===b&&(this.onbeforeunload=null)}}},simulate:function(a,b,c,d){var e=f.extend(new f.Event,c,{type:a,isSimulated:!0,originalEvent:{}});d?f.event.trigger(e,null,b):f.event.dispatch.call(b,e),e.isDefaultPrevented()&&c.preventDefault()}},f.event.handle=f.event.dispatch,f.removeEvent=c.removeEventListener?function(a,b,c){a.removeEventListener&&a.removeEventListener(b,c,!1)}:function(a,b,c){a.detachEvent&&a.detachEvent(\"on\"+b,c)},f.Event=function(a,b){if(!(this instanceof f.Event))return new f.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||a.returnValue===!1||a.getPreventDefault&&a.getPreventDefault()?K:J):this.type=a,b&&f.extend(this,b),this.timeStamp=a&&a.timeStamp||f.now(),this[f.expando]=!0},f.Event.prototype={preventDefault:function(){this.isDefaultPrevented=K;var a=this.originalEvent;!a||(a.preventDefault?a.preventDefault():a.returnValue=!1)},stopPropagation:function(){this.isPropagationStopped=K;var a=this.originalEvent;!a||(a.stopPropagation&&a.stopPropagation(),a.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=K,this.stopPropagation()},isDefaultPrevented:J,isPropagationStopped:J,isImmediatePropagationStopped:J},f.each({mouseenter:\"mouseover\",mouseleave:\"mouseout\"},function(a,b){f.event.special[a]={delegateType:b,bindType:b,handle:function(a){var c=this,d=a.relatedTarget,e=a.handleObj,g=e.selector,h;if(!d||d!==c&&!f.contains(c,d))a.type=e.origType,h=e.handler.apply(this,arguments),a.type=b;return h}}}),f.support.submitBubbles||(f.event.special.submit={setup:function(){if(f.nodeName(this,\"form\"))return!1;f.event.add(this,\"click._submit keypress._submit\",function(a){var c=a.target,d=f.nodeName(c,\"input\")||f.nodeName(c,\"button\")?c.form:b;d&&!d._submit_attached&&(f.event.add(d,\"submit._submit\",function(a){this.parentNode&&!a.isTrigger&&f.event.simulate(\"submit\",this.parentNode,a,!0)}),d._submit_attached=!0)})},teardown:function(){if(f.nodeName(this,\"form\"))return!1;f.event.remove(this,\"._submit\")}}),f.support.changeBubbles||(f.event.special.change={setup:function(){if(z.test(this.nodeName)){if(this.type===\"checkbox\"||this.type===\"radio\")f.event.add(this,\"propertychange._change\",function(a){a.originalEvent.propertyName===\"checked\"&&(this._just_changed=!0)}),f.event.add(this,\"click._change\",function(a){this._just_changed&&!a.isTrigger&&(this._just_changed=!1,f.event.simulate(\"change\",this,a,!0))});return!1}f.event.add(this,\"beforeactivate._change\",function(a){var b=a.target;z.test(b.nodeName)&&!b._change_attached&&(f.event.add(b,\"change._change\",function(a){this.parentNode&&!a.isSimulated&&!a.isTrigger&&f.event.simulate(\"change\",this.parentNode,a,!0)}),b._change_attached=!0)})},handle:function(a){var b=a.target;if(this!==b||a.isSimulated||a.isTrigger||b.type!==\"radio\"&&b.type!==\"checkbox\")return a.handleObj.handler.apply(this,arguments)},teardown:function(){f.event.remove(this,\"._change\");return z.test(this.nodeName)}}),f.support.focusinBubbles||f.each({focus:\"focusin\",blur:\"focusout\"},function(a,b){var d=0,e=function(a){f.event.simulate(b,a.target,f.event.fix(a),!0)};f.event.special[b]={setup:function(){d++===0&&c.addEventListener(a,e,!0)},teardown:function(){--d===0&&c.removeEventListener(a,e,!0)}}}),f.fn.extend({on:function(a,c,d,e,g){var h,i;if(typeof a==\"object\"){typeof c!=\"string\"&&(d=c,c=b);for(i in a)this.on(i,c,d,a[i],g);return this}d==null&&e==null?(e=c,d=c=b):e==null&&(typeof c==\"string\"?(e=d,d=b):(e=d,d=c,c=b));if(e===!1)e=J;else if(!e)return this;g===1&&(h=e,e=function(a){f().off(a);return h.apply(this,arguments)},e.guid=h.guid||(h.guid=f.guid++));return this.each(function(){f.event.add(this,a,e,d,c)})},one:function(a,b,c,d){return this.on.call(this,a,b,c,d,1)},off:function(a,c,d){if(a&&a.preventDefault&&a.handleObj){var e=a.handleObj;f(a.delegateTarget).off(e.namespace?e.type+\".\"+e.namespace:e.type,e.selector,e.handler);return this}if(typeof a==\"object\"){for(var g in a)this.off(g,c,a[g]);return this}if(c===!1||typeof c==\"function\")d=c,c=b;d===!1&&(d=J);return this.each(function(){f.event.remove(this,a,d,c)})},bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},live:function(a,b,c){f(this.context).on(a,this.selector,b,c);return this},die:function(a,b){f(this.context).off(a,this.selector||\"**\",b);return this},delegate:function(a,b,c,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length==1?this.off(a,\"**\"):this.off(b,a,c)},trigger:function(a,b){return this.each(function(){f.event.trigger(a,b,this)})},triggerHandler:function(a,b){if(this[0])return f.event.trigger(a,b,this[0],!0)},toggle:function(a){var b=arguments,c=a.guid||f.guid++,d=0,e=function(c){var e=(f._data(this,\"lastToggle\"+a.guid)||0)%d;f._data(this,\"lastToggle\"+a.guid,e+1),c.preventDefault();return b[e].apply(this,arguments)||!1};e.guid=c;while(d<b.length)b[d++].guid=c;return this.click(e)},hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}}),f.each(\"blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu\".split(\" \"),function(a,b){f.fn[b]=function(a,c){c==null&&(c=a,a=null);return arguments.length>0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}if(j.nodeType===1){g||(j[d]=c,j.sizset=h);if(typeof b!=\"string\"){if(j===b){k=!0;break}}else if(m.filter(b,[j]).length>0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h<i;h++){var j=e[h];if(j){var k=!1;j=j[a];while(j){if(j[d]===c){k=e[j.sizset];break}j.nodeType===1&&!g&&(j[d]=c,j.sizset=h);if(j.nodeName.toLowerCase()===b){k=j;break}j=j[a]}e[h]=k}}}var a=/((?:\\((?:\\([^()]+\\)|[^()]+)+\\)|\\[(?:\\[[^\\[\\]]*\\]|['\"][^'\"]*['\"]|[^\\[\\]'\"]+)+\\]|\\\\.|[^ >+~,(\\[\\\\]+)+|[>+~])(\\s*,\\s*)?((?:.|\\r|\\n)*)/g,d=\"sizcache\"+(Math.random()+\"\").replace(\".\",\"\"),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\\\/g,k=/\\r\\n/g,l=/\\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!=\"string\")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(\"\"),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]===\"~\"||w[0]===\"+\")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q=\"\",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)===\"[object Array]\")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b<a.length;b++)a[b]===a[b-1]&&a.splice(b--,1)}return a},m.matches=function(a,b){return m(a,null,null,b)},m.matchesSelector=function(a,b){return m(b,null,null,[a]).length>0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e<f;e++){h=o.order[e];if(g=o.leftMatch[h].exec(a)){i=g[1],g.splice(1,1);if(i.substr(i.length-1)!==\"\\\\\"){g[1]=(g[1]||\"\").replace(j,\"\"),d=o.find[h](g,b,c);if(d!=null){a=a.replace(o.match[h],\"\");break}}}}d||(d=typeof b.getElementsByTagName!=\"undefined\"?b.getElementsByTagName(\"*\"):[]);return{set:d,expr:a}},m.filter=function(a,c,d,e){var f,g,h,i,j,k,l,n,p,q=a,r=[],s=c,t=c&&c[0]&&m.isXML(c[0]);while(a&&c.length){for(h in o.filter)if((f=o.leftMatch[h].exec(a))!=null&&f[2]){k=o.filter[h],l=f[1],g=!1,f.splice(1,1);if(l.substr(l.length-1)===\"\\\\\")continue;s===r&&(r=[]);if(o.preFilter[h]){f=o.preFilter[h](f,s,d,r,e,t);if(!f)g=i=!0;else if(f===!0)continue}if(f)for(n=0;(j=s[n])!=null;n++)j&&(i=k(j,f,n,s),p=e^i,d&&i!=null?p?g=!0:s[n]=!1:p&&(r.push(j),g=!0));if(i!==b){d||(s=r),a=a.replace(o.match[h],\"\");if(!g)return[];break}}if(a===q)if(g==null)m.error(a);else break;q=a}return s},m.error=function(a){throw new Error(\"Syntax error, unrecognized expression: \"+a)};var n=m.getText=function(a){var b,c,d=a.nodeType,e=\"\";if(d){if(d===1||d===9){if(typeof a.textContent==\"string\")return a.textContent;if(typeof a.innerText==\"string\")return a.innerText.replace(k,\"\");for(a=a.firstChild;a;a=a.nextSibling)e+=n(a)}else if(d===3||d===4)return a.nodeValue}else for(b=0;c=a[b];b++)c.nodeType!==8&&(e+=n(c));return e},o=m.selectors={order:[\"ID\",\"NAME\",\"TAG\"],match:{ID:/#((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)/,CLASS:/\\.((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)/,NAME:/\\[name=['\"]*((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)['\"]*\\]/,ATTR:/\\[\\s*((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)\\s*(?:(\\S?=)\\s*(?:(['\"])(.*?)\\3|(#?(?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)*)|)|)\\s*\\]/,TAG:/^((?:[\\w\\u00c0-\\uFFFF\\*\\-]|\\\\.)+)/,CHILD:/:(only|nth|last|first)-child(?:\\(\\s*(even|odd|(?:[+\\-]?\\d+|(?:[+\\-]?\\d*)?n\\s*(?:[+\\-]\\s*\\d+)?))\\s*\\))?/,POS:/:(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\))?(?=[^\\-]|$)/,PSEUDO:/:((?:[\\w\\u00c0-\\uFFFF\\-]|\\\\.)+)(?:\\((['\"]?)((?:\\([^\\)]+\\)|[^\\(\\)]*)+)\\2\\))?/},leftMatch:{},attrMap:{\"class\":\"className\",\"for\":\"htmlFor\"},attrHandle:{href:function(a){return a.getAttribute(\"href\")},type:function(a){return a.getAttribute(\"type\")}},relative:{\"+\":function(a,b){var c=typeof b==\"string\",d=c&&!l.test(b),e=c&&!d;d&&(b=b.toLowerCase());for(var f=0,g=a.length,h;f<g;f++)if(h=a[f]){while((h=h.previousSibling)&&h.nodeType!==1);a[f]=e||h&&h.nodeName.toLowerCase()===b?h||!1:h===b}e&&m.filter(b,a,!0)},\">\":function(a,b){var c,d=typeof b==\"string\",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e<f;e++){c=a[e];if(c){var g=c.parentNode;a[e]=g.nodeName.toLowerCase()===b?g:!1}}}else{for(;e<f;e++)c=a[e],c&&(a[e]=d?c.parentNode:c.parentNode===b);d&&m.filter(b,a,!0)}},\"\":function(a,b,c){var d,f=e++,g=x;typeof b==\"string\"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g(\"parentNode\",b,f,a,d,c)},\"~\":function(a,b,c){var d,f=e++,g=x;typeof b==\"string\"&&!l.test(b)&&(b=b.toLowerCase(),d=b,g=w),g(\"previousSibling\",b,f,a,d,c)}},find:{ID:function(a,b,c){if(typeof b.getElementById!=\"undefined\"&&!c){var d=b.getElementById(a[1]);return d&&d.parentNode?[d]:[]}},NAME:function(a,b){if(typeof b.getElementsByName!=\"undefined\"){var c=[],d=b.getElementsByName(a[1]);for(var e=0,f=d.length;e<f;e++)d[e].getAttribute(\"name\")===a[1]&&c.push(d[e]);return c.length===0?null:c}},TAG:function(a,b){if(typeof b.getElementsByTagName!=\"undefined\")return b.getElementsByTagName(a[1])}},preFilter:{CLASS:function(a,b,c,d,e,f){a=\" \"+a[1].replace(j,\"\")+\" \";if(f)return a;for(var g=0,h;(h=b[g])!=null;g++)h&&(e^(h.className&&(\" \"+h.className+\" \").replace(/[\\t\\n\\r]/g,\" \").indexOf(a)>=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,\"\")},TAG:function(a,b){return a[1].replace(j,\"\").toLowerCase()},CHILD:function(a){if(a[1]===\"nth\"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\\+|\\s*/g,\"\");var b=/(-?)(\\d*)(?:n([+\\-]?\\d*))?/.exec(a[2]===\"even\"&&\"2n\"||a[2]===\"odd\"&&\"2n+1\"||!/\\D/.test(a[2])&&\"0n+\"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,\"\");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||\"\").replace(j,\"\"),a[2]===\"~=\"&&(a[4]=\" \"+a[4]+\" \");return a},PSEUDO:function(b,c,d,e,f){if(b[1]===\"not\")if((a.exec(b[3])||\"\").length>1||/^\\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!==\"hidden\"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute(\"type\"),c=a.type;return a.nodeName.toLowerCase()===\"input\"&&\"text\"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()===\"input\"&&\"radio\"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()===\"input\"&&\"checkbox\"===a.type},file:function(a){return a.nodeName.toLowerCase()===\"input\"&&\"file\"===a.type},password:function(a){return a.nodeName.toLowerCase()===\"input\"&&\"password\"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b===\"input\"||b===\"button\")&&\"submit\"===a.type},image:function(a){return a.nodeName.toLowerCase()===\"input\"&&\"image\"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b===\"input\"||b===\"button\")&&\"reset\"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b===\"input\"&&\"button\"===a.type||b===\"button\"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return b<c[3]-0},gt:function(a,b,c){return b>c[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e===\"contains\")return(a.textContent||a.innerText||n([a])||\"\").indexOf(b[3])>=0;if(e===\"not\"){var g=b[3];for(var h=0,i=g.length;h<i;h++)if(g[h]===a)return!1;return!0}m.error(e)},CHILD:function(a,b){var c,e,f,g,h,i,j,k=b[1],l=a;switch(k){case\"only\":case\"first\":while(l=l.previousSibling)if(l.nodeType===1)return!1;if(k===\"first\")return!0;l=a;case\"last\":while(l=l.nextSibling)if(l.nodeType===1)return!1;return!0;case\"nth\":c=b[2],e=b[3];if(c===1&&e===0)return!0;f=b[0],g=a.parentNode;if(g&&(g[d]!==f||!a.nodeIndex)){i=0;for(l=g.firstChild;l;l=l.nextSibling)l.nodeType===1&&(l.nodeIndex=++i);g[d]=f}j=a.nodeIndex-e;return c===0?j===0:j%c===0&&j/c>=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute(\"id\")===b},TAG:function(a,b){return b===\"*\"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(\" \"+(a.className||a.getAttribute(\"class\"))+\" \").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+\"\",f=b[2],g=b[4];return d==null?f===\"!=\":!f&&m.attr?d!=null:f===\"=\"?e===g:f===\"*=\"?e.indexOf(g)>=0:f===\"~=\"?(\" \"+e+\" \").indexOf(g)>=0:g?f===\"!=\"?e!==g:f===\"^=\"?e.indexOf(g)===0:f===\"$=\"?e.substr(e.length-g.length)===g:f===\"|=\"?e===g||e.substr(0,g.length+1)===g+\"-\":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return\"\\\\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\\[]*\\])(?![^\\(]*\\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\\r|\\n)*?)/.source+o.match[r].source.replace(/\\\\(\\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)===\"[object Array]\")Array.prototype.push.apply(d,a);else if(typeof a.length==\"number\")for(var e=a.length;c<e;c++)d.push(a[c]);else for(;a[c];c++)d.push(a[c]);return d}}var u,v;c.documentElement.compareDocumentPosition?u=function(a,b){if(a===b){h=!0;return 0}if(!a.compareDocumentPosition||!b.compareDocumentPosition)return a.compareDocumentPosition?-1:1;return a.compareDocumentPosition(b)&4?-1:1}:(u=function(a,b){if(a===b){h=!0;return 0}if(a.sourceIndex&&b.sourceIndex)return a.sourceIndex-b.sourceIndex;var c,d,e=[],f=[],g=a.parentNode,i=b.parentNode,j=g;if(g===i)return v(a,b);if(!g)return-1;if(!i)return 1;while(j)e.unshift(j),j=j.parentNode;j=i;while(j)f.unshift(j),j=j.parentNode;c=e.length,d=f.length;for(var k=0;k<c&&k<d;k++)if(e[k]!==f[k])return v(e[k],f[k]);return k===c?v(a,f[k],-1):v(e[k],b,1)},v=function(a,b,c){if(a===b)return c;var d=a.nextSibling;while(d){if(d===b)return-1;d=d.nextSibling}return 1}),function(){var a=c.createElement(\"div\"),d=\"script\"+(new Date).getTime(),e=c.documentElement;a.innerHTML=\"<a name='\"+d+\"'/>\",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!=\"undefined\"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!=\"undefined\"&&e.getAttributeNode(\"id\").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!=\"undefined\"&&a.getAttributeNode(\"id\");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement(\"div\");a.appendChild(c.createComment(\"\")),a.getElementsByTagName(\"*\").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]===\"*\"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML=\"<a href='#'></a>\",a.firstChild&&typeof a.firstChild.getAttribute!=\"undefined\"&&a.firstChild.getAttribute(\"href\")!==\"#\"&&(o.attrHandle.href=function(a){return a.getAttribute(\"href\",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement(\"div\"),d=\"__sizzle__\";b.innerHTML=\"<p class='TEST'></p>\";if(!b.querySelectorAll||b.querySelectorAll(\".TEST\").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\\w+$)|^\\.([\\w\\-]+$)|^#([\\w\\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b===\"body\"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!==\"object\"){var k=e,l=e.getAttribute(\"id\"),n=l||d,p=e.parentNode,q=/^\\s*[+~]/.test(b);l?n=n.replace(/'/g,\"\\\\$&\"):e.setAttribute(\"id\",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll(\"[id='\"+n+\"'] \"+b),f)}catch(r){}finally{l||k.removeAttribute(\"id\")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement(\"div\"),\"div\"),e=!1;try{b.call(c.documentElement,\"[test!='']:sizzle\")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\\=\\s*([^'\"\\]]*)\\s*\\]/g,\"='$1']\");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement(\"div\");a.innerHTML=\"<div class='test e'></div><div class='test'></div>\";if(!!a.getElementsByClassName&&a.getElementsByClassName(\"e\").length!==0){a.lastChild.className=\"e\";if(a.getElementsByClassName(\"e\").length===1)return;o.order.splice(1,0,\"CLASS\"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!=\"undefined\"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!==\"HTML\":!1};var y=function(a,b,c){var d,e=[],f=\"\",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,\"\");a=o.relative[a]?a+\"*\":a;for(var h=0,i=g.length;h<i;h++)m(a,g[h],e,c);return m.filter(f,e)};m.attr=f.attr,m.selectors.attrMap={},f.find=m,f.expr=m.selectors,f.expr[\":\"]=f.expr.filters,f.unique=m.uniqueSort,f.text=m.getText,f.isXMLDoc=m.isXML,f.contains=m.contains}();var L=/Until$/,M=/^(?:parents|prevUntil|prevAll)/,N=/,/,O=/^.[^:#\\[\\.,]*$/,P=Array.prototype.slice,Q=f.expr.match.POS,R={children:!0,contents:!0,next:!0,prev:!0};f.fn.extend({find:function(a){var b=this,c,d;if(typeof a!=\"string\")return f(a).filter(function(){for(c=0,d=b.length;c<d;c++)if(f.contains(b[c],this))return!0});var e=this.pushStack(\"\",\"find\",a),g,h,i;for(c=0,d=this.length;c<d;c++){g=e.length,f.find(a,this[c],e);if(c>0)for(h=g;h<e.length;h++)for(i=0;i<g;i++)if(e[i]===e[h]){e.splice(h--,1);break}}return e},has:function(a){var b=f(a);return this.filter(function(){for(var a=0,c=b.length;a<c;a++)if(f.contains(this,b[a]))return!0})},not:function(a){return this.pushStack(T(this,a,!1),\"not\",a)},filter:function(a){return this.pushStack(T(this,a,!0),\"filter\",a)},is:function(a){return!!a&&(typeof a==\"string\"?Q.test(a)?f(a,this.context).index(this[0])>=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d<a.length;d++)f(g).is(a[d])&&c.push({selector:a[d],elem:g,level:h});g=g.parentNode,h++}return c}var i=Q.test(a)||typeof a!=\"string\"?f(a,b||this.context):0;for(d=0,e=this.length;d<e;d++){g=this[d];while(g){if(i?i.index(g)>-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,\"closest\",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a==\"string\")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a==\"string\"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,\"parentNode\")},parentsUntil:function(a,b,c){return f.dir(a,\"parentNode\",c)},next:function(a){return f.nth(a,2,\"nextSibling\")},prev:function(a){return f.nth(a,2,\"previousSibling\")},nextAll:function(a){return f.dir(a,\"nextSibling\")},prevAll:function(a){return f.dir(a,\"previousSibling\")},nextUntil:function(a,b,c){return f.dir(a,\"nextSibling\",c)},prevUntil:function(a,b,c){return f.dir(a,\"previousSibling\",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,\"iframe\")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d==\"string\"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(\",\"))}}),f.extend({filter:function(a,b,c){c&&(a=\":not(\"+a+\")\");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V=\"abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video\",W=/ jQuery\\d+=\"(?:\\d+|null)\"/g,X=/^\\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\\w:]+)[^>]*)\\/>/ig,Z=/<([\\w:]+)/,$=/<tbody/i,_=/<|&#?\\w+;/,ba=/<(?:script|style)/i,bb=/<(?:script|object|embed|option|style)/i,bc=new RegExp(\"<(?:\"+V+\")\",\"i\"),bd=/checked\\s*(?:[^=]|=\\s*.checked.)/i,be=/\\/(java|ecma)script/i,bf=/^\\s*<!(?:\\[CDATA\\[|\\-\\-)/,bg={option:[1,\"<select multiple='multiple'>\",\"</select>\"],legend:[1,\"<fieldset>\",\"</fieldset>\"],thead:[1,\"<table>\",\"</table>\"],tr:[2,\"<table><tbody>\",\"</tbody></table>\"],td:[3,\"<table><tbody><tr>\",\"</tr></tbody></table>\"],col:[2,\"<table><tbody></tbody><colgroup>\",\"</colgroup></table>\"],area:[1,\"<map>\",\"</map>\"],_default:[0,\"\",\"\"]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,\"div<div>\",\"</div>\"]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!=\"object\"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,\"body\")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,\"before\",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,\"after\",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName(\"*\")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function()\n{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName(\"*\"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,\"\"):null;if(typeof a==\"string\"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||[\"\",\"\"])[1].toLowerCase()]){a=a.replace(Y,\"<$1></$2>\");try{for(var c=0,d=this.length;c<d;c++)this[c].nodeType===1&&(f.cleanData(this[c].getElementsByTagName(\"*\")),this[c].innerHTML=a)}catch(e){this.empty().append(a)}}else f.isFunction(a)?this.each(function(b){var c=f(this);c.html(a.call(this,b,c.html()))}):this.empty().append(a);return this},replaceWith:function(a){if(this[0]&&this[0].parentNode){if(f.isFunction(a))return this.each(function(b){var c=f(this),d=c.html();c.replaceWith(a.call(this,b,d))});typeof a!=\"string\"&&(a=f(a).detach());return this.each(function(){var b=this.nextSibling,c=this.parentNode;f(this).remove(),b?f(b).before(a):f(c).append(a)})}return this.length?this.pushStack(f(f.isFunction(a)?a():a),\"replaceWith\",a):this},detach:function(a){return this.remove(a,!0)},domManip:function(a,c,d){var e,g,h,i,j=a[0],k=[];if(!f.support.checkClone&&arguments.length===3&&typeof j==\"string\"&&bd.test(j))return this.each(function(){f(this).domManip(a,c,d,!0)});if(f.isFunction(j))return this.each(function(e){var g=f(this);a[0]=j.call(this,e,c?g.html():b),g.domManip(a,c,d)});if(this[0]){i=j&&j.parentNode,f.support.parentNode&&i&&i.nodeType===11&&i.childNodes.length===this.length?e={fragment:i}:e=f.buildFragment(a,this,k),h=e.fragment,h.childNodes.length===1?g=h=h.firstChild:g=h.firstChild;if(g){c=c&&f.nodeName(g,\"tr\");for(var l=0,m=this.length,n=m-1;l<m;l++)d.call(c?bi(this[l],g):this[l],e.cacheable||m>1&&l<n?f.clone(h,!0,!0):h)}k.length&&f.each(k,bp)}return this}}),f.buildFragment=function(a,b,d){var e,g,h,i,j=a[0];b&&b[0]&&(i=b[0].ownerDocument||b[0]),i.createDocumentFragment||(i=c),a.length===1&&typeof j==\"string\"&&j.length<512&&i===c&&j.charAt(0)===\"<\"&&!bb.test(j)&&(f.support.checkClone||!bd.test(j))&&(f.support.html5Clone||!bc.test(j))&&(g=!0,h=f.fragments[j],h&&h!==1&&(e=h)),e||(e=i.createDocumentFragment(),f.clean(a,i,e,d)),g&&(f.fragments[j]=h?e:1);return{fragment:e,cacheable:g}},f.fragments={},f.each({appendTo:\"append\",prependTo:\"prepend\",insertBefore:\"before\",insertAfter:\"after\",replaceAll:\"replaceWith\"},function(a,b){f.fn[a]=function(c){var d=[],e=f(c),g=this.length===1&&this[0].parentNode;if(g&&g.nodeType===11&&g.childNodes.length===1&&e.length===1){e[b](this[0]);return this}for(var h=0,i=e.length;h<i;h++){var j=(h>0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test(\"<\"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement==\"undefined\"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k==\"number\"&&(k+=\"\");if(!k)continue;if(typeof k==\"string\")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,\"<$1></$2>\");var l=(Z.exec(k)||[\"\",\"\"])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement(\"div\");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l===\"table\"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===\"<table>\"&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],\"tbody\")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)==\"number\")for(i=0;i<r;i++)bn(k[i]);else bn(k);k.nodeType?h.push(k):h=f.merge(h,k)}if(d){g=function(a){return!a.type||be.test(a.type)};for(j=0;h[j];j++)if(e&&f.nodeName(h[j],\"script\")&&(!h[j].type||h[j].type.toLowerCase()===\"text/javascript\"))e.push(h[j].parentNode?h[j].parentNode.removeChild(h[j]):h[j]);else{if(h[j].nodeType===1){var s=f.grep(h[j].getElementsByTagName(\"script\"),g);h.splice.apply(h,[j+1,0].concat(s))}d.appendChild(h[j])}}return h},cleanData:function(a){var b,c,d=f.cache,e=f.event.special,g=f.support.deleteExpando;for(var h=0,i;(i=a[h])!=null;h++){if(i.nodeName&&f.noData[i.nodeName.toLowerCase()])continue;c=i[f.expando];if(c){b=d[c];if(b&&b.events){for(var j in b.events)e[j]?f.event.remove(i,j):f.removeEvent(i,j,b.handle);b.handle&&(b.handle.elem=null)}g?delete i[f.expando]:i.removeAttribute&&i.removeAttribute(f.expando),delete d[c]}}}});var bq=/alpha\\([^)]*\\)/i,br=/opacity=([^)]*)/,bs=/([A-Z]|^ms)/g,bt=/^-?\\d+(?:px)?$/i,bu=/^-?\\d/,bv=/^([\\-+])=([\\-+.\\de]+)/,bw={position:\"absolute\",visibility:\"hidden\",display:\"block\"},bx=[\"Left\",\"Right\"],by=[\"Top\",\"Bottom\"],bz,bA,bB;f.fn.css=function(a,c){if(arguments.length===2&&c===b)return this;return f.access(this,a,c,!0,function(a,c,d){return d!==b?f.style(a,c,d):f.css(a,c)})},f.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bz(a,\"opacity\",\"opacity\");return c===\"\"?\"1\":c}return a.style.opacity}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{\"float\":f.support.cssFloat?\"cssFloat\":\"styleFloat\"},style:function(a,c,d,e){if(!!a&&a.nodeType!==3&&a.nodeType!==8&&!!a.style){var g,h,i=f.camelCase(c),j=a.style,k=f.cssHooks[i];c=f.cssProps[i]||i;if(d===b){if(k&&\"get\"in k&&(g=k.get(a,!1,e))!==b)return g;return j[c]}h=typeof d,h===\"string\"&&(g=bv.exec(d))&&(d=+(g[1]+1)*+g[2]+parseFloat(f.css(a,c)),h=\"number\");if(d==null||h===\"number\"&&isNaN(d))return;h===\"number\"&&!f.cssNumber[i]&&(d+=\"px\");if(!k||!(\"set\"in k)||(d=k.set(a,d))!==b)try{j[c]=d}catch(l){}}},css:function(a,c,d){var e,g;c=f.camelCase(c),g=f.cssHooks[c],c=f.cssProps[c]||c,c===\"cssFloat\"&&(c=\"float\");if(g&&\"get\"in g&&(e=g.get(a,!0,d))!==b)return e;if(bz)return bz(a,c)},swap:function(a,b,c){var d={};for(var e in b)d[e]=a.style[e],a.style[e]=b[e];c.call(a);for(e in b)a.style[e]=d[e]}}),f.curCSS=f.css,f.each([\"height\",\"width\"],function(a,b){f.cssHooks[b]={get:function(a,c,d){var e;if(c){if(a.offsetWidth!==0)return bC(a,b,d);f.swap(a,bw,function(){e=bC(a,b,d)});return e}},set:function(a,b){if(!bt.test(b))return b;b=parseFloat(b);if(b>=0)return b+\"px\"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||\"\")?parseFloat(RegExp.$1)/100+\"\":b?\"1\":\"\"},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?\"alpha(opacity=\"+b*100+\")\":\"\",g=d&&d.filter||c.filter||\"\";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,\"\"))===\"\"){c.removeAttribute(\"filter\");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+\" \"+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:\"inline-block\"},function(){b?c=bz(a,\"margin-right\",\"marginRight\"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,\"-$1\").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===\"\"&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b===\"fontSize\"?\"1em\":f||0,f=g.pixelLeft+\"px\",g.left=c,d&&(a.runtimeStyle.left=d));return f===\"\"?\"auto\":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,\"display\"))===\"none\"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\\[\\]$/,bF=/\\r?\\n/g,bG=/#.*$/,bH=/^(.*?):[ \\t]*([^\\r\\n]*)\\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\\-storage|.+\\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\\/\\//,bM=/\\?/,bN=/<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\\w\\+\\.\\-]+:)(?:\\/\\/([^\\/?#:]*)(?::(\\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=[\"*/\"]+[\"*\"];try{bV=e.href}catch(bY){bV=c.createElement(\"a\"),bV.href=\"\",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!=\"string\"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(\" \");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h=\"GET\";c&&(f.isFunction(c)?(d=c,c=b):typeof c==\"object\"&&(c=f.param(c,f.ajaxSettings.traditional),h=\"POST\"));var i=this;f.ajax({url:a,type:h,dataType:\"html\",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f(\"<div>\").append(c.replace(bN,\"\")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,\"\\r\\n\")}}):{name:b.name,value:c.replace(bF,\"\\r\\n\")}}).get()}}),f.each(\"ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend\".split(\" \"),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each([\"get\",\"post\"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,\"script\")},getJSON:function(a,b,c){return f.get(a,b,c,\"json\")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:\"GET\",contentType:\"application/x-www-form-urlencoded\",processData:!0,async:!0,accepts:{xml:\"application/xml, text/xml\",html:\"text/html\",text:\"text/plain\",json:\"application/json, text/javascript\",\"*\":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:\"responseXML\",text:\"responseText\"},converters:{\"* text\":a.String,\"text html\":!0,\"text json\":f.parseJSON,\"text xml\":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||\"\",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader(\"Last-Modified\"))f.lastModified[k]=y;if(z=v.getResponseHeader(\"Etag\"))f.etag[k]=z}if(a===304)w=\"notmodified\",o=!0;else try{r=cc(d,x),w=\"success\",o=!0}catch(A){w=\"parsererror\",u=A}}else{u=w;if(!w||a)w=\"error\",a<0&&(a=0)}v.status=a,v.statusText=\"\"+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger(\"ajax\"+(o?\"Success\":\"Error\"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger(\"ajaxComplete\",[v,d]),--f.active||f.event.trigger(\"ajaxStop\"))}}typeof a==\"object\"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks(\"once memory\"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||\"abort\",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+\"\").replace(bG,\"\").replace(bL,bW[1]+\"//\"),d.dataTypes=f.trim(d.dataType||\"*\").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]===\"http:\"?80:443))==(bW[3]||(bW[1]===\"http:\"?80:443)))),d.data&&d.processData&&typeof d.data!=\"string\"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger(\"ajaxStart\");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?\"&\":\"?\")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,\"$1_=\"+x);d.url=y+(y===d.url?(bM.test(d.url)?\"&\":\"?\")+\"_=\"+x:\"\")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader(\"Content-Type\",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader(\"If-Modified-Since\",f.lastModified[k]),f.etag[k]&&v.setRequestHeader(\"If-None-Match\",f.etag[k])),v.setRequestHeader(\"Accept\",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!==\"*\"?\", \"+bX+\"; q=0.01\":\"\"):d.accepts[\"*\"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,\"No Transport\");else{v.readyState=1,t&&g.trigger(\"ajaxSend\",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort(\"timeout\")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+\"=\"+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join(\"&\").replace(bD,\"+\")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\\=)\\?(&|$)|\\?\\?/i;f.ajaxSetup({jsonp:\"callback\",jsonpCallback:function(){return f.expando+\"_\"+cd++}}),f.ajaxPrefilter(\"json jsonp\",function(b,c,d){var e=b.contentType===\"application/x-www-form-urlencoded\"&&typeof b.data==\"string\";if(b.dataTypes[0]===\"jsonp\"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l=\"$1\"+h+\"$2\";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\\?/.test(j)?\"&\":\"?\")+b.jsonp+\"=\"+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters[\"script json\"]=function(){g||f.error(h+\" was not called\");return g[0]},b.dataTypes[0]=\"json\";return\"script\"}}),f.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/javascript|ecmascript/},converters:{\"text script\":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter(\"script\",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type=\"GET\",a.global=!1)}),f.ajaxTransport(\"script\",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName(\"head\")[0]||c.documentElement;return{send:function(f,g){d=c.createElement(\"script\"),d.async=\"async\",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,\"success\")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&\"withCredentials\"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e[\"X-Requested-With\"]&&(e[\"X-Requested-With\"]=\"XMLHttpRequest\");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=\"\"}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\\-]=)?([\\d+.\\-]+)([a-z%]*)$/i,cp,cq=[[\"height\",\"marginTop\",\"marginBottom\",\"paddingTop\",\"paddingBottom\"],[\"width\",\"marginLeft\",\"marginRight\",\"paddingLeft\",\"paddingRight\"],[\"opacity\"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu(\"show\",3),a,b,c);for(var g=0,h=this.length;g<h;g++)d=this[g],d.style&&(e=d.style.display,!f._data(d,\"olddisplay\")&&e===\"none\"&&(e=d.style.display=\"\"),e===\"\"&&f.css(d,\"display\")===\"none\"&&f._data(d,\"olddisplay\",cv(d.nodeName)));for(g=0;g<h;g++){d=this[g];if(d.style){e=d.style.display;if(e===\"\"||e===\"none\")d.style.display=f._data(d,\"olddisplay\")||\"\"}}return this},hide:function(a,b,c){if(a||a===0)return this.animate(cu(\"hide\",3),a,b,c);var d,e,g=0,h=this.length;for(;g<h;g++)d=this[g],d.style&&(e=f.css(d,\"display\"),e!==\"none\"&&!f._data(d,\"olddisplay\")&&f._data(d,\"olddisplay\",e));for(g=0;g<h;g++)this[g].style&&(this[g].style.display=\"none\");return this},_toggle:f.fn.toggle,toggle:function(a,b,c){var d=typeof a==\"boolean\";f.isFunction(a)&&f.isFunction(b)?this._toggle.apply(this,arguments):a==null||d?this.each(function(){var b=d?a:f(this).is(\":hidden\");f(this)[b?\"show\":\"hide\"]()}):this.animate(cu(\"toggle\",3),a,b,c);return this},fadeTo:function(a,b,c,d){return this.filter(\":hidden\").css(\"opacity\",0).show().end().animate({opacity:b},a,c,d)},animate:function(a,b,c,d){function g(){e.queue===!1&&f._mark(this);var b=f.extend({},e),c=this.nodeType===1,d=c&&f(this).is(\":hidden\"),g,h,i,j,k,l,m,n,o;b.animatedProperties={};for(i in a){g=f.camelCase(i),i!==g&&(a[g]=a[i],delete a[i]),h=a[g],f.isArray(h)?(b.animatedProperties[g]=h[1],h=a[g]=h[0]):b.animatedProperties[g]=b.specialEasing&&b.specialEasing[g]||b.easing||\"swing\";if(h===\"hide\"&&d||h===\"show\"&&!d)return b.complete.call(this);c&&(g===\"height\"||g===\"width\")&&(b.overflow=[this.style.overflow,this.style.overflowX,this.style.overflowY],f.css(this,\"display\")===\"inline\"&&f.css(this,\"float\")===\"none\"&&(!f.support.inlineBlockNeedsLayout||cv(this.nodeName)===\"inline\"?this.style.display=\"inline-block\":this.style.zoom=1))}b.overflow!=null&&(this.style.overflow=\"hidden\");for(i in a)j=new f.fx(this,b,i),h=a[i],cn.test(h)?(o=f._data(this,\"toggle\"+i)||(h===\"toggle\"?d?\"show\":\"hide\":0),o?(f._data(this,\"toggle\"+i,o===\"show\"?\"hide\":\"show\"),j[o]()):j[h]()):(k=co.exec(h),l=j.cur(),k?(m=parseFloat(k[2]),n=k[3]||(f.cssNumber[i]?\"\":\"px\"),n!==\"px\"&&(f.style(this,i,(m||1)+n),l=(m||1)/j.cur()*l,f.style(this,i,l+n)),k[1]&&(m=(k[1]===\"-=\"?-1:1)*m+l),j.custom(l,m,n)):j.custom(l,h,\"\"));return!0}var e=f.speed(b,c,d);if(f.isEmptyObject(a))return this.each(e.complete,[!1]);a=f.extend({},a);return e.queue===!1?this.each(g):this.queue(e.queue,g)},stop:function(a,c,d){typeof a!=\"string\"&&(d=c,c=a,a=b),c&&a!==!1&&this.queue(a||\"fx\",[]);return this.each(function(){function h(a,b,c){var e=b[c];f.removeData(a,c,!0),e.stop(d)}var b,c=!1,e=f.timers,g=f._data(this);d||f._unmark(!0,this);if(a==null)for(b in g)g[b]&&g[b].stop&&b.indexOf(\".run\")===b.length-4&&h(this,g,b);else g[b=a+\".run\"]&&g[b].stop&&h(this,g,b);for(b=e.length;b--;)e[b].elem===this&&(a==null||e[b].queue===a)&&(d?e[b](!0):e[b].saveState(),c=!0,e.splice(b,1));(!d||!c)&&f.dequeue(this,a)})}}),f.each({slideDown:cu(\"show\",1),slideUp:cu(\"hide\",1),slideToggle:cu(\"toggle\",1),fadeIn:{opacity:\"show\"},fadeOut:{opacity:\"hide\"},fadeToggle:{opacity:\"toggle\"}},function(a,b){f.fn[a]=function(a,c,d){return this.animate(b,a,c,d)}}),f.extend({speed:function(a,b,c){var d=a&&typeof a==\"object\"?f.extend({},a):{complete:c||!c&&b||f.isFunction(a)&&a,duration:a,easing:c&&b||b&&!f.isFunction(b)&&b};d.duration=f.fx.off?0:typeof d.duration==\"number\"?d.duration:d.duration in f.fx.speeds?f.fx.speeds[d.duration]:f.fx.speeds._default;if(d.queue==null||d.queue===!0)d.queue=\"fx\";d.old=d.complete,d.complete=function(a){f.isFunction(d.old)&&d.old.call(this),d.queue?f.dequeue(this,d.queue):a!==!1&&f._unmark(this)};return d},easing:{linear:function(a,b,c,d){return c+d*a},swing:function(a,b,c,d){return(-Math.cos(a*Math.PI)/2+.5)*d+c}},timers:[],fx:function(a,b,c){this.options=b,this.elem=a,this.prop=c,b.orig=b.orig||{}}}),f.fx.prototype={update:function(){this.options.step&&this.options.step.call(this.elem,this.now,this),(f.fx.step[this.prop]||f.fx.step._default)(this)},cur:function(){if(this.elem[this.prop]!=null&&(!this.elem.style||this.elem.style[this.prop]==null))return this.elem[this.prop];var a,b=f.css(this.elem,this.prop);return isNaN(a=parseFloat(b))?!b||b===\"auto\"?0:b:a},custom:function(a,c,d){function h(a){return e.step(a)}var e=this,g=f.fx;this.startTime=cr||cs(),this.end=c,this.now=this.start=a,this.pos=this.state=0,this.unit=d||this.unit||(f.cssNumber[this.prop]?\"\":\"px\"),h.queue=this.options.queue,h.elem=this.elem,h.saveState=function(){e.options.hide&&f._data(e.elem,\"fxshow\"+e.prop)===b&&f._data(e.elem,\"fxshow\"+e.prop,e.start)},h()&&f.timers.push(h)&&!cp&&(cp=setInterval(g.tick,g.interval))},show:function(){var a=f._data(this.elem,\"fxshow\"+this.prop);this.options.orig[this.prop]=a||f.style(this.elem,this.prop),this.options.show=!0,a!==b?this.custom(this.cur(),a):this.custom(this.prop===\"width\"||this.prop===\"height\"?1:0,this.cur()),f(this.elem).show()},hide:function(){this.options.orig[this.prop]=f._data(this.elem,\"fxshow\"+this.prop)||f.style(this.elem,this.prop),this.options.hide=!0,this.custom(this.cur(),0)},step:function(a){var b,c,d,e=cr||cs(),g=!0,h=this.elem,i=this.options;if(a||e>=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each([\"\",\"X\",\"Y\"],function(a,b){h.style[\"overflow\"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,\"fxshow\"+b,!0),f.removeData(h,\"toggle\"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c<b.length;c++)a=b[c],!a()&&b[c]===a&&b.splice(c--,1);b.length||f.fx.stop()},interval:13,stop:function(){clearInterval(cp),cp=null},speeds:{slow:600,fast:200,_default:400},step:{opacity:function(a){f.style(a.elem,\"opacity\",a.now)},_default:function(a){a.elem.style&&a.elem.style[a.prop]!=null?a.elem.style[a.prop]=a.now+a.unit:a.elem[a.prop]=a.now}}}),f.each([\"width\",\"height\"],function(a,b){f.fx.step[b]=function(a){f.style(a.elem,b,Math.max(0,a.now)+a.unit)}}),f.expr&&f.expr.filters&&(f.expr.filters.animated=function(a){return f.grep(f.timers,function(b){return a===b.elem}).length});var cw=/^t(?:able|d|h)$/i,cx=/^(?:body|html)$/i;\"getBoundingClientRect\"in c.documentElement?f.fn.offset=function(a){var b=this[0],c;if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);try{c=b.getBoundingClientRect()}catch(d){}var e=b.ownerDocument,g=e.documentElement;if(!c||!f.contains(g,b))return c?{top:c.top,left:c.left}:{top:0,left:0};var h=e.body,i=cy(e),j=g.clientTop||h.clientTop||0,k=g.clientLeft||h.clientLeft||0,l=i.pageYOffset||f.support.boxModel&&g.scrollTop||h.scrollTop,m=i.pageXOffset||f.support.boxModel&&g.scrollLeft||h.scrollLeft,n=c.top+l-j,o=c.left+m-k;return{top:n,left:o}}:f.fn.offset=function(a){var b=this[0];if(a)return this.each(function(b){f.offset.setOffset(this,a,b)});if(!b||!b.ownerDocument)return null;if(b===b.ownerDocument.body)return f.offset.bodyOffset(b);var c,d=b.offsetParent,e=b,g=b.ownerDocument,h=g.documentElement,i=g.body,j=g.defaultView,k=j?j.getComputedStyle(b,null):b.currentStyle,l=b.offsetTop,m=b.offsetLeft;while((b=b.parentNode)&&b!==i&&b!==h){if(f.support.fixedPosition&&k.position===\"fixed\")break;c=j?j.getComputedStyle(b,null):b.currentStyle,l-=b.scrollTop,m-=b.scrollLeft,b===d&&(l+=b.offsetTop,m+=b.offsetLeft,f.support.doesNotAddBorder&&(!f.support.doesAddBorderForTableAndCells||!cw.test(b.nodeName))&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),e=d,d=b.offsetParent),f.support.subtractsBorderForOverflowNotVisible&&c.overflow!==\"visible\"&&(l+=parseFloat(c.borderTopWidth)||0,m+=parseFloat(c.borderLeftWidth)||0),k=c}if(k.position===\"relative\"||k.position===\"static\")l+=i.offsetTop,m+=i.offsetLeft;f.support.fixedPosition&&k.position===\"fixed\"&&(l+=Math.max(h.scrollTop,i.scrollTop),m+=Math.max(h.scrollLeft,i.scrollLeft));return{top:l,left:m}},f.offset={bodyOffset:function(a){var b=a.offsetTop,c=a.offsetLeft;f.support.doesNotIncludeMarginInBodyOffset&&(b+=parseFloat(f.css(a,\"marginTop\"))||0,c+=parseFloat(f.css(a,\"marginLeft\"))||0);return{top:b,left:c}},setOffset:function(a,b,c){var d=f.css(a,\"position\");d===\"static\"&&(a.style.position=\"relative\");var e=f(a),g=e.offset(),h=f.css(a,\"top\"),i=f.css(a,\"left\"),j=(d===\"absolute\"||d===\"fixed\")&&f.inArray(\"auto\",[h,i])>-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),\"using\"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,\"marginTop\"))||0,c.left-=parseFloat(f.css(a,\"marginLeft\"))||0,d.top+=parseFloat(f.css(b[0],\"borderTopWidth\"))||0,d.left+=parseFloat(f.css(b[0],\"borderLeftWidth\"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,\"position\")===\"static\")a=a.offsetParent;return a})}}),f.each([\"Left\",\"Top\"],function(a,c){var d=\"scroll\"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?\"pageXOffset\"in g?g[a?\"pageYOffset\":\"pageXOffset\"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each([\"Height\",\"Width\"],function(a,c){var d=c.toLowerCase();f.fn[\"inner\"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,\"padding\")):this[d]():null},f.fn[\"outer\"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?\"margin\":\"border\")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement[\"client\"+c],h=e.document.body;return e.document.compatMode===\"CSS1Compat\"&&g||h&&h[\"client\"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement[\"client\"+c],e.body[\"scroll\"+c],e.documentElement[\"scroll\"+c],e.body[\"offset\"+c],e.documentElement[\"offset\"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a==\"string\"?a:a+\"px\")}}),a.jQuery=a.$=f,typeof define==\"function\"&&define.amd&&define.amd.jQuery&&define(\"jquery\",[],function(){return f})})(window);"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.207Z",
"time": 0,
"request": {
"method": "GET",
"url": "https://ajax.googleapis.com/ajax/libs/jqueryui/1.8.17/jquery-ui.min.js",
"httpVersion": "unknown",
"headers": [
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
}
],
"queryString": [],
"cookies": [],
"headersSize": -1,
"bodySize": 0
},
"response": {
"status": 200,
"statusText": "OK",
"httpVersion": "unknown",
"headers": [
{
"name": "date",
"value": "Tue, 08 Sep 2015 15:49:00 GMT"
},
{
"name": "content-encoding",
"value": "gzip"
},
{
"name": "x-content-type-options",
"value": "nosniff"
},
{
"name": "age",
"value": "9099"
},
{
"name": "status",
"value": "200"
},
{
"name": "alt-svc",
"value": "quic=\":443\"; p=\"1\"; ma=604800"
},
{
"name": "content-length",
"value": "51818"
},
{
"name": "x-xss-protection",
"value": "1; mode=block"
},
{
"name": "last-modified",
"value": "Mon, 02 Apr 2012 18:24:28 GMT"
},
{
"name": "server",
"value": "sffe"
},
{
"name": "vary",
"value": "Accept-Encoding"
},
{
"name": "content-type",
"value": "text/javascript; charset=UTF-8"
},
{
"name": "access-control-allow-origin",
"value": "*"
},
{
"name": "alternate-protocol",
"value": "443:quic,p=1"
},
{
"name": "cache-control",
"value": "public, max-age=31536000"
},
{
"name": "timing-allow-origin",
"value": "*"
},
{
"name": "expires",
"value": "Wed, 07 Sep 2016 15:49:00 GMT"
}
],
"cookies": [],
"content": {
"size": 202321,
"mimeType": "text/javascript",
"text": "/*!\n * jQuery UI 1.8.17\n *\n * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about)\n * Dual licensed under the MIT or GPL Version 2 licenses.\n * http://jquery.org/license\n *\n * http://docs.jquery.com/UI\n */(function(a,b){function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,\"visibility\")===\"hidden\"||a.expr.filters.hidden(this)}).length}function c(b,c){var e=b.nodeName.toLowerCase();if(\"area\"===e){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!==\"map\")return!1;h=a(\"img[usemap=#\"+g+\"]\")[0];return!!h&&d(h)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:\"a\"==e?b.href||c:c)&&d(b)}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:\"1.8.17\",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b==\"number\"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css(\"position\"))||/absolute/.test(this.css(\"position\"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,\"position\",1))&&/(auto|scroll)/.test(a.curCSS(this,\"overflow\",1)+a.curCSS(this,\"overflow-y\",1)+a.curCSS(this,\"overflow-x\",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,\"overflow\",1)+a.curCSS(this,\"overflow-y\",1)+a.curCSS(this,\"overflow-x\",1))}).eq(0);return/fixed/.test(this.css(\"position\"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css(\"zIndex\",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css(\"position\");if(e===\"absolute\"||e===\"relative\"||e===\"fixed\"){f=parseInt(d.css(\"zIndex\"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?\"selectstart\":\"mousedown\")+\".ui-disableSelection\",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(\".ui-disableSelection\")}}),a.each([\"Width\",\"Height\"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,\"padding\"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,\"border\"+this+\"Width\",!0))||0),f&&(c-=parseFloat(a.curCSS(b,\"margin\"+this,!0))||0)});return c}var e=d===\"Width\"?[\"Left\",\"Right\"]:[\"Top\",\"Bottom\"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn[\"inner\"+d]=function(c){if(c===b)return g[\"inner\"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+\"px\")})},a.fn[\"outer\"+d]=function(b,c){if(typeof b!=\"number\")return g[\"outer\"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+\"px\")})}}),a.extend(a.expr[\":\"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,\"tabindex\")))},tabbable:function(b){var d=a.attr(b,\"tabindex\"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement(\"div\"));a.extend(c.style,{minHeight:\"100px\",height:\"auto\",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart=\"onselectstart\"in c,b.removeChild(c).style.display=\"none\"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!!d&&!!a.element[0].parentNode)for(var e=0;e<d.length;e++)a.options[d[e][0]]&&d[e][1].apply(a.element,c)}},contains:function(a,b){return document.compareDocumentPosition?a.compareDocumentPosition(b)&16:a!==b&&a.contains(b)},hasScroll:function(b,c){if(a(b).css(\"overflow\")===\"hidden\")return!1;var d=c&&c===\"left\"?\"scrollLeft\":\"scrollTop\",e=!1;if(b[d]>0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a<b+c},isOver:function(b,c,d,e,f,g){return a.ui.isOverAxis(b,d,f)&&a.ui.isOverAxis(c,e,g)}}))})(jQuery),function(a,b){if(a.cleanData){var c=a.cleanData;a.cleanData=function(b){for(var d=0,e;(e=b[d])!=null;d++)try{a(e).triggerHandler(\"remove\")}catch(f){}c(b)}}else{var d=a.fn.remove;a.fn.remove=function(b,c){return this.each(function(){c||(!b||a.filter(b,[this]).length)&&a(\"*\",this).add([this]).each(function(){try{a(this).triggerHandler(\"remove\")}catch(b){}});return d.call(a(this),b,c)})}}a.widget=function(b,c,d){var e=b.split(\".\")[0],f;b=b.split(\".\")[1],f=e+\"-\"+b,d||(d=c,c=a.Widget),a.expr[\":\"][f]=function(c){return!!a.data(c,b)},a[e]=a[e]||{},a[e][b]=function(a,b){arguments.length&&this._createWidget(a,b)};var g=new c;g.options=a.extend(!0,{},g.options),a[e][b].prototype=a.extend(!0,g,{namespace:e,widgetName:b,widgetEventPrefix:a[e][b].prototype.widgetEventPrefix||b,widgetBaseClass:f},d),a.widget.bridge(b,a[e][b])},a.widget.bridge=function(c,d){a.fn[c]=function(e){var f=typeof e==\"string\",g=Array.prototype.slice.call(arguments,1),h=this;e=!f&&g.length?a.extend.apply(null,[!0,e].concat(g)):e;if(f&&e.charAt(0)===\"_\")return h;f?this.each(function(){var d=a.data(this,c),f=d&&a.isFunction(d[e])?d[e].apply(d,g):d;if(f!==d&&f!==b){h=f;return!1}}):this.each(function(){var b=a.data(this,c);b?b.option(e||{})._init():a.data(this,c,new d(e,this))});return h}},a.Widget=function(a,b){arguments.length&&this._createWidget(a,b)},a.Widget.prototype={widgetName:\"widget\",widgetEventPrefix:\"\",options:{disabled:!1},_createWidget:function(b,c){a.data(c,this.widgetName,this),this.element=a(c),this.options=a.extend(!0,{},this.options,this._getCreateOptions(),b);var d=this;this.element.bind(\"remove.\"+this.widgetName,function(){d.destroy()}),this._create(),this._trigger(\"create\"),this._init()},_getCreateOptions:function(){return a.metadata&&a.metadata.get(this.element[0])[this.widgetName]},_create:function(){},_init:function(){},destroy:function(){this.element.unbind(\".\"+this.widgetName).removeData(this.widgetName),this.widget().unbind(\".\"+this.widgetName).removeAttr(\"aria-disabled\").removeClass(this.widgetBaseClass+\"-disabled \"+\"ui-state-disabled\")},widget:function(){return this.element},option:function(c,d){var e=c;if(arguments.length===0)return a.extend({},this.options);if(typeof c==\"string\"){if(d===b)return this.options[c];e={},e[c]=d}this._setOptions(e);return this},_setOptions:function(b){var c=this;a.each(b,function(a,b){c._setOption(a,b)});return this},_setOption:function(a,b){this.options[a]=b,a===\"disabled\"&&this.widget()[b?\"addClass\":\"removeClass\"](this.widgetBaseClass+\"-disabled\"+\" \"+\"ui-state-disabled\").attr(\"aria-disabled\",b);return this},enable:function(){return this._setOption(\"disabled\",!1)},disable:function(){return this._setOption(\"disabled\",!0)},_trigger:function(b,c,d){var e,f,g=this.options[b];d=d||{},c=a.Event(c),c.type=(b===this.widgetEventPrefix?b:this.widgetEventPrefix+b).toLowerCase(),c.target=this.element[0],f=c.originalEvent;if(f)for(e in f)e in c||(c[e]=f[e]);this.element.trigger(c,d);return!(a.isFunction(g)&&g.call(this.element[0],c,d)===!1||c.isDefaultPrevented())}}}(jQuery),function(a,b){var c=!1;a(document).mouseup(function(a){c=!1}),a.widget(\"ui.mouse\",{options:{cancel:\":input,option\",distance:1,delay:0},_mouseInit:function(){var b=this;this.element.bind(\"mousedown.\"+this.widgetName,function(a){return b._mouseDown(a)}).bind(\"click.\"+this.widgetName,function(c){if(!0===a.data(c.target,b.widgetName+\".preventClickEvent\")){a.removeData(c.target,b.widgetName+\".preventClickEvent\"),c.stopImmediatePropagation();return!1}}),this.started=!1},_mouseDestroy:function(){this.element.unbind(\".\"+this.widgetName)},_mouseDown:function(b){if(!c){this._mouseStarted&&this._mouseUp(b),this._mouseDownEvent=b;var d=this,e=b.which==1,f=typeof this.options.cancel==\"string\"&&b.target.nodeName?a(b.target).closest(this.options.cancel).length:!1;if(!e||f||!this._mouseCapture(b))return!0;this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){d.mouseDelayMet=!0},this.options.delay));if(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)){this._mouseStarted=this._mouseStart(b)!==!1;if(!this._mouseStarted){b.preventDefault();return!0}}!0===a.data(b.target,this.widgetName+\".preventClickEvent\")&&a.removeData(b.target,this.widgetName+\".preventClickEvent\"),this._mouseMoveDelegate=function(a){return d._mouseMove(a)},this._mouseUpDelegate=function(a){return d._mouseUp(a)},a(document).bind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).bind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),b.preventDefault(),c=!0;return!0}},_mouseMove:function(b){if(a.browser.msie&&!(document.documentMode>=9)&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b));return!this._mouseStarted},_mouseUp:function(b){a(document).unbind(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).unbind(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+\".preventClickEvent\",!0),this._mouseStop(b));return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})}(jQuery),function(a,b){a.widget(\"ui.draggable\",a.ui.mouse,{widgetEventPrefix:\"drag\",options:{addClasses:!0,appendTo:\"parent\",axis:!1,connectToSortable:!1,containment:!1,cursor:\"auto\",cursorAt:!1,grid:!1,handle:!1,helper:\"original\",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:\"default\",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:\"both\",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper==\"original\"&&!/^(?:r|a|f)/.test(this.element.css(\"position\"))&&(this.element[0].style.position=\"relative\"),this.options.addClasses&&this.element.addClass(\"ui-draggable\"),this.options.disabled&&this.element.addClass(\"ui-draggable-disabled\"),this._mouseInit()},destroy:function(){if(!!this.element.data(\"draggable\")){this.element.removeData(\"draggable\").unbind(\".draggable\").removeClass(\"ui-draggable ui-draggable-dragging ui-draggable-disabled\"),this._mouseDestroy();return this}},_mouseCapture:function(b){var c=this.options;if(this.helper||c.disabled||a(b.target).is(\".ui-resizable-handle\"))return!1;this.handle=this._getHandle(b);if(!this.handle)return!1;c.iframeFix&&a(c.iframeFix===!0?\"iframe\":c.iframeFix).each(function(){a('<div class=\"ui-draggable-iframeFix\" style=\"background: #fff;\"></div>').css({width:this.offsetWidth+\"px\",height:this.offsetHeight+\"px\",position:\"absolute\",opacity:\"0.001\",zIndex:1e3}).css(a(this).offset()).appendTo(\"body\")});return!0},_mouseStart:function(b){var c=this.options;this.helper=this._createHelper(b),this._cacheHelperProportions(),a.ui.ddmanager&&(a.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(\"position\"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt),c.containment&&this._setContainment();if(this._trigger(\"start\",b)===!1){this._clear();return!1}this._cacheHelperProportions(),a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.helper.addClass(\"ui-draggable-dragging\"),this._mouseDrag(b,!0),a.ui.ddmanager&&a.ui.ddmanager.dragStart(this,b);return!0},_mouseDrag:function(b,c){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo(\"absolute\");if(!c){var d=this._uiHash();if(this._trigger(\"drag\",b,d)===!1){this._mouseUp({});return!1}this.position=d.position}if(!this.options.axis||this.options.axis!=\"y\")this.helper[0].style.left=this.position.left+\"px\";if(!this.options.axis||this.options.axis!=\"x\")this.helper[0].style.top=this.position.top+\"px\";a.ui.ddmanager&&a.ui.ddmanager.drag(this,b);return!1},_mouseStop:function(b){var c=!1;a.ui.ddmanager&&!this.options.dropBehaviour&&(c=a.ui.ddmanager.drop(this,b)),this.dropped&&(c=this.dropped,this.dropped=!1);if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper==\"original\")return!1;if(this.options.revert==\"invalid\"&&!c||this.options.revert==\"valid\"&&c||this.options.revert===!0||a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)){var d=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){d._trigger(\"stop\",b)!==!1&&d._clear()})}else this._trigger(\"stop\",b)!==!1&&this._clear();return!1},_mouseUp:function(b){this.options.iframeFix===!0&&a(\"div.ui-draggable-iframeFix\").each(function(){this.parentNode.removeChild(this)}),a.ui.ddmanager&&a.ui.ddmanager.dragStop(this,b);return a.ui.mouse.prototype._mouseUp.call(this,b)},cancel:function(){this.helper.is(\".ui-draggable-dragging\")?this._mouseUp({}):this._clear();return this},_getHandle:function(b){var c=!this.options.handle||!a(this.options.handle,this.element).length?!0:!1;a(this.options.handle,this.element).find(\"*\").andSelf().each(function(){this==b.target&&(c=!0)});return c},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b])):c.helper==\"clone\"?this.element.clone().removeAttr(\"id\"):this.element;d.parents(\"body\").length||d.appendTo(c.appendTo==\"parent\"?this.element[0].parentNode:c.appendTo),d[0]!=this.element[0]&&!/(fixed|absolute)/.test(d.css(\"position\"))&&d.css(\"position\",\"absolute\");return d},_adjustOffsetFromHelper:function(b){typeof b==\"string\"&&(b=b.split(\" \")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),\"left\"in b&&(this.offset.click.left=b.left+this.margins.left),\"right\"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),\"top\"in b&&(this.offset.click.top=b.top+this.margins.top),\"bottom\"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition==\"absolute\"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==\"html\"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css(\"borderTopWidth\"),10)||0),left:b.left+(parseInt(this.offsetParent.css(\"borderLeftWidth\"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==\"relative\"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css(\"top\"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(\"left\"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css(\"marginLeft\"),10)||0,top:parseInt(this.element.css(\"marginTop\"),10)||0,right:parseInt(this.element.css(\"marginRight\"),10)||0,bottom:parseInt(this.element.css(\"marginBottom\"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment==\"parent\"&&(b.containment=this.helper[0].parentNode);if(b.containment==\"document\"||b.containment==\"window\")this.containment=[b.containment==\"document\"?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b.containment==\"document\"?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(b.containment==\"document\"?0:a(window).scrollLeft())+a(b.containment==\"document\"?document:window).width()-this.helperProportions.width-this.margins.left,(b.containment==\"document\"?0:a(window).scrollTop())+(a(b.containment==\"document\"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&&b.containment.constructor!=Array){var c=a(b.containment),d=c[0];if(!d)return;var e=c.offset(),f=a(d).css(\"overflow\")!=\"hidden\";this.containment=[(parseInt(a(d).css(\"borderLeftWidth\"),10)||0)+(parseInt(a(d).css(\"paddingLeft\"),10)||0),(parseInt(a(d).css(\"borderTopWidth\"),10)||0)+(parseInt(a(d).css(\"paddingTop\"),10)||0),(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css(\"borderLeftWidth\"),10)||0)-(parseInt(a(d).css(\"paddingRight\"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css(\"borderTopWidth\"),10)||0)-(parseInt(a(d).css(\"paddingBottom\"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=c}else b.containment.constructor==Array&&(this.containment=b.containment)},_convertPositionTo:function(b,c){c||(c=this.position);var d=b==\"absolute\"?1:-1,e=this.options,f=this.cssPosition==\"absolute\"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition==\"fixed\"?0:(this.cssPosition==\"fixed\"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition==\"fixed\"?0:(this.cssPosition==\"fixed\"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition==\"absolute\"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){var h;if(this.containment){if(this.relative_container){var i=this.relative_container.offset();h=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]}else h=this.containment;b.pageX-this.offset.click.left<h[0]&&(f=h[0]+this.offset.click.left),b.pageY-this.offset.click.top<h[1]&&(g=h[1]+this.offset.click.top),b.pageX-this.offset.click.left>h[2]&&(f=h[2]+this.offset.click.left),b.pageY-this.offset.click.top>h[3]&&(g=h[3]+this.offset.click.top)}if(c.grid){var j=c.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY;g=h?j-this.offset.click.top<h[1]||j-this.offset.click.top>h[3]?j-this.offset.click.top<h[1]?j+c.grid[1]:j-c.grid[1]:j:j;var k=c.grid[0]?this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0]:this.originalPageX;f=h?k-this.offset.click.left<h[0]||k-this.offset.click.left>h[2]?k-this.offset.click.left<h[0]?k+c.grid[0]:k-c.grid[0]:k:k}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&a.browser.version<526&&this.cssPosition==\"fixed\"?0:this.cssPosition==\"fixed\"?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&a.browser.version<526&&this.cssPosition==\"fixed\"?0:this.cssPosition==\"fixed\"?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_clear:function(){this.helper.removeClass(\"ui-draggable-dragging\"),this.helper[0]!=this.element[0]&&!this.cancelHelperRemoval&&this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1},_trigger:function(b,c,d){d=d||this._uiHash(),a.ui.plugin.call(this,b,[c,d]),b==\"drag\"&&(this.positionAbs=this._convertPositionTo(\"absolute\"));return a.Widget.prototype._trigger.call(this,b,c,d)},plugins:{},_uiHash:function(a){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),a.extend(a.ui.draggable,{version:\"1.8.17\"}),a.ui.plugin.add(\"draggable\",\"connectToSortable\",{start:function(b,c){var d=a(this).data(\"draggable\"),e=d.options,f=a.extend({},c,{item:d.element});d.sortables=[],a(e.connectToSortable).each(function(){var c=a.data(this,\"sortable\");c&&!c.options.disabled&&(d.sortables.push({instance:c,shouldRevert:c.options.revert}),c.refreshPositions(),c._trigger(\"activate\",b,f))})},stop:function(b,c){var d=a(this).data(\"draggable\"),e=a.extend({},c,{item:d.element});a.each(d.sortables,function(){this.instance.isOver?(this.instance.isOver=0,d.cancelHelperRemoval=!0,this.instance.cancelHelperRemoval=!1,this.shouldRevert&&(this.instance.options.revert=!0),this.instance._mouseStop(b),this.instance.options.helper=this.instance.options._helper,d.options.helper==\"original\"&&this.instance.currentItem.css({top:\"auto\",left:\"auto\"})):(this.instance.cancelHelperRemoval=!1,this.instance._trigger(\"deactivate\",b,e))})},drag:function(b,c){var d=a(this).data(\"draggable\"),e=this,f=function(b){var c=this.offset.click.top,d=this.offset.click.left,e=this.positionAbs.top,f=this.positionAbs.left,g=b.height,h=b.width,i=b.top,j=b.left;return a.ui.isOver(e+c,f+d,i,j,g,h)};a.each(d.sortables,function(f){this.instance.positionAbs=d.positionAbs,this.instance.helperProportions=d.helperProportions,this.instance.offset.click=d.offset.click,this.instance._intersectsWith(this.instance.containerCache)?(this.instance.isOver||(this.instance.isOver=1,this.instance.currentItem=a(e).clone().removeAttr(\"id\").appendTo(this.instance.element).data(\"sortable-item\",!0),this.instance.options._helper=this.instance.options.helper,this.instance.options.helper=function(){return c.helper[0]},b.target=this.instance.currentItem[0],this.instance._mouseCapture(b,!0),this.instance._mouseStart(b,!0,!0),this.instance.offset.click.top=d.offset.click.top,this.instance.offset.click.left=d.offset.click.left,this.instance.offset.parent.left-=d.offset.parent.left-this.instance.offset.parent.left,this.instance.offset.parent.top-=d.offset.parent.top-this.instance.offset.parent.top,d._trigger(\"toSortable\",b),d.dropped=this.instance.element,d.currentItem=d.element,this.instance.fromOutside=d),this.instance.currentItem&&this.instance._mouseDrag(b)):this.instance.isOver&&(this.instance.isOver=0,this.instance.cancelHelperRemoval=!0,this.instance.options.revert=!1,this.instance._trigger(\"out\",b,this.instance._uiHash(this.instance)),this.instance._mouseStop(b,!0),this.instance.options.helper=this.instance.options._helper,this.instance.currentItem.remove(),this.instance.placeholder&&this.instance.placeholder.remove(),d._trigger(\"fromSortable\",b),d.dropped=!1)})}}),a.ui.plugin.add(\"draggable\",\"cursor\",{start:function(b,c){var d=a(\"body\"),e=a(this).data(\"draggable\").options;d.css(\"cursor\")&&(e._cursor=d.css(\"cursor\")),d.css(\"cursor\",e.cursor)},stop:function(b,c){var d=a(this).data(\"draggable\").options;d._cursor&&a(\"body\").css(\"cursor\",d._cursor)}}),a.ui.plugin.add(\"draggable\",\"opacity\",{start:function(b,c){var d=a(c.helper),e=a(this).data(\"draggable\").options;d.css(\"opacity\")&&(e._opacity=d.css(\"opacity\")),d.css(\"opacity\",e.opacity)},stop:function(b,c){var d=a(this).data(\"draggable\").options;d._opacity&&a(c.helper).css(\"opacity\",d._opacity)}}),a.ui.plugin.add(\"draggable\",\"scroll\",{start:function(b,c){var d=a(this).data(\"draggable\");d.scrollParent[0]!=document&&d.scrollParent[0].tagName!=\"HTML\"&&(d.overflowOffset=d.scrollParent.offset())},drag:function(b,c){var d=a(this).data(\"draggable\"),e=d.options,f=!1;if(d.scrollParent[0]!=document&&d.scrollParent[0].tagName!=\"HTML\"){if(!e.axis||e.axis!=\"x\")d.overflowOffset.top+d.scrollParent[0].offsetHeight-b.pageY<e.scrollSensitivity?d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop+e.scrollSpeed:b.pageY-d.overflowOffset.top<e.scrollSensitivity&&(d.scrollParent[0].scrollTop=f=d.scrollParent[0].scrollTop-e.scrollSpeed);if(!e.axis||e.axis!=\"y\")d.overflowOffset.left+d.scrollParent[0].offsetWidth-b.pageX<e.scrollSensitivity?d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft+e.scrollSpeed:b.pageX-d.overflowOffset.left<e.scrollSensitivity&&(d.scrollParent[0].scrollLeft=f=d.scrollParent[0].scrollLeft-e.scrollSpeed)}else{if(!e.axis||e.axis!=\"x\")b.pageY-a(document).scrollTop()<e.scrollSensitivity?f=a(document).scrollTop(a(document).scrollTop()-e.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())<e.scrollSensitivity&&(f=a(document).scrollTop(a(document).scrollTop()+e.scrollSpeed));if(!e.axis||e.axis!=\"y\")b.pageX-a(document).scrollLeft()<e.scrollSensitivity?f=a(document).scrollLeft(a(document).scrollLeft()-e.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())<e.scrollSensitivity&&(f=a(document).scrollLeft(a(document).scrollLeft()+e.scrollSpeed))}f!==!1&&a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(d,b)}}),a.ui.plugin.add(\"draggable\",\"snap\",{start:function(b,c){var d=a(this).data(\"draggable\"),e=d.options;d.snapElements=[],a(e.snap.constructor!=String?e.snap.items||\":data(draggable)\":e.snap).each(function(){var b=a(this),c=b.offset();this!=d.element[0]&&d.snapElements.push({item:this,width:b.outerWidth(),height:b.outerHeight(),top:c.top,left:c.left})})},drag:function(b,c){var d=a(this).data(\"draggable\"),e=d.options,f=e.snapTolerance,g=c.offset.left,h=g+d.helperProportions.width,i=c.offset.top,j=i+d.helperProportions.height;for(var k=d.snapElements.length-1;k>=0;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,n=d.snapElements[k].top,o=n+d.snapElements[k].height;if(!(l-f<g&&g<m+f&&n-f<i&&i<o+f||l-f<g&&g<m+f&&n-f<j&&j<o+f||l-f<h&&h<m+f&&n-f<i&&i<o+f||l-f<h&&h<m+f&&n-f<j&&j<o+f)){d.snapElements[k].snapping&&d.options.snap.release&&d.options.snap.release.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=!1;continue}if(e.snapMode!=\"inner\"){var p=Math.abs(n-j)<=f,q=Math.abs(o-i)<=f,r=Math.abs(l-h)<=f,s=Math.abs(m-g)<=f;p&&(c.position.top=d._convertPositionTo(\"relative\",{top:n-d.helperProportions.height,left:0}).top-d.margins.top),q&&(c.position.top=d._convertPositionTo(\"relative\",{top:o,left:0}).top-d.margins.top),r&&(c.position.left=d._convertPositionTo(\"relative\",{top:0,left:l-d.helperProportions.width}).left-d.margins.left),s&&(c.position.left=d._convertPositionTo(\"relative\",{top:0,left:m}).left-d.margins.left)}var t=p||q||r||s;if(e.snapMode!=\"outer\"){var p=Math.abs(n-i)<=f,q=Math.abs(o-j)<=f,r=Math.abs(l-g)<=f,s=Math.abs(m-h)<=f;p&&(c.position.top=d._convertPositionTo(\"relative\",{top:n,left:0}).top-d.margins.top),q&&(c.position.top=d._convertPositionTo(\"relative\",{top:o-d.helperProportions.height,left:0}).top-d.margins.top),r&&(c.position.left=d._convertPositionTo(\"relative\",{top:0,left:l}).left-d.margins.left),s&&(c.position.left=d._convertPositionTo(\"relative\",{top:0,left:m-d.helperProportions.width}).left-d.margins.left)}!d.snapElements[k].snapping&&(p||q||r||s||t)&&d.options.snap.snap&&d.options.snap.snap.call(d.element,b,a.extend(d._uiHash(),{snapItem:d.snapElements[k].item})),d.snapElements[k].snapping=p||q||r||s||t}}}),a.ui.plugin.add(\"draggable\",\"stack\",{start:function(b,c){var d=a(this).data(\"draggable\").options,e=a.makeArray(a(d.stack)).sort(function(b,c){return(parseInt(a(b).css(\"zIndex\"),10)||0)-(parseInt(a(c).css(\"zIndex\"),10)||0)});if(!!e.length){var f=parseInt(e[0].style.zIndex)||0;a(e).each(function(a){this.style.zIndex=f+a}),this[0].style.zIndex=f+e.length}}}),a.ui.plugin.add(\"draggable\",\"zIndex\",{start:function(b,c){var d=a(c.helper),e=a(this).data(\"draggable\").options;d.css(\"zIndex\")&&(e._zIndex=d.css(\"zIndex\")),d.css(\"zIndex\",e.zIndex)},stop:function(b,c){var d=a(this).data(\"draggable\").options;d._zIndex&&a(c.helper).css(\"zIndex\",d._zIndex)}})}(jQuery),function(a,b){a.widget(\"ui.droppable\",{widgetEventPrefix:\"drop\",options:{accept:\"*\",activeClass:!1,addClasses:!0,greedy:!1,hoverClass:!1,scope:\"default\",tolerance:\"intersect\"},_create:function(){var b=this.options,c=b.accept;this.isover=0,this.isout=1,this.accept=a.isFunction(c)?c:function(a){return a.is(c)},this.proportions={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight},a.ui.ddmanager.droppables[b.scope]=a.ui.ddmanager.droppables[b.scope]||[],a.ui.ddmanager.droppables[b.scope].push(this),b.addClasses&&this.element.addClass(\"ui-droppable\")},destroy:function(){var b=a.ui.ddmanager.droppables[this.options.scope];for(var c=0;c<b.length;c++)b[c]==this&&b.splice(c,1);this.element.removeClass(\"ui-droppable ui-droppable-disabled\").removeData(\"droppable\").unbind(\".droppable\");return this},_setOption:function(b,c){b==\"accept\"&&(this.accept=a.isFunction(c)?c:function(a){return a.is(c)}),a.Widget.prototype._setOption.apply(this,arguments)},_activate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.addClass(this.options.activeClass),c&&this._trigger(\"activate\",b,this.ui(c))},_deactivate:function(b){var c=a.ui.ddmanager.current;this.options.activeClass&&this.element.removeClass(this.options.activeClass),c&&this._trigger(\"deactivate\",b,this.ui(c))},_over:function(b){var c=a.ui.ddmanager.current;!!c&&(c.currentItem||c.element)[0]!=this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.addClass(this.options.hoverClass),this._trigger(\"over\",b,this.ui(c)))},_out:function(b){var c=a.ui.ddmanager.current;!!c&&(c.currentItem||c.element)[0]!=this.element[0]&&this.accept.call(this.element[0],c.currentItem||c.element)&&(this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger(\"out\",b,this.ui(c)))},_drop:function(b,c){var d=c||a.ui.ddmanager.current;if(!d||(d.currentItem||d.element)[0]==this.element[0])return!1;var e=!1;this.element.find(\":data(droppable)\").not(\".ui-draggable-dragging\").each(function(){var b=a.data(this,\"droppable\");if(b.options.greedy&&!b.options.disabled&&b.options.scope==d.options.scope&&b.accept.call(b.element[0],d.currentItem||d.element)&&a.ui.intersect(d,a.extend(b,{offset:b.element.offset()}),b.options.tolerance)){e=!0;return!1}});if(e)return!1;if(this.accept.call(this.element[0],d.currentItem||d.element)){this.options.activeClass&&this.element.removeClass(this.options.activeClass),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass),this._trigger(\"drop\",b,this.ui(d));return this.element}return!1},ui:function(a){return{draggable:a.currentItem||a.element,helper:a.helper,position:a.position,offset:a.positionAbs}}}),a.extend(a.ui.droppable,{version:\"1.8.17\"}),a.ui.intersect=function(b,c,d){if(!c.offset)return!1;var e=(b.positionAbs||b.position.absolute).left,f=e+b.helperProportions.width,g=(b.positionAbs||b.position.absolute).top,h=g+b.helperProportions.height,i=c.offset.left,j=i+c.proportions.width,k=c.offset.top,l=k+c.proportions.height;switch(d){case\"fit\":return i<=e&&f<=j&&k<=g&&h<=l;case\"intersect\":return i<e+b.helperProportions.width/2&&f-b.helperProportions.width/2<j&&k<g+b.helperProportions.height/2&&h-b.helperProportions.height/2<l;case\"pointer\":var m=(b.positionAbs||b.position.absolute).left+(b.clickOffset||b.offset.click).left,n=(b.positionAbs||b.position.absolute).top+(b.clickOffset||b.offset.click).top,o=a.ui.isOver(n,m,k,i,c.proportions.height,c.proportions.width);return o;case\"touch\":return(g>=k&&g<=l||h>=k&&h<=l||g<k&&h>l)&&(e>=i&&e<=j||f>=i&&f<=j||e<i&&f>j);default:return!1}},a.ui.ddmanager={current:null,droppables:{\"default\":[]},prepareOffsets:function(b,c){var d=a.ui.ddmanager.droppables[b.options.scope]||[],e=c?c.type:null,f=(b.currentItem||b.element).find(\":data(droppable)\").andSelf();droppablesLoop:for(var g=0;g<d.length;g++){if(d[g].options.disabled||b&&!d[g].accept.call(d[g].element[0],b.currentItem||b.element))continue;for(var h=0;h<f.length;h++)if(f[h]==d[g].element[0]){d[g].proportions.height=0;continue droppablesLoop}d[g].visible=d[g].element.css(\"display\")!=\"none\";if(!d[g].visible)continue;e==\"mousedown\"&&d[g]._activate.call(d[g],c),d[g].offset=d[g].element.offset(),d[g].proportions={width:d[g].element[0].offsetWidth,height:d[g].element\n[0].offsetHeight}}},drop:function(b,c){var d=!1;a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){!this.options||(!this.options.disabled&&this.visible&&a.ui.intersect(b,this,this.options.tolerance)&&(d=this._drop.call(this,c)||d),!this.options.disabled&&this.visible&&this.accept.call(this.element[0],b.currentItem||b.element)&&(this.isout=1,this.isover=0,this._deactivate.call(this,c)))});return d},dragStart:function(b,c){b.element.parents(\":not(body,html)\").bind(\"scroll.droppable\",function(){b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)})},drag:function(b,c){b.options.refreshPositions&&a.ui.ddmanager.prepareOffsets(b,c),a.each(a.ui.ddmanager.droppables[b.options.scope]||[],function(){if(!(this.options.disabled||this.greedyChild||!this.visible)){var d=a.ui.intersect(b,this,this.options.tolerance),e=!d&&this.isover==1?\"isout\":d&&this.isover==0?\"isover\":null;if(!e)return;var f;if(this.options.greedy){var g=this.element.parents(\":data(droppable):eq(0)\");g.length&&(f=a.data(g[0],\"droppable\"),f.greedyChild=e==\"isover\"?1:0)}f&&e==\"isover\"&&(f.isover=0,f.isout=1,f._out.call(f,c)),this[e]=1,this[e==\"isout\"?\"isover\":\"isout\"]=0,this[e==\"isover\"?\"_over\":\"_out\"].call(this,c),f&&e==\"isout\"&&(f.isout=0,f.isover=1,f._over.call(f,c))}})},dragStop:function(b,c){b.element.parents(\":not(body,html)\").unbind(\"scroll.droppable\"),b.options.refreshPositions||a.ui.ddmanager.prepareOffsets(b,c)}}}(jQuery),function(a,b){a.widget(\"ui.resizable\",a.ui.mouse,{widgetEventPrefix:\"resize\",options:{alsoResize:!1,animate:!1,animateDuration:\"slow\",animateEasing:\"swing\",aspectRatio:!1,autoHide:!1,containment:!1,ghost:!1,grid:!1,handles:\"e,s,se\",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:1e3},_create:function(){var b=this,c=this.options;this.element.addClass(\"ui-resizable\"),a.extend(this,{_aspectRatio:!!c.aspectRatio,aspectRatio:c.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:c.helper||c.ghost||c.animate?c.helper||\"ui-resizable-helper\":null}),this.element[0].nodeName.match(/canvas|textarea|input|select|button|img/i)&&(/relative/.test(this.element.css(\"position\"))&&a.browser.opera&&this.element.css({position:\"relative\",top:\"auto\",left:\"auto\"}),this.element.wrap(a('<div class=\"ui-wrapper\" style=\"overflow: hidden;\"></div>').css({position:this.element.css(\"position\"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css(\"top\"),left:this.element.css(\"left\")})),this.element=this.element.parent().data(\"resizable\",this.element.data(\"resizable\")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css(\"marginLeft\"),marginTop:this.originalElement.css(\"marginTop\"),marginRight:this.originalElement.css(\"marginRight\"),marginBottom:this.originalElement.css(\"marginBottom\")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css(\"resize\"),this.originalElement.css(\"resize\",\"none\"),this._proportionallyResizeElements.push(this.originalElement.css({position:\"static\",zoom:1,display:\"block\"})),this.originalElement.css({margin:this.originalElement.css(\"margin\")}),this._proportionallyResize()),this.handles=c.handles||(a(\".ui-resizable-handle\",this.element).length?{n:\".ui-resizable-n\",e:\".ui-resizable-e\",s:\".ui-resizable-s\",w:\".ui-resizable-w\",se:\".ui-resizable-se\",sw:\".ui-resizable-sw\",ne:\".ui-resizable-ne\",nw:\".ui-resizable-nw\"}:\"e,s,se\");if(this.handles.constructor==String){this.handles==\"all\"&&(this.handles=\"n,e,s,w,se,sw,ne,nw\");var d=this.handles.split(\",\");this.handles={};for(var e=0;e<d.length;e++){var f=a.trim(d[e]),g=\"ui-resizable-\"+f,h=a('<div class=\"ui-resizable-handle '+g+'\"></div>');/sw|se|ne|nw/.test(f)&&h.css({zIndex:++c.zIndex}),\"se\"==f&&h.addClass(\"ui-icon ui-icon-gripsmall-diagonal-se\"),this.handles[f]=\".ui-resizable-\"+f,this.element.append(h)}}this._renderAxis=function(b){b=b||this.element;for(var c in this.handles){this.handles[c].constructor==String&&(this.handles[c]=a(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=[\"padding\",/ne|nw|n/.test(c)?\"Top\":/se|sw|s/.test(c)?\"Bottom\":/^e$/.test(c)?\"Right\":\"Left\"].join(\"\");b.css(f,e),this._proportionallyResize()}if(!a(this.handles[c]).length)continue}},this._renderAxis(this.element),this._handles=a(\".ui-resizable-handle\",this.element).disableSelection(),this._handles.mouseover(function(){if(!b.resizing){if(this.className)var a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&&a[1]?a[1]:\"se\"}}),c.autoHide&&(this._handles.hide(),a(this.element).addClass(\"ui-resizable-autohide\").hover(function(){c.disabled||(a(this).removeClass(\"ui-resizable-autohide\"),b._handles.show())},function(){c.disabled||b.resizing||(a(this).addClass(\"ui-resizable-autohide\"),b._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(b){a(b).removeClass(\"ui-resizable ui-resizable-disabled ui-resizable-resizing\").removeData(\"resizable\").unbind(\".resizable\").find(\".ui-resizable-handle\").remove()};if(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css(\"position\"),width:c.outerWidth(),height:c.outerHeight(),top:c.css(\"top\"),left:c.css(\"left\")})).remove()}this.originalElement.css(\"resize\",this.originalResizeStyle),b(this.originalElement);return this},_mouseCapture:function(b){var c=!1;for(var d in this.handles)a(this.handles[d])[0]==b.target&&(c=!0);return!this.options.disabled&&c},_mouseStart:function(b){var d=this.options,e=this.element.position(),f=this.element;this.resizing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(\".ui-draggable\")||/absolute/.test(f.css(\"position\")))&&f.css({position:\"absolute\",top:e.top,left:e.left}),a.browser.opera&&/relative/.test(f.css(\"position\"))&&f.css({position:\"relative\",top:\"auto\",left:\"auto\"}),this._renderProxy();var g=c(this.helper.css(\"left\")),h=c(this.helper.css(\"top\"));d.containment&&(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio==\"number\"?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;var i=a(\".ui-resizable-\"+this.axis).css(\"cursor\");a(\"body\").css(\"cursor\",i==\"auto\"?this.axis+\"-resize\":i),f.addClass(\"ui-resizable-resizing\"),this._propagate(\"start\",b);return!0},_mouseDrag:function(b){var c=this.helper,d=this.options,e={},f=this,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];if(!k)return!1;var l=k.apply(this,[b,i,j]),m=a.browser.msie&&a.browser.version<7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);l=this._respectSize(l,b),this._propagate(\"resize\",b),c.css({top:this.position.top+\"px\",left:this.position.left+\"px\",width:this.size.width+\"px\",height:this.size.height+\"px\"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger(\"resize\",b,this.ui());return!1},_mouseStop:function(b){this.resizing=!1;var c=this.options,d=this;if(this._helper){var e=this._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),g=f&&a.ui.hasScroll(e[0],\"left\")?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css(\"left\"),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css(\"top\"),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&&!c.animate&&this._proportionallyResize()}a(\"body\").css(\"cursor\",\"auto\"),this.element.removeClass(\"ui-resizable-resizing\"),this._propagate(\"stop\",b),this._helper&&this.helper.remove();return!1},_updateVirtualBoundaries:function(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c>h.minWidth&&(h.minWidth=c),f>h.minHeight&&(h.minHeight=f),e<h.maxWidth&&(h.maxWidth=e),g<h.maxHeight&&(h.maxHeight=g);this._vBoundaries=h},_updateCache:function(a){var b=this.options;this.offset=this.helper.offset(),d(a.left)&&(this.position.left=a.left),d(a.top)&&(this.position.top=a.top),d(a.height)&&(this.size.height=a.height),d(a.width)&&(this.size.width=a.width)},_updateRatio:function(a,b){var c=this.options,e=this.position,f=this.size,g=this.axis;d(a.height)?a.width=a.height*this.aspectRatio:d(a.width)&&(a.height=a.width/this.aspectRatio),g==\"sw\"&&(a.left=e.left+(f.width-a.width),a.top=null),g==\"nw\"&&(a.top=e.top+(f.height-a.height),a.left=e.left+(f.width-a.width));return a},_respectSize:function(a,b){var c=this.helper,e=this._vBoundaries,f=this._aspectRatio||b.shiftKey,g=this.axis,h=d(a.width)&&e.maxWidth&&e.maxWidth<a.width,i=d(a.height)&&e.maxHeight&&e.maxHeight<a.height,j=d(a.width)&&e.minWidth&&e.minWidth>a.width,k=d(a.height)&&e.minHeight&&e.minHeight>a.height;j&&(a.width=e.minWidth),k&&(a.height=e.minHeight),h&&(a.width=e.maxWidth),i&&(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&&n&&(a.left=l-e.minWidth),h&&n&&(a.left=l-e.maxWidth),k&&o&&(a.top=m-e.minHeight),i&&o&&(a.top=m-e.maxHeight);var p=!a.width&&!a.height;p&&!a.left&&a.top?a.top=null:p&&!a.top&&a.left&&(a.left=null);return a},_proportionallyResize:function(){var b=this.options;if(!!this._proportionallyResizeElements.length){var c=this.helper||this.element;for(var d=0;d<this._proportionallyResizeElements.length;d++){var e=this._proportionallyResizeElements[d];if(!this.borderDif){var f=[e.css(\"borderTopWidth\"),e.css(\"borderRightWidth\"),e.css(\"borderBottomWidth\"),e.css(\"borderLeftWidth\")],g=[e.css(\"paddingTop\"),e.css(\"paddingRight\"),e.css(\"paddingBottom\"),e.css(\"paddingLeft\")];this.borderDif=a.map(f,function(a,b){var c=parseInt(a,10)||0,d=parseInt(g[b],10)||0;return c+d})}if(a.browser.msie&&(!!a(c).is(\":hidden\")||!!a(c).parents(\":hidden\").length))continue;e.css({height:c.height()-this.borderDif[0]-this.borderDif[2]||0,width:c.width()-this.borderDif[1]-this.borderDif[3]||0})}}},_renderProxy:function(){var b=this.element,c=this.options;this.elementOffset=b.offset();if(this._helper){this.helper=this.helper||a('<div style=\"overflow:hidden;\"></div>');var d=a.browser.msie&&a.browser.version<7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:\"absolute\",left:this.elementOffset.left-e+\"px\",top:this.elementOffset.top-e+\"px\",zIndex:++c.zIndex}),this.helper.appendTo(\"body\").disableSelection()}else this.helper=this.element},_change:{e:function(a,b,c){return{width:this.originalSize.width+b}},w:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{left:f.left+b,width:e.width-b}},n:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{top:f.top+c,height:e.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},sw:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,c,d]))},ne:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},nw:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,c,d]))}},_propagate:function(b,c){a.ui.plugin.call(this,b,[c,this.ui()]),b!=\"resize\"&&this._trigger(b,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:\"1.8.17\"}),a.ui.plugin.add(\"resizable\",\"alsoResize\",{start:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.data(\"resizable-alsoresize\",{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css(\"left\"),10),top:parseInt(b.css(\"top\"),10),position:b.css(\"position\")})})};typeof e.alsoResize==\"object\"&&!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)},resize:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=function(b,e){a(b).each(function(){var b=a(this),f=a(this).data(\"resizable-alsoresize\"),g={},i=e&&e.length?e:b.parents(c.originalElement[0]).length?[\"width\",\"height\"]:[\"width\",\"height\",\"top\",\"left\"];a.each(i,function(a,b){var c=(f[b]||0)+(h[b]||0);c&&c>=0&&(g[b]=c||null)}),a.browser.opera&&/relative/.test(b.css(\"position\"))&&(d._revertToRelativePosition=!0,b.css({position:\"absolute\",top:\"auto\",left:\"auto\"})),b.css(g)})};typeof e.alsoResize==\"object\"&&!e.alsoResize.nodeType?a.each(e.alsoResize,function(a,b){i(a,b)}):i(e.alsoResize)},stop:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.css({position:b.data(\"resizable-alsoresize\").position})})};d._revertToRelativePosition&&(d._revertToRelativePosition=!1,typeof e.alsoResize==\"object\"&&!e.alsoResize.nodeType?a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)),a(this).removeData(\"resizable-alsoresize\")}}),a.ui.plugin.add(\"resizable\",\"animate\",{stop:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=d._proportionallyResizeElements,g=f.length&&/textarea/i.test(f[0].nodeName),h=g&&a.ui.hasScroll(f[0],\"left\")?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css(\"left\"),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css(\"top\"),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&&k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var c={width:parseInt(d.element.css(\"width\"),10),height:parseInt(d.element.css(\"height\"),10),top:parseInt(d.element.css(\"top\"),10),left:parseInt(d.element.css(\"left\"),10)};f&&f.length&&a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate(\"resize\",b)}})}}),a.ui.plugin.add(\"resizable\",\"containment\",{start:function(b,d){var e=a(this).data(\"resizable\"),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;if(!!i){e.containerElement=a(i);if(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};else{var j=a(i),k=[];a([\"Top\",\"Right\",\"Left\",\"Bottom\"]).each(function(a,b){k[a]=c(j.css(\"padding\"+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,\"left\")?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}}},resize:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&&/static/.test(l.css(\"position\"))&&(k=g),i.left<(d._helper?g.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&&(d.size.height=d.size.width/e.aspectRatio),d.position.left=e.helper?g.left:0),i.top<(d._helper?g.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&&(d.size.width=d.size.height*e.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css(\"position\"));o&&p&&(m-=d.parentData.left),m+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-m,j&&(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-n,j&&(d.size.width=d.size.height*d.aspectRatio))},stop:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&&!e.animate&&/relative/.test(i.css(\"position\"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&&!e.animate&&/static/.test(i.css(\"position\"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add(\"resizable\",\"ghost\",{start:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:\"block\",position:\"relative\",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass(\"ui-resizable-ghost\").addClass(typeof e.ghost==\"string\"?e.ghost:\"\"),d.ghost.appendTo(d.helper)},resize:function(b,c){var d=a(this).data(\"resizable\"),e=d.options;d.ghost&&d.ghost.css({position:\"relative\",height:d.size.height,width:d.size.width})},stop:function(b,c){var d=a(this).data(\"resizable\"),e=d.options;d.ghost&&d.helper&&d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add(\"resizable\",\"grid\",{resize:function(b,c){var d=a(this).data(\"resizable\"),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid==\"number\"?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=function(a){return parseInt(a,10)||0},d=function(a){return!isNaN(parseInt(a,10))}}(jQuery),function(a,b){a.widget(\"ui.selectable\",a.ui.mouse,{options:{appendTo:\"body\",autoRefresh:!0,distance:0,filter:\"*\",tolerance:\"touch\"},_create:function(){var b=this;this.element.addClass(\"ui-selectable\"),this.dragged=!1;var c;this.refresh=function(){c=a(b.options.filter,b.element[0]),c.addClass(\"ui-selectee\"),c.each(function(){var b=a(this),c=b.offset();a.data(this,\"selectable-item\",{element:this,$element:b,left:c.left,top:c.top,right:c.left+b.outerWidth(),bottom:c.top+b.outerHeight(),startselected:!1,selected:b.hasClass(\"ui-selected\"),selecting:b.hasClass(\"ui-selecting\"),unselecting:b.hasClass(\"ui-unselecting\")})})},this.refresh(),this.selectees=c.addClass(\"ui-selectee\"),this._mouseInit(),this.helper=a(\"<div class='ui-selectable-helper'></div>\")},destroy:function(){this.selectees.removeClass(\"ui-selectee\").removeData(\"selectable-item\"),this.element.removeClass(\"ui-selectable ui-selectable-disabled\").removeData(\"selectable\").unbind(\".selectable\"),this._mouseDestroy();return this},_mouseStart:function(b){var c=this;this.opos=[b.pageX,b.pageY];if(!this.options.disabled){var d=this.options;this.selectees=a(d.filter,this.element[0]),this._trigger(\"start\",b),a(d.appendTo).append(this.helper),this.helper.css({left:b.clientX,top:b.clientY,width:0,height:0}),d.autoRefresh&&this.refresh(),this.selectees.filter(\".ui-selected\").each(function(){var d=a.data(this,\"selectable-item\");d.startselected=!0,!b.metaKey&&!b.ctrlKey&&(d.$element.removeClass(\"ui-selected\"),d.selected=!1,d.$element.addClass(\"ui-unselecting\"),d.unselecting=!0,c._trigger(\"unselecting\",b,{unselecting:d.element}))}),a(b.target).parents().andSelf().each(function(){var d=a.data(this,\"selectable-item\");if(d){var e=!b.metaKey&&!b.ctrlKey||!d.$element.hasClass(\"ui-selected\");d.$element.removeClass(e?\"ui-unselecting\":\"ui-selected\").addClass(e?\"ui-selecting\":\"ui-unselecting\"),d.unselecting=!e,d.selecting=e,d.selected=e,e?c._trigger(\"selecting\",b,{selecting:d.element}):c._trigger(\"unselecting\",b,{unselecting:d.element});return!1}})}},_mouseDrag:function(b){var c=this;this.dragged=!0;if(!this.options.disabled){var d=this.options,e=this.opos[0],f=this.opos[1],g=b.pageX,h=b.pageY;if(e>g){var i=g;g=e,e=i}if(f>h){var i=h;h=f,f=i}this.helper.css({left:e,top:f,width:g-e,height:h-f}),this.selectees.each(function(){var i=a.data(this,\"selectable-item\");if(!!i&&i.element!=c.element[0]){var j=!1;d.tolerance==\"touch\"?j=!(i.left>g||i.right<e||i.top>h||i.bottom<f):d.tolerance==\"fit\"&&(j=i.left>e&&i.right<g&&i.top>f&&i.bottom<h),j?(i.selected&&(i.$element.removeClass(\"ui-selected\"),i.selected=!1),i.unselecting&&(i.$element.removeClass(\"ui-unselecting\"),i.unselecting=!1),i.selecting||(i.$element.addClass(\"ui-selecting\"),i.selecting=!0,c._trigger(\"selecting\",b,{selecting:i.element}))):(i.selecting&&((b.metaKey||b.ctrlKey)&&i.startselected?(i.$element.removeClass(\"ui-selecting\"),i.selecting=!1,i.$element.addClass(\"ui-selected\"),i.selected=!0):(i.$element.removeClass(\"ui-selecting\"),i.selecting=!1,i.startselected&&(i.$element.addClass(\"ui-unselecting\"),i.unselecting=!0),c._trigger(\"unselecting\",b,{unselecting:i.element}))),i.selected&&!b.metaKey&&!b.ctrlKey&&!i.startselected&&(i.$element.removeClass(\"ui-selected\"),i.selected=!1,i.$element.addClass(\"ui-unselecting\"),i.unselecting=!0,c._trigger(\"unselecting\",b,{unselecting:i.element})))}});return!1}},_mouseStop:function(b){var c=this;this.dragged=!1;var d=this.options;a(\".ui-unselecting\",this.element[0]).each(function(){var d=a.data(this,\"selectable-item\");d.$element.removeClass(\"ui-unselecting\"),d.unselecting=!1,d.startselected=!1,c._trigger(\"unselected\",b,{unselected:d.element})}),a(\".ui-selecting\",this.element[0]).each(function(){var d=a.data(this,\"selectable-item\");d.$element.removeClass(\"ui-selecting\").addClass(\"ui-selected\"),d.selecting=!1,d.selected=!0,d.startselected=!0,c._trigger(\"selected\",b,{selected:d.element})}),this._trigger(\"stop\",b),this.helper.remove();return!1}}),a.extend(a.ui.selectable,{version:\"1.8.17\"})}(jQuery),function(a,b){a.widget(\"ui.sortable\",a.ui.mouse,{widgetEventPrefix:\"sort\",options:{appendTo:\"parent\",axis:!1,connectWith:!1,containment:!1,cursor:\"auto\",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:\"original\",items:\"> *\",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:\"default\",tolerance:\"intersect\",zIndex:1e3},_create:function(){var a=this.options;this.containerCache={},this.element.addClass(\"ui-sortable\"),this.refresh(),this.floating=this.items.length?a.axis===\"x\"||/left|right/.test(this.items[0].item.css(\"float\"))||/inline|table-cell/.test(this.items[0].item.css(\"display\")):!1,this.offset=this.element.offset(),this._mouseInit()},destroy:function(){this.element.removeClass(\"ui-sortable ui-sortable-disabled\"),this._mouseDestroy();for(var a=this.items.length-1;a>=0;a--)this.items[a].item.removeData(this.widgetName+\"-item\");return this},_setOption:function(b,c){b===\"disabled\"?(this.options[b]=c,this.widget()[c?\"addClass\":\"removeClass\"](\"ui-sortable-disabled\")):a.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(b,c){var d=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type==\"static\")return!1;this._refreshItems(b);var e=null,f=this,g=a(b.target).parents().each(function(){if(a.data(this,d.widgetName+\"-item\")==f){e=a(this);return!1}});a.data(b.target,d.widgetName+\"-item\")==f&&(e=a(b.target));if(!e)return!1;if(this.options.handle&&!c){var h=!1;a(this.options.handle,e).find(\"*\").andSelf().each(function(){this==b.target&&(h=!0)});if(!h)return!1}this.currentItem=e,this._removeCurrentsFromItems();return!0},_mouseStart:function(b,c,d){var e=this.options,f=this;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(b),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css(\"position\",\"absolute\"),this.cssPosition=this.helper.css(\"position\"),a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),e.containment&&this._setContainment(),e.cursor&&(a(\"body\").css(\"cursor\")&&(this._storedCursor=a(\"body\").css(\"cursor\")),a(\"body\").css(\"cursor\",e.cursor)),e.opacity&&(this.helper.css(\"opacity\")&&(this._storedOpacity=this.helper.css(\"opacity\")),this.helper.css(\"opacity\",e.opacity)),e.zIndex&&(this.helper.css(\"zIndex\")&&(this._storedZIndex=this.helper.css(\"zIndex\")),this.helper.css(\"zIndex\",e.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!=\"HTML\"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger(\"start\",b,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(var g=this.containers.length-1;g>=0;g--)this.containers[g]._trigger(\"activate\",b,f._uiHash(this));a.ui.ddmanager&&(a.ui.ddmanager.current=this),a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.dragging=!0,this.helper.addClass(\"ui-sortable-helper\"),this._mouseDrag(b);return!0},_mouseDrag:function(b){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo(\"absolute\"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!=\"HTML\"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY<c.scrollSensitivity?this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop+c.scrollSpeed:b.pageY-this.overflowOffset.top<c.scrollSensitivity&&(this.scrollParent[0].scrollTop=d=this.scrollParent[0].scrollTop-c.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-b.pageX<c.scrollSensitivity?this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft+c.scrollSpeed:b.pageX-this.overflowOffset.left<c.scrollSensitivity&&(this.scrollParent[0].scrollLeft=d=this.scrollParent[0].scrollLeft-c.scrollSpeed)):(b.pageY-a(document).scrollTop()<c.scrollSensitivity?d=a(document).scrollTop(a(document).scrollTop()-c.scrollSpeed):a(window).height()-(b.pageY-a(document).scrollTop())<c.scrollSensitivity&&(d=a(document).scrollTop(a(document).scrollTop()+c.scrollSpeed)),b.pageX-a(document).scrollLeft()<c.scrollSensitivity?d=a(document).scrollLeft(a(document).scrollLeft()-c.scrollSpeed):a(window).width()-(b.pageX-a(document).scrollLeft())<c.scrollSensitivity&&(d=a(document).scrollLeft(a(document).scrollLeft()+c.scrollSpeed))),d!==!1&&a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b)}this.positionAbs=this._convertPositionTo(\"absolute\");if(!this.options.axis||this.options.axis!=\"y\")this.helper[0].style.left=this.position.left+\"px\";if(!this.options.axis||this.options.axis!=\"x\")this.helper[0].style.top=this.position.top+\"px\";for(var e=this.items.length-1;e>=0;e--){var f=this.items[e],g=f.item[0],h=this._intersectsWithPointer(f);if(!h)continue;if(g!=this.currentItem[0]&&this.placeholder[h==1?\"next\":\"prev\"]()[0]!=g&&!a.ui.contains(this.placeholder[0],g)&&(this.options.type==\"semi-dynamic\"?!a.ui.contains(this.element[0],g):!0)){this.direction=h==1?\"down\":\"up\";if(this.options.tolerance==\"pointer\"||this._intersectsWithSides(f))this._rearrange(b,f);else break;this._trigger(\"change\",b,this._uiHash());break}}this._contactContainers(b),a.ui.ddmanager&&a.ui.ddmanager.drag(this,b),this._trigger(\"sort\",b,this._uiHash()),this.lastPositionAbs=this.positionAbs;return!1},_mouseStop:function(b,c){if(!!b){a.ui.ddmanager&&!this.options.dropBehaviour&&a.ui.ddmanager.drop(this,b);if(this.options.revert){var d=this,e=d.placeholder.offset();d.reverting=!0,a(this.helper).animate({left:e.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(b)})}else this._clear(b,c);return!1}},cancel:function(){var b=this;if(this.dragging){this._mouseUp({target:null}),this.options.helper==\"original\"?this.currentItem.css(this._storedCSS).removeClass(\"ui-sortable-helper\"):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger(\"deactivate\",null,b._uiHash(this)),this.containers[c].containerCache.over&&(this.containers[c]._trigger(\"out\",null,b._uiHash(this)),this.containers[c].containerCache.over=0)}this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!=\"original\"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),a.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem));return this},serialize:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];b=b||{},a(c).each(function(){var c=(a(b.item||this).attr(b.attribute||\"id\")||\"\").match(b.expression||/(.+)[-=_](.+)/);c&&d.push((b.key||c[1]+\"[]\")+\"=\"+(b.key&&b.expression?c[1]:c[2]))}),!d.length&&b.key&&d.push(b.key+\"=\");return d.join(\"&\")},toArray:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];b=b||{},c.each(function(){d.push(a(b.item||this).attr(b.attribute||\"id\")||\"\")});return d},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,d=this.positionAbs.top,e=d+this.helperProportions.height,f=a.left,g=f+a.width,h=a.top,i=h+a.height,j=this.offset.click.top,k=this.offset.click.left,l=d+j>h&&d+j<i&&b+k>f&&b+k<g;return this.options.tolerance==\"pointer\"||this.options.forcePointerForContainers||this.options.tolerance!=\"pointer\"&&this.helperProportions[this.floating?\"width\":\"height\"]>a[this.floating?\"width\":\"height\"]?l:f<b+this.helperProportions.width/2&&c-this.helperProportions.width/2<g&&h<d+this.helperProportions.height/2&&e-this.helperProportions.height/2<i},_intersectsWithPointer:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left,b.width),e=c&&d,f=this._getDragVerticalDirection(),g=this._getDragHorizontalDirection();if(!e)return!1;return this.floating?g&&g==\"right\"||f==\"down\"?2:1:f&&(f==\"down\"?2:1)},_intersectsWithSides:function(b){var c=a.ui.isOverAxis(this.positionAbs.top+this.offset.click.top,b.top+b.height/2,b.height),d=a.ui.isOverAxis(this.positionAbs.left+this.offset.click.left,b.left+b.width/2,b.width),e=this._getDragVerticalDirection(),f=this._getDragHorizontalDirection();return this.floating&&f?f==\"right\"&&d||f==\"left\"&&!d:e&&(e==\"down\"&&c||e==\"up\"&&!c)},_getDragVerticalDirection:function(){var a=this.positionAbs.top-this.lastPositionAbs.top;return a!=0&&(a>0?\"down\":\"up\")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this\n.lastPositionAbs.left;return a!=0&&(a>0?\"right\":\"left\")},refresh:function(a){this._refreshItems(a),this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(b){var c=this,d=[],e=[],f=this._connectWith();if(f&&b)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&e.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(\".ui-sortable-helper\").not(\".ui-sortable-placeholder\"),j])}}e.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(\".ui-sortable-helper\").not(\".ui-sortable-placeholder\"),this]);for(var g=e.length-1;g>=0;g--)e[g][0].each(function(){d.push(this)});return a(d)},_removeCurrentsFromItems:function(){var a=this.currentItem.find(\":data(\"+this.widgetName+\"-item)\");for(var b=0;b<this.items.length;b++)for(var c=0;c<a.length;c++)a[c]==this.items[b].item[0]&&this.items.splice(b,1)},_refreshItems:function(b){this.items=[],this.containers=[this];var c=this.items,d=this,e=[[a.isFunction(this.options.items)?this.options.items.call(this.element[0],b,{item:this.currentItem}):a(this.options.items,this.element),this]],f=this._connectWith();if(f)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&(e.push([a.isFunction(j.options.items)?j.options.items.call(j.element[0],b,{item:this.currentItem}):a(j.options.items,j.element),j]),this.containers.push(j))}}for(var g=e.length-1;g>=0;g--){var k=e[g][1],l=e[g][0];for(var i=0,m=l.length;i<m;i++){var n=a(l[i]);n.data(this.widgetName+\"-item\",k),c.push({item:n,instance:k,width:0,height:0,left:0,top:0})}}},refreshPositions:function(b){this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset());for(var c=this.items.length-1;c>=0;c--){var d=this.items[c];if(d.instance!=this.currentContainer&&this.currentContainer&&d.item[0]!=this.currentItem[0])continue;var e=this.options.toleranceElement?a(this.options.toleranceElement,d.item):d.item;b||(d.width=e.outerWidth(),d.height=e.outerHeight());var f=e.offset();d.left=f.left,d.top=f.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var c=this.containers.length-1;c>=0;c--){var f=this.containers[c].element.offset();this.containers[c].containerCache.left=f.left,this.containers[c].containerCache.top=f.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),this.containers[c].containerCache.height=this.containers[c].element.outerHeight()}return this},_createPlaceholder:function(b){var c=b||this,d=c.options;if(!d.placeholder||d.placeholder.constructor==String){var e=d.placeholder;d.placeholder={element:function(){var b=a(document.createElement(c.currentItem[0].nodeName)).addClass(e||c.currentItem[0].className+\" ui-sortable-placeholder\").removeClass(\"ui-sortable-helper\")[0];e||(b.style.visibility=\"hidden\");return b},update:function(a,b){if(!e||!!d.forcePlaceholderSize)b.height()||b.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css(\"paddingTop\")||0,10)-parseInt(c.currentItem.css(\"paddingBottom\")||0,10)),b.width()||b.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css(\"paddingLeft\")||0,10)-parseInt(c.currentItem.css(\"paddingRight\")||0,10))}}}c.placeholder=a(d.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),d.placeholder.update(c,c.placeholder)},_contactContainers:function(b){var c=null,d=null;for(var e=this.containers.length-1;e>=0;e--){if(a.ui.contains(this.currentItem[0],this.containers[e].element[0]))continue;if(this._intersectsWith(this.containers[e].containerCache)){if(c&&a.ui.contains(this.containers[e].element[0],c.element[0]))continue;c=this.containers[e],d=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger(\"out\",b,this._uiHash(this)),this.containers[e].containerCache.over=0)}if(!!c)if(this.containers.length===1)this.containers[d]._trigger(\"over\",b,this._uiHash(this)),this.containers[d].containerCache.over=1;else if(this.currentContainer!=this.containers[d]){var f=1e4,g=null,h=this.positionAbs[this.containers[d].floating?\"left\":\"top\"];for(var i=this.items.length-1;i>=0;i--){if(!a.ui.contains(this.containers[d].element[0],this.items[i].item[0]))continue;var j=this.items[i][this.containers[d].floating?\"left\":\"top\"];Math.abs(j-h)<f&&(f=Math.abs(j-h),g=this.items[i])}if(!g&&!this.options.dropOnEmpty)return;this.currentContainer=this.containers[d],g?this._rearrange(b,g,null,!0):this._rearrange(b,null,this.containers[d].element,!0),this._trigger(\"change\",b,this._uiHash()),this.containers[d]._trigger(\"change\",b,this._uiHash(this)),this.options.placeholder.update(this.currentContainer,this.placeholder),this.containers[d]._trigger(\"over\",b,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b,this.currentItem])):c.helper==\"clone\"?this.currentItem.clone():this.currentItem;d.parents(\"body\").length||a(c.appendTo!=\"parent\"?c.appendTo:this.currentItem[0].parentNode)[0].appendChild(d[0]),d[0]==this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css(\"position\"),top:this.currentItem.css(\"top\"),left:this.currentItem.css(\"left\")}),(d[0].style.width==\"\"||c.forceHelperSize)&&d.width(this.currentItem.width()),(d[0].style.height==\"\"||c.forceHelperSize)&&d.height(this.currentItem.height());return d},_adjustOffsetFromHelper:function(b){typeof b==\"string\"&&(b=b.split(\" \")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),\"left\"in b&&(this.offset.click.left=b.left+this.margins.left),\"right\"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),\"top\"in b&&(this.offset.click.top=b.top+this.margins.top),\"bottom\"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition==\"absolute\"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()==\"html\"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css(\"borderTopWidth\"),10)||0),left:b.left+(parseInt(this.offsetParent.css(\"borderLeftWidth\"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition==\"relative\"){var a=this.currentItem.position();return{top:a.top-(parseInt(this.helper.css(\"top\"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css(\"left\"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css(\"marginLeft\"),10)||0,top:parseInt(this.currentItem.css(\"marginTop\"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment==\"parent\"&&(b.containment=this.helper[0].parentNode);if(b.containment==\"document\"||b.containment==\"window\")this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,a(b.containment==\"document\"?document:window).width()-this.helperProportions.width-this.margins.left,(a(b.containment==\"document\"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)){var c=a(b.containment)[0],d=a(b.containment).offset(),e=a(c).css(\"overflow\")!=\"hidden\";this.containment=[d.left+(parseInt(a(c).css(\"borderLeftWidth\"),10)||0)+(parseInt(a(c).css(\"paddingLeft\"),10)||0)-this.margins.left,d.top+(parseInt(a(c).css(\"borderTopWidth\"),10)||0)+(parseInt(a(c).css(\"paddingTop\"),10)||0)-this.margins.top,d.left+(e?Math.max(c.scrollWidth,c.offsetWidth):c.offsetWidth)-(parseInt(a(c).css(\"borderLeftWidth\"),10)||0)-(parseInt(a(c).css(\"paddingRight\"),10)||0)-this.helperProportions.width-this.margins.left,d.top+(e?Math.max(c.scrollHeight,c.offsetHeight):c.offsetHeight)-(parseInt(a(c).css(\"borderTopWidth\"),10)||0)-(parseInt(a(c).css(\"paddingBottom\"),10)||0)-this.helperProportions.height-this.margins.top]}},_convertPositionTo:function(b,c){c||(c=this.position);var d=b==\"absolute\"?1:-1,e=this.options,f=this.cssPosition==\"absolute\"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&this.cssPosition==\"fixed\"?0:(this.cssPosition==\"fixed\"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&this.cssPosition==\"fixed\"?0:(this.cssPosition==\"fixed\"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition==\"absolute\"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName);this.cssPosition==\"relative\"&&(this.scrollParent[0]==document||this.scrollParent[0]==this.offsetParent[0])&&(this.offset.relative=this._getRelativeOffset());var f=b.pageX,g=b.pageY;if(this.originalPosition){this.containment&&(b.pageX-this.offset.click.left<this.containment[0]&&(f=this.containment[0]+this.offset.click.left),b.pageY-this.offset.click.top<this.containment[1]&&(g=this.containment[1]+this.offset.click.top),b.pageX-this.offset.click.left>this.containment[2]&&(f=this.containment[2]+this.offset.click.left),b.pageY-this.offset.click.top>this.containment[3]&&(g=this.containment[3]+this.offset.click.top));if(c.grid){var h=this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1];g=this.containment?h-this.offset.click.top<this.containment[1]||h-this.offset.click.top>this.containment[3]?h-this.offset.click.top<this.containment[1]?h+c.grid[1]:h-c.grid[1]:h:h;var i=this.originalPageX+Math.round((f-this.originalPageX)/c.grid[0])*c.grid[0];f=this.containment?i-this.offset.click.left<this.containment[0]||i-this.offset.click.left>this.containment[2]?i-this.offset.click.left<this.containment[0]?i+c.grid[0]:i-c.grid[0]:i:i}}return{top:g-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(a.browser.safari&&this.cssPosition==\"fixed\"?0:this.cssPosition==\"fixed\"?-this.scrollParent.scrollTop():e?0:d.scrollTop()),left:f-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(a.browser.safari&&this.cssPosition==\"fixed\"?0:this.cssPosition==\"fixed\"?-this.scrollParent.scrollLeft():e?0:d.scrollLeft())}},_rearrange:function(a,b,c,d){c?c[0].appendChild(this.placeholder[0]):b.item[0].parentNode.insertBefore(this.placeholder[0],this.direction==\"down\"?b.item[0]:b.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var e=this,f=this.counter;window.setTimeout(function(){f==e.counter&&e.refreshPositions(!d)},0)},_clear:function(b,c){this.reverting=!1;var d=[],e=this;!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null;if(this.helper[0]==this.currentItem[0]){for(var f in this._storedCSS)if(this._storedCSS[f]==\"auto\"||this._storedCSS[f]==\"static\")this._storedCSS[f]=\"\";this.currentItem.css(this._storedCSS).removeClass(\"ui-sortable-helper\")}else this.currentItem.show();this.fromOutside&&!c&&d.push(function(a){this._trigger(\"receive\",a,this._uiHash(this.fromOutside))}),(this.fromOutside||this.domPosition.prev!=this.currentItem.prev().not(\".ui-sortable-helper\")[0]||this.domPosition.parent!=this.currentItem.parent()[0])&&!c&&d.push(function(a){this._trigger(\"update\",a,this._uiHash())});if(!a.ui.contains(this.element[0],this.currentItem[0])){c||d.push(function(a){this._trigger(\"remove\",a,this._uiHash())});for(var f=this.containers.length-1;f>=0;f--)a.ui.contains(this.containers[f].element[0],this.currentItem[0])&&!c&&(d.push(function(a){return function(b){a._trigger(\"receive\",b,this._uiHash(this))}}.call(this,this.containers[f])),d.push(function(a){return function(b){a._trigger(\"update\",b,this._uiHash(this))}}.call(this,this.containers[f])))}for(var f=this.containers.length-1;f>=0;f--)c||d.push(function(a){return function(b){a._trigger(\"deactivate\",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over&&(d.push(function(a){return function(b){a._trigger(\"out\",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over=0);this._storedCursor&&a(\"body\").css(\"cursor\",this._storedCursor),this._storedOpacity&&this.helper.css(\"opacity\",this._storedOpacity),this._storedZIndex&&this.helper.css(\"zIndex\",this._storedZIndex==\"auto\"?\"\":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!c){this._trigger(\"beforeStop\",b,this._uiHash());for(var f=0;f<d.length;f++)d[f].call(this,b);this._trigger(\"stop\",b,this._uiHash())}return!1}c||this._trigger(\"beforeStop\",b,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.helper[0]!=this.currentItem[0]&&this.helper.remove(),this.helper=null;if(!c){for(var f=0;f<d.length;f++)d[f].call(this,b);this._trigger(\"stop\",b,this._uiHash())}this.fromOutside=!1;return!0},_trigger:function(){a.Widget.prototype._trigger.apply(this,arguments)===!1&&this.cancel()},_uiHash:function(b){var c=b||this;return{helper:c.helper,placeholder:c.placeholder||a([]),position:c.position,originalPosition:c.originalPosition,offset:c.positionAbs,item:c.currentItem,sender:b?b.element:null}}}),a.extend(a.ui.sortable,{version:\"1.8.17\"})}(jQuery),jQuery.effects||function(a,b){function l(b){if(!b||typeof b==\"number\"||a.fx.speeds[b])return!0;if(typeof b==\"string\"&&!a.effects[b])return!0;return!1}function k(b,c,d,e){typeof b==\"object\"&&(e=c,d=null,c=b,b=c.effect),a.isFunction(c)&&(e=c,d=null,c={});if(typeof c==\"number\"||a.fx.speeds[c])e=d,d=c,c={};a.isFunction(d)&&(e=d,d=null),c=c||{},d=d||c.duration,d=a.fx.off?0:typeof d==\"number\"?d:d in a.fx.speeds?a.fx.speeds[d]:a.fx.speeds._default,e=e||c.complete;return[b,c,d,e]}function j(a,b){var c={_:0},d;for(d in b)a[d]!=b[d]&&(c[d]=b[d]);return c}function i(b){var c,d;for(c in b)d=b[c],(d==null||a.isFunction(d)||c in g||/scrollbar/.test(c)||!/color/i.test(c)&&isNaN(parseFloat(d)))&&delete b[c];return b}function h(){var a=document.defaultView?document.defaultView.getComputedStyle(this,null):this.currentStyle,b={},c,d;if(a&&a.length&&a[0]&&a[a[0]]){var e=a.length;while(e--)c=a[e],typeof a[c]==\"string\"&&(d=c.replace(/\\-(\\w)/g,function(a,b){return b.toUpperCase()}),b[d]=a[c])}else for(c in a)typeof a[c]==\"string\"&&(b[c]=a[c]);return b}function d(b,d){var e;do{e=a.curCSS(b,d);if(e!=\"\"&&e!=\"transparent\"||a.nodeName(b,\"body\"))break;d=\"backgroundColor\"}while(b=b.parentNode);return c(e)}function c(b){var c;if(b&&b.constructor==Array&&b.length==3)return b;if(c=/rgb\\(\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*,\\s*([0-9]{1,3})\\s*\\)/.exec(b))return[parseInt(c[1],10),parseInt(c[2],10),parseInt(c[3],10)];if(c=/rgb\\(\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*,\\s*([0-9]+(?:\\.[0-9]+)?)\\%\\s*\\)/.exec(b))return[parseFloat(c[1])*2.55,parseFloat(c[2])*2.55,parseFloat(c[3])*2.55];if(c=/#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(b))return[parseInt(c[1],16),parseInt(c[2],16),parseInt(c[3],16)];if(c=/#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(b))return[parseInt(c[1]+c[1],16),parseInt(c[2]+c[2],16),parseInt(c[3]+c[3],16)];if(c=/rgba\\(0, 0, 0, 0\\)/.exec(b))return e.transparent;return e[a.trim(b).toLowerCase()]}a.effects={},a.each([\"backgroundColor\",\"borderBottomColor\",\"borderLeftColor\",\"borderRightColor\",\"borderTopColor\",\"borderColor\",\"color\",\"outlineColor\"],function(b,e){a.fx.step[e]=function(a){a.colorInit||(a.start=d(a.elem,e),a.end=c(a.end),a.colorInit=!0),a.elem.style[e]=\"rgb(\"+Math.max(Math.min(parseInt(a.pos*(a.end[0]-a.start[0])+a.start[0],10),255),0)+\",\"+Math.max(Math.min(parseInt(a.pos*(a.end[1]-a.start[1])+a.start[1],10),255),0)+\",\"+Math.max(Math.min(parseInt(a.pos*(a.end[2]-a.start[2])+a.start[2],10),255),0)+\")\"}});var e={aqua:[0,255,255],azure:[240,255,255],beige:[245,245,220],black:[0,0,0],blue:[0,0,255],brown:[165,42,42],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgrey:[169,169,169],darkgreen:[0,100,0],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkviolet:[148,0,211],fuchsia:[255,0,255],gold:[255,215,0],green:[0,128,0],indigo:[75,0,130],khaki:[240,230,140],lightblue:[173,216,230],lightcyan:[224,255,255],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightyellow:[255,255,224],lime:[0,255,0],magenta:[255,0,255],maroon:[128,0,0],navy:[0,0,128],olive:[128,128,0],orange:[255,165,0],pink:[255,192,203],purple:[128,0,128],violet:[128,0,128],red:[255,0,0],silver:[192,192,192],white:[255,255,255],yellow:[255,255,0],transparent:[255,255,255]},f=[\"add\",\"remove\",\"toggle\"],g={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1};a.effects.animateClass=function(b,c,d,e){a.isFunction(d)&&(e=d,d=null);return this.queue(function(){var g=a(this),k=g.attr(\"style\")||\" \",l=i(h.call(this)),m,n=g.attr(\"class\");a.each(f,function(a,c){b[c]&&g[c+\"Class\"](b[c])}),m=i(h.call(this)),g.attr(\"class\",n),g.animate(j(l,m),{queue:!1,duration:c,easing:d,complete:function(){a.each(f,function(a,c){b[c]&&g[c+\"Class\"](b[c])}),typeof g.attr(\"style\")==\"object\"?(g.attr(\"style\").cssText=\"\",g.attr(\"style\").cssText=k):g.attr(\"style\",k),e&&e.apply(this,arguments),a.dequeue(this)}})})},a.fn.extend({_addClass:a.fn.addClass,addClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{add:b},c,d,e]):this._addClass(b)},_removeClass:a.fn.removeClass,removeClass:function(b,c,d,e){return c?a.effects.animateClass.apply(this,[{remove:b},c,d,e]):this._removeClass(b)},_toggleClass:a.fn.toggleClass,toggleClass:function(c,d,e,f,g){return typeof d==\"boolean\"||d===b?e?a.effects.animateClass.apply(this,[d?{add:c}:{remove:c},e,f,g]):this._toggleClass(c,d):a.effects.animateClass.apply(this,[{toggle:c},d,e,f])},switchClass:function(b,c,d,e,f){return a.effects.animateClass.apply(this,[{add:c,remove:b},d,e,f])}}),a.extend(a.effects,{version:\"1.8.17\",save:function(a,b){for(var c=0;c<b.length;c++)b[c]!==null&&a.data(\"ec.storage.\"+b[c],a[0].style[b[c]])},restore:function(a,b){for(var c=0;c<b.length;c++)b[c]!==null&&a.css(b[c],a.data(\"ec.storage.\"+b[c]))},setMode:function(a,b){b==\"toggle\"&&(b=a.is(\":hidden\")?\"show\":\"hide\");return b},getBaseline:function(a,b){var c,d;switch(a[0]){case\"top\":c=0;break;case\"middle\":c=.5;break;case\"bottom\":c=1;break;default:c=a[0]/b.height}switch(a[1]){case\"left\":d=0;break;case\"center\":d=.5;break;case\"right\":d=1;break;default:d=a[1]/b.width}return{x:d,y:c}},createWrapper:function(b){if(b.parent().is(\".ui-effects-wrapper\"))return b.parent();var c={width:b.outerWidth(!0),height:b.outerHeight(!0),\"float\":b.css(\"float\")},d=a(\"<div></div>\").addClass(\"ui-effects-wrapper\").css({fontSize:\"100%\",background:\"transparent\",border:\"none\",margin:0,padding:0}),e=document.activeElement;b.wrap(d),(b[0]===e||a.contains(b[0],e))&&a(e).focus(),d=b.parent(),b.css(\"position\")==\"static\"?(d.css({position:\"relative\"}),b.css({position:\"relative\"})):(a.extend(c,{position:b.css(\"position\"),zIndex:b.css(\"z-index\")}),a.each([\"top\",\"left\",\"bottom\",\"right\"],function(a,d){c[d]=b.css(d),isNaN(parseInt(c[d],10))&&(c[d]=\"auto\")}),b.css({position:\"relative\",top:0,left:0,right:\"auto\",bottom:\"auto\"}));return d.css(c).show()},removeWrapper:function(b){var c,d=document.activeElement;if(b.parent().is(\".ui-effects-wrapper\")){c=b.parent().replaceWith(b),(b[0]===d||a.contains(b[0],d))&&a(d).focus();return c}return b},setTransition:function(b,c,d,e){e=e||{},a.each(c,function(a,c){unit=b.cssUnit(c),unit[0]>0&&(e[c]=unit[0]*d+unit[1])});return e}}),a.fn.extend({effect:function(b,c,d,e){var f=k.apply(this,arguments),g={options:f[1],duration:f[2],callback:f[3]},h=g.options.mode,i=a.effects[b];if(a.fx.off||!i)return h?this[h](g.duration,g.callback):this.each(function(){g.callback&&g.callback.call(this)});return i.call(this,g)},_show:a.fn.show,show:function(a){if(l(a))return this._show.apply(this,arguments);var b=k.apply(this,arguments);b[1].mode=\"show\";return this.effect.apply(this,b)},_hide:a.fn.hide,hide:function(a){if(l(a))return this._hide.apply(this,arguments);var b=k.apply(this,arguments);b[1].mode=\"hide\";return this.effect.apply(this,b)},__toggle:a.fn.toggle,toggle:function(b){if(l(b)||typeof b==\"boolean\"||a.isFunction(b))return this.__toggle.apply(this,arguments);var c=k.apply(this,arguments);c[1].mode=\"toggle\";return this.effect.apply(this,c)},cssUnit:function(b){var c=this.css(b),d=[];a.each([\"em\",\"px\",\"%\",\"pt\"],function(a,b){c.indexOf(b)>0&&(d=[parseFloat(c),b])});return d}}),a.easing.jswing=a.easing.swing,a.extend(a.easing,{def:\"easeOutQuad\",swing:function(b,c,d,e,f){return a.easing[a.easing.def](b,c,d,e,f)},easeInQuad:function(a,b,c,d,e){return d*(b/=e)*b+c},easeOutQuad:function(a,b,c,d,e){return-d*(b/=e)*(b-2)+c},easeInOutQuad:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b+c;return-d/2*(--b*(b-2)-1)+c},easeInCubic:function(a,b,c,d,e){return d*(b/=e)*b*b+c},easeOutCubic:function(a,b,c,d,e){return d*((b=b/e-1)*b*b+1)+c},easeInOutCubic:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b+c;return d/2*((b-=2)*b*b+2)+c},easeInQuart:function(a,b,c,d,e){return d*(b/=e)*b*b*b+c},easeOutQuart:function(a,b,c,d,e){return-d*((b=b/e-1)*b*b*b-1)+c},easeInOutQuart:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b+c;return-d/2*((b-=2)*b*b*b-2)+c},easeInQuint:function(a,b,c,d,e){return d*(b/=e)*b*b*b*b+c},easeOutQuint:function(a,b,c,d,e){return d*((b=b/e-1)*b*b*b*b+1)+c},easeInOutQuint:function(a,b,c,d,e){if((b/=e/2)<1)return d/2*b*b*b*b*b+c;return d/2*((b-=2)*b*b*b*b+2)+c},easeInSine:function(a,b,c,d,e){return-d*Math.cos(b/e*(Math.PI/2))+d+c},easeOutSine:function(a,b,c,d,e){return d*Math.sin(b/e*(Math.PI/2))+c},easeInOutSine:function(a,b,c,d,e){return-d/2*(Math.cos(Math.PI*b/e)-1)+c},easeInExpo:function(a,b,c,d,e){return b==0?c:d*Math.pow(2,10*(b/e-1))+c},easeOutExpo:function(a,b,c,d,e){return b==e?c+d:d*(-Math.pow(2,-10*b/e)+1)+c},easeInOutExpo:function(a,b,c,d,e){if(b==0)return c;if(b==e)return c+d;if((b/=e/2)<1)return d/2*Math.pow(2,10*(b-1))+c;return d/2*(-Math.pow(2,-10*--b)+2)+c},easeInCirc:function(a,b,c,d,e){return-d*(Math.sqrt(1-(b/=e)*b)-1)+c},easeOutCirc:function(a,b,c,d,e){return d*Math.sqrt(1-(b=b/e-1)*b)+c},easeInOutCirc:function(a,b,c,d,e){if((b/=e/2)<1)return-d/2*(Math.sqrt(1-b*b)-1)+c;return d/2*(Math.sqrt(1-(b-=2)*b)+1)+c},easeInElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return-(h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g))+c},easeOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e)==1)return c+d;g||(g=e*.3);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);return h*Math.pow(2,-10*b)*Math.sin((b*e-f)*2*Math.PI/g)+d+c},easeInOutElastic:function(a,b,c,d,e){var f=1.70158,g=0,h=d;if(b==0)return c;if((b/=e/2)==2)return c+d;g||(g=e*.3*1.5);if(h<Math.abs(d)){h=d;var f=g/4}else var f=g/(2*Math.PI)*Math.asin(d/h);if(b<1)return-0.5*h*Math.pow(2,10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)+c;return h*Math.pow(2,-10*(b-=1))*Math.sin((b*e-f)*2*Math.PI/g)*.5+d+c},easeInBack:function(a,c,d,e,f,g){g==b&&(g=1.70158);return e*(c/=f)*c*((g+1)*c-g)+d},easeOutBack:function(a,c,d,e,f,g){g==b&&(g=1.70158);return e*((c=c/f-1)*c*((g+1)*c+g)+1)+d},easeInOutBack:function(a,c,d,e,f,g){g==b&&(g=1.70158);if((c/=f/2)<1)return e/2*c*c*(((g*=1.525)+1)*c-g)+d;return e/2*((c-=2)*c*(((g*=1.525)+1)*c+g)+2)+d},easeInBounce:function(b,c,d,e,f){return e-a.easing.easeOutBounce(b,f-c,0,e,f)+d},easeOutBounce:function(a,b,c,d,e){return(b/=e)<1/2.75?d*7.5625*b*b+c:b<2/2.75?d*(7.5625*(b-=1.5/2.75)*b+.75)+c:b<2.5/2.75?d*(7.5625*(b-=2.25/2.75)*b+.9375)+c:d*(7.5625*(b-=2.625/2.75)*b+.984375)+c},easeInOutBounce:function(b,c,d,e,f){if(c<f/2)return a.easing.easeInBounce(b,c*2,0,e,f)*.5+d;return a.easing.easeOutBounce(b,c*2-f,0,e,f)*.5+e*.5+d}})}(jQuery),function(a,b){a.effects.blind=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\"],e=a.effects.setMode(c,b.options.mode||\"hide\"),f=b.options.direction||\"vertical\";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:\"hidden\"}),h=f==\"vertical\"?\"height\":\"width\",i=f==\"vertical\"?g.height():g.width();e==\"show\"&&g.css(h,0);var j={};j[h]=e==\"show\"?i:0,g.animate(j,b.duration,b.options.easing,function(){e==\"hide\"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),function(a,b){a.effects.bounce=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\"],e=a.effects.setMode(c,b.options.mode||\"effect\"),f=b.options.direction||\"up\",g=b.options.distance||20,h=b.options.times||5,i=b.duration||250;/show|hide/.test(e)&&d.push(\"opacity\"),a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f==\"up\"||f==\"down\"?\"top\":\"left\",k=f==\"up\"||f==\"left\"?\"pos\":\"neg\",g=b.options.distance||(j==\"top\"?c.outerHeight({margin:!0})/3:c.outerWidth({margin:!0})/3);e==\"show\"&&c.css(\"opacity\",0).css(j,k==\"pos\"?-g:g),e==\"hide\"&&(g=g/(h*2)),e!=\"hide\"&&h--;if(e==\"show\"){var l={opacity:1};l[j]=(k==\"pos\"?\"+=\":\"-=\")+g,c.animate(l,i/2,b.options.easing),g=g/2,h--}for(var m=0;m<h;m++){var n={},p={};n[j]=(k==\"pos\"?\"-=\":\"+=\")+g,p[j]=(k==\"pos\"?\"+=\":\"-=\")+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing),g=e==\"hide\"?g*2:g/2}if(e==\"hide\"){var l={opacity:0};l[j]=(k==\"pos\"?\"-=\":\"+=\")+g,c.animate(l,i/2,b.options.easing,function(){c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)})}else{var n={},p={};n[j]=(k==\"pos\"?\"-=\":\"+=\")+g,p[j]=(k==\"pos\"?\"+=\":\"-=\")+g,c.animate(n,i/2,b.options.easing).animate(p,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)})}c.queue(\"fx\",function(){c.dequeue()}),c.dequeue()})}}(jQuery),function(a,b){a.effects.clip=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"height\",\"width\"],e=a.effects.setMode(c,b.options.mode||\"hide\"),f=b.options.direction||\"vertical\";a.effects.save(c,d),c.show();var g=a.effects.createWrapper(c).css({overflow:\"hidden\"}),h=c[0].tagName==\"IMG\"?g:c,i={size:f==\"vertical\"?\"height\":\"width\",position:f==\"vertical\"?\"top\":\"left\"},j=f==\"vertical\"?h.height():h.width();e==\"show\"&&(h.css(i.size,0),h.css(i.position,j/2));var k={};k[i.size]=e==\"show\"?j:0,k[i.position]=e==\"show\"?0:j/2,h.animate(k,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==\"hide\"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.drop=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"opacity\"],e=a.effects.setMode(c,b.options.mode||\"hide\"),f=b.options.direction||\"left\";a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var g=f==\"up\"||f==\"down\"?\"top\":\"left\",h=f==\"up\"||f==\"left\"?\"pos\":\"neg\",i=b.options.distance||(g==\"top\"?c.outerHeight({margin:!0})/2:c.outerWidth({margin:!0})/2);e==\"show\"&&c.css(\"opacity\",0).css(g,h==\"pos\"?-i:i);var j={opacity:e==\"show\"?1:0};j[g]=(e==\"show\"?h==\"pos\"?\"+=\":\"-=\":h==\"pos\"?\"-=\":\"+=\")+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==\"hide\"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.explode=function(b){return this.queue(function(){var c=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3,d=b.options.pieces?Math.round(Math.sqrt(b.options.pieces)):3;b.options.mode=b.options.mode==\"toggle\"?a(this).is(\":visible\")?\"hide\":\"show\":b.options.mode;var e=a(this).show().css(\"visibility\",\"hidden\"),f=e.offset();f.top-=parseInt(e.css(\"marginTop\"),10)||0,f.left-=parseInt(e.css(\"marginLeft\"),10)||0;var g=e.outerWidth(!0),h=e.outerHeight(!0);for(var i=0;i<c;i++)for(var j=0;j<d;j++)e.clone().appendTo(\"body\").wrap(\"<div></div>\").css({position:\"absolute\",visibility:\"visible\",left:-j*(g/d),top:-i*(h/c)}).parent().addClass(\"ui-effects-explode\").css({position:\"absolute\",overflow:\"hidden\",width:g/d,height:h/c,left:f.left+j*(g/d)+(b.options.mode==\"show\"?(j-Math.floor(d/2))*(g/d):0),top:f.top+i*(h/c)+(b.options.mode==\"show\"?(i-Math.floor(c/2))*(h/c):0),opacity:b.options.mode==\"show\"?0:1}).animate({left:f.left+j*(g/d)+(b.options.mode==\"show\"?0:(j-Math.floor(d/2))*(g/d)),top:f.top+i*(h/c)+(b.options.mode==\"show\"?0:(i-Math.floor(c/2))*(h/c)),opacity:b.options.mode==\"show\"?1:0},b.duration||500);setTimeout(function(){b.options.mode==\"show\"?e.css({visibility:\"visible\"}):e.css({visibility:\"visible\"}).hide(),b.callback&&b.callback.apply(e[0]),e.dequeue(),a(\"div.ui-effects-explode\").remove()},b.duration||500)})}}(jQuery),function(a,b){a.effects.fade=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||\"hide\");c.animate({opacity:d},{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.fold=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\"],e=a.effects.setMode(c,b.options.mode||\"hide\"),f=b.options.size||15,g=!!b.options.horizFirst,h=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(c,d),c.show();var i=a.effects.createWrapper(c).css({overflow:\"hidden\"}),j=e==\"show\"!=g,k=j?[\"width\",\"height\"]:[\"height\",\"width\"],l=j?[i.width(),i.height()]:[i.height(),i.width()],m=/([0-9]+)%/.exec(f);m&&(f=parseInt(m[1],10)/100*l[e==\"hide\"?0:1]),e==\"show\"&&i.css(g?{height:0,width:f}:{height:f,width:0});var n={},p={};n[k[0]]=e==\"show\"?l[0]:f,p[k[1]]=e==\"show\"?l[1]:0,i.animate(n,h,b.options.easing).animate(p,h,b.options.easing,function(){e==\"hide\"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),function(a,b){a.effects.highlight=function(b){return this.queue(function(){var c=a(this),d=[\"backgroundImage\",\"backgroundColor\",\"opacity\"],e=a.effects.setMode(c,b.options.mode||\"show\"),f={backgroundColor:c.css(\"backgroundColor\")};e==\"hide\"&&(f.opacity=0),a.effects.save(c,d),c.show().css({backgroundImage:\"none\",backgroundColor:b.options.color||\"#ffff99\"}).animate(f,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==\"hide\"&&c.hide(),a.effects.restore(c,d),e==\"show\"&&!a.support.opacity&&this.style.removeAttribute(\"filter\"),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.pulsate=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||\"show\");times=(b.options.times||5)*2-1,duration=b.duration?b.duration/2:a.fx.speeds._default/2,isVisible=c.is(\":visible\"),animateTo=0,isVisible||(c.css(\"opacity\",0).show(),animateTo=1),(d==\"hide\"&&isVisible||d==\"show\"&&!isVisible)&&times--;for(var e=0;e<times;e++)c.animate({opacity:animateTo},duration,b.options.easing),animateTo=(animateTo+1)%2;c.animate({opacity:animateTo},duration,b.options.easing,function(){animateTo==0&&c.hide(),b.callback&&b.callback.apply(this,arguments)}),c.queue(\"fx\",function(){c.dequeue()}).dequeue()})}}(jQuery),function(a,b){a.effects.puff=function(b){return this.queue(function(){var c=a(this),d=a.effects.setMode(c,b.options.mode||\"hide\"),e=parseInt(b.options.percent,10)||150,f=e/100,g={height:c.height(),width:c.width()};a.extend(b.options,{fade:!0,mode:d,percent:d==\"hide\"?e:100,from:d==\"hide\"?g:{height:g.height*f,width:g.width*f}}),c.effect(\"scale\",b.options,b.duration,b.callback),c.dequeue()})},a.effects.scale=function(b){return this.queue(function(){var c=a(this),d=a.extend(!0,{},b.options\n),e=a.effects.setMode(c,b.options.mode||\"effect\"),f=parseInt(b.options.percent,10)||(parseInt(b.options.percent,10)==0?0:e==\"hide\"?0:100),g=b.options.direction||\"both\",h=b.options.origin;e!=\"effect\"&&(d.origin=h||[\"middle\",\"center\"],d.restore=!0);var i={height:c.height(),width:c.width()};c.from=b.options.from||(e==\"show\"?{height:0,width:0}:i);var j={y:g!=\"horizontal\"?f/100:1,x:g!=\"vertical\"?f/100:1};c.to={height:i.height*j.y,width:i.width*j.x},b.options.fade&&(e==\"show\"&&(c.from.opacity=0,c.to.opacity=1),e==\"hide\"&&(c.from.opacity=1,c.to.opacity=0)),d.from=c.from,d.to=c.to,d.mode=e,c.effect(\"size\",d,b.duration,b.callback),c.dequeue()})},a.effects.size=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"width\",\"height\",\"overflow\",\"opacity\"],e=[\"position\",\"top\",\"bottom\",\"left\",\"right\",\"overflow\",\"opacity\"],f=[\"width\",\"height\",\"overflow\"],g=[\"fontSize\"],h=[\"borderTopWidth\",\"borderBottomWidth\",\"paddingTop\",\"paddingBottom\"],i=[\"borderLeftWidth\",\"borderRightWidth\",\"paddingLeft\",\"paddingRight\"],j=a.effects.setMode(c,b.options.mode||\"effect\"),k=b.options.restore||!1,l=b.options.scale||\"both\",m=b.options.origin,n={height:c.height(),width:c.width()};c.from=b.options.from||n,c.to=b.options.to||n;if(m){var p=a.effects.getBaseline(m,n);c.from.top=(n.height-c.from.height)*p.y,c.from.left=(n.width-c.from.width)*p.x,c.to.top=(n.height-c.to.height)*p.y,c.to.left=(n.width-c.to.width)*p.x}var q={from:{y:c.from.height/n.height,x:c.from.width/n.width},to:{y:c.to.height/n.height,x:c.to.width/n.width}};if(l==\"box\"||l==\"both\")q.from.y!=q.to.y&&(d=d.concat(h),c.from=a.effects.setTransition(c,h,q.from.y,c.from),c.to=a.effects.setTransition(c,h,q.to.y,c.to)),q.from.x!=q.to.x&&(d=d.concat(i),c.from=a.effects.setTransition(c,i,q.from.x,c.from),c.to=a.effects.setTransition(c,i,q.to.x,c.to));(l==\"content\"||l==\"both\")&&q.from.y!=q.to.y&&(d=d.concat(g),c.from=a.effects.setTransition(c,g,q.from.y,c.from),c.to=a.effects.setTransition(c,g,q.to.y,c.to)),a.effects.save(c,k?d:e),c.show(),a.effects.createWrapper(c),c.css(\"overflow\",\"hidden\").css(c.from);if(l==\"content\"||l==\"both\")h=h.concat([\"marginTop\",\"marginBottom\"]).concat(g),i=i.concat([\"marginLeft\",\"marginRight\"]),f=d.concat(h).concat(i),c.find(\"*[width]\").each(function(){child=a(this),k&&a.effects.save(child,f);var c={height:child.height(),width:child.width()};child.from={height:c.height*q.from.y,width:c.width*q.from.x},child.to={height:c.height*q.to.y,width:c.width*q.to.x},q.from.y!=q.to.y&&(child.from=a.effects.setTransition(child,h,q.from.y,child.from),child.to=a.effects.setTransition(child,h,q.to.y,child.to)),q.from.x!=q.to.x&&(child.from=a.effects.setTransition(child,i,q.from.x,child.from),child.to=a.effects.setTransition(child,i,q.to.x,child.to)),child.css(child.from),child.animate(child.to,b.duration,b.options.easing,function(){k&&a.effects.restore(child,f)})});c.animate(c.to,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){c.to.opacity===0&&c.css(\"opacity\",c.from.opacity),j==\"hide\"&&c.hide(),a.effects.restore(c,k?d:e),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.shake=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\"],e=a.effects.setMode(c,b.options.mode||\"effect\"),f=b.options.direction||\"left\",g=b.options.distance||20,h=b.options.times||3,i=b.duration||b.options.duration||140;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f==\"up\"||f==\"down\"?\"top\":\"left\",k=f==\"up\"||f==\"left\"?\"pos\":\"neg\",l={},m={},n={};l[j]=(k==\"pos\"?\"-=\":\"+=\")+g,m[j]=(k==\"pos\"?\"+=\":\"-=\")+g*2,n[j]=(k==\"pos\"?\"-=\":\"+=\")+g*2,c.animate(l,i,b.options.easing);for(var p=1;p<h;p++)c.animate(m,i,b.options.easing).animate(n,i,b.options.easing);c.animate(m,i,b.options.easing).animate(l,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)}),c.queue(\"fx\",function(){c.dequeue()}),c.dequeue()})}}(jQuery),function(a,b){a.effects.slide=function(b){return this.queue(function(){var c=a(this),d=[\"position\",\"top\",\"bottom\",\"left\",\"right\"],e=a.effects.setMode(c,b.options.mode||\"show\"),f=b.options.direction||\"left\";a.effects.save(c,d),c.show(),a.effects.createWrapper(c).css({overflow:\"hidden\"});var g=f==\"up\"||f==\"down\"?\"top\":\"left\",h=f==\"up\"||f==\"left\"?\"pos\":\"neg\",i=b.options.distance||(g==\"top\"?c.outerHeight({margin:!0}):c.outerWidth({margin:!0}));e==\"show\"&&c.css(g,h==\"pos\"?isNaN(i)?\"-\"+i:-i:i);var j={};j[g]=(e==\"show\"?h==\"pos\"?\"+=\":\"-=\":h==\"pos\"?\"-=\":\"+=\")+i,c.animate(j,{queue:!1,duration:b.duration,easing:b.options.easing,complete:function(){e==\"hide\"&&c.hide(),a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments),c.dequeue()}})})}}(jQuery),function(a,b){a.effects.transfer=function(b){return this.queue(function(){var c=a(this),d=a(b.options.to),e=d.offset(),f={top:e.top,left:e.left,height:d.innerHeight(),width:d.innerWidth()},g=c.offset(),h=a('<div class=\"ui-effects-transfer\"></div>').appendTo(document.body).addClass(b.options.className).css({top:g.top,left:g.left,height:c.innerHeight(),width:c.innerWidth(),position:\"absolute\"}).animate(f,b.duration,b.options.easing,function(){h.remove(),b.callback&&b.callback.apply(c[0],arguments),c.dequeue()})})}}(jQuery),function(a,b){a.widget(\"ui.accordion\",{options:{active:0,animated:\"slide\",autoHeight:!0,clearStyle:!1,collapsible:!1,event:\"click\",fillSpace:!1,header:\"> li > :first-child,> :not(li):even\",icons:{header:\"ui-icon-triangle-1-e\",headerSelected:\"ui-icon-triangle-1-s\"},navigation:!1,navigationFilter:function(){return this.href.toLowerCase()===location.href.toLowerCase()}},_create:function(){var b=this,c=b.options;b.running=0,b.element.addClass(\"ui-accordion ui-widget ui-helper-reset\").children(\"li\").addClass(\"ui-accordion-li-fix\"),b.headers=b.element.find(c.header).addClass(\"ui-accordion-header ui-helper-reset ui-state-default ui-corner-all\").bind(\"mouseenter.accordion\",function(){c.disabled||a(this).addClass(\"ui-state-hover\")}).bind(\"mouseleave.accordion\",function(){c.disabled||a(this).removeClass(\"ui-state-hover\")}).bind(\"focus.accordion\",function(){c.disabled||a(this).addClass(\"ui-state-focus\")}).bind(\"blur.accordion\",function(){c.disabled||a(this).removeClass(\"ui-state-focus\")}),b.headers.next().addClass(\"ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom\");if(c.navigation){var d=b.element.find(\"a\").filter(c.navigationFilter).eq(0);if(d.length){var e=d.closest(\".ui-accordion-header\");e.length?b.active=e:b.active=d.closest(\".ui-accordion-content\").prev()}}b.active=b._findActive(b.active||c.active).addClass(\"ui-state-default ui-state-active\").toggleClass(\"ui-corner-all\").toggleClass(\"ui-corner-top\"),b.active.next().addClass(\"ui-accordion-content-active\"),b._createIcons(),b.resize(),b.element.attr(\"role\",\"tablist\"),b.headers.attr(\"role\",\"tab\").bind(\"keydown.accordion\",function(a){return b._keydown(a)}).next().attr(\"role\",\"tabpanel\"),b.headers.not(b.active||\"\").attr({\"aria-expanded\":\"false\",\"aria-selected\":\"false\",tabIndex:-1}).next().hide(),b.active.length?b.active.attr({\"aria-expanded\":\"true\",\"aria-selected\":\"true\",tabIndex:0}):b.headers.eq(0).attr(\"tabIndex\",0),a.browser.safari||b.headers.find(\"a\").attr(\"tabIndex\",-1),c.event&&b.headers.bind(c.event.split(\" \").join(\".accordion \")+\".accordion\",function(a){b._clickHandler.call(b,a,this),a.preventDefault()})},_createIcons:function(){var b=this.options;b.icons&&(a(\"<span></span>\").addClass(\"ui-icon \"+b.icons.header).prependTo(this.headers),this.active.children(\".ui-icon\").toggleClass(b.icons.header).toggleClass(b.icons.headerSelected),this.element.addClass(\"ui-accordion-icons\"))},_destroyIcons:function(){this.headers.children(\".ui-icon\").remove(),this.element.removeClass(\"ui-accordion-icons\")},destroy:function(){var b=this.options;this.element.removeClass(\"ui-accordion ui-widget ui-helper-reset\").removeAttr(\"role\"),this.headers.unbind(\".accordion\").removeClass(\"ui-accordion-header ui-accordion-disabled ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top\").removeAttr(\"role\").removeAttr(\"aria-expanded\").removeAttr(\"aria-selected\").removeAttr(\"tabIndex\"),this.headers.find(\"a\").removeAttr(\"tabIndex\"),this._destroyIcons();var c=this.headers.next().css(\"display\",\"\").removeAttr(\"role\").removeClass(\"ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-accordion-disabled ui-state-disabled\");(b.autoHeight||b.fillHeight)&&c.css(\"height\",\"\");return a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b==\"active\"&&this.activate(c),b==\"icons\"&&(this._destroyIcons(),c&&this._createIcons()),b==\"disabled\"&&this.headers.add(this.headers.next())[c?\"addClass\":\"removeClass\"](\"ui-accordion-disabled ui-state-disabled\")},_keydown:function(b){if(!(this.options.disabled||b.altKey||b.ctrlKey)){var c=a.ui.keyCode,d=this.headers.length,e=this.headers.index(b.target),f=!1;switch(b.keyCode){case c.RIGHT:case c.DOWN:f=this.headers[(e+1)%d];break;case c.LEFT:case c.UP:f=this.headers[(e-1+d)%d];break;case c.SPACE:case c.ENTER:this._clickHandler({target:b.target},b.target),b.preventDefault()}if(f){a(b.target).attr(\"tabIndex\",-1),a(f).attr(\"tabIndex\",0),f.focus();return!1}return!0}},resize:function(){var b=this.options,c;if(b.fillSpace){if(a.browser.msie){var d=this.element.parent().css(\"overflow\");this.element.parent().css(\"overflow\",\"hidden\")}c=this.element.parent().height(),a.browser.msie&&this.element.parent().css(\"overflow\",d),this.headers.each(function(){c-=a(this).outerHeight(!0)}),this.headers.next().each(function(){a(this).height(Math.max(0,c-a(this).innerHeight()+a(this).height()))}).css(\"overflow\",\"auto\")}else b.autoHeight&&(c=0,this.headers.next().each(function(){c=Math.max(c,a(this).height(\"\").height())}).height(c));return this},activate:function(a){this.options.active=a;var b=this._findActive(a)[0];this._clickHandler({target:b},b);return this},_findActive:function(b){return b?typeof b==\"number\"?this.headers.filter(\":eq(\"+b+\")\"):this.headers.not(this.headers.not(b)):b===!1?a([]):this.headers.filter(\":eq(0)\")},_clickHandler:function(b,c){var d=this.options;if(!d.disabled){if(!b.target){if(!d.collapsible)return;this.active.removeClass(\"ui-state-active ui-corner-top\").addClass(\"ui-state-default ui-corner-all\").children(\".ui-icon\").removeClass(d.icons.headerSelected).addClass(d.icons.header),this.active.next().addClass(\"ui-accordion-content-active\");var e=this.active.next(),f={options:d,newHeader:a([]),oldHeader:d.active,newContent:a([]),oldContent:e},g=this.active=a([]);this._toggle(g,e,f);return}var h=a(b.currentTarget||c),i=h[0]===this.active[0];d.active=d.collapsible&&i?!1:this.headers.index(h);if(this.running||!d.collapsible&&i)return;var j=this.active,g=h.next(),e=this.active.next(),f={options:d,newHeader:i&&d.collapsible?a([]):h,oldHeader:this.active,newContent:i&&d.collapsible?a([]):g,oldContent:e},k=this.headers.index(this.active[0])>this.headers.index(h[0]);this.active=i?a([]):h,this._toggle(g,e,f,i,k),j.removeClass(\"ui-state-active ui-corner-top\").addClass(\"ui-state-default ui-corner-all\").children(\".ui-icon\").removeClass(d.icons.headerSelected).addClass(d.icons.header),i||(h.removeClass(\"ui-state-default ui-corner-all\").addClass(\"ui-state-active ui-corner-top\").children(\".ui-icon\").removeClass(d.icons.header).addClass(d.icons.headerSelected),h.next().addClass(\"ui-accordion-content-active\"));return}},_toggle:function(b,c,d,e,f){var g=this,h=g.options;g.toShow=b,g.toHide=c,g.data=d;var i=function(){if(!!g)return g._completed.apply(g,arguments)};g._trigger(\"changestart\",null,g.data),g.running=c.size()===0?b.size():c.size();if(h.animated){var j={};h.collapsible&&e?j={toShow:a([]),toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace}:j={toShow:b,toHide:c,complete:i,down:f,autoHeight:h.autoHeight||h.fillSpace},h.proxied||(h.proxied=h.animated),h.proxiedDuration||(h.proxiedDuration=h.duration),h.animated=a.isFunction(h.proxied)?h.proxied(j):h.proxied,h.duration=a.isFunction(h.proxiedDuration)?h.proxiedDuration(j):h.proxiedDuration;var k=a.ui.accordion.animations,l=h.duration,m=h.animated;m&&!k[m]&&!a.easing[m]&&(m=\"slide\"),k[m]||(k[m]=function(a){this.slide(a,{easing:m,duration:l||700})}),k[m](j)}else h.collapsible&&e?b.toggle():(c.hide(),b.show()),i(!0);c.prev().attr({\"aria-expanded\":\"false\",\"aria-selected\":\"false\",tabIndex:-1}).blur(),b.prev().attr({\"aria-expanded\":\"true\",\"aria-selected\":\"true\",tabIndex:0}).focus()},_completed:function(a){this.running=a?0:--this.running;this.running||(this.options.clearStyle&&this.toShow.add(this.toHide).css({height:\"\",overflow:\"\"}),this.toHide.removeClass(\"ui-accordion-content-active\"),this.toHide.length&&(this.toHide.parent()[0].className=this.toHide.parent()[0].className),this._trigger(\"change\",null,this.data))}}),a.extend(a.ui.accordion,{version:\"1.8.17\",animations:{slide:function(b,c){b=a.extend({easing:\"swing\",duration:300},b,c);if(!b.toHide.size())b.toShow.animate({height:\"show\",paddingTop:\"show\",paddingBottom:\"show\"},b);else{if(!b.toShow.size()){b.toHide.animate({height:\"hide\",paddingTop:\"hide\",paddingBottom:\"hide\"},b);return}var d=b.toShow.css(\"overflow\"),e=0,f={},g={},h=[\"height\",\"paddingTop\",\"paddingBottom\"],i,j=b.toShow;i=j[0].style.width,j.width(j.parent().width()-parseFloat(j.css(\"paddingLeft\"))-parseFloat(j.css(\"paddingRight\"))-(parseFloat(j.css(\"borderLeftWidth\"))||0)-(parseFloat(j.css(\"borderRightWidth\"))||0)),a.each(h,function(c,d){g[d]=\"hide\";var e=(\"\"+a.css(b.toShow[0],d)).match(/^([\\d+-.]+)(.*)$/);f[d]={value:e[1],unit:e[2]||\"px\"}}),b.toShow.css({height:0,overflow:\"hidden\"}).show(),b.toHide.filter(\":hidden\").each(b.complete).end().filter(\":visible\").animate(g,{step:function(a,c){c.prop==\"height\"&&(e=c.end-c.start===0?0:(c.now-c.start)/(c.end-c.start)),b.toShow[0].style[c.prop]=e*f[c.prop].value+f[c.prop].unit},duration:b.duration,easing:b.easing,complete:function(){b.autoHeight||b.toShow.css(\"height\",\"\"),b.toShow.css({width:i,overflow:d}),b.complete()}})}},bounceslide:function(a){this.slide(a,{easing:a.down?\"easeOutBounce\":\"swing\",duration:a.down?1e3:200})}}})}(jQuery),function(a,b){var c=0;a.widget(\"ui.autocomplete\",{options:{appendTo:\"body\",autoFocus:!1,delay:300,minLength:1,position:{my:\"left top\",at:\"left bottom\",collision:\"none\"},source:null},pending:0,_create:function(){var b=this,c=this.element[0].ownerDocument,d;this.element.addClass(\"ui-autocomplete-input\").attr(\"autocomplete\",\"off\").attr({role:\"textbox\",\"aria-autocomplete\":\"list\",\"aria-haspopup\":\"true\"}).bind(\"keydown.autocomplete\",function(c){if(!b.options.disabled&&!b.element.propAttr(\"readOnly\")){d=!1;var e=a.ui.keyCode;switch(c.keyCode){case e.PAGE_UP:b._move(\"previousPage\",c);break;case e.PAGE_DOWN:b._move(\"nextPage\",c);break;case e.UP:b._move(\"previous\",c),c.preventDefault();break;case e.DOWN:b._move(\"next\",c),c.preventDefault();break;case e.ENTER:case e.NUMPAD_ENTER:b.menu.active&&(d=!0,c.preventDefault());case e.TAB:if(!b.menu.active)return;b.menu.select(c);break;case e.ESCAPE:b.element.val(b.term),b.close(c);break;default:clearTimeout(b.searching),b.searching=setTimeout(function(){b.term!=b.element.val()&&(b.selectedItem=null,b.search(null,c))},b.options.delay)}}}).bind(\"keypress.autocomplete\",function(a){d&&(d=!1,a.preventDefault())}).bind(\"focus.autocomplete\",function(){b.options.disabled||(b.selectedItem=null,b.previous=b.element.val())}).bind(\"blur.autocomplete\",function(a){b.options.disabled||(clearTimeout(b.searching),b.closing=setTimeout(function(){b.close(a),b._change(a)},150))}),this._initSource(),this.response=function(){return b._response.apply(b,arguments)},this.menu=a(\"<ul></ul>\").addClass(\"ui-autocomplete\").appendTo(a(this.options.appendTo||\"body\",c)[0]).mousedown(function(c){var d=b.menu.element[0];a(c.target).closest(\".ui-menu-item\").length||setTimeout(function(){a(document).one(\"mousedown\",function(c){c.target!==b.element[0]&&c.target!==d&&!a.ui.contains(d,c.target)&&b.close()})},1),setTimeout(function(){clearTimeout(b.closing)},13)}).menu({focus:function(a,c){var d=c.item.data(\"item.autocomplete\");!1!==b._trigger(\"focus\",a,{item:d})&&/^key/.test(a.originalEvent.type)&&b.element.val(d.value)},selected:function(a,d){var e=d.item.data(\"item.autocomplete\"),f=b.previous;b.element[0]!==c.activeElement&&(b.element.focus(),b.previous=f,setTimeout(function(){b.previous=f,b.selectedItem=e},1)),!1!==b._trigger(\"select\",a,{item:e})&&b.element.val(e.value),b.term=b.element.val(),b.close(a),b.selectedItem=e},blur:function(a,c){b.menu.element.is(\":visible\")&&b.element.val()!==b.term&&b.element.val(b.term)}}).zIndex(this.element.zIndex()+1).css({top:0,left:0}).hide().data(\"menu\"),a.fn.bgiframe&&this.menu.element.bgiframe(),b.beforeunloadHandler=function(){b.element.removeAttr(\"autocomplete\")},a(window).bind(\"beforeunload\",b.beforeunloadHandler)},destroy:function(){this.element.removeClass(\"ui-autocomplete-input\").removeAttr(\"autocomplete\").removeAttr(\"role\").removeAttr(\"aria-autocomplete\").removeAttr(\"aria-haspopup\"),this.menu.element.remove(),a(window).unbind(\"beforeunload\",this.beforeunloadHandler),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments),b===\"source\"&&this._initSource(),b===\"appendTo\"&&this.menu.element.appendTo(a(c||\"body\",this.element[0].ownerDocument)[0]),b===\"disabled\"&&c&&this.xhr&&this.xhr.abort()},_initSource:function(){var b=this,d,e;a.isArray(this.options.source)?(d=this.options.source,this.source=function(b,c){c(a.ui.autocomplete.filter(d,b.term))}):typeof this.options.source==\"string\"?(e=this.options.source,this.source=function(d,f){b.xhr&&b.xhr.abort(),b.xhr=a.ajax({url:e,data:d,dataType:\"json\",autocompleteRequest:++c,success:function(a,b){this.autocompleteRequest===c&&f(a)},error:function(){this.autocompleteRequest===c&&f([])}})}):this.source=this.options.source},search:function(a,b){a=a!=null?a:this.element.val(),this.term=this.element.val();if(a.length<this.options.minLength)return this.close(b);clearTimeout(this.closing);if(this._trigger(\"search\",b)!==!1)return this._search(a)},_search:function(a){this.pending++,this.element.addClass(\"ui-autocomplete-loading\"),this.source({term:a},this.response)},_response:function(a){!this.options.disabled&&a&&a.length?(a=this._normalize(a),this._suggest(a),this._trigger(\"open\")):this.close(),this.pending--,this.pending||this.element.removeClass(\"ui-autocomplete-loading\")},close:function(a){clearTimeout(this.closing),this.menu.element.is(\":visible\")&&(this.menu.element.hide(),this.menu.deactivate(),this._trigger(\"close\",a))},_change:function(a){this.previous!==this.element.val()&&this._trigger(\"change\",a,{item:this.selectedItem})},_normalize:function(b){if(b.length&&b[0].label&&b[0].value)return b;return a.map(b,function(b){if(typeof b==\"string\")return{label:b,value:b};return a.extend({label:b.label||b.value,value:b.value||b.label},b)})},_suggest:function(b){var c=this.menu.element.empty().zIndex(this.element.zIndex()+1);this._renderMenu(c,b),this.menu.deactivate(),this.menu.refresh(),c.show(),this._resizeMenu(),c.position(a.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(new a.Event(\"mouseover\"))},_resizeMenu:function(){var a=this.menu.element;a.outerWidth(Math.max(a.width(\"\").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(b,c){var d=this;a.each(c,function(a,c){d._renderItem(b,c)})},_renderItem:function(b,c){return a(\"<li></li>\").data(\"item.autocomplete\",c).append(a(\"<a></a>\").text(c.label)).appendTo(b)},_move:function(a,b){if(!this.menu.element.is(\":visible\"))this.search(null,b);else{if(this.menu.first()&&/^previous/.test(a)||this.menu.last()&&/^next/.test(a)){this.element.val(this.term),this.menu.deactivate();return}this.menu[a](b)}},widget:function(){return this.menu.element}}),a.extend(a.ui.autocomplete,{escapeRegex:function(a){return a.replace(/[-[\\]{}()*+?.,\\\\^$|#\\s]/g,\"\\\\$&\")},filter:function(b,c){var d=new RegExp(a.ui.autocomplete.escapeRegex(c),\"i\");return a.grep(b,function(a){return d.test(a.label||a.value||a)})}})}(jQuery),function(a){a.widget(\"ui.menu\",{_create:function(){var b=this;this.element.addClass(\"ui-menu ui-widget ui-widget-content ui-corner-all\").attr({role:\"listbox\",\"aria-activedescendant\":\"ui-active-menuitem\"}).click(function(c){!a(c.target).closest(\".ui-menu-item a\").length||(c.preventDefault(),b.select(c))}),this.refresh()},refresh:function(){var b=this,c=this.element.children(\"li:not(.ui-menu-item):has(a)\").addClass(\"ui-menu-item\").attr(\"role\",\"menuitem\");c.children(\"a\").addClass(\"ui-corner-all\").attr(\"tabindex\",-1).mouseenter(function(c){b.activate(c,a(this).parent())}).mouseleave(function(){b.deactivate()})},activate:function(a,b){this.deactivate();if(this.hasScroll()){var c=b.offset().top-this.element.offset().top,d=this.element.scrollTop(),e=this.element.height();c<0?this.element.scrollTop(d+c):c>=e&&this.element.scrollTop(d+c-e+b.height())}this.active=b.eq(0).children(\"a\").addClass(\"ui-state-hover\").attr(\"id\",\"ui-active-menuitem\").end(),this._trigger(\"focus\",a,{item:b})},deactivate:function(){!this.active||(this.active.children(\"a\").removeClass(\"ui-state-hover\").removeAttr(\"id\"),this._trigger(\"blur\"),this.active=null)},next:function(a){this.move(\"next\",\".ui-menu-item:first\",a)},previous:function(a){this.move(\"prev\",\".ui-menu-item:last\",a)},first:function(){return this.active&&!this.active.prevAll(\".ui-menu-item\").length},last:function(){return this.active&&!this.active.nextAll(\".ui-menu-item\").length},move:function(a,b,c){if(!this.active)this.activate(c,this.element.children(b));else{var d=this.active[a+\"All\"](\".ui-menu-item\").eq(0);d.length?this.activate(c,d):this.activate(c,this.element.children(b))}},nextPage:function(b){if(this.hasScroll()){if(!this.active||this.last()){this.activate(b,this.element.children(\".ui-menu-item:first\"));return}var c=this.active.offset().top,d=this.element.height(),e=this.element.children(\".ui-menu-item\").filter(function(){var b=a(this).offset().top-c-d+a(this).height();return b<10&&b>-10});e.length||(e=this.element.children(\".ui-menu-item:last\")),this.activate(b,e)}else this.activate(b,this.element.children(\".ui-menu-item\").filter(!this.active||this.last()?\":first\":\":last\"))},previousPage:function(b){if(this.hasScroll()){if(!this.active||this.first()){this.activate(b,this.element.children(\".ui-menu-item:last\"));return}var c=this.active.offset().top,d=this.element.height();result=this.element.children(\".ui-menu-item\").filter(function(){var b=a(this).offset().top-c+d-a(this).height();return b<10&&b>-10}),result.length||(result=this.element.children(\".ui-menu-item:first\")),this.activate(b,result)}else this.activate(b,this.element.children(\".ui-menu-item\").filter(!this.active||this.first()?\":last\":\":first\"))},hasScroll:function(){return this.element.height()<this.element[a.fn.prop?\"prop\":\"attr\"](\"scrollHeight\")},select:function(a){this._trigger(\"selected\",a,{item:this.active})}})}(jQuery),function(a,b){var c,d,e,f,g=\"ui-button ui-widget ui-state-default ui-corner-all\",h=\"ui-state-hover ui-state-active \",i=\"ui-button-icons-only ui-button-icon-only ui-button-text-icons ui-button-text-icon-primary ui-button-text-icon-secondary ui-button-text-only\",j=function(){var b=a(this).find(\":ui-button\");setTimeout(function(){b.button(\"refresh\")},1)},k=function(b){var c=b.name,d=b.form,e=a([]);c&&(d?e=a(d).find(\"[name='\"+c+\"']\"):e=a(\"[name='\"+c+\"']\",b.ownerDocument).filter(function(){return!this.form}));return e};a.widget(\"ui.button\",{options:{disabled:null,text:!0,label:null,icons:{primary:null,secondary:null}},_create:function(){this.element.closest(\"form\").unbind(\"reset.button\").bind(\"reset.button\",j),typeof this.options.disabled!=\"boolean\"&&(this.options.disabled=this.element.propAttr(\"disabled\")),this._determineButtonType(),this.hasTitle=!!this.buttonElement.attr(\"title\");var b=this,h=this.options,i=this.type===\"checkbox\"||this.type===\"radio\",l=\"ui-state-hover\"+(i?\"\":\" ui-state-active\"),m=\"ui-state-focus\";h.label===null&&(h.label=this.buttonElement.html()),this.element.is(\":disabled\")&&(h.disabled=!0),this.buttonElement.addClass(g).attr(\"role\",\"button\").bind(\"mouseenter.button\",function(){h.disabled||(a(this).addClass(\"ui-state-hover\"),this===c&&a(this).addClass(\"ui-state-active\"))}).bind(\"mouseleave.button\",function(){h.disabled||a(this).removeClass(l)}).bind(\"click.button\",function(a){h.disabled&&(a.preventDefault(),a.stopImmediatePropagation())}),this.element.bind(\"focus.button\",function(){b.buttonElement.addClass(m)}).bind(\"blur.button\",function(){b.buttonElement.removeClass(m)}),i&&(this.element.bind(\"change.button\",function(){f||b.refresh()}),this.buttonElement.bind(\"mousedown.button\",function(a){h.disabled||(f=!1,d=a.pageX,e=a.pageY)}).bind(\"mouseup.button\",function(a){!h.disabled&&(d!==a.pageX||e!==a.pageY)&&(f=!0)})),this.type===\"checkbox\"?this.buttonElement.bind(\"click.button\",function(){if(h.disabled||f)return!1;a(this).toggleClass(\"ui-state-active\"),b.buttonElement.attr(\"aria-pressed\",b.element[0].checked)}):this.type===\"radio\"?this.buttonElement.bind(\"click.button\",function(){if(h.disabled||f)return!1;a(this).addClass(\"ui-state-active\"),b.buttonElement.attr(\"aria-pressed\",\"true\");var c=b.element[0];k(c).not(c).map(function(){return a(this).button(\"widget\")[0]}).removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\")}):(this.buttonElement.bind(\"mousedown.button\",function(){if(h.disabled)return!1;a(this).addClass(\"ui-state-active\"),c=this,a(document).one(\"mouseup\",function(){c=null})}).bind(\"mouseup.button\",function(){if(h.disabled)return!1;a(this).removeClass(\"ui-state-active\")}).bind(\"keydown.button\",function(b){if(h.disabled)return!1;(b.keyCode==a.ui.keyCode.SPACE||b.keyCode==a.ui.keyCode.ENTER)&&a(this).addClass(\"ui-state-active\")}).bind(\"keyup.button\",function(){a(this).removeClass(\"ui-state-active\")}),this.buttonElement.is(\"a\")&&this.buttonElement.keyup(function(b){b.keyCode===a.ui.keyCode.SPACE&&a(this).click()})),this._setOption(\"disabled\",h.disabled),this._resetButton()},_determineButtonType:function(){this.element.is(\":checkbox\")?this.type=\"checkbox\":this.element.is(\":radio\")?this.type=\"radio\":this.element.is(\"input\")?this.type=\"input\":this.type=\"button\";if(this.type===\"checkbox\"||this.type===\"radio\"){var a=this.element.parents().filter(\":last\"),b=\"label[for='\"+this.element.attr(\"id\")+\"']\";this.buttonElement=a.find(b),this.buttonElement.length||(a=a.length?a.siblings():this.element.siblings(),this.buttonElement=a.filter(b),this.buttonElement.length||(this.buttonElement=a.find(b))),this.element.addClass(\"ui-helper-hidden-accessible\");var c=this.element.is(\":checked\");c&&this.buttonElement.addClass(\"ui-state-active\"),this.buttonElement.attr(\"aria-pressed\",c)}else this.buttonElement=this.element},widget:function(){return this.buttonElement},destroy:function(){this.element.removeClass(\"ui-helper-hidden-accessible\"),this.buttonElement.removeClass(g+\" \"+h+\" \"+i).removeAttr(\"role\").removeAttr(\"aria-pressed\").html(this.buttonElement.find(\".ui-button-text\").html()),this.hasTitle||this.buttonElement.removeAttr(\"title\"),a.Widget.prototype.destroy.call(this)},_setOption:function(b,c){a.Widget.prototype._setOption.apply(this,arguments);b===\"disabled\"?c?this.element.propAttr(\"disabled\",!0):this.element.propAttr(\"disabled\",!1):this._resetButton()},refresh:function(){var b=this.element.is(\":disabled\");b!==this.options.disabled&&this._setOption(\"disabled\",b),this.type===\"radio\"?k(this.element[0]).each(function(){a(this).is(\":checked\")?a(this).button(\"widget\").addClass(\"ui-state-active\").attr(\"aria-pressed\",\"true\"):a(this).button(\"widget\").removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\")}):this.type===\"checkbox\"&&(this.element.is(\":checked\")?this.buttonElement.addClass(\"ui-state-active\").attr(\"aria-pressed\",\"true\"):this.buttonElement.removeClass(\"ui-state-active\").attr(\"aria-pressed\",\"false\"))},_resetButton:function(){if(this.type===\"input\")this.options.label&&this.element.val(this.options.label);else{var b=this.buttonElement.removeClass(i),c=a(\"<span></span>\",this.element[0].ownerDocument).addClass(\"ui-button-text\").html(this.options.label).appendTo(b.empty()).text(),d=this.options.icons,e=d.primary&&d.secondary,f=[];d.primary||d.secondary?(this.options.text&&f.push(\"ui-button-text-icon\"+(e?\"s\":d.primary?\"-primary\":\"-secondary\")),d.primary&&b.prepend(\"<span class='ui-button-icon-primary ui-icon \"+d.primary+\"'></span>\"),d.secondary&&b.append(\"<span class='ui-button-icon-secondary ui-icon \"+d.secondary+\"'></span>\"),this.options.text||(f.push(e?\"ui-button-icons-only\":\"ui-button-icon-only\"),this.hasTitle||b.attr(\"title\",c))):f.push(\"ui-button-text-only\"),b.addClass(f.join(\" \"))}}}),a.widget(\"ui.buttonset\",{options:{items:\":button, :submit, :reset, :checkbox, :radio, a, :data(button)\"},_create:function(){this.element.addClass(\"ui-buttonset\")},_init:function(){this.refresh()},_setOption:function(b,c){b===\"disabled\"&&this.buttons.button(\"option\",b,c),a.Widget.prototype._setOption.apply(this,arguments)},refresh:function(){var b=this.element.css(\"direction\")===\"rtl\";this.buttons=this.element.find(this.options.items).filter(\":ui-button\").button(\"refresh\").end().not(\":ui-button\").button().end().map(function(){return a(this).button(\"widget\")[0]}).removeClass(\"ui-corner-all ui-corner-left ui-corner-right\").filter(\":first\").addClass(b?\"ui-corner-right\":\"ui-corner-left\").end().filter(\":last\").addClass(b?\"ui-corner-left\":\"ui-corner-right\").end().end()},destroy:function(){this.element.removeClass(\"ui-buttonset\"),this.buttons.map(function(){return a(this).button(\"widget\")[0]}).removeClass(\"ui-corner-left ui-corner-right\").end().button(\"destroy\"),a.Widget.prototype.destroy.call(this)}})}(jQuery),function($,undefined){function isArray(a){return a&&($.browser.safari&&typeof a==\"object\"&&a.length||a.constructor&&a.constructor.toString().match(/\\Array\\(\\)/))}function extendRemove(a,b){$.extend(a,b);for(var c in b)if(b[c]==null||b[c]==undefined)a[c]=b[c];return a}function bindHover(a){var b=\"button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a\";return a.bind(\"mouseout\",function(a){var c=$(a.target).closest(b);!c.length||c.removeClass(\"ui-state-hover ui-datepicker-prev-hover ui-datepicker-next-hover\")}).bind(\"mouseover\",function(c){var d=$(c.target).closest(b);!$.datepicker._isDisabledDatepicker(instActive.inline?a.parent()[0]:instActive.input[0])&&!!d.length&&(d.parents(\".ui-datepicker-calendar\").find(\"a\").removeClass(\"ui-state-hover\"),d.addClass(\"ui-state-hover\"),d.hasClass(\"ui-datepicker-prev\")&&d.addClass(\"ui-datepicker-prev-hover\"),d.hasClass(\"ui-datepicker-next\")&&d.addClass(\"ui-datepicker-next-hover\"))})}function Datepicker(){this.debug=!1,this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId=\"ui-datepicker-div\",this._inlineClass=\"ui-datepicker-inline\",this._appendClass=\"ui-datepicker-append\",this._triggerClass=\"ui-datepicker-trigger\",this._dialogClass=\"ui-datepicker-dialog\",this._disableClass=\"ui-datepicker-disabled\",this._unselectableClass=\"ui-datepicker-unselectable\",this._currentClass=\"ui-datepicker-current-day\",this._dayOverClass=\"ui-datepicker-days-cell-over\",this.regional=[],this.regional[\"\"]={closeText:\"Done\",prevText:\"Prev\",nextText:\"Next\",currentText:\"Today\",monthNames:[\"January\",\"February\",\"March\",\"April\",\"May\",\"June\",\"July\",\"August\",\"September\",\"October\",\"November\",\"December\"],monthNamesShort:[\"Jan\",\"Feb\",\"Mar\",\"Apr\",\"May\",\"Jun\",\"Jul\",\"Aug\",\"Sep\",\"Oct\",\"Nov\",\"Dec\"],dayNames:[\"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\"],dayNamesShort:[\"Sun\",\"Mon\",\"Tue\",\"Wed\",\"Thu\",\"Fri\",\"Sat\"],dayNamesMin:[\"Su\",\"Mo\",\"Tu\",\"We\",\"Th\",\"Fr\",\"Sa\"],weekHeader:\"Wk\",dateFormat:\"mm/dd/yy\",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:\"\"},this._defaults={showOn:\"focus\",showAnim:\"fadeIn\",showOptions:{},defaultDate:null,appendText:\"\",buttonText:\"...\",buttonImage:\"\",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:\"c-10:c+10\",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:\"+10\",minDate:null,maxDate:null,duration:\"fast\",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:\"\",altFormat:\"\",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},$.extend(this._defaults,this.regional[\"\"]),this.dpDiv=bindHover($('<div id=\"'+this._mainDivId+'\" class=\"ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all\"></div>'))}$.extend($.ui,{datepicker:{version:\"1.8.17\"}});var PROP_NAME=\"datepicker\"\n,dpuuid=(new Date).getTime(),instActive;$.extend(Datepicker.prototype,{markerClassName:\"hasDatepicker\",maxRows:4,log:function(){this.debug&&console.log.apply(\"\",arguments)},_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(a){extendRemove(this._defaults,a||{});return this},_attachDatepicker:function(target,settings){var inlineSettings=null;for(var attrName in this._defaults){var attrValue=target.getAttribute(\"date:\"+attrName);if(attrValue){inlineSettings=inlineSettings||{};try{inlineSettings[attrName]=eval(attrValue)}catch(err){inlineSettings[attrName]=attrValue}}}var nodeName=target.nodeName.toLowerCase(),inline=nodeName==\"div\"||nodeName==\"span\";target.id||(this.uuid+=1,target.id=\"dp\"+this.uuid);var inst=this._newInst($(target),inline);inst.settings=$.extend({},settings||{},inlineSettings||{}),nodeName==\"input\"?this._connectDatepicker(target,inst):inline&&this._inlineDatepicker(target,inst)},_newInst:function(a,b){var c=a[0].id.replace(/([^A-Za-z0-9_-])/g,\"\\\\\\\\$1\");return{id:c,input:a,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:b,dpDiv:b?bindHover($('<div class=\"'+this._inlineClass+' ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all\"></div>')):this.dpDiv}},_connectDatepicker:function(a,b){var c=$(a);b.append=$([]),b.trigger=$([]);c.hasClass(this.markerClassName)||(this._attachments(c,b),c.addClass(this.markerClassName).keydown(this._doKeyDown).keypress(this._doKeyPress).keyup(this._doKeyUp).bind(\"setData.datepicker\",function(a,c,d){b.settings[c]=d}).bind(\"getData.datepicker\",function(a,c){return this._get(b,c)}),this._autoSize(b),$.data(a,PROP_NAME,b),b.settings.disabled&&this._disableDatepicker(a))},_attachments:function(a,b){var c=this._get(b,\"appendText\"),d=this._get(b,\"isRTL\");b.append&&b.append.remove(),c&&(b.append=$('<span class=\"'+this._appendClass+'\">'+c+\"</span>\"),a[d?\"before\":\"after\"](b.append)),a.unbind(\"focus\",this._showDatepicker),b.trigger&&b.trigger.remove();var e=this._get(b,\"showOn\");(e==\"focus\"||e==\"both\")&&a.focus(this._showDatepicker);if(e==\"button\"||e==\"both\"){var f=this._get(b,\"buttonText\"),g=this._get(b,\"buttonImage\");b.trigger=$(this._get(b,\"buttonImageOnly\")?$(\"<img/>\").addClass(this._triggerClass).attr({src:g,alt:f,title:f}):$('<button type=\"button\"></button>').addClass(this._triggerClass).html(g==\"\"?f:$(\"<img/>\").attr({src:g,alt:f,title:f}))),a[d?\"before\":\"after\"](b.trigger),b.trigger.click(function(){$.datepicker._datepickerShowing&&$.datepicker._lastInput==a[0]?$.datepicker._hideDatepicker():$.datepicker._showDatepicker(a[0]);return!1})}},_autoSize:function(a){if(this._get(a,\"autoSize\")&&!a.inline){var b=new Date(2009,11,20),c=this._get(a,\"dateFormat\");if(c.match(/[DM]/)){var d=function(a){var b=0,c=0;for(var d=0;d<a.length;d++)a[d].length>b&&(b=a[d].length,c=d);return c};b.setMonth(d(this._get(a,c.match(/MM/)?\"monthNames\":\"monthNamesShort\"))),b.setDate(d(this._get(a,c.match(/DD/)?\"dayNames\":\"dayNamesShort\"))+20-b.getDay())}a.input.attr(\"size\",this._formatDate(a,b).length)}},_inlineDatepicker:function(a,b){var c=$(a);c.hasClass(this.markerClassName)||(c.addClass(this.markerClassName).append(b.dpDiv).bind(\"setData.datepicker\",function(a,c,d){b.settings[c]=d}).bind(\"getData.datepicker\",function(a,c){return this._get(b,c)}),$.data(a,PROP_NAME,b),this._setDate(b,this._getDefaultDate(b),!0),this._updateDatepicker(b),this._updateAlternate(b),b.settings.disabled&&this._disableDatepicker(a),b.dpDiv.css(\"display\",\"block\"))},_dialogDatepicker:function(a,b,c,d,e){var f=this._dialogInst;if(!f){this.uuid+=1;var g=\"dp\"+this.uuid;this._dialogInput=$('<input type=\"text\" id=\"'+g+'\" style=\"position: absolute; top: -100px; width: 0px; z-index: -10;\"/>'),this._dialogInput.keydown(this._doKeyDown),$(\"body\").append(this._dialogInput),f=this._dialogInst=this._newInst(this._dialogInput,!1),f.settings={},$.data(this._dialogInput[0],PROP_NAME,f)}extendRemove(f.settings,d||{}),b=b&&b.constructor==Date?this._formatDate(f,b):b,this._dialogInput.val(b),this._pos=e?e.length?e:[e.pageX,e.pageY]:null;if(!this._pos){var h=document.documentElement.clientWidth,i=document.documentElement.clientHeight,j=document.documentElement.scrollLeft||document.body.scrollLeft,k=document.documentElement.scrollTop||document.body.scrollTop;this._pos=[h/2-100+j,i/2-150+k]}this._dialogInput.css(\"left\",this._pos[0]+20+\"px\").css(\"top\",this._pos[1]+\"px\"),f.settings.onSelect=c,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),$.blockUI&&$.blockUI(this.dpDiv),$.data(this._dialogInput[0],PROP_NAME,f);return this},_destroyDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!!b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();$.removeData(a,PROP_NAME),d==\"input\"?(c.append.remove(),c.trigger.remove(),b.removeClass(this.markerClassName).unbind(\"focus\",this._showDatepicker).unbind(\"keydown\",this._doKeyDown).unbind(\"keypress\",this._doKeyPress).unbind(\"keyup\",this._doKeyUp)):(d==\"div\"||d==\"span\")&&b.removeClass(this.markerClassName).empty()}},_enableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!!b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if(d==\"input\")a.disabled=!1,c.trigger.filter(\"button\").each(function(){this.disabled=!1}).end().filter(\"img\").css({opacity:\"1.0\",cursor:\"\"});else if(d==\"div\"||d==\"span\"){var e=b.children(\".\"+this._inlineClass);e.children().removeClass(\"ui-state-disabled\"),e.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").removeAttr(\"disabled\")}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b})}},_disableDatepicker:function(a){var b=$(a),c=$.data(a,PROP_NAME);if(!!b.hasClass(this.markerClassName)){var d=a.nodeName.toLowerCase();if(d==\"input\")a.disabled=!0,c.trigger.filter(\"button\").each(function(){this.disabled=!0}).end().filter(\"img\").css({opacity:\"0.5\",cursor:\"default\"});else if(d==\"div\"||d==\"span\"){var e=b.children(\".\"+this._inlineClass);e.children().addClass(\"ui-state-disabled\"),e.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").attr(\"disabled\",\"disabled\")}this._disabledInputs=$.map(this._disabledInputs,function(b){return b==a?null:b}),this._disabledInputs[this._disabledInputs.length]=a}},_isDisabledDatepicker:function(a){if(!a)return!1;for(var b=0;b<this._disabledInputs.length;b++)if(this._disabledInputs[b]==a)return!0;return!1},_getInst:function(a){try{return $.data(a,PROP_NAME)}catch(b){throw\"Missing instance data for this datepicker\"}},_optionDatepicker:function(a,b,c){var d=this._getInst(a);if(arguments.length==2&&typeof b==\"string\")return b==\"defaults\"?$.extend({},$.datepicker._defaults):d?b==\"all\"?$.extend({},d.settings):this._get(d,b):null;var e=b||{};typeof b==\"string\"&&(e={},e[b]=c);if(d){this._curInst==d&&this._hideDatepicker();var f=this._getDateDatepicker(a,!0),g=this._getMinMaxDate(d,\"min\"),h=this._getMinMaxDate(d,\"max\");extendRemove(d.settings,e),g!==null&&e.dateFormat!==undefined&&e.minDate===undefined&&(d.settings.minDate=this._formatDate(d,g)),h!==null&&e.dateFormat!==undefined&&e.maxDate===undefined&&(d.settings.maxDate=this._formatDate(d,h)),this._attachments($(a),d),this._autoSize(d),this._setDate(d,f),this._updateAlternate(d),this._updateDatepicker(d)}},_changeDatepicker:function(a,b,c){this._optionDatepicker(a,b,c)},_refreshDatepicker:function(a){var b=this._getInst(a);b&&this._updateDatepicker(b)},_setDateDatepicker:function(a,b){var c=this._getInst(a);c&&(this._setDate(c,b),this._updateDatepicker(c),this._updateAlternate(c))},_getDateDatepicker:function(a,b){var c=this._getInst(a);c&&!c.inline&&this._setDateFromField(c,b);return c?this._getDate(c):null},_doKeyDown:function(a){var b=$.datepicker._getInst(a.target),c=!0,d=b.dpDiv.is(\".ui-datepicker-rtl\");b._keyEvent=!0;if($.datepicker._datepickerShowing)switch(a.keyCode){case 9:$.datepicker._hideDatepicker(),c=!1;break;case 13:var e=$(\"td.\"+$.datepicker._dayOverClass+\":not(.\"+$.datepicker._currentClass+\")\",b.dpDiv);e[0]&&$.datepicker._selectDay(a.target,b.selectedMonth,b.selectedYear,e[0]);var f=$.datepicker._get(b,\"onSelect\");if(f){var g=$.datepicker._formatDate(b);f.apply(b.input?b.input[0]:null,[g,b])}else $.datepicker._hideDatepicker();return!1;case 27:$.datepicker._hideDatepicker();break;case 33:$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,\"stepBigMonths\"):-$.datepicker._get(b,\"stepMonths\"),\"M\");break;case 34:$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,\"stepBigMonths\"):+$.datepicker._get(b,\"stepMonths\"),\"M\");break;case 35:(a.ctrlKey||a.metaKey)&&$.datepicker._clearDate(a.target),c=a.ctrlKey||a.metaKey;break;case 36:(a.ctrlKey||a.metaKey)&&$.datepicker._gotoToday(a.target),c=a.ctrlKey||a.metaKey;break;case 37:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,d?1:-1,\"D\"),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&&$.datepicker._adjustDate(a.target,a.ctrlKey?-$.datepicker._get(b,\"stepBigMonths\"):-$.datepicker._get(b,\"stepMonths\"),\"M\");break;case 38:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,-7,\"D\"),c=a.ctrlKey||a.metaKey;break;case 39:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,d?-1:1,\"D\"),c=a.ctrlKey||a.metaKey,a.originalEvent.altKey&&$.datepicker._adjustDate(a.target,a.ctrlKey?+$.datepicker._get(b,\"stepBigMonths\"):+$.datepicker._get(b,\"stepMonths\"),\"M\");break;case 40:(a.ctrlKey||a.metaKey)&&$.datepicker._adjustDate(a.target,7,\"D\"),c=a.ctrlKey||a.metaKey;break;default:c=!1}else a.keyCode==36&&a.ctrlKey?$.datepicker._showDatepicker(this):c=!1;c&&(a.preventDefault(),a.stopPropagation())},_doKeyPress:function(a){var b=$.datepicker._getInst(a.target);if($.datepicker._get(b,\"constrainInput\")){var c=$.datepicker._possibleChars($.datepicker._get(b,\"dateFormat\")),d=String.fromCharCode(a.charCode==undefined?a.keyCode:a.charCode);return a.ctrlKey||a.metaKey||d<\" \"||!c||c.indexOf(d)>-1}},_doKeyUp:function(a){var b=$.datepicker._getInst(a.target);if(b.input.val()!=b.lastVal)try{var c=$.datepicker.parseDate($.datepicker._get(b,\"dateFormat\"),b.input?b.input.val():null,$.datepicker._getFormatConfig(b));c&&($.datepicker._setDateFromField(b),$.datepicker._updateAlternate(b),$.datepicker._updateDatepicker(b))}catch(a){$.datepicker.log(a)}return!0},_showDatepicker:function(a){a=a.target||a,a.nodeName.toLowerCase()!=\"input\"&&(a=$(\"input\",a.parentNode)[0]);if(!$.datepicker._isDisabledDatepicker(a)&&$.datepicker._lastInput!=a){var b=$.datepicker._getInst(a);$.datepicker._curInst&&$.datepicker._curInst!=b&&($.datepicker._curInst.dpDiv.stop(!0,!0),b&&$.datepicker._datepickerShowing&&$.datepicker._hideDatepicker($.datepicker._curInst.input[0]));var c=$.datepicker._get(b,\"beforeShow\"),d=c?c.apply(a,[a,b]):{};if(d===!1)return;extendRemove(b.settings,d),b.lastVal=null,$.datepicker._lastInput=a,$.datepicker._setDateFromField(b),$.datepicker._inDialog&&(a.value=\"\"),$.datepicker._pos||($.datepicker._pos=$.datepicker._findPos(a),$.datepicker._pos[1]+=a.offsetHeight);var e=!1;$(a).parents().each(function(){e|=$(this).css(\"position\")==\"fixed\";return!e}),e&&$.browser.opera&&($.datepicker._pos[0]-=document.documentElement.scrollLeft,$.datepicker._pos[1]-=document.documentElement.scrollTop);var f={left:$.datepicker._pos[0],top:$.datepicker._pos[1]};$.datepicker._pos=null,b.dpDiv.empty(),b.dpDiv.css({position:\"absolute\",display:\"block\",top:\"-1000px\"}),$.datepicker._updateDatepicker(b),f=$.datepicker._checkOffset(b,f,e),b.dpDiv.css({position:$.datepicker._inDialog&&$.blockUI?\"static\":e?\"fixed\":\"absolute\",display:\"none\",left:f.left+\"px\",top:f.top+\"px\"});if(!b.inline){var g=$.datepicker._get(b,\"showAnim\"),h=$.datepicker._get(b,\"duration\"),i=function(){var a=b.dpDiv.find(\"iframe.ui-datepicker-cover\");if(!!a.length){var c=$.datepicker._getBorders(b.dpDiv);a.css({left:-c[0],top:-c[1],width:b.dpDiv.outerWidth(),height:b.dpDiv.outerHeight()})}};b.dpDiv.zIndex($(a).zIndex()+1),$.datepicker._datepickerShowing=!0,$.effects&&$.effects[g]?b.dpDiv.show(g,$.datepicker._get(b,\"showOptions\"),h,i):b.dpDiv[g||\"show\"](g?h:null,i),(!g||!h)&&i(),b.input.is(\":visible\")&&!b.input.is(\":disabled\")&&b.input.focus(),$.datepicker._curInst=b}}},_updateDatepicker:function(a){var b=this;b.maxRows=4;var c=$.datepicker._getBorders(a.dpDiv);instActive=a,a.dpDiv.empty().append(this._generateHTML(a));var d=a.dpDiv.find(\"iframe.ui-datepicker-cover\");!d.length||d.css({left:-c[0],top:-c[1],width:a.dpDiv.outerWidth(),height:a.dpDiv.outerHeight()}),a.dpDiv.find(\".\"+this._dayOverClass+\" a\").mouseover();var e=this._getNumberOfMonths(a),f=e[1],g=17;a.dpDiv.removeClass(\"ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4\").width(\"\"),f>1&&a.dpDiv.addClass(\"ui-datepicker-multi-\"+f).css(\"width\",g*f+\"em\"),a.dpDiv[(e[0]!=1||e[1]!=1?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-multi\"),a.dpDiv[(this._get(a,\"isRTL\")?\"add\":\"remove\")+\"Class\"](\"ui-datepicker-rtl\"),a==$.datepicker._curInst&&$.datepicker._datepickerShowing&&a.input&&a.input.is(\":visible\")&&!a.input.is(\":disabled\")&&a.input[0]!=document.activeElement&&a.input.focus();if(a.yearshtml){var h=a.yearshtml;setTimeout(function(){h===a.yearshtml&&a.yearshtml&&a.dpDiv.find(\"select.ui-datepicker-year:first\").replaceWith(a.yearshtml),h=a.yearshtml=null},0)}},_getBorders:function(a){var b=function(a){return{thin:1,medium:2,thick:3}[a]||a};return[parseFloat(b(a.css(\"border-left-width\"))),parseFloat(b(a.css(\"border-top-width\")))]},_checkOffset:function(a,b,c){var d=a.dpDiv.outerWidth(),e=a.dpDiv.outerHeight(),f=a.input?a.input.outerWidth():0,g=a.input?a.input.outerHeight():0,h=document.documentElement.clientWidth+$(document).scrollLeft(),i=document.documentElement.clientHeight+$(document).scrollTop();b.left-=this._get(a,\"isRTL\")?d-f:0,b.left-=c&&b.left==a.input.offset().left?$(document).scrollLeft():0,b.top-=c&&b.top==a.input.offset().top+g?$(document).scrollTop():0,b.left-=Math.min(b.left,b.left+d>h&&h>d?Math.abs(b.left+d-h):0),b.top-=Math.min(b.top,b.top+e>i&&i>e?Math.abs(e+g):0);return b},_findPos:function(a){var b=this._getInst(a),c=this._get(b,\"isRTL\");while(a&&(a.type==\"hidden\"||a.nodeType!=1||$.expr.filters.hidden(a)))a=a[c?\"previousSibling\":\"nextSibling\"];var d=$(a).offset();return[d.left,d.top]},_hideDatepicker:function(a){var b=this._curInst;if(!(!b||a&&b!=$.data(a,PROP_NAME))&&this._datepickerShowing){var c=this._get(b,\"showAnim\"),d=this._get(b,\"duration\"),e=this,f=function(){$.datepicker._tidyDialog(b),e._curInst=null};$.effects&&$.effects[c]?b.dpDiv.hide(c,$.datepicker._get(b,\"showOptions\"),d,f):b.dpDiv[c==\"slideDown\"?\"slideUp\":c==\"fadeIn\"?\"fadeOut\":\"hide\"](c?d:null,f),c||f(),this._datepickerShowing=!1;var g=this._get(b,\"onClose\");g&&g.apply(b.input?b.input[0]:null,[b.input?b.input.val():\"\",b]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:\"absolute\",left:\"0\",top:\"-100px\"}),$.blockUI&&($.unblockUI(),$(\"body\").append(this.dpDiv))),this._inDialog=!1}},_tidyDialog:function(a){a.dpDiv.removeClass(this._dialogClass).unbind(\".ui-datepicker-calendar\")},_checkExternalClick:function(a){if(!!$.datepicker._curInst){var b=$(a.target),c=$.datepicker._getInst(b[0]);(b[0].id!=$.datepicker._mainDivId&&b.parents(\"#\"+$.datepicker._mainDivId).length==0&&!b.hasClass($.datepicker.markerClassName)&&!b.hasClass($.datepicker._triggerClass)&&$.datepicker._datepickerShowing&&(!$.datepicker._inDialog||!$.blockUI)||b.hasClass($.datepicker.markerClassName)&&$.datepicker._curInst!=c)&&$.datepicker._hideDatepicker()}},_adjustDate:function(a,b,c){var d=$(a),e=this._getInst(d[0]);this._isDisabledDatepicker(d[0])||(this._adjustInstDate(e,b+(c==\"M\"?this._get(e,\"showCurrentAtPos\"):0),c),this._updateDatepicker(e))},_gotoToday:function(a){var b=$(a),c=this._getInst(b[0]);if(this._get(c,\"gotoCurrent\")&&c.currentDay)c.selectedDay=c.currentDay,c.drawMonth=c.selectedMonth=c.currentMonth,c.drawYear=c.selectedYear=c.currentYear;else{var d=new Date;c.selectedDay=d.getDate(),c.drawMonth=c.selectedMonth=d.getMonth(),c.drawYear=c.selectedYear=d.getFullYear()}this._notifyChange(c),this._adjustDate(b)},_selectMonthYear:function(a,b,c){var d=$(a),e=this._getInst(d[0]);e[\"selected\"+(c==\"M\"?\"Month\":\"Year\")]=e[\"draw\"+(c==\"M\"?\"Month\":\"Year\")]=parseInt(b.options[b.selectedIndex].value,10),this._notifyChange(e),this._adjustDate(d)},_selectDay:function(a,b,c,d){var e=$(a);if(!$(d).hasClass(this._unselectableClass)&&!this._isDisabledDatepicker(e[0])){var f=this._getInst(e[0]);f.selectedDay=f.currentDay=$(\"a\",d).html(),f.selectedMonth=f.currentMonth=b,f.selectedYear=f.currentYear=c,this._selectDate(a,this._formatDate(f,f.currentDay,f.currentMonth,f.currentYear))}},_clearDate:function(a){var b=$(a),c=this._getInst(b[0]);this._selectDate(b,\"\")},_selectDate:function(a,b){var c=$(a),d=this._getInst(c[0]);b=b!=null?b:this._formatDate(d),d.input&&d.input.val(b),this._updateAlternate(d);var e=this._get(d,\"onSelect\");e?e.apply(d.input?d.input[0]:null,[b,d]):d.input&&d.input.trigger(\"change\"),d.inline?this._updateDatepicker(d):(this._hideDatepicker(),this._lastInput=d.input[0],typeof d.input[0]!=\"object\"&&d.input.focus(),this._lastInput=null)},_updateAlternate:function(a){var b=this._get(a,\"altField\");if(b){var c=this._get(a,\"altFormat\")||this._get(a,\"dateFormat\"),d=this._getDate(a),e=this.formatDate(c,d,this._getFormatConfig(a));$(b).each(function(){$(this).val(e)})}},noWeekends:function(a){var b=a.getDay();return[b>0&&b<6,\"\"]},iso8601Week:function(a){var b=new Date(a.getTime());b.setDate(b.getDate()+4-(b.getDay()||7));var c=b.getTime();b.setMonth(0),b.setDate(1);return Math.floor(Math.round((c-b)/864e5)/7)+1},parseDate:function(a,b,c){if(a==null||b==null)throw\"Invalid arguments\";b=typeof b==\"object\"?b.toString():b+\"\";if(b==\"\")return null;var d=(c?c.shortYearCutoff:null)||this._defaults.shortYearCutoff;d=typeof d!=\"string\"?d:(new Date).getFullYear()%100+parseInt(d,10);var e=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,f=(c?c.dayNames:null)||this._defaults.dayNames,g=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,h=(c?c.monthNames:null)||this._defaults.monthNames,i=-1,j=-1,k=-1,l=-1,m=!1,n=function(b){var c=s+1<a.length&&a.charAt(s+1)==b;c&&s++;return c},o=function(a){var c=n(a),d=a==\"@\"?14:a==\"!\"?20:a==\"y\"&&c?4:a==\"o\"?3:2,e=new RegExp(\"^\\\\d{1,\"+d+\"}\"),f=b.substring(r).match(e);if(!f)throw\"Missing number at position \"+r;r+=f[0].length;return parseInt(f[0],10)},p=function(a,c,d){var e=$.map(n(a)?d:c,function(a,b){return[[b,a]]}).sort(function(a,b){return-(a[1].length-b[1].length)}),f=-1;$.each(e,function(a,c){var d=c[1];if(b.substr(r,d.length).toLowerCase()==d.toLowerCase()){f=c[0],r+=d.length;return!1}});if(f!=-1)return f+1;throw\"Unknown name at position \"+r},q=function(){if(b.charAt(r)!=a.charAt(s))throw\"Unexpected literal at position \"+r;r++},r=0;for(var s=0;s<a.length;s++)if(m)a.charAt(s)==\"'\"&&!n(\"'\")?m=!1:q();else switch(a.charAt(s)){case\"d\":k=o(\"d\");break;case\"D\":p(\"D\",e,f);break;case\"o\":l=o(\"o\");break;case\"m\":j=o(\"m\");break;case\"M\":j=p(\"M\",g,h);break;case\"y\":i=o(\"y\");break;case\"@\":var t=new Date(o(\"@\"));i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case\"!\":var t=new Date((o(\"!\")-this._ticksTo1970)/1e4);i=t.getFullYear(),j=t.getMonth()+1,k=t.getDate();break;case\"'\":n(\"'\")?q():m=!0;break;default:q()}if(r<b.length)throw\"Extra/unparsed characters found in date: \"+b.substring(r);i==-1?i=(new Date).getFullYear():i<100&&(i+=(new Date).getFullYear()-(new Date).getFullYear()%100+(i<=d?0:-100));if(l>-1){j=1,k=l;for(;;){var u=this._getDaysInMonth(i,j-1);if(k<=u)break;j++,k-=u}}var t=this._daylightSavingAdjust(new Date(i,j-1,k));if(t.getFullYear()!=i||t.getMonth()+1!=j||t.getDate()!=k)throw\"Invalid date\";return t},ATOM:\"yy-mm-dd\",COOKIE:\"D, dd M yy\",ISO_8601:\"yy-mm-dd\",RFC_822:\"D, d M y\",RFC_850:\"DD, dd-M-y\",RFC_1036:\"D, d M y\",RFC_1123:\"D, d M yy\",RFC_2822:\"D, d M yy\",RSS:\"D, d M y\",TICKS:\"!\",TIMESTAMP:\"@\",W3C:\"yy-mm-dd\",_ticksTo1970:(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*24*60*60*1e7,formatDate:function(a,b,c){if(!b)return\"\";var d=(c?c.dayNamesShort:null)||this._defaults.dayNamesShort,e=(c?c.dayNames:null)||this._defaults.dayNames,f=(c?c.monthNamesShort:null)||this._defaults.monthNamesShort,g=(c?c.monthNames:null)||this._defaults.monthNames,h=function(b){var c=m+1<a.length&&a.charAt(m+1)==b;c&&m++;return c},i=function(a,b,c){var d=\"\"+b;if(h(a))while(d.length<c)d=\"0\"+d;return d},j=function(a,b,c,d){return h(a)?d[b]:c[b]},k=\"\",l=!1;if(b)for(var m=0;m<a.length;m++)if(l)a.charAt(m)==\"'\"&&!h(\"'\")?l=!1:k+=a.charAt(m);else switch(a.charAt(m)){case\"d\":k+=i(\"d\",b.getDate(),2);break;case\"D\":k+=j(\"D\",b.getDay(),d,e);break;case\"o\":k+=i(\"o\",Math.round(((new Date(b.getFullYear(),b.getMonth(),b.getDate())).getTime()-(new Date(b.getFullYear(),0,0)).getTime())/864e5),3);break;case\"m\":k+=i(\"m\",b.getMonth()+1,2);break;case\"M\":k+=j(\"M\",b.getMonth(),f,g);break;case\"y\":k+=h(\"y\")?b.getFullYear():(b.getYear()%100<10?\"0\":\"\")+b.getYear()%100;break;case\"@\":k+=b.getTime();break;case\"!\":k+=b.getTime()*1e4+this._ticksTo1970;break;case\"'\":h(\"'\")?k+=\"'\":l=!0;break;default:k+=a.charAt(m)}return k},_possibleChars:function(a){var b=\"\",c=!1,d=function(b){var c=e+1<a.length&&a.charAt(e+1)==b;c&&e++;return c};for(var e=0;e<a.length;e++)if(c)a.charAt(e)==\"'\"&&!d(\"'\")?c=!1:b+=a.charAt(e);else switch(a.charAt(e)){case\"d\":case\"m\":case\"y\":case\"@\":b+=\"0123456789\";break;case\"D\":case\"M\":return null;case\"'\":d(\"'\")?b+=\"'\":c=!0;break;default:b+=a.charAt(e)}return b},_get:function(a,b){return a.settings[b]!==undefined?a.settings[b]:this._defaults[b]},_setDateFromField:function(a,b){if(a.input.val()!=a.lastVal){var c=this._get(a,\"dateFormat\"),d=a.lastVal=a.input?a.input.val():null,e,f;e=f=this._getDefaultDate(a);var g=this._getFormatConfig(a);try{e=this.parseDate(c,d,g)||f}catch(h){this.log(h),d=b?\"\":d}a.selectedDay=e.getDate(),a.drawMonth=a.selectedMonth=e.getMonth(),a.drawYear=a.selectedYear=e.getFullYear(),a.currentDay=d?e.getDate():0,a.currentMonth=d?e.getMonth():0,a.currentYear=d?e.getFullYear():0,this._adjustInstDate(a)}},_getDefaultDate:function(a){return this._restrictMinMax(a,this._determineDate(a,this._get(a,\"defaultDate\"),new Date))},_determineDate:function(a,b,c){var d=function(a){var b=new Date;b.setDate(b.getDate()+a);return b},e=function(b){try{return $.datepicker.parseDate($.datepicker._get(a,\"dateFormat\"),b,$.datepicker._getFormatConfig(a))}catch(c){}var d=(b.toLowerCase().match(/^c/)?$.datepicker._getDate(a):null)||new Date,e=d.getFullYear(),f=d.getMonth(),g=d.getDate(),h=/([+-]?[0-9]+)\\s*(d|D|w|W|m|M|y|Y)?/g,i=h.exec(b);while(i){switch(i[2]||\"d\"){case\"d\":case\"D\":g+=parseInt(i[1],10);break;case\"w\":case\"W\":g+=parseInt(i[1],10)*7;break;case\"m\":case\"M\":f+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f));break;case\"y\":case\"Y\":e+=parseInt(i[1],10),g=Math.min(g,$.datepicker._getDaysInMonth(e,f))}i=h.exec(b)}return new Date(e,f,g)},f=b==null||b===\"\"?c:typeof b==\"string\"?e(b):typeof b==\"number\"?isNaN(b)?c:d(b):new Date(b.getTime());f=f&&f.toString()==\"Invalid Date\"?c:f,f&&(f.setHours(0),f.setMinutes(0),f.setSeconds(0),f.setMilliseconds(0));return this._daylightSavingAdjust(f)},_daylightSavingAdjust:function(a){if(!a)return null;a.setHours(a.getHours()>12?a.getHours()+2:0);return a},_setDate:function(a,b,c){var d=!b,e=a.selectedMonth,f=a.selectedYear,g=this._restrictMinMax(a,this._determineDate(a,b,new Date));a.selectedDay=a.currentDay=g.getDate(),a.drawMonth=a.selectedMonth=a.currentMonth=g.getMonth(),a.drawYear=a.selectedYear=a.currentYear=g.getFullYear(),(e!=a.selectedMonth||f!=a.selectedYear)&&!c&&this._notifyChange(a),this._adjustInstDate(a),a.input&&a.input.val(d?\"\":this._formatDate(a))},_getDate:function(a){var b=!a.currentYear||a.input&&a.input.val()==\"\"?null:this._daylightSavingAdjust(new Date(a.currentYear,a.currentMonth,a.currentDay));return b},_generateHTML:function(a){var b=new Date;b=this._daylightSavingAdjust(new Date(b.getFullYear(),b.getMonth(),b.getDate()));var c=this._get(a,\"isRTL\"),d=this._get(a,\"showButtonPanel\"),e=this._get(a,\"hideIfNoPrevNext\"),f=this._get(a,\"navigationAsDateFormat\"),g=this._getNumberOfMonths(a),h=this._get(a,\"showCurrentAtPos\"),i=this._get(a,\"stepMonths\"),j=g[0]!=1||g[1]!=1,k=this._daylightSavingAdjust(a.currentDay?new Date(a.currentYear,a.currentMonth,a.currentDay):new Date(9999,9,9)),l=this._getMinMaxDate(a,\"min\"),m=this._getMinMaxDate(a,\"max\"),n=a.drawMonth-h,o=a.drawYear;n<0&&(n+=12,o--);if(m){var p=this._daylightSavingAdjust(new Date(m.getFullYear(),m.getMonth()-g[0]*g[1]+1,m.getDate()));p=l&&p<l?l:p;while(this._daylightSavingAdjust(new Date(o,n,1))>p)n--,n<0&&(n=11,o--)}a.drawMonth=n,a.drawYear=o;var q=this._get(a,\"prevText\");q=f?this.formatDate(q,this._daylightSavingAdjust(new Date(o,n-i,1)),this._getFormatConfig(a)):q;var r=this._canAdjustMonth(a,-1,o,n)?'<a class=\"ui-datepicker-prev ui-corner-all\" onclick=\"DP_jQuery_'+dpuuid+\".datepicker._adjustDate('#\"+a.id+\"', -\"+i+\", 'M');\\\"\"+' title=\"'+q+'\"><span class=\"ui-icon ui-icon-circle-triangle-'+(c?\"e\":\"w\")+'\">'+q+\"</span></a>\":e?\"\":'<a class=\"ui-datepicker-prev ui-corner-all ui-state-disabled\" title=\"'+q+'\"><span class=\"ui-icon ui-icon-circle-triangle-'+(c?\"e\":\"w\")+'\">'+q+\"</span></a>\",s=this._get(a,\"nextText\");s=f?this.formatDate(s,this._daylightSavingAdjust(new Date(o,n+i,1)),this._getFormatConfig(a)):s;var t=this._canAdjustMonth(a,1,o,n)?'<a class=\"ui-datepicker-next ui-corner-all\" onclick=\"DP_jQuery_'+dpuuid+\".datepicker._adjustDate('#\"+a.id+\"', +\"+i+\", 'M');\\\"\"+' title=\"'+s+'\"><span class=\"ui-icon ui-icon-circle-triangle-'+(c?\"w\":\"e\")+'\">'+s+\"</span></a>\":e?\"\":'<a class=\"ui-datepicker-next ui-corner-all ui-state-disabled\" title=\"'+s+'\"><span class=\"ui-icon ui-icon-circle-triangle-'+(c?\"w\":\"e\")+'\">'+s+\"</span></a>\",u=this._get(a,\"currentText\"),v=this._get(a,\"gotoCurrent\")&&a.currentDay?k:b;u=f?this.formatDate(u,v,this._getFormatConfig(a)):u;var w=a.inline?\"\":'<button type=\"button\" class=\"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all\" onclick=\"DP_jQuery_'+dpuuid+'.datepicker._hideDatepicker();\">'+this._get(a,\"closeText\")+\"</button>\",x=d?'<div class=\"ui-datepicker-buttonpane ui-widget-content\">'+(c?w:\"\")+(this._isInRange(a,v)?'<button type=\"button\" class=\"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all\" onclick=\"DP_jQuery_'+dpuuid+\".datepicker._gotoToday('#\"+a.id+\"');\\\"\"+\">\"+u+\"</button>\":\"\")+(c?\"\":w)+\"</div>\":\"\",y=parseInt(this._get(a,\"firstDay\"),10);y=isNaN(y)?0:y;var z=this._get(a,\"showWeek\"),A=this._get(a,\"dayNames\"),B=this._get(a,\"dayNamesShort\"),C=this._get(a,\"dayNamesMin\"),D=this._get(a,\"monthNames\"),E=this._get(a,\"monthNamesShort\"),F=this._get(a,\"beforeShowDay\"),G=this._get(a,\"showOtherMonths\"),H=this._get(a,\"selectOtherMonths\"),I=this._get(a,\"calculateWeek\")||this.iso8601Week,J=this._getDefaultDate(a),K=\"\";for(var L=0;L<g[0];L++){var M=\"\";this.maxRows=4;for(var N=0;N<g[1];N++){var O=this._daylightSavingAdjust(new Date(o,n,a.selectedDay)),P=\" ui-corner-all\",Q=\"\";if(j){Q+='<div class=\"ui-datepicker-group';if(g[1]>1)switch(N){case 0:Q+=\" ui-datepicker-group-first\",P=\" ui-corner-\"+(c?\"right\":\"left\");break;case g[1]-1:Q+=\" ui-datepicker-group-last\",P=\" ui-corner-\"+(c?\"left\":\"right\");break;default:Q+=\" ui-datepicker-group-middle\",P=\"\"}Q+='\">'}Q+='<div class=\"ui-datepicker-header ui-widget-header ui-helper-clearfix'+P+'\">'+(/all|left/.test(P)&&L==0?c?t:r:\"\")+(/all|right/.test(P)&&L==0?c?r:t:\"\")+this._generateMonthYearHeader(a,n,o,l,m,L>0||N>0,D,E)+'</div><table class=\"ui-datepicker-calendar\"><thead>'+\"<tr>\";var R=z?'<th class=\"ui-datepicker-week-col\">'+this._get(a,\"weekHeader\")+\"</th>\":\"\";for(var S=0;S<7;S++){var T=(S+y)%7;R+=\"<th\"+((S+y+6)%7>=5?' class=\"ui-datepicker-week-end\"':\"\")+\">\"+'<span title=\"'+A[T]+'\">'+C[T]+\"</span></th>\"}Q+=R+\"</tr></thead><tbody>\";var U=this._getDaysInMonth(o,n);o==a.selectedYear&&n==a.selectedMonth&&(a.selectedDay=Math.min(a.selectedDay,U));var V=(this._getFirstDayOfMonth(o,n)-y+7)%7,W=Math.ceil((V+U)/7),X=j?this.maxRows>W?this.maxRows:W:W;this.maxRows=X;var Y=this._daylightSavingAdjust(new Date(o,n,1-V));for(var Z=0;Z<X;Z++){Q+=\"<tr>\";var _=z?'<td class=\"ui-datepicker-week-col\">'+this._get(a,\"calculateWeek\")(Y)+\"</td>\":\"\";for(var S=0;S<7;S++){var ba=F?F.apply(a.input?a.input[0]:null,[Y]):[!0,\"\"],bb=Y.getMonth()!=n,bc=bb&&!H||!ba[0]||l&&Y<l||m&&Y>m;_+='<td class=\"'+((S+y+6)%7>=5?\" ui-datepicker-week-end\":\"\")+(bb?\" ui-datepicker-other-month\":\"\")+(Y.getTime()==O.getTime()&&n==a.selectedMonth&&a._keyEvent||J.getTime()==Y.getTime()&&J.getTime()==O.getTime()?\" \"+this._dayOverClass:\"\")+(bc?\" \"+this._unselectableClass+\" ui-state-disabled\":\"\")+(bb&&!G?\"\":\" \"+ba[1]+(Y.getTime()==k.getTime()?\" \"+this._currentClass:\"\")+(Y.getTime()==b.getTime()?\" ui-datepicker-today\":\"\"))+'\"'+((!bb||G)&&ba[2]?' title=\"'+ba[2]+'\"':\"\")+(bc?\"\":' onclick=\"DP_jQuery_'+dpuuid+\".datepicker._selectDay('#\"+a.id+\"',\"+Y.getMonth()+\",\"+Y.getFullYear()+', this);return false;\"')+\">\"+(bb&&!G?\"&#xa0;\":bc?'<span class=\"ui-state-default\">'+Y.getDate()+\"</span>\":'<a class=\"ui-state-default'+(Y.getTime()==b.getTime()?\" ui-state-highlight\":\"\")+(Y.getTime()==k.getTime()?\" ui-state-active\":\"\")+(bb?\" ui-priority-secondary\":\"\")+'\" href=\"#\">'+Y.getDate()+\"</a>\")+\"</td>\",Y.setDate(Y.getDate()+1),Y=this._daylightSavingAdjust(Y)}Q+=_+\"</tr>\"}n++,n>11&&(n=0,o++),Q+=\"</tbody></table>\"+(j?\"</div>\"+(g[0]>0&&N==g[1]-1?'<div class=\"ui-datepicker-row-break\"></div>':\"\"):\"\"),M+=Q}K+=M}K+=x+($.browser.msie&&parseInt($.browser.version,10)<7&&!a.inline?'<iframe src=\"javascript:false;\" class=\"ui-datepicker-cover\" frameborder=\"0\"></iframe>':\"\"),a._keyEvent=!1;return K},_generateMonthYearHeader:function(a,b,c,d,e,f,g,h){var i=this._get(a,\"changeMonth\"),j=this._get(a,\"changeYear\"),k=this._get(a,\"showMonthAfterYear\"),l='<div class=\"ui-datepicker-title\">',m=\"\";if(f||!i)m+='<span class=\"ui-datepicker-month\">'+g[b]+\"</span>\";else{var n=d&&d.getFullYear()==c,o=e&&e.getFullYear()==c;m+='<select class=\"ui-datepicker-month\" onchange=\"DP_jQuery_'+dpuuid+\".datepicker._selectMonthYear('#\"+a.id+\"', this, 'M');\\\" \"+\">\";for(var p=0;p<12;p++)(!n||p>=d.getMonth())&&(!o||p<=e.getMonth())&&(m+='<option value=\"'+p+'\"'+(p==b?' selected=\"selected\"':\"\")+\">\"+h[p]+\"</option>\");m+=\"</select>\"}k||(l+=m+(f||!i||!j?\"&#xa0;\":\"\"));if(!a.yearshtml){a.yearshtml=\"\";if(f||!j)l+='<span class=\"ui-datepicker-year\">'+c+\"</span>\";else{var q=this._get(a,\"yearRange\").split(\":\"),r=(new Date).getFullYear(),s=function(a){var b=a.match(/c[+-].*/)?c+parseInt(a.substring(1),10):a.match(/[+-].*/)?r+parseInt(a,10):parseInt(a,10);return isNaN(b)?r:b},t=s(q[0]),u=Math.max(t,s(q[1]||\"\"));t=d?Math.max(t,d.getFullYear()):t,u=e?Math.min(u,e.getFullYear()):u,a.yearshtml+='<select class=\"ui-datepicker-year\" onchange=\"DP_jQuery_'+dpuuid+\".datepicker._selectMonthYear('#\"+a.id+\"', this, 'Y');\\\" \"+\">\";for(;t<=u;t++)a.yearshtml+='<option value=\"'+t+'\"'+(t==c?' selected=\"selected\"':\"\")+\">\"+t+\"</option>\";a.yearshtml+=\"</select>\",l+=a.yearshtml,a.yearshtml=null}}l+=this._get(a,\"yearSuffix\"),k&&(l+=(f||!i||!j?\"&#xa0;\":\"\")+m),l+=\"</div>\";return l},_adjustInstDate:function(a,b,c){var d=a.drawYear+(c==\"Y\"?b:0),e=a.drawMonth+(c==\"M\"?b:0),f=Math.min(a.selectedDay,this._getDaysInMonth(d,e))+(c==\"D\"?b:0),g=this._restrictMinMax(a,this._daylightSavingAdjust(new Date(d,e,f)));a.selectedDay=g.getDate(),a.drawMonth=a.selectedMonth=g.getMonth(),a.drawYear=a.selectedYear=g.getFullYear(),(c==\"M\"||c==\"Y\")&&this._notifyChange(a)},_restrictMinMax:function(a,b){var c=this._getMinMaxDate(a,\"min\"),d=this._getMinMaxDate(a,\"max\"),e=c&&b<c?c:b;e=d&&e>d?d:e;return e},_notifyChange:function(a){var b=this._get(a,\"onChangeMonthYear\");b&&b.apply(a.input?a.input[0]:null,[a.selectedYear,a.selectedMonth+1,a])},_getNumberOfMonths:function(a){var b=this._get(a,\"numberOfMonths\");return b==null?[1,1]:typeof b==\"number\"?[1,b]:b},_getMinMaxDate:function(a,b){return this._determineDate(a,this._get(a,b+\"Date\"),null)},_getDaysInMonth:function(a,b){return 32-this._daylightSavingAdjust(new Date(a,b,32)).getDate()},_getFirstDayOfMonth:function(a,b){return(new Date(a,b,1)).getDay()},_canAdjustMonth:function(a,b,c,d){var e=this._getNumberOfMonths(a),f=this._daylightSavingAdjust(new Date(c,d+(b<0?b:e[0]*e[1]),1));b<0&&f.setDate(this._getDaysInMonth(f.getFullYear(),f.getMonth()));return this._isInRange(a,f)},_isInRange:function(a,b){var c=this._getMinMaxDate(a,\"min\"),d=this._getMinMaxDate(a,\"max\");return(!c||b.getTime()>=c.getTime())&&(!d||b.getTime()<=d.getTime())},_getFormatConfig:function(a){var b=this._get(a,\"shortYearCutoff\");b=typeof b!=\"string\"?b:(new Date).getFullYear()%100+parseInt(b,10);return{shortYearCutoff:b,dayNamesShort:this._get(a,\"dayNamesShort\"),dayNames:this._get(a,\"dayNames\"),monthNamesShort:this._get(a,\"monthNamesShort\"),monthNames:this._get(a,\"monthNames\")}},_formatDate:function(a,b,c,d){b||(a.currentDay=a.selectedDay,a.currentMonth=a.selectedMonth,a.currentYear=a.selectedYear);var e=b?typeof b==\"object\"?b:this._daylightSavingAdjust(new Date(d,c,b)):this._daylightSavingAdjust(new Date\n(a.currentYear,a.currentMonth,a.currentDay));return this.formatDate(this._get(a,\"dateFormat\"),e,this._getFormatConfig(a))}}),$.fn.datepicker=function(a){if(!this.length)return this;$.datepicker.initialized||($(document).mousedown($.datepicker._checkExternalClick).find(\"body\").append($.datepicker.dpDiv),$.datepicker.initialized=!0);var b=Array.prototype.slice.call(arguments,1);if(typeof a==\"string\"&&(a==\"isDisabled\"||a==\"getDate\"||a==\"widget\"))return $.datepicker[\"_\"+a+\"Datepicker\"].apply($.datepicker,[this[0]].concat(b));if(a==\"option\"&&arguments.length==2&&typeof arguments[1]==\"string\")return $.datepicker[\"_\"+a+\"Datepicker\"].apply($.datepicker,[this[0]].concat(b));return this.each(function(){typeof a==\"string\"?$.datepicker[\"_\"+a+\"Datepicker\"].apply($.datepicker,[this].concat(b)):$.datepicker._attachDatepicker(this,a)})},$.datepicker=new Datepicker,$.datepicker.initialized=!1,$.datepicker.uuid=(new Date).getTime(),$.datepicker.version=\"1.8.17\",window[\"DP_jQuery_\"+dpuuid]=$}(jQuery),function(a,b){var c=\"ui-dialog ui-widget ui-widget-content ui-corner-all \",d={buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},e={maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},f=a.attrFn||{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0,click:!0};a.widget(\"ui.dialog\",{options:{autoOpen:!0,buttons:{},closeOnEscape:!0,closeText:\"close\",dialogClass:\"\",draggable:!0,hide:null,height:\"auto\",maxHeight:!1,maxWidth:!1,minHeight:150,minWidth:150,modal:!1,position:{my:\"center\",at:\"center\",collision:\"fit\",using:function(b){var c=a(this).css(b).offset().top;c<0&&a(this).css(\"top\",b.top-c)}},resizable:!0,show:null,stack:!0,title:\"\",width:300,zIndex:1e3},_create:function(){this.originalTitle=this.element.attr(\"title\"),typeof this.originalTitle!=\"string\"&&(this.originalTitle=\"\"),this.options.title=this.options.title||this.originalTitle;var b=this,d=b.options,e=d.title||\"&#160;\",f=a.ui.dialog.getTitleId(b.element),g=(b.uiDialog=a(\"<div></div>\")).appendTo(document.body).hide().addClass(c+d.dialogClass).css({zIndex:d.zIndex}).attr(\"tabIndex\",-1).css(\"outline\",0).keydown(function(c){d.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===a.ui.keyCode.ESCAPE&&(b.close(c),c.preventDefault())}).attr({role:\"dialog\",\"aria-labelledby\":f}).mousedown(function(a){b.moveToTop(!1,a)}),h=b.element.show().removeAttr(\"title\").addClass(\"ui-dialog-content ui-widget-content\").appendTo(g),i=(b.uiDialogTitlebar=a(\"<div></div>\")).addClass(\"ui-dialog-titlebar ui-widget-header ui-corner-all ui-helper-clearfix\").prependTo(g),j=a('<a href=\"#\"></a>').addClass(\"ui-dialog-titlebar-close ui-corner-all\").attr(\"role\",\"button\").hover(function(){j.addClass(\"ui-state-hover\")},function(){j.removeClass(\"ui-state-hover\")}).focus(function(){j.addClass(\"ui-state-focus\")}).blur(function(){j.removeClass(\"ui-state-focus\")}).click(function(a){b.close(a);return!1}).appendTo(i),k=(b.uiDialogTitlebarCloseText=a(\"<span></span>\")).addClass(\"ui-icon ui-icon-closethick\").text(d.closeText).appendTo(j),l=a(\"<span></span>\").addClass(\"ui-dialog-title\").attr(\"id\",f).html(e).prependTo(i);a.isFunction(d.beforeclose)&&!a.isFunction(d.beforeClose)&&(d.beforeClose=d.beforeclose),i.find(\"*\").add(i).disableSelection(),d.draggable&&a.fn.draggable&&b._makeDraggable(),d.resizable&&a.fn.resizable&&b._makeResizable(),b._createButtons(d.buttons),b._isOpen=!1,a.fn.bgiframe&&g.bgiframe()},_init:function(){this.options.autoOpen&&this.open()},destroy:function(){var a=this;a.overlay&&a.overlay.destroy(),a.uiDialog.hide(),a.element.unbind(\".dialog\").removeData(\"dialog\").removeClass(\"ui-dialog-content ui-widget-content\").hide().appendTo(\"body\"),a.uiDialog.remove(),a.originalTitle&&a.element.attr(\"title\",a.originalTitle);return a},widget:function(){return this.uiDialog},close:function(b){var c=this,d,e;if(!1!==c._trigger(\"beforeClose\",b)){c.overlay&&c.overlay.destroy(),c.uiDialog.unbind(\"keypress.ui-dialog\"),c._isOpen=!1,c.options.hide?c.uiDialog.hide(c.options.hide,function(){c._trigger(\"close\",b)}):(c.uiDialog.hide(),c._trigger(\"close\",b)),a.ui.dialog.overlay.resize(),c.options.modal&&(d=0,a(\".ui-dialog\").each(function(){this!==c.uiDialog[0]&&(e=a(this).css(\"z-index\"),isNaN(e)||(d=Math.max(d,e)))}),a.ui.dialog.maxZ=d);return c}},isOpen:function(){return this._isOpen},moveToTop:function(b,c){var d=this,e=d.options,f;if(e.modal&&!b||!e.stack&&!e.modal)return d._trigger(\"focus\",c);e.zIndex>a.ui.dialog.maxZ&&(a.ui.dialog.maxZ=e.zIndex),d.overlay&&(a.ui.dialog.maxZ+=1,d.overlay.$el.css(\"z-index\",a.ui.dialog.overlay.maxZ=a.ui.dialog.maxZ)),f={scrollTop:d.element.scrollTop(),scrollLeft:d.element.scrollLeft()},a.ui.dialog.maxZ+=1,d.uiDialog.css(\"z-index\",a.ui.dialog.maxZ),d.element.attr(f),d._trigger(\"focus\",c);return d},open:function(){if(!this._isOpen){var b=this,c=b.options,d=b.uiDialog;b.overlay=c.modal?new a.ui.dialog.overlay(b):null,b._size(),b._position(c.position),d.show(c.show),b.moveToTop(!0),c.modal&&d.bind(\"keydown.ui-dialog\",function(b){if(b.keyCode===a.ui.keyCode.TAB){var c=a(\":tabbable\",this),d=c.filter(\":first\"),e=c.filter(\":last\");if(b.target===e[0]&&!b.shiftKey){d.focus(1);return!1}if(b.target===d[0]&&b.shiftKey){e.focus(1);return!1}}}),a(b.element.find(\":tabbable\").get().concat(d.find(\".ui-dialog-buttonpane :tabbable\").get().concat(d.get()))).eq(0).focus(),b._isOpen=!0,b._trigger(\"open\");return b}},_createButtons:function(b){var c=this,d=!1,e=a(\"<div></div>\").addClass(\"ui-dialog-buttonpane ui-widget-content ui-helper-clearfix\"),g=a(\"<div></div>\").addClass(\"ui-dialog-buttonset\").appendTo(e);c.uiDialog.find(\".ui-dialog-buttonpane\").remove(),typeof b==\"object\"&&b!==null&&a.each(b,function(){return!(d=!0)}),d&&(a.each(b,function(b,d){d=a.isFunction(d)?{click:d,text:b}:d;var e=a('<button type=\"button\"></button>').click(function(){d.click.apply(c.element[0],arguments)}).appendTo(g);a.each(d,function(a,b){a!==\"click\"&&(a in f?e[a](b):e.attr(a,b))}),a.fn.button&&e.button()}),e.appendTo(c.uiDialog))},_makeDraggable:function(){function f(a){return{position:a.position,offset:a.offset}}var b=this,c=b.options,d=a(document),e;b.uiDialog.draggable({cancel:\".ui-dialog-content, .ui-dialog-titlebar-close\",handle:\".ui-dialog-titlebar\",containment:\"document\",start:function(d,g){e=c.height===\"auto\"?\"auto\":a(this).height(),a(this).height(a(this).height()).addClass(\"ui-dialog-dragging\"),b._trigger(\"dragStart\",d,f(g))},drag:function(a,c){b._trigger(\"drag\",a,f(c))},stop:function(g,h){c.position=[h.position.left-d.scrollLeft(),h.position.top-d.scrollTop()],a(this).removeClass(\"ui-dialog-dragging\").height(e),b._trigger(\"dragStop\",g,f(h)),a.ui.dialog.overlay.resize()}})},_makeResizable:function(c){function h(a){return{originalPosition:a.originalPosition,originalSize:a.originalSize,position:a.position,size:a.size}}c=c===b?this.options.resizable:c;var d=this,e=d.options,f=d.uiDialog.css(\"position\"),g=typeof c==\"string\"?c:\"n,e,s,w,se,sw,ne,nw\";d.uiDialog.resizable({cancel:\".ui-dialog-content\",containment:\"document\",alsoResize:d.element,maxWidth:e.maxWidth,maxHeight:e.maxHeight,minWidth:e.minWidth,minHeight:d._minHeight(),handles:g,start:function(b,c){a(this).addClass(\"ui-dialog-resizing\"),d._trigger(\"resizeStart\",b,h(c))},resize:function(a,b){d._trigger(\"resize\",a,h(b))},stop:function(b,c){a(this).removeClass(\"ui-dialog-resizing\"),e.height=a(this).height(),e.width=a(this).width(),d._trigger(\"resizeStop\",b,h(c)),a.ui.dialog.overlay.resize()}}).css(\"position\",f).find(\".ui-resizable-se\").addClass(\"ui-icon ui-icon-grip-diagonal-se\")},_minHeight:function(){var a=this.options;return a.height===\"auto\"?a.minHeight:Math.min(a.minHeight,a.height)},_position:function(b){var c=[],d=[0,0],e;if(b){if(typeof b==\"string\"||typeof b==\"object\"&&\"0\"in b)c=b.split?b.split(\" \"):[b[0],b[1]],c.length===1&&(c[1]=c[0]),a.each([\"left\",\"top\"],function(a,b){+c[a]===c[a]&&(d[a]=c[a],c[a]=b)}),b={my:c.join(\" \"),at:c.join(\" \"),offset:d.join(\" \")};b=a.extend({},a.ui.dialog.prototype.options.position,b)}else b=a.ui.dialog.prototype.options.position;e=this.uiDialog.is(\":visible\"),e||this.uiDialog.show(),this.uiDialog.css({top:0,left:0}).position(a.extend({of:window},b)),e||this.uiDialog.hide()},_setOptions:function(b){var c=this,f={},g=!1;a.each(b,function(a,b){c._setOption(a,b),a in d&&(g=!0),a in e&&(f[a]=b)}),g&&this._size(),this.uiDialog.is(\":data(resizable)\")&&this.uiDialog.resizable(\"option\",f)},_setOption:function(b,d){var e=this,f=e.uiDialog;switch(b){case\"beforeclose\":b=\"beforeClose\";break;case\"buttons\":e._createButtons(d);break;case\"closeText\":e.uiDialogTitlebarCloseText.text(\"\"+d);break;case\"dialogClass\":f.removeClass(e.options.dialogClass).addClass(c+d);break;case\"disabled\":d?f.addClass(\"ui-dialog-disabled\"):f.removeClass(\"ui-dialog-disabled\");break;case\"draggable\":var g=f.is(\":data(draggable)\");g&&!d&&f.draggable(\"destroy\"),!g&&d&&e._makeDraggable();break;case\"position\":e._position(d);break;case\"resizable\":var h=f.is(\":data(resizable)\");h&&!d&&f.resizable(\"destroy\"),h&&typeof d==\"string\"&&f.resizable(\"option\",\"handles\",d),!h&&d!==!1&&e._makeResizable(d);break;case\"title\":a(\".ui-dialog-title\",e.uiDialogTitlebar).html(\"\"+(d||\"&#160;\"))}a.Widget.prototype._setOption.apply(e,arguments)},_size:function(){var b=this.options,c,d,e=this.uiDialog.is(\":visible\");this.element.show().css({width:\"auto\",minHeight:0,height:0}),b.minWidth>b.width&&(b.width=b.minWidth),c=this.uiDialog.css({height:\"auto\",width:b.width}).height(),d=Math.max(0,b.minHeight-c);if(b.height===\"auto\")if(a.support.minHeight)this.element.css({minHeight:d,height:\"auto\"});else{this.uiDialog.show();var f=this.element.css(\"height\",\"auto\").height();e||this.uiDialog.hide(),this.element.height(Math.max(f,d))}else this.element.height(Math.max(b.height-c,0));this.uiDialog.is(\":data(resizable)\")&&this.uiDialog.resizable(\"option\",\"minHeight\",this._minHeight())}}),a.extend(a.ui.dialog,{version:\"1.8.17\",uuid:0,maxZ:0,getTitleId:function(a){var b=a.attr(\"id\");b||(this.uuid+=1,b=this.uuid);return\"ui-dialog-title-\"+b},overlay:function(b){this.$el=a.ui.dialog.overlay.create(b)}}),a.extend(a.ui.dialog.overlay,{instances:[],oldInstances:[],maxZ:0,events:a.map(\"focus,mousedown,mouseup,keydown,keypress,click\".split(\",\"),function(a){return a+\".dialog-overlay\"}).join(\" \"),create:function(b){this.instances.length===0&&(setTimeout(function(){a.ui.dialog.overlay.instances.length&&a(document).bind(a.ui.dialog.overlay.events,function(b){if(a(b.target).zIndex()<a.ui.dialog.overlay.maxZ)return!1})},1),a(document).bind(\"keydown.dialog-overlay\",function(c){b.options.closeOnEscape&&!c.isDefaultPrevented()&&c.keyCode&&c.keyCode===a.ui.keyCode.ESCAPE&&(b.close(c),c.preventDefault())}),a(window).bind(\"resize.dialog-overlay\",a.ui.dialog.overlay.resize));var c=(this.oldInstances.pop()||a(\"<div></div>\").addClass(\"ui-widget-overlay\")).appendTo(document.body).css({width:this.width(),height:this.height()});a.fn.bgiframe&&c.bgiframe(),this.instances.push(c);return c},destroy:function(b){var c=a.inArray(b,this.instances);c!=-1&&this.oldInstances.push(this.instances.splice(c,1)[0]),this.instances.length===0&&a([document,window]).unbind(\".dialog-overlay\"),b.remove();var d=0;a.each(this.instances,function(){d=Math.max(d,this.css(\"z-index\"))}),this.maxZ=d},height:function(){var b,c;if(a.browser.msie&&a.browser.version<7){b=Math.max(document.documentElement.scrollHeight,document.body.scrollHeight),c=Math.max(document.documentElement.offsetHeight,document.body.offsetHeight);return b<c?a(window).height()+\"px\":b+\"px\"}return a(document).height()+\"px\"},width:function(){var b,c;if(a.browser.msie){b=Math.max(document.documentElement.scrollWidth,document.body.scrollWidth),c=Math.max(document.documentElement.offsetWidth,document.body.offsetWidth);return b<c?a(window).width()+\"px\":b+\"px\"}return a(document).width()+\"px\"},resize:function(){var b=a([]);a.each(a.ui.dialog.overlay.instances,function(){b=b.add(this)}),b.css({width:0,height:0}).css({width:a.ui.dialog.overlay.width(),height:a.ui.dialog.overlay.height()})}}),a.extend(a.ui.dialog.overlay.prototype,{destroy:function(){a.ui.dialog.overlay.destroy(this.$el)}})}(jQuery),function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e=\"center\",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||\"flip\").split(\" \"),k=b.offset?b.offset.split(\" \"):[0,0],l,m,n;i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at=\"left top\",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each([\"my\",\"at\"],function(){var a=(b[this]||\"\").split(\" \");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]===\"right\"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]===\"bottom\"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1];return this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,\"marginLeft\",!0))||0,i=parseInt(a.curCSS(this,\"marginTop\",!0))||0,o=d+h+(parseInt(a.curCSS(this,\"marginRight\",!0))||0),p=g+i+(parseInt(a.curCSS(this,\"marginBottom\",!0))||0),q=a.extend({},n),r;b.my[0]===\"right\"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]===\"bottom\"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each([\"left\",\"top\"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]!==e){var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]===\"left\"?-c.elemWidth:c.my[0]===\"right\"?c.elemWidth:0,h=c.at[0]===\"left\"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0}},top:function(b,c){if(c.at[1]!==e){var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]===\"top\"?-c.elemHeight:c.my[1]===\"bottom\"?c.elemHeight:0,h=c.at[1]===\"top\"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,\"position\"))&&(b.style.position=\"relative\");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,\"top\",!0),10)||0,g=parseInt(a.curCSS(b,\"left\",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};\"using\"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];if(!c||!c.ownerDocument)return null;if(b)return this.each(function(){a.offset.setOffset(this,b)});return h.call(this)}),function(){var b=document.getElementsByTagName(\"body\")[0],c=document.createElement(\"div\"),d,e,g,h,i;d=document.createElement(b?\"div\":\"body\"),g={visibility:\"hidden\",width:0,height:0,border:0,margin:0,background:\"none\"},b&&jQuery.extend(g,{position:\"absolute\",left:\"-1000px\",top:\"-1000px\"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText=\"position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;\",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML=\"\",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()}(jQuery),function(a,b){a.widget(\"ui.progressbar\",{options:{value:0,max:100},min:0,_create:function(){this.element.addClass(\"ui-progressbar ui-widget ui-widget-content ui-corner-all\").attr({role:\"progressbar\",\"aria-valuemin\":this.min,\"aria-valuemax\":this.options.max,\"aria-valuenow\":this._value()}),this.valueDiv=a(\"<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>\").appendTo(this.element),this.oldValue=this._value(),this._refreshValue()},destroy:function(){this.element.removeClass(\"ui-progressbar ui-widget ui-widget-content ui-corner-all\").removeAttr(\"role\").removeAttr(\"aria-valuemin\").removeAttr(\"aria-valuemax\").removeAttr(\"aria-valuenow\"),this.valueDiv.remove(),a.Widget.prototype.destroy.apply(this,arguments)},value:function(a){if(a===b)return this._value();this._setOption(\"value\",a);return this},_setOption:function(b,c){b===\"value\"&&(this.options.value=c,this._refreshValue(),this._value()===this.options.max&&this._trigger(\"complete\")),a.Widget.prototype._setOption.apply(this,arguments)},_value:function(){var a=this.options.value;typeof a!=\"number\"&&(a=0);return Math.min(this.options.max,Math.max(this.min,a))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var a=this.value(),b=this._percentage();this.oldValue!==a&&(this.oldValue=a,this._trigger(\"change\")),this.valueDiv.toggle(a>this.min).toggleClass(\"ui-corner-right\",a===this.options.max).width(b.toFixed(0)+\"%\"),this.element.attr(\"aria-valuenow\",a)}}),a.extend(a.ui.progressbar,{version:\"1.8.17\"})}(jQuery),function(a,b){var c=5;a.widget(\"ui.slider\",a.ui.mouse,{widgetEventPrefix:\"slide\",options:{animate:!1,distance:0,max:100,min:0,orientation:\"horizontal\",range:!1,step:1,value:0,values:null},_create:function(){var b=this,d=this.options,e=this.element.find(\".ui-slider-handle\").addClass(\"ui-state-default ui-corner-all\"),f=\"<a class='ui-slider-handle ui-state-default ui-corner-all' href='#'></a>\",g=d.values&&d.values.length||1,h=[];this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this.element.addClass(\"ui-slider ui-slider-\"+this.orientation+\" ui-widget\"+\" ui-widget-content\"+\" ui-corner-all\"+(d.disabled?\" ui-slider-disabled ui-disabled\":\"\")),this.range=a([]),d.range&&(d.range===!0&&(d.values||(d.values=[this._valueMin(),this._valueMin()]),d.values.length&&d.values.length!==2&&(d.values=[d.values[0],d.values[0]])),this.range=a(\"<div></div>\").appendTo(this.element).addClass(\"ui-slider-range ui-widget-header\"+(d.range===\"min\"||d.range===\"max\"?\" ui-slider-range-\"+d.range:\"\")));for(var i=e.length;i<g;i+=1)h.push(f);this.handles=e.add(a(h.join(\"\")).appendTo(b.element)),this.handle=this.handles.eq(0),this.handles.add(this.range).filter(\"a\").click(function(a){a.preventDefault()}).hover(function(){d.disabled||a(this).addClass(\"ui-state-hover\")},function(){a(this).removeClass(\"ui-state-hover\")}).focus(function(){d.disabled?a(this).blur():(a(\".ui-slider .ui-state-focus\").removeClass(\"ui-state-focus\"),a(this).addClass(\"ui-state-focus\"))}).blur(function(){a(this).removeClass(\"ui-state-focus\")}),this.handles.each(function(b){a(this).data(\"index.ui-slider-handle\",b)}),this.handles.keydown(function(d){var e=!0,f=a(this).data(\"index.ui-slider-handle\"),g,h,i,j;if(!b.options.disabled){switch(d.keyCode){case a.ui.keyCode.HOME:case a.ui.keyCode.END:case a.ui.keyCode.PAGE_UP:case a.ui.keyCode.PAGE_DOWN:case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:e=!1;if(!b._keySliding){b._keySliding=!0,a(this).addClass(\"ui-state-active\"),g=b._start(d,f);if(g===!1)return}}j=b.options.step,b.options.values&&b.options.values.length?h=i=b.values(f):h=i=b.value();switch(d.keyCode){case a.ui.keyCode.HOME:i=b._valueMin();break;case a.ui.keyCode.END:i=b._valueMax();break;case a.ui.keyCode.PAGE_UP:i=b._trimAlignValue(h+(b._valueMax()-b._valueMin())/c);break;case a.ui.keyCode.PAGE_DOWN:i=b._trimAlignValue(h-(b._valueMax()-b._valueMin())/c);break;case a.ui.keyCode.UP:case a.ui.keyCode.RIGHT:if(h===b._valueMax())return;i=b._trimAlignValue(h+j);break;case a.ui.keyCode.DOWN:case a.ui.keyCode.LEFT:if(h===b._valueMin())return;i=b._trimAlignValue(h-j)}b._slide(d,f,i);return e}}).keyup(function(c){var d=a(this).data(\"index.ui-slider-handle\");b._keySliding&&(b._keySliding=!1,b._stop(c,d),b._change(c,d),a(this).removeClass(\"ui-state-active\"))}),this._refreshValue(),this._animateOff=!1},destroy:function(){this.handles.remove(),this.range.remove(),this.element.removeClass(\"ui-slider ui-slider-horizontal ui-slider-vertical ui-slider-disabled ui-widget ui-widget-content ui-corner-all\").removeData(\"slider\").unbind(\".slider\"),this._mouseDestroy();return this},_mouseCapture:function(b){var c=this.options,d,e,f,g,h,i,j,k,l;if(c.disabled)return!1;this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),d={x:b.pageX,y:b.pageY},e=this._normValueFromMouse(d),f=this._valueMax()-this._valueMin()+1,h=this,this.handles.each(function(b){var c=Math.abs(e-h.values(b));f>c&&(f=c,g=a(this),i=b)}),c.range===!0&&this.values(1)===c.min&&(i+=1,g=a(this.handles[i])),j=this._start(b,i);if(j===!1)return!1;this._mouseSliding=!0,h._handleIndex=i,g.addClass(\"ui-state-active\").focus(),k=g.offset(),l=!a(b.target).parents().andSelf().is(\".ui-slider-handle\"),this._clickOffset=l?{left:0,top:0}:{left:b.pageX-k.left-g.width()/2,top:b.pageY-k.top-g.height()/2-(parseInt(g.css(\"borderTopWidth\"),10)||0)-(parseInt(g.css(\"borderBottomWidth\"),10)||0)+(parseInt(g.css(\"marginTop\"),10)||0)},this.handles.hasClass(\"ui-state-hover\")||this._slide(b,i,e),this._animateOff=!0;return!0},_mouseStart:function(a){return!0},_mouseDrag:function(a){var b={x:a.pageX,y:a.pageY},c=this._normValueFromMouse(b);this._slide(a,this._handleIndex,c);return!1},_mouseStop:function(a){this.handles.removeClass(\"ui-state-active\"),this._mouseSliding=!1,this._stop(a,this._handleIndex),this._change(a,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1;return!1},_detectOrientation:function(){this.orientation=this.options.orientation===\"vertical\"?\"vertical\":\"horizontal\"},_normValueFromMouse:function(a){var b,c,d,e,f;this.orientation===\"horizontal\"?(b=this.elementSize.width,c=a.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(b=this.elementSize.height,c=a.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),d=c/b,d>1&&(d=1),d<0&&(d=0),this.orientation===\"vertical\"&&(d=1-d),e=this._valueMax()-this._valueMin(),f=this._valueMin()+d*e;return this._trimAlignValue(f)},_start:function(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values());return this._trigger(\"start\",a,c)},_slide:function(a,b,c){var d,e,f;this.options.values&&this.options.values.length?(d=this.values(b?0:1),this.options.values.length===2&&this.options.range===!0&&(b===0&&c>d||b===1&&c<d)&&(c=d),c!==this.values(b)&&(e=this.values(),e[b]=c,f=this._trigger(\"slide\",a,{handle:this.handles[b],value:c,values:e}),d=this.values(b?0:1),f!==!1&&this.values(b,c,!0))):c!==this.value()&&(f=this._trigger(\"slide\",a,{handle:this.handles[b],value:c}),f!==!1&&this.value(c))},_stop:function(a,b){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values()),this._trigger(\"stop\",a,c)},_change:function(a,b){if(!this._keySliding&&!this._mouseSliding){var c={handle:this.handles[b],value:this.value()};this.options.values&&this.options.values.length&&(c.value=this.values(b),c.values=this.values()),this._trigger(\"change\",a,c)}},value:function(a){if(arguments.length)this.options.value=this._trimAlignValue(a),this._refreshValue(),this._change(null,0);else return this._value()},values:function(b,c){var d,e,f;if(arguments.length>1)this.options.values[b]=this._trimAlignValue(c),this._refreshValue(),this._change(null,b);else{if(!arguments.length)return this._values();if(!a.isArray(arguments[0]))return this.options.values&&this.options.values.length?this._values(b):this.value();d=this.options.values,e=arguments[0];for(f=0;f<d.length;f+=1)d[f]=this._trimAlignValue(e[f]),this._change(null,f);this._refreshValue()}},_setOption:function(b,c){var d,e=0;a.isArray(this.options.values)&&(e=this.options.values.length),a.Widget.prototype._setOption.apply(this,arguments);switch(b){case\"disabled\":c?(this.handles.filter(\".ui-state-focus\").blur(),this.handles.removeClass(\"ui-state-hover\"),this.handles.propAttr(\"disabled\",!0),this.element.addClass(\"ui-disabled\")):(this.handles.propAttr(\"disabled\",!1),this.element.removeClass(\"ui-disabled\"));break;case\"orientation\":this._detectOrientation(),this.element.removeClass(\"ui-slider-horizontal ui-slider-vertical\").addClass(\"ui-slider-\"+this.orientation),this._refreshValue();break;case\"value\":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case\"values\":this._animateOff=!0,this._refreshValue();for(d=0;d<e;d+=1)this._change(null,d);this._animateOff=!1}},_value:function(){var a=this.options.value;a=this._trimAlignValue(a);return a},_values:function(a){var b,c,d;if(arguments.length){b=this.options.values[a],b=this._trimAlignValue(b);return b}c=this.options.values.slice();for(d=0;d<c.length;d+=1)c[d]=this._trimAlignValue(c[d]);return c},_trimAlignValue:function(a){if(a<=this._valueMin())return this._valueMin();if(a>=this._valueMax())return this._valueMax();var b=this.options.step>0?this.options.step:1,c=(a-this._valueMin())%b,d=a-c;Math.abs(c)*2>=b&&(d+=c>0?b:-b);return parseFloat(d.toFixed(5))},_valueMin:function(){return this.options.min},_valueMax:function(){return this.options.max},_refreshValue:function(){var b=this.options.range,c=this.options,d=this,e=this._animateOff?!1:c.animate,f,g={},h,i,j,k;this.options.values&&this.options.values.length?this.handles.each(function(b,i){f=(d.values(b)-d._valueMin())/(d._valueMax()-d._valueMin())*100,g[d.orientation===\"horizontal\"?\"left\":\"bottom\"]=f+\"%\",a(this).stop(1,1)[e?\"animate\":\"css\"](g,c.animate),d.options.range===!0&&(d.orientation===\"horizontal\"?(b===0&&d.range.stop(1,1)[e?\"animate\":\"css\"]({left:f+\"%\"},c.animate),b===1&&d.range[e?\"animate\":\"css\"]({width:f-h+\"%\"},{queue:!1,duration:c.animate})):(b===0&&d.range.stop(1,1)[e?\"animate\":\"css\"]({bottom:f+\"%\"},c.animate),b===1&&d.range[e?\"animate\":\"css\"]({height:f-h+\"%\"},{queue:!1,duration:c.animate}))),h=f}):(i=this.value(),j=this._valueMin(),k=this._valueMax(),f=k!==j?(i-j)/(k-j)*100:0,g[d.orientation===\"horizontal\"?\"left\":\"bottom\"]=f+\"%\",this.handle.stop(1,1)[e?\"animate\":\"css\"](g,c.animate),b===\"min\"&&this.orientation===\"horizontal\"&&this.range.stop(1,1)[e?\"animate\":\"css\"]({width:f+\"%\"},c.animate),b===\"max\"&&this.orientation===\"horizontal\"&&this.range[e?\"animate\":\"css\"]({width:100-f+\"%\"},{queue:!1,duration:c.animate}),b===\"min\"&&this.orientation===\"vertical\"&&this.range.stop(1,1)[e?\"animate\":\"css\"]({height:f+\"%\"},c.animate),b===\"max\"&&this.orientation===\"vertical\"&&this.range[e?\"animate\":\"css\"]({height:100-f+\"%\"},{queue:!1,duration:c.animate}))}}),a.extend(a.ui.slider,{version:\"1.8.17\"})}(jQuery),function(a,b){function f(){return++d}function e(){return++c}var c=0,d=0;a.widget(\"ui.tabs\",{options:{add:null,ajaxOptions:null,cache:!1,cookie:null,collapsible:!1,disable:null,disabled:[],enable:null,event:\"click\",fx:null,idPrefix:\"ui-tabs-\",load:null,panelTemplate:\"<div></div>\",remove:null,select:null,show:null,spinner:\"<em>Loading&#8230;</em>\",tabTemplate:\"<li><a href='#{href}'><span>#{label}</span></a></li>\"},_create:function(){this._tabify(!0)},_setOption:function(a,b){if(a==\"selected\"){if(this.options.collapsible&&b==this.options.selected)return;this.select(b)}else this.options[a]=b,this._tabify()},_tabId:function(a){return a.title&&a.title.replace(/\\s/g,\"_\").replace(/[^\\w\\u00c0-\\uFFFF-]/g,\"\")||this.options.idPrefix+e()},_sanitizeSelector:function(a){return a.replace(/:/g,\"\\\\:\")},_cookie:function(){var b=this.cookie||(this.cookie=this.options.cookie.name||\"ui-tabs-\"+f());return a.cookie.apply(null,[b].concat(a.makeArray(arguments)))},_ui:function(a,b){return{tab:a,panel:b,index:this.anchors.index(a)}},_cleanup:function(){this.lis.filter(\".ui-state-processing\").removeClass(\"ui-state-processing\").find(\"span:data(label.tabs)\").each(function(){var b=a(this);b.html(b.data(\"label.tabs\")).removeData(\"label.tabs\")})},_tabify:function(c){function m(b,c){b.css(\"display\",\"\"),!a.support.opacity&&c.opacity&&b[0].style.removeAttribute(\"filter\")}var d=this,e=this.options,f=/^#.+/;this.list=this.element.find(\"ol,ul\").eq(0),this.lis=a(\" > li:has(a[href])\",this.list),this.anchors=this.lis.map(function(){return a(\"a\",this)[0]}),this.panels=a([]),this.anchors.each(function(b,c){var g=a(c).attr(\"href\"),h=g.split(\"#\")[0],i;h&&(h===location.toString().split(\"#\")[0]||(i=a(\"base\")[0])&&h===i.href)&&(g=c.hash,c.href=g);if(f.test(g))d.panels=d.panels.add(d.element.find(d._sanitizeSelector(g)));else if(g&&g!==\"#\"){a.data(c,\"href.tabs\",g),a.data(c,\"load.tabs\",g.replace(/#.*$/,\"\"));var j=d._tabId(c);c.href=\"#\"+j;var k=d.element.find(\"#\"+j);k.length||(k=a(e.panelTemplate).attr(\"id\",j).addClass(\"ui-tabs-panel ui-widget-content ui-corner-bottom\").insertAfter(d.panels[b-1]||d.list),k.data(\"destroy.tabs\",!0)),d.panels=d.panels.add(k)}else e.disabled.push(b)}),c?(this.element.addClass(\"ui-tabs ui-widget ui-widget-content ui-corner-all\"),this.list.addClass(\"ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all\"),this.lis.addClass(\"ui-state-default ui-corner-top\"),this.panels.addClass(\"ui-tabs-panel ui-widget-content ui-corner-bottom\"),e.selected===b?(location.hash&&this.anchors.each(function(a,b){if(b.hash==location.hash){e.selected=a;return!1}}),typeof e.selected!=\"number\"&&e.cookie&&(e.selected=parseInt(d._cookie(),10)),typeof e.selected!=\"number\"&&this.lis.filter(\".ui-tabs-selected\").length&&(e.selected=this.lis.index(this.lis.filter(\".ui-tabs-selected\"))),e.selected=e.selected||(this.lis.length?0:-1)):e.selected===null&&(e.selected=-1),e.selected=e.selected>=0&&this.anchors[e.selected]||e.selected<0?e.selected:0,e.disabled=a.unique(e.disabled.concat(a.map(this.lis.filter(\".ui-state-disabled\"),function(a,b){return d.lis.index(a)}))).sort(),a.inArray(e.selected,e.disabled)!=-1&&e.disabled.splice(a.inArray(e.selected,e.disabled),1),this.panels.addClass(\"ui-tabs-hide\"),this.lis.removeClass(\"ui-tabs-selected ui-state-active\"),e.selected>=0&&this.anchors.length&&(d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash)).removeClass(\"ui-tabs-hide\"),this.lis.eq(e.selected).addClass(\"ui-tabs-selected ui-state-active\"),d.element.queue(\"tabs\",function(){d._trigger(\"show\",null,d._ui(d.anchors[e.selected],d.element.find(d._sanitizeSelector(d.anchors[e.selected].hash))[0]))}),this.load(e.selected)),a(window).bind(\"unload\",function(){d.lis.add(d.anchors).unbind(\".tabs\"),d.lis=d.anchors=d.panels=null})):e.selected=this.lis.index(this.lis.filter(\".ui-tabs-selected\")),this.element[e.collapsible?\"addClass\":\"removeClass\"](\"ui-tabs-collapsible\"),e.cookie&&this._cookie(e.selected,e.cookie);for(var g=0,h;h=this.lis[g];g++)a(h)[a.inArray(g,e.disabled)!=-1&&!a(h).hasClass(\"ui-tabs-selected\")?\"addClass\":\"removeClass\"](\"ui-state-disabled\");e.cache===!1&&this.anchors.removeData(\"cache.tabs\"),this.lis.add(this.anchors).unbind(\".tabs\");if(e.event!==\"mouseover\"){var i=function(a,b){b.is(\":not(.ui-state-disabled)\")&&b.addClass(\"ui-state-\"+a)},j=function(a,b){b.removeClass(\"ui-state-\"+a)};this.lis.bind(\"mouseover.tabs\",function(){i(\"hover\",a(this))}),this.lis.bind(\"mouseout.tabs\",function(){j(\"hover\",a(this))}),this.anchors.bind(\"focus.tabs\",function(){i(\"focus\",a(this).closest(\"li\"))}),this.anchors.bind(\"blur.tabs\",function(){j(\"focus\",a(this).closest(\"li\"))})}var k,l;e.fx&&(a.isArray(e.fx)?(k=e.fx[0],l=e.fx[1]):k=l=e.fx);var n=l?function(b,c){a(b).closest(\"li\").addClass(\"ui-tabs-selected ui-state-active\"),c.hide().removeClass(\"ui-tabs-hide\").animate(l,l.duration||\"normal\",function(){m(c,l),d._trigger(\"show\",null,d._ui(b,c[0]))})}:function(b,c){a(b).closest(\"li\").addClass(\"ui-tabs-selected ui-state-active\"),c.removeClass(\"ui-tabs-hide\"),d._trigger(\"show\",null,d._ui(b,c[0]))},o=k?function(a,b){b.animate(k,k.duration||\"normal\",function(){d.lis.removeClass(\"ui-tabs-selected ui-state-active\"),b.addClass(\"ui-tabs-hide\"),m(b,k),d.element.dequeue(\"tabs\")})}:function(a,b,c){d.lis.removeClass(\"ui-tabs-selected ui-state-active\"),b.addClass(\"ui-tabs-hide\"),d.element.dequeue(\"tabs\")};this.anchors.bind(e.event+\".tabs\",function(){var b=this,c=a(b).closest(\"li\"),f=d.panels.filter(\":not(.ui-tabs-hide)\"),g=d.element.find(d._sanitizeSelector(b.hash));if(c.hasClass(\"ui-tabs-selected\")&&!e.collapsible||c.hasClass(\"ui-state-disabled\")||c.hasClass(\"ui-state-processing\"\n)||d.panels.filter(\":animated\").length||d._trigger(\"select\",null,d._ui(this,g[0]))===!1){this.blur();return!1}e.selected=d.anchors.index(this),d.abort();if(e.collapsible){if(c.hasClass(\"ui-tabs-selected\")){e.selected=-1,e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue(\"tabs\",function(){o(b,f)}).dequeue(\"tabs\"),this.blur();return!1}if(!f.length){e.cookie&&d._cookie(e.selected,e.cookie),d.element.queue(\"tabs\",function(){n(b,g)}),d.load(d.anchors.index(this)),this.blur();return!1}}e.cookie&&d._cookie(e.selected,e.cookie);if(g.length)f.length&&d.element.queue(\"tabs\",function(){o(b,f)}),d.element.queue(\"tabs\",function(){n(b,g)}),d.load(d.anchors.index(this));else throw\"jQuery UI Tabs: Mismatching fragment identifier.\";a.browser.msie&&this.blur()}),this.anchors.bind(\"click.tabs\",function(){return!1})},_getIndex:function(a){typeof a==\"string\"&&(a=this.anchors.index(this.anchors.filter(\"[href$=\"+a+\"]\")));return a},destroy:function(){var b=this.options;this.abort(),this.element.unbind(\".tabs\").removeClass(\"ui-tabs ui-widget ui-widget-content ui-corner-all ui-tabs-collapsible\").removeData(\"tabs\"),this.list.removeClass(\"ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all\"),this.anchors.each(function(){var b=a.data(this,\"href.tabs\");b&&(this.href=b);var c=a(this).unbind(\".tabs\");a.each([\"href\",\"load\",\"cache\"],function(a,b){c.removeData(b+\".tabs\")})}),this.lis.unbind(\".tabs\").add(this.panels).each(function(){a.data(this,\"destroy.tabs\")?a(this).remove():a(this).removeClass([\"ui-state-default\",\"ui-corner-top\",\"ui-tabs-selected\",\"ui-state-active\",\"ui-state-hover\",\"ui-state-focus\",\"ui-state-disabled\",\"ui-tabs-panel\",\"ui-widget-content\",\"ui-corner-bottom\",\"ui-tabs-hide\"].join(\" \"))}),b.cookie&&this._cookie(null,b.cookie);return this},add:function(c,d,e){e===b&&(e=this.anchors.length);var f=this,g=this.options,h=a(g.tabTemplate.replace(/#\\{href\\}/g,c).replace(/#\\{label\\}/g,d)),i=c.indexOf(\"#\")?this._tabId(a(\"a\",h)[0]):c.replace(\"#\",\"\");h.addClass(\"ui-state-default ui-corner-top\").data(\"destroy.tabs\",!0);var j=f.element.find(\"#\"+i);j.length||(j=a(g.panelTemplate).attr(\"id\",i).data(\"destroy.tabs\",!0)),j.addClass(\"ui-tabs-panel ui-widget-content ui-corner-bottom ui-tabs-hide\"),e>=this.lis.length?(h.appendTo(this.list),j.appendTo(this.list[0].parentNode)):(h.insertBefore(this.lis[e]),j.insertBefore(this.panels[e])),g.disabled=a.map(g.disabled,function(a,b){return a>=e?++a:a}),this._tabify(),this.anchors.length==1&&(g.selected=0,h.addClass(\"ui-tabs-selected ui-state-active\"),j.removeClass(\"ui-tabs-hide\"),this.element.queue(\"tabs\",function(){f._trigger(\"show\",null,f._ui(f.anchors[0],f.panels[0]))}),this.load(0)),this._trigger(\"add\",null,this._ui(this.anchors[e],this.panels[e]));return this},remove:function(b){b=this._getIndex(b);var c=this.options,d=this.lis.eq(b).remove(),e=this.panels.eq(b).remove();d.hasClass(\"ui-tabs-selected\")&&this.anchors.length>1&&this.select(b+(b+1<this.anchors.length?1:-1)),c.disabled=a.map(a.grep(c.disabled,function(a,c){return a!=b}),function(a,c){return a>=b?--a:a}),this._tabify(),this._trigger(\"remove\",null,this._ui(d.find(\"a\")[0],e[0]));return this},enable:function(b){b=this._getIndex(b);var c=this.options;if(a.inArray(b,c.disabled)!=-1){this.lis.eq(b).removeClass(\"ui-state-disabled\"),c.disabled=a.grep(c.disabled,function(a,c){return a!=b}),this._trigger(\"enable\",null,this._ui(this.anchors[b],this.panels[b]));return this}},disable:function(a){a=this._getIndex(a);var b=this,c=this.options;a!=c.selected&&(this.lis.eq(a).addClass(\"ui-state-disabled\"),c.disabled.push(a),c.disabled.sort(),this._trigger(\"disable\",null,this._ui(this.anchors[a],this.panels[a])));return this},select:function(a){a=this._getIndex(a);if(a==-1)if(this.options.collapsible&&this.options.selected!=-1)a=this.options.selected;else return this;this.anchors.eq(a).trigger(this.options.event+\".tabs\");return this},load:function(b){b=this._getIndex(b);var c=this,d=this.options,e=this.anchors.eq(b)[0],f=a.data(e,\"load.tabs\");this.abort();if(!f||this.element.queue(\"tabs\").length!==0&&a.data(e,\"cache.tabs\"))this.element.dequeue(\"tabs\");else{this.lis.eq(b).addClass(\"ui-state-processing\");if(d.spinner){var g=a(\"span\",e);g.data(\"label.tabs\",g.html()).html(d.spinner)}this.xhr=a.ajax(a.extend({},d.ajaxOptions,{url:f,success:function(f,g){c.element.find(c._sanitizeSelector(e.hash)).html(f),c._cleanup(),d.cache&&a.data(e,\"cache.tabs\",!0),c._trigger(\"load\",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.success(f,g)}catch(h){}},error:function(a,f,g){c._cleanup(),c._trigger(\"load\",null,c._ui(c.anchors[b],c.panels[b]));try{d.ajaxOptions.error(a,f,b,e)}catch(g){}}})),c.element.dequeue(\"tabs\");return this}},abort:function(){this.element.queue([]),this.panels.stop(!1,!0),this.element.queue(\"tabs\",this.element.queue(\"tabs\").splice(-2,2)),this.xhr&&(this.xhr.abort(),delete this.xhr),this._cleanup();return this},url:function(a,b){this.anchors.eq(a).removeData(\"cache.tabs\").data(\"load.tabs\",b);return this},length:function(){return this.anchors.length}}),a.extend(a.ui.tabs,{version:\"1.8.17\"}),a.extend(a.ui.tabs.prototype,{rotation:null,rotate:function(a,b){var c=this,d=this.options,e=c._rotate||(c._rotate=function(b){clearTimeout(c.rotation),c.rotation=setTimeout(function(){var a=d.selected;c.select(++a<c.anchors.length?a:0)},a),b&&b.stopPropagation()}),f=c._unrotate||(c._unrotate=b?function(a){t=d.selected,e()}:function(a){a.clientX&&c.rotate(null)});a?(this.element.bind(\"tabsshow\",e),this.anchors.bind(d.event+\".tabs\",f),e()):(clearTimeout(c.rotation),this.element.unbind(\"tabsshow\",e),this.anchors.unbind(d.event+\".tabs\",f),delete this._rotate,delete this._unrotate);return this}})}(jQuery)"
},
"redirectURL": "",
"headersSize": -1,
"bodySize": 0,
"_transferSize": 0
},
"cache": {},
"timings": {
"blocked": -1,
"dns": -1,
"connect": -1,
"send": 0,
"wait": 0,
"receive": 0,
"ssl": -1
},
"pageref": "page_3"
},
{
"startedDateTime": "2015-09-10T17:16:16.569Z",
"time": 22.16799999587238,
"request": {
"method": "GET",
"url": "https://secure11.oscarhost.ca/favicon.ico",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Accept-Encoding",
"value": "gzip, deflate, lzma, sdch"
},
{
"name": "Host",
"value": "secure11.oscarhost.ca"
},
{
"name": "Accept-Language",
"value": "en-US,en;q=0.8"
},
{
"name": "User-Agent",
"value": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.155 Safari/537.36 OPR/31.0.1889.174"
},
{
"name": "Accept",
"value": "*/*"
},
{
"name": "Referer",
"value": "https://secure11.oscarhost.ca/kensington/demographic/demographiccontrol.jsp?demographic_no=189164&displaymode=edit&dboperation=search_detail"
},
{
"name": "Cookie",
"value": "_ga=GA1.2.1898936923.1439425583; oscrcpid=\"\"; oscadmid=\"\"; oscprvid=35426861898535181493410519511693164429969; RT="
},
{
"name": "Connection",
"value": "keep-alive"
}
],
"queryString": [],
"cookies": [
{
"name": "_ga",
"value": "GA1.2.1898936923.1439425583",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscrcpid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscadmid",
"value": "\"\"",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "oscprvid",
"value": "35426861898535181493410519511693164429969",
"expires": null,
"httpOnly": false,
"secure": false
},
{
"name": "RT",
"value": "",
"expires": null,
"httpOnly": false,
"secure": false
}
],
"headersSize": 599,
"bodySize": 0
},
"response": {
"status": 400,
"statusText": "Bad Request",
"httpVersion": "HTTP/1.1",
"headers": [
{
"name": "Date",
"value": "Thu, 10 Sep 2015 17:16:16 GMT"
},
{
"name": "Connection",
"value": "close"
},
{
"name": "Content-Length",
"value": "0"
},
{
"name": "Content-Type",
"value": "image/vnd.microsoft.icon"
}
],
"cookies": [],
"content": {
"size": 0,
"mimeType": "image/vnd.microsoft.icon",
"compression": 0
},
"redirectURL": "",
"headersSize": 143,
"bodySize": 0,
"_transferSize": 143
},
"cache": {},
"timings": {
"blocked": 3.33500000124332,
"dns": -1,
"connect": -1,
"send": 0.13299999409355,
"wait": 17.888000002130827,
"receive": 0.81199999840468,
"ssl": -1
},
"connection": "138491",
"pageref": "page_3"
}
]
}
}