% var optionsPhones = [ {label:"mobile1",val:"Mobile"},{label:"mobile2",val:"Mobile 2"},{label:"mobile3",val:"Mobile 3"},{label:"mobile4",val:"Mobile 4"},{label:"mobile5",val:"Mobile 5"}, {label:"business1",val:"Work"},{label:"business2",val:"Work 2"},{label:"business3",val:"Work 3"},{label:"business4",val:"Work 4"},{label:"business5",val:"Work 5"}, {label:"home1",val:"Home"},{label:"home2",val:"Home 2"},{label:"home3",val:"Home 3"},{label:"home4",val:"Home 4"},{label:"home5",val:"Home 5"}, {label:"businessfax1",val:"Business fax 1"},{label:"businessfax2",val:"Business fax 2"},{label:"businessfax3",val:"Business fax 3"},{label:"businessfax4",val:"Business fax 4"},{label:"businessfax5",val:"Business fax 5"}, {label:"pager1",val:"Pager 1"},{label:"pager2",val:"Pager 2"},{label:"pager3",val:"Pager 3"},{label:"pager4",val:"Pager 4"},{label:"pager5",val:"Pager 5"}, {label:"other1",val:"Other 1"},{label:"other2",val:"Other 2"},{label:"other3",val:"Other 3"},{label:"other4",val:"Other 4"},{label:"other5",val:"Other 5"} ]; var optionsEmail = [ {val: "personal",label:"Personal"}, {val: "business",label:"Business"}, {val: "other",label:"Other"} ]; var optionsAddress = [ {val: "home1",label:"Home 1"}, {val: "home2",label:"Home 2"}, {val: "business1",label:"Business 1"}, {val: "business2",label:"Business 2"}, {val: "business3",label:"Business 3"}, {val: "personal1",label:"Personal 1"}, {val: "personal2",label:"Personal 2"}, {val: "personal3",label:"Personal 3"}, {val: "other",label:"Other"} ]; var optionsIm = [ {val: "google",label:"Google"}, {val: "yahoo",label:"Yahoo"}, {val: "msn",label:"MSN"}, {val: "icq",label:"ICQ"}, {val: "skype",label:"Skype"}, {val: "jabber",label:"Jabber"}, {val: "other",label:"Other"} ]; var optionsSite = [ {val:"business1", label:"Business 1"}, {val:"business2", label:"Business 2"}, {val:"business3", label:"Business 3"}, {val:"personal", label:"Personal"}, {val:"other", label:"Other"} ]; %> <% function renderPhoneHtml(obj, ind, len, isAddNew, IS_PREFERRED_ENABLE){ if(obj == "") { obj = new Object(); } var selection = obj.type+''+obj.index, preffered = obj.preference; %>