Result Code Details: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
//Result Code - Product Association Arrays | |||
//===================================================================== | |||
//APIS================================================================== | |||
var resultcodes_AddressObject = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS22", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE15", "AE16", "AE17", "AE19", "AE20", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14"]; | |||
var resultcodes_EmailObject = ["ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "EE05"]; | |||
var resultcodes_NameObject = ["NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06"]; | |||
var resultcodes_PhoneObject = ["PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PS13", "PS14", "PC01", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PE08", "PE09", "PE10"]; | |||
var resultcodes_GeoCoderObject = ["GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGE01", "GEOGE02", "GEOGE03", "GEOGE04"]; | |||
var resultcodes_GlobalAddressObject = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AC21", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "DF00", "DF21", "DF22", "DF23", "DF24", "DF25", "DF26", "DF27", "DF28", "DF51", "DF52", "DF53", "DF54", "DF55", "DF99", "DI00", "DI70", "DI80", "DI99", "DM00", "DM99", "DO00", "DO80", "DO99", "DT00", "DT80", "DT99", "F1", "F2", "F3", "MTE1", "MTE2", "MTE3", "MTE4", "MTE5", "MTE6", "MTE7", "MTE8", "MTE9", "MTE10", "MTE11", "MTE12", "MTE13", "MTE14", "MTE15", "MTE16", "MTS1", "MTS2", "MTS3", "MTS4", "MTS5", "MTS6", "MTS7", "MTS8", "MTS9", "MTS10", "MTS11", "MTS12", "MTS13", "MTS14", "MTS15", "MTS16", "RMAA", "RMLC", "RMSN", "RMFS", "RMHN", "RMPC", "TX??"]; | |||
var resultcodes_IPLocatorObject = ["IS01", "IS02", "IE01", "IE02"]; | |||
var resultcodes_MatchUpObject = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; | |||
var resultcodes_PresortObject = ["No Codes"]; | |||
var resultcodes_ProfilerObject = ["QS01", "QS03", "QS04", "QS05", "QS06", "QS07", "QS08", "QS09", "QS10", "QS11", "QS12", "QS13", "QS14", "QS15", "QS16", "QS17", "QS18", "QS19", "QS20", "QS21", "QS22", "QS30", "QS40", "QS50", "QS60", "QS61", "QS62", "QE01", "QE03", "QE04", "QE05", "QE06", "QE07", "QE08", "QE09", "QE10", "QE11", "QE12", "QE13", "QE14", "QE30", "QE40", "QE41", "QE42", "QE43", "QE50", "QE60", "QE61", "QE70"]; | |||
var resultcodes_RightFielderObject = ["RS01", "RS02", "RE01", "RE02", "RE03"]; | |||
var resultcodes_StyleListObject = ["Deprecated"]; | |||
//ENTERPRISESOLUTIONS================================================================== | |||
var resultcodes_ContactVerificationServer = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; | |||
var resultcodes_ContactZoneContactVerifyComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NE99", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NS99", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; | |||
var resultcodes_ContactZoneGlobalVerifyComponent = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGE05", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GW01", "SE01"]; | |||
var resultcodes_ContactZoneIPLocatorComponent = ["IE01", "IS01", "IS02"]; | |||
var resultcodes_ContactZoneMatchUpComponent = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; | |||
var resultcodes_ContactZonePersonatorComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGS10", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE20", "GE21", "GE23", "GE24", "GW01", "SE01"]; | |||
var resultcodes_ContactZonePresortComponent = ["No Codes"]; | |||
var resultcodes_ContactZoneSmartMoverComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36"]; | |||
var resultcodes_PentahoContactVerifyComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NE99", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NS99", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; | |||
var resultcodes_PentahoGlobalVerifyComponent = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGE05", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GW01", "SE01"]; | |||
var resultcodes_PentahoIPLocatorComponent = ["IE01", "IS01", "IS02"]; | |||
var resultcodes_PentahoMatchUpComponent = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; | |||
var resultcodes_PentahoPersonatorComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGS10", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE20", "GE21", "GE23", "GE24", "GW01", "SE01"]; | |||
var resultcodes_PentahoSmartMoverComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36"]; | |||
var resultcodes_SSISContactVerifyComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; | |||
var resultcodes_SSISFuzzyMatchComponent = ["No Codes"]; | |||
var resultcodes_SSISGlobalVerifyComponent = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGE05", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GW01", "SE01"]; | |||
var resultcodes_SSISIPLocatorComponent = ["IE01", "IS01", "IS02"]; | |||
var resultcodes_SSISMatchUpComponent = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; | |||
var resultcodes_SSISPersonatorComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGS10", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE20", "GE21", "GE23", "GE24", "GW01", "SE01"]; | |||
var resultcodes_SSISPropertyComponent = ["YE01", "YE02", "YE03", "YS01", "YS02", "YS03", "YS04", "YS05", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_SSISSmartMoverComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36"]; | |||
var resultcodes_DataQualityServicesAddressCheck = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "GS01", "GS02", "GS03", "RE01", "RS01"]; | |||
var resultcodes_DataQualityServicesEmailCheck = ["EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "DE"]; | |||
var resultcodes_DataQualityServicesIPCheck = ["IE01", "IS01", "IS02"]; | |||
var resultcodes_DataQualityServicesNameCheck = ["NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08"]; | |||
var resultcodes_DataQualityServicesPhoneCheck = ["PE01", "PE02", "PE03", "PE04", "PE05", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; | |||
//WEBSERVICES================================================================== | |||
var resultcodes_GlobalAddressVerification = ["AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGE01", "GEOGE02", "USATA", "USATF", "USATG", "USATH", "USATP", "USATR", "USATS", "CANAT1", "CANAT2", "CANAT3", "CANAT4", "CANAT5", "CANATB", "CANATC", "CANATD", "CANATE", "CANATL", "CANATK", "GE02", "GE03", "GE04", "GE05", "GE06", "GE08", "SE01"]; | |||
var resultcodes_GlobalEmailWebService = ["EE01", "EE02", "EE03", "EE04", "EE05", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES07", "ES08", "ES10", "ES11", "ES12", "ES13", "ES20", "ES21", "ES22", "ES23", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "SE01"]; | |||
var resultcodes_GlobalNameWebService = ["NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NS99", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NE99", "GE02", "GE03", "GE04", "GE05", "GE06", "GE08", "SE01"]; | |||
var resultcodes_GlobalPhoneWebService = ["PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PS13", "PS14", "PC01", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PE08", "PE09", "PE10", "GE02", "GE03", "GE04", "GE05", "GE06", "GE08", "SE01"]; | |||
var resultcodes_ReverseGeoCoderWebService = ["GEOGS07", "GEOGE06", "GEOGE07", "GEOGE08", "GE01", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_Personator = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GEOGS10", "GEOGE01", "GEOGE02", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PE01", "PE02", "PE03", "PE04", "PE05", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "USATG", "USATM", "USATP", "USATR", "USATS", "USATU", "ID00", "ID01", "ID02", "ID03", "ID04", "ID05", "ID06", "ID07", "ID08", "ID09", "ID10", "ID11", "ID12", "ID13", "LD00", "LD01", "LD02", "LD03", "LD04", "LD05", "LD06", "LD07", "LD08", "LD09", "LD10", "LD11", "LD12", "LD13", "LD14", "LD15", "LD99", "CD00", "CD01", "CD02", "MD00", "MD01", "MD02", "MD03", "MD04", "DD00", "DD01", "GD00", "GD01", "GD02", "GD03", "RD00", "RD01", "RD02", "RD03", "RD04", "WD01", "WD02", "WD03", "WD04", "WD05", "WD06", "WD07", "WD08", "WD09", "WD10", "WD11", "WD12", "WD13", "WD14", "WD00", "WD15", "WD16", "WD99", "WD17", "WD18", "WD19", "WD20", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GE20", "GE21", "GE22", "GE23", "GE24", "GW01", "SE01"]; | |||
var resultcodes_ExpressEntry = ["XS01", "XS02", "XS03", "GE01", "GE04", "GE06", "GE08", "SE01"]; | |||
var resultcodes_SmartMover = ["WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23"]; | |||
var resultcodes_LeadGenXpress = ["CONLST100", "CONLST101", "CONLST102", "CONLST103", "CONLST104", "CONLST106", "CONLST108", "CONLST109", "CONLST111", "CONLST112", "CONLST113", "CONLST115", "CONLST116", "CONLST117", "CONLST121", "CONLST122", "CONLST123", "CONLST124", "SATLST100", "SATLST101", "SATLST102", "SATLST103", "SATLST104", "SATLST105", "SATLST106", "SATLST107", "SATLST108", "SATLST109", "SATLST110", "SATLST111", "SATLST112", "SATLST113", "SATLST114", "SATLST115", "SATLST116", "SATLST117", "SATLST118", "SATLST119", "SATLST120", "SATLST121", "SATLST122"]; | |||
var resultcodes_TelcoSmartSearch = ["No Codes"]; | |||
var resultcodes_IPLocator = ["IE01", "IS01", "IS02", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_Property = ["YCXX", "YE01", "YE02", "YE03", "YS01", "YS02", "YS03", "YS04", "YS05", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_StreetSearch = ["SS01", "SS02", "SS03", "DE01", "DE02", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_ZipSearch = ["ZS01", "ZS02", "ZS03", "DE01", "DE02", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
//LEGACY================================================================== | |||
var resultcodes_AddressVerifier = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AR17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "USATA", "USATF", "USATG", "USATH", "USATP", "USATR", "USATS", "CANAT1", "CANAT2", "CANAT3", "CANAT4", "CANAT5", "CANATB", "CANATC", "CANATD", "CANATE", "CANATL", "CANATK", "ZIPTP", "ZIPTU", "ZIPTM", "ZIPT(No code)", "CRTB", "CRTC", "CRTG", "CRTH", "CRTR", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_DeliveryIndicator = ["DS01", "DS02", "DS03", "DE", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_EmailVerifier = ["ES01", "ES02", "ES03", "ES04", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "DE", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_GeoCoder = ["GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GEOGE01", "GEOGE02", "DE", "TZT0", "TZT4", "TZT5", "TZT6", "TZT7", "TZT8", "TZT9", "TZT10", "TZT11", "TZT13", "TZT14", "TZT15", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_NameParser = ["NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "DE", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_PhoneVerifier = ["PS01", "PS02", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PE01", "PE02", "PE03", "PE04", "PE05", "TZT4", "TZT5", "TZT6", "TZT7", "TZT8", "TZT9", "TZT10", "TZT11", "TZT13", "TZT14", "TZT15", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; | |||
var resultcodes_DataQualityWebService = ["Deprecated"]; | |||
//SOFTWARE================================================================== | |||
var resultcodes_ListwareforExcel = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "GS01", "GS02", "GS03", "GS04", "GS05", "GS06", "GS10", "GEOGE01", "GEOGE02", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PE01", "PE02", "PE03", "PE04", "PE05", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GE20", "GE21", "GE22", "GE23", "GE24", "GW01", "SE01"]; | |||
var resultcodes_MAILERS4 = ["AS01", "AS02", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE15", "AE16"]; | |||
var resultcodes_Listware = ["Please see [[Listware:Codes|Listware codes]]"]; | |||
var resultcodes_MatchUpSoftware = ["CASSEM", "CASSEN", "CASSER", "CASSET", "CASSEU", "CASSEX", "CASSEZ", "CASSEC", "CASSEW", "CASSSD", "CASSSE", "CASSSS", "CASSSV", "CASSSX", "CASSS7", "CASSS9", "MUSU", "MUSO", "MUSD", "MUSS", "MUSX", "MUSI", "MUSY", "CRTB", "CRTC", "CRTG", "CRTH", "CRTR", "TZT4", "TZT5", "TZT6", "TZT7", "TZT8", "TZT9", "TZT10", "TZT11", "TZT13", "TZT14", "TZT15", "USAT(No code)", "USATF", "USATG", "USATH", "USATP", "USATR", "USATS", "DPVTAA", "DPVTA1", "DPVTBB", "DPVTCC", "DPVTN1", "DPVTM1", "DPVTM3", "DPVTP1", "DPVTP3", "DPVTRR", "DPVTR1", "DPVTF1", "DPVTG1", "DPVTU1"]; | |||
var resultcodes_RightFielderSoftware = ["RFS01", "RFS02", "RFS04", "RFS08", "RFS10", "RFS20", "RFS40", "RFS80"]; | |||
var resultcodes_CanadianAddresser = ["Deprecated"]; | |||
var resultcodes_GenderWise = ["Deprecated"]; | |||
var resultcodes_StyleList = ["Deprecated"]; | |||
var resultcodes_CanadianGeoData = ["No Codes"]; | |||
var resultcodes_FONEData = ["No Codes"]; | |||
var resultcodes_GeoData = ["No Codes"]; | |||
var resultcodes_ZIPData = ["No Codes"]; | |||
//===================================================================== | |||
//SETUP | |||
//===================================================================== | |||
//Changes the Header to act like a button | |||
$(".TileLayoutHead p").css({"cursor":"pointer"});//Cursor change | |||
$(".TileLayoutHead p").hover(function(){$(this).parent().css({"background-color":"#ffffff"});},function(){$(this).parent().css({"background-color":"#f6f6f6"});});//Hover change | |||
//Changes Result Tile Head to have no padding | |||
$(".ResultTileLayoutHead .TileLayoutBody").css({"padding":"0"}); | |||
//Fixes Result Code Header padding | |||
$(".ResultTileLayoutHead h3").css({"padding-left":"20px","margin":"0","background-color":"grey","color":"white"}); | |||
$(".ResultTileLayoutHead table").css({"width":"100%"});//Table margin | |||
//===================================================================== | |||
//HANDLERS | |||
//===================================================================== | |||
//Slide-out Effect on categories | |||
$(".TileLayoutHead p").click(function(){ | |||
categoryRollout($(this), 500); | |||
}); | |||
{ | //Click handler on product tiles. | ||
$(".TileLayoutBody a").click(function (){ | |||
var that = $(this); | |||
var timeSet = 500; | |||
var hasher = hashCleanse($(this));//sets computed hashes to an object. | |||
tileHider(hasher.cleansedHashTarget, timeSet);//hides tiles according to the selected hash | |||
tileAndComponentHandler(that, hasher, timeSet); | |||
} | }); | ||
//===================================================================== | |||
//FUNCTIONS | |||
//===================================================================== | |||
//Handles Category Rollouts | |||
function categoryRollout(that, timeSet){ | |||
that.siblings(".TileLayoutBody").toggle(timeSet);//Category Rollout | |||
that.parent().siblings(".TileLayoutHead").toggle(timeSet);//Other Categories Hide | |||
$(".ResultTileLayoutHead").slideUp(timeSet);//Ensures the Result Code table holder is hidden. | |||
$(".ComponentTileLayoutHead").slideUp(timeSet);//Ensures the Component holder is hidden. | |||
setTimeout(function(){ | |||
$(".ResultTileLayoutHeat p").first().text("Result Codes");//Resets Result Head text to default. | |||
//that.siblings(".TileLayoutBody").children().css({"display":"inline-block"});//Resets other tiles. | |||
//$(".ComponentTileLayoutHead .TileLayoutBody>div").css({"display":"inline-block"});//Resets component tiles to default. | |||
}, timeSet); | |||
//Ensure Tiles Are Reset | |||
if (that.siblings().css("display") === "block"){//Checks state of Category Rollout. | |||
setTimeout(function(){//Ensures tiles don't appear till after the cateogry hide rollout is done. | |||
that.siblings(".TileLayoutBody").children().css({"display":"inline-block"});//Resets other tiles. | |||
//$(".ComponentTileLayoutHead .TileLayoutBody>div").css({"display":"inline-block"});//Resets component tiles to default. | |||
}, timeSet); | |||
}; | |||
} | |||
//Hides tiles dependent on hash | |||
function tileHider(cleansedHashTarget, timeSet){ | |||
var targetClass = $(".TLT_" + cleansedHashTarget).siblings(); | |||
targetClass.toggle(timeSet);//Hides the other tiles. | |||
//The following does the exact same as above, and also breaks in the same way. | |||
/* var test = targetClass[0]; | |||
if (test.style.display == 'none') { | |||
targetClass.show(); | |||
console.log("test if"); | |||
} else { | |||
targetClass.hide(); | |||
console.log("test else"); | |||
}*/ | |||
targetClass.css({"outline":"1px solid red"});//Test to ensure correct targeting | |||
console.log("Why u no work toggle?"); | |||
//Hides the result codes tables | |||
$(".ResultTileLayoutHead .TileLayoutBody table tbody tr").css({"display":"none"});//Handles code | |||
$(".ResultTileLayoutHead .TileLayoutBody table").css({"display":"none"});//Handles table | |||
$(".ResultTileLayoutHead .TileLayoutBody h3").css({"display":"none"});//Handles header | |||
} | |||
//Handles the tiles and components | |||
function tileAndComponentHandler(that, hasher, timeSet){ | |||
switch (hasher.cleansedHashTarget){ | |||
case "ContactZone": componentShow(that, "Contact Zone", hasher, timeSet); break; | |||
case "DataQualityComponentsforPentaho": componentShow(that, "Pentaho", hasher, timeSet); break; | |||
case "SSISDataQualityComponents": componentShow(that, "SSIS", hasher, timeSet); break; | |||
case "DataQualityServices": componentShow(that, "DataMarket", hasher, timeSet); break; | |||
case "ListwareforSalesforce": componentShow(that, "Salesforce", hasher, timeSet); break; | |||
case "DataQualityComponentsforScribeOnline": componentShow(that, "Scribe", hasher, timeSet); break; | |||
case "DataQualityEnrichersforSemarchy": componentShow(that, "Semarchy", hasher, timeSet); break; | |||
default: | |||
headDisplayer(".ResultTileLayoutHead", "Result Codes", hasher.spacedHashTarget, hasher.cleansedHashTarget, resultHeadColor(that), timeSet);//shows result code header based on hash. | |||
} | |||
} | |||
//Shows the components | |||
function componentShow(that, product, hasher, timeSet){ | |||
headDisplayer("." + product.replace(/\s/g, "") + "Component", "Components", product, hasher.cleansedHashTarget, resultHeadColor(that), timeSet);//shows component header based on hash. | |||
$(".ResultTileLayoutHead").slideUp(timeSet);//Ensures the Result Code table holder is hidden. | |||
setTimeout(function(){//Ensures tiles don't appear till after the cateogry hide rollout is done. | |||
$(".ComponentTileLayoutHead .TileLayoutBody>div").css({"display":"inline-block"});//Resets component tiles to default. | |||
}, timeSet); | |||
} | |||
//Customizes the result code header based on hash and color var. | |||
function headDisplayer(targetHead, headText, spacedHashTarget, cleansedHashTarget, resultBackColor, timeSet){ | |||
$(targetHead).toggle(timeSet);//Shows the Result Code table holder. | |||
$(targetHead).css({"background-color":resultBackColor});//Sets the Result Head back color to the product. | |||
$(targetHead).children("p").first().text(spacedHashTarget + " " + headText);//Sets the Result Head text to the selected tile. | |||
//Ensures Component Products aren't checked for result codes. | |||
if (spacedHashTarget === "Contact Zone" || spacedHashTarget === "Pentaho" || spacedHashTarget === "SSIS" || spacedHashTarget === "DataMarket" || spacedHashTarget === "Salesforce" || spacedHashTarget === "Scribe" || spacedHashTarget === "Semarchy") { | |||
//console.log("Do Nothing"); | |||
} else { | |||
//Handles the result codes to be displayed, depending on the selected product. | |||
var resultcodesTarget = window["resultcodes_" + cleansedHashTarget];//source array | |||
// Single Array Check | |||
$(".ResultTileLayoutHead .TileLayoutBody table tbody tr td:first-child").each(function(){ | |||
for (i = 0, l = resultcodesTarget.length; i < l; i++) { | |||
if ($.trim($(this).text()) === resultcodesTarget[i]) { | |||
$(this).parent("tr").css({"display":"table-row"});//Shows code | |||
$(this).closest("table").css({"display":"table"});//Shows table | |||
$(this).closest("table").find("tr:first-child").css({"display":"table-row"});//Shows table head | |||
$(this).closest("table").prev("h3").css({"display":"block"});//Shows header | |||
} | |||
{ | } | ||
}); | |||
} | |||
} | |||
{ | //shows result codes dependent on what was clicked. | ||
function resultHeadColor(that){ | |||
var resultBackColor; | |||
//Sets the color variable for the Result Head according to the product selected. | |||
} | if (that.closest(".TileLayoutHead").children("p").first().text() != "") { | ||
switch (that.closest(".TileLayoutHead").children("p").first().text()){ | |||
{ | case "APIs": resultBackColor = "#005cbe"; break; | ||
case "Enterprise Solutions": resultBackColor = "#009245"; break; | |||
case "Web Services": resultBackColor = "#ff9000"; break; | |||
case "Legacy Services": resultBackColor = "#a31616"; break; | |||
case "Software": resultBackColor = "#c02040"; break; | |||
case "Reference Data": resultBackColor = "#6f1ba5"; break; | |||
default: resultBackColor = "#f6f6f6"; | |||
} | |||
{ | } else { | ||
resultBackColor = that.closest(".ComponentTileLayoutHead").css("background-color"); | |||
} | |||
return resultBackColor; | |||
} | |||
{ | |||
//Checks the hash and returns cleansed variables. var hasher - returns an object. | |||
function hashCleanse(that){ | |||
//Matches the hash with a class to know what to hide. Class is set by the TileLayoutTile template. | |||
}} | var hashTarget = that.attr("href"); | ||
{ | var trimmedHashTarget = hashTarget.slice(hashTarget.indexOf("#") + 1,(hashTarget.length)); | ||
var cleansedHashTarget = trimmedHashTarget.replace(/[_:]|\.2B|\.2A/g, ""); //Removes spaces, colons, pluses, and asterisks. | |||
var spacedHashTarget = trimmedHashTarget.replace(/_/g, " ");//Readies the hash to be a header with spaces. | |||
spacedHashTarget = spacedHashTarget.replace(/.2A/g, "*");//Readies the hash to be a header with asterisks. | |||
spacedHashTarget = spacedHashTarget.replace(/.2B/g, "+");//Readies the hash to be a header with pluses. | |||
{ | return {hashTarget:hashTarget, trimmedHashTarget:trimmedHashTarget, cleansedHashTarget:cleansedHashTarget, spacedHashTarget:spacedHashTarget}; | ||
} | |||
//===================================================================== | |||
} | //PAGE HASH HANDLERS | ||
{ | //===================================================================== | ||
//Check On Page Load | |||
$(document).ready(function() { | |||
var pageHash = window.location.hash; | |||
} | console.log(pageHash); | ||
{ | var timeSet = 0; | ||
if (pageHash != "") { | |||
var linkTarget = hashTarget(pageHash); | |||
var hasher = hashCleanse(linkTarget);//sets computed hashes to an object. | |||
if (pageHash.indexOf(":") !== -1) { | |||
console.log("if"); | |||
} else { | |||
console.log("else"); | |||
categoryRollout(linkTarget.parents(".TileLayoutHead").children("p"), timeSet); | |||
tileHider(hasher.cleansedHashTarget, timeSet);//hides tiles according to the selected hash | |||
tileAndComponentHandler(linkTarget, hasher, timeSet);//Shows result codes header and any components based on hash | |||
} | |||
} | |||
}); | |||
{ | //generates target from hash | ||
function hashTarget(pageHash){ | |||
var that; | |||
$("a").each(function(){ | |||
if ($(this).attr("href") == pageHash) { | |||
that = $(this); | |||
return; | |||
} | |||
}); | |||
return that; | |||
{ | } | ||
{ | |||
} | |||
{ | |||
| | |||
| | |||
| | |||
} | |||
{ | |||
{ | |||
{ | |||
}} | |||
{ | |||
{ | |||
{ | |||
}} | |||
} | |||
{ | |||
{ | |||
{ | |||
{ | |||
} | |||
Revision as of 19:40, 28 January 2015
//Result Code - Product Association Arrays //===================================================================== //APIS================================================================== var resultcodes_AddressObject = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS22", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE15", "AE16", "AE17", "AE19", "AE20", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14"]; var resultcodes_EmailObject = ["ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "EE05"]; var resultcodes_NameObject = ["NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06"]; var resultcodes_PhoneObject = ["PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PS13", "PS14", "PC01", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PE08", "PE09", "PE10"]; var resultcodes_GeoCoderObject = ["GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGE01", "GEOGE02", "GEOGE03", "GEOGE04"]; var resultcodes_GlobalAddressObject = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AC21", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "DF00", "DF21", "DF22", "DF23", "DF24", "DF25", "DF26", "DF27", "DF28", "DF51", "DF52", "DF53", "DF54", "DF55", "DF99", "DI00", "DI70", "DI80", "DI99", "DM00", "DM99", "DO00", "DO80", "DO99", "DT00", "DT80", "DT99", "F1", "F2", "F3", "MTE1", "MTE2", "MTE3", "MTE4", "MTE5", "MTE6", "MTE7", "MTE8", "MTE9", "MTE10", "MTE11", "MTE12", "MTE13", "MTE14", "MTE15", "MTE16", "MTS1", "MTS2", "MTS3", "MTS4", "MTS5", "MTS6", "MTS7", "MTS8", "MTS9", "MTS10", "MTS11", "MTS12", "MTS13", "MTS14", "MTS15", "MTS16", "RMAA", "RMLC", "RMSN", "RMFS", "RMHN", "RMPC", "TX??"]; var resultcodes_IPLocatorObject = ["IS01", "IS02", "IE01", "IE02"]; var resultcodes_MatchUpObject = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; var resultcodes_PresortObject = ["No Codes"]; var resultcodes_ProfilerObject = ["QS01", "QS03", "QS04", "QS05", "QS06", "QS07", "QS08", "QS09", "QS10", "QS11", "QS12", "QS13", "QS14", "QS15", "QS16", "QS17", "QS18", "QS19", "QS20", "QS21", "QS22", "QS30", "QS40", "QS50", "QS60", "QS61", "QS62", "QE01", "QE03", "QE04", "QE05", "QE06", "QE07", "QE08", "QE09", "QE10", "QE11", "QE12", "QE13", "QE14", "QE30", "QE40", "QE41", "QE42", "QE43", "QE50", "QE60", "QE61", "QE70"]; var resultcodes_RightFielderObject = ["RS01", "RS02", "RE01", "RE02", "RE03"]; var resultcodes_StyleListObject = ["Deprecated"]; //ENTERPRISESOLUTIONS================================================================== var resultcodes_ContactVerificationServer = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; var resultcodes_ContactZoneContactVerifyComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NE99", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NS99", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; var resultcodes_ContactZoneGlobalVerifyComponent = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGE05", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GW01", "SE01"]; var resultcodes_ContactZoneIPLocatorComponent = ["IE01", "IS01", "IS02"]; var resultcodes_ContactZoneMatchUpComponent = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; var resultcodes_ContactZonePersonatorComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGS10", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE20", "GE21", "GE23", "GE24", "GW01", "SE01"]; var resultcodes_ContactZonePresortComponent = ["No Codes"]; var resultcodes_ContactZoneSmartMoverComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36"]; var resultcodes_PentahoContactVerifyComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NE99", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NS99", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; var resultcodes_PentahoGlobalVerifyComponent = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGE05", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GW01", "SE01"]; var resultcodes_PentahoIPLocatorComponent = ["IE01", "IS01", "IS02"]; var resultcodes_PentahoMatchUpComponent = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; var resultcodes_PentahoPersonatorComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGS10", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE20", "GE21", "GE23", "GE24", "GW01", "SE01"]; var resultcodes_PentahoSmartMoverComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36"]; var resultcodes_SSISContactVerifyComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; var resultcodes_SSISFuzzyMatchComponent = ["No Codes"]; var resultcodes_SSISGlobalVerifyComponent = ["AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "AC18", "AC19", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGE05", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GW01", "SE01"]; var resultcodes_SSISIPLocatorComponent = ["IE01", "IS01", "IS02"]; var resultcodes_SSISMatchUpComponent = ["MS01", "MS02", "MS03", "MS04", "MS05", "MS06", "MS07", "MS08", "MS09", "MS10", "MS11", "MS12", "MS13", "MS14", "MS15", "MS16", "MS17", "MS18", "MS19", "MS20", "MS21", "MS30", "MS31"]; var resultcodes_SSISPersonatorComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGS10", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE20", "GE21", "GE23", "GE24", "GW01", "SE01"]; var resultcodes_SSISPropertyComponent = ["YE01", "YE02", "YE03", "YS01", "YS02", "YS03", "YS04", "YS05", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_SSISSmartMoverComponent = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36"]; var resultcodes_DataQualityServicesAddressCheck = ["AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "GS01", "GS02", "GS03", "RE01", "RS01"]; var resultcodes_DataQualityServicesEmailCheck = ["EE01", "EE02", "EE03", "EE04", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "DE"]; var resultcodes_DataQualityServicesIPCheck = ["IE01", "IS01", "IS02"]; var resultcodes_DataQualityServicesNameCheck = ["NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08"]; var resultcodes_DataQualityServicesPhoneCheck = ["PE01", "PE02", "PE03", "PE04", "PE05", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12"]; //WEBSERVICES================================================================== var resultcodes_GlobalAddressVerification = ["AV11", "AV12", "AV13", "AV14", "AV15", "AV21", "AV22", "AV23", "AV24", "AV25", "AE01", "AE02", "AE03", "AE05", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC15", "AC16", "AC17", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GEOGE01", "GEOGE02", "USATA", "USATF", "USATG", "USATH", "USATP", "USATR", "USATS", "CANAT1", "CANAT2", "CANAT3", "CANAT4", "CANAT5", "CANATB", "CANATC", "CANATD", "CANATE", "CANATL", "CANATK", "GE02", "GE03", "GE04", "GE05", "GE06", "GE08", "SE01"]; var resultcodes_GlobalEmailWebService = ["EE01", "EE02", "EE03", "EE04", "EE05", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES07", "ES08", "ES10", "ES11", "ES12", "ES13", "ES20", "ES21", "ES22", "ES23", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "SE01"]; var resultcodes_GlobalNameWebService = ["NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NS99", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "NE99", "GE02", "GE03", "GE04", "GE05", "GE06", "GE08", "SE01"]; var resultcodes_GlobalPhoneWebService = ["PS01", "PS02", "PS03", "PS04", "PS05", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PS13", "PS14", "PC01", "PE01", "PE02", "PE03", "PE04", "PE05", "PE06", "PE08", "PE09", "PE10", "GE02", "GE03", "GE04", "GE05", "GE06", "GE08", "SE01"]; var resultcodes_ReverseGeoCoderWebService = ["GEOGS07", "GEOGE06", "GEOGE07", "GEOGE08", "GE01", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_Personator = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GEOGS10", "GEOGE01", "GEOGE02", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PE01", "PE02", "PE03", "PE04", "PE05", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "USATG", "USATM", "USATP", "USATR", "USATS", "USATU", "ID00", "ID01", "ID02", "ID03", "ID04", "ID05", "ID06", "ID07", "ID08", "ID09", "ID10", "ID11", "ID12", "ID13", "LD00", "LD01", "LD02", "LD03", "LD04", "LD05", "LD06", "LD07", "LD08", "LD09", "LD10", "LD11", "LD12", "LD13", "LD14", "LD15", "LD99", "CD00", "CD01", "CD02", "MD00", "MD01", "MD02", "MD03", "MD04", "DD00", "DD01", "GD00", "GD01", "GD02", "GD03", "RD00", "RD01", "RD02", "RD03", "RD04", "WD01", "WD02", "WD03", "WD04", "WD05", "WD06", "WD07", "WD08", "WD09", "WD10", "WD11", "WD12", "WD13", "WD14", "WD00", "WD15", "WD16", "WD99", "WD17", "WD18", "WD19", "WD20", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GE20", "GE21", "GE22", "GE23", "GE24", "GW01", "SE01"]; var resultcodes_ExpressEntry = ["XS01", "XS02", "XS03", "GE01", "GE04", "GE06", "GE08", "SE01"]; var resultcodes_SmartMover = ["WSC00", "WSE00", "WSE03", "WSE05", "WSE13", "WSE14", "WSE15", "WSE16", "WSE17", "WSE18", "WSE24", "WSE26", "WSE27", "WSE28", "WSE29", "WSE31", "WSE32", "WSE33", "WSE34", "WSE35", "WSE36", "AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "CS01", "CS02", "CS03", "CS04", "CS10", "CS11", "CS12", "CS13", "CM01", "CM02", "CM03", "CM04", "CM05", "CM06", "CM07", "CM08", "CM09", "CM10", "CM11", "CM12", "CM13", "CM14", "CM15", "CM16", "CM17", "CM18", "CM19", "CM20", "CM21", "CM22", "CM23"]; var resultcodes_LeadGenXpress = ["CONLST100", "CONLST101", "CONLST102", "CONLST103", "CONLST104", "CONLST106", "CONLST108", "CONLST109", "CONLST111", "CONLST112", "CONLST113", "CONLST115", "CONLST116", "CONLST117", "CONLST121", "CONLST122", "CONLST123", "CONLST124", "SATLST100", "SATLST101", "SATLST102", "SATLST103", "SATLST104", "SATLST105", "SATLST106", "SATLST107", "SATLST108", "SATLST109", "SATLST110", "SATLST111", "SATLST112", "SATLST113", "SATLST114", "SATLST115", "SATLST116", "SATLST117", "SATLST118", "SATLST119", "SATLST120", "SATLST121", "SATLST122"]; var resultcodes_TelcoSmartSearch = ["No Codes"]; var resultcodes_IPLocator = ["IE01", "IS01", "IS02", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_Property = ["YCXX", "YE01", "YE02", "YE03", "YS01", "YS02", "YS03", "YS04", "YS05", "GEOGE01", "GEOGE02", "GEOGS01", "GEOGS02", "GEOGS03", "GEOGS05", "GEOGS06", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_StreetSearch = ["SS01", "SS02", "SS03", "DE01", "DE02", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_ZipSearch = ["ZS01", "ZS02", "ZS03", "DE01", "DE02", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; //LEGACY================================================================== var resultcodes_AddressVerifier = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AR17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "USATA", "USATF", "USATG", "USATH", "USATP", "USATR", "USATS", "CANAT1", "CANAT2", "CANAT3", "CANAT4", "CANAT5", "CANATB", "CANATC", "CANATD", "CANATE", "CANATL", "CANATK", "ZIPTP", "ZIPTU", "ZIPTM", "ZIPT(No code)", "CRTB", "CRTC", "CRTG", "CRTH", "CRTR", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_DeliveryIndicator = ["DS01", "DS02", "DS03", "DE", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_EmailVerifier = ["ES01", "ES02", "ES03", "ES04", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "DE", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_GeoCoder = ["GEOGS01", "GEOGS02", "GEOGS03", "GEOGS04", "GEOGS05", "GEOGS06", "GEOGE01", "GEOGE02", "DE", "TZT0", "TZT4", "TZT5", "TZT6", "TZT7", "TZT8", "TZT9", "TZT10", "TZT11", "TZT13", "TZT14", "TZT15", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_NameParser = ["NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "DE", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_PhoneVerifier = ["PS01", "PS02", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PE01", "PE02", "PE03", "PE04", "PE05", "TZT4", "TZT5", "TZT6", "TZT7", "TZT8", "TZT9", "TZT10", "TZT11", "TZT13", "TZT14", "TZT15", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "SE01"]; var resultcodes_DataQualityWebService = ["Deprecated"]; //SOFTWARE================================================================== var resultcodes_ListwareforExcel = ["AS01", "AS02", "AS03", "AS09", "AS10", "AS12", "AS13", "AS14", "AS15", "AS16", "AS17", "AS20", "AS23", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE17", "AC01", "AC02", "AC03", "AC04", "AC05", "AC06", "AC07", "AC08", "AC09", "AC10", "AC11", "AC12", "AC13", "AC14", "AC20", "GS01", "GS02", "GS03", "GS04", "GS05", "GS06", "GS10", "GEOGE01", "GEOGE02", "PS01", "PS02", "PS03", "PS06", "PS07", "PS08", "PS09", "PS10", "PS11", "PS12", "PE01", "PE02", "PE03", "PE04", "PE05", "ES01", "ES02", "ES03", "ES04", "ES05", "ES06", "ES10", "ES11", "ES12", "ES13", "EE01", "EE02", "EE03", "EE04", "NS01", "NS02", "NS03", "NS04", "NS05", "NS06", "NS07", "NS08", "NE01", "NE02", "NE03", "NE04", "NE05", "NE06", "VR01", "VR02", "VR03", "VR04", "VR05", "VR06", "VR07", "VR08", "VR09", "VR10", "VS00", "VS01", "VS02", "VS12", "VS13", "VS22", "VS30", "VS31", "VS40", "VS41", "DA00", "DA01", "DA10", "DA20", "DA30", "DA40", "GE01", "GE02", "GE03", "GE04", "GE05", "GE06", "GE07", "GE08", "GE20", "GE21", "GE22", "GE23", "GE24", "GW01", "SE01"]; var resultcodes_MAILERS4 = ["AS01", "AS02", "AS09", "AS10", "AS13", "AS14", "AS15", "AS16", "AS17", "AS18", "AS20", "AE01", "AE02", "AE03", "AE04", "AE05", "AE06", "AE07", "AE08", "AE09", "AE10", "AE11", "AE12", "AE13", "AE14", "AE15", "AE16"]; var resultcodes_Listware = ["Please see Listware codes"]; var resultcodes_MatchUpSoftware = ["CASSEM", "CASSEN", "CASSER", "CASSET", "CASSEU", "CASSEX", "CASSEZ", "CASSEC", "CASSEW", "CASSSD", "CASSSE", "CASSSS", "CASSSV", "CASSSX", "CASSS7", "CASSS9", "MUSU", "MUSO", "MUSD", "MUSS", "MUSX", "MUSI", "MUSY", "CRTB", "CRTC", "CRTG", "CRTH", "CRTR", "TZT4", "TZT5", "TZT6", "TZT7", "TZT8", "TZT9", "TZT10", "TZT11", "TZT13", "TZT14", "TZT15", "USAT(No code)", "USATF", "USATG", "USATH", "USATP", "USATR", "USATS", "DPVTAA", "DPVTA1", "DPVTBB", "DPVTCC", "DPVTN1", "DPVTM1", "DPVTM3", "DPVTP1", "DPVTP3", "DPVTRR", "DPVTR1", "DPVTF1", "DPVTG1", "DPVTU1"]; var resultcodes_RightFielderSoftware = ["RFS01", "RFS02", "RFS04", "RFS08", "RFS10", "RFS20", "RFS40", "RFS80"]; var resultcodes_CanadianAddresser = ["Deprecated"]; var resultcodes_GenderWise = ["Deprecated"]; var resultcodes_StyleList = ["Deprecated"]; var resultcodes_CanadianGeoData = ["No Codes"]; var resultcodes_FONEData = ["No Codes"]; var resultcodes_GeoData = ["No Codes"]; var resultcodes_ZIPData = ["No Codes"]; //===================================================================== //SETUP //===================================================================== //Changes the Header to act like a button $(".TileLayoutHead p").css({"cursor":"pointer"});//Cursor change $(".TileLayoutHead p").hover(function(){$(this).parent().css({"background-color":"#ffffff"});},function(){$(this).parent().css({"background-color":"#f6f6f6"});});//Hover change //Changes Result Tile Head to have no padding
$(".ResultTileLayoutHead .TileLayoutBody").css({"padding":"0"});
//Fixes Result Code Header padding $(".ResultTileLayoutHead h3").css({"padding-left":"20px","margin":"0","background-color":"grey","color":"white"}); $(".ResultTileLayoutHead table").css({"width":"100%"});//Table margin
//===================================================================== //HANDLERS //===================================================================== //Slide-out Effect on categories $(".TileLayoutHead p").click(function(){
categoryRollout($(this), 500);
});
//Click handler on product tiles. $(".TileLayoutBody a").click(function (){
var that = $(this); var timeSet = 500; var hasher = hashCleanse($(this));//sets computed hashes to an object. tileHider(hasher.cleansedHashTarget, timeSet);//hides tiles according to the selected hash tileAndComponentHandler(that, hasher, timeSet);
});
//===================================================================== //FUNCTIONS //===================================================================== //Handles Category Rollouts function categoryRollout(that, timeSet){
that.siblings(".TileLayoutBody").toggle(timeSet);//Category Rollout that.parent().siblings(".TileLayoutHead").toggle(timeSet);//Other Categories Hide $(".ResultTileLayoutHead").slideUp(timeSet);//Ensures the Result Code table holder is hidden. $(".ComponentTileLayoutHead").slideUp(timeSet);//Ensures the Component holder is hidden. setTimeout(function(){ $(".ResultTileLayoutHeat p").first().text("Result Codes");//Resets Result Head text to default.
//that.siblings(".TileLayoutBody").children().css({"display":"inline-block"});//Resets other tiles. //$(".ComponentTileLayoutHead .TileLayoutBody>div").css({"display":"inline-block"});//Resets component tiles to default.
}, timeSet); //Ensure Tiles Are Reset if (that.siblings().css("display") === "block"){//Checks state of Category Rollout. setTimeout(function(){//Ensures tiles don't appear till after the cateogry hide rollout is done. that.siblings(".TileLayoutBody").children().css({"display":"inline-block"});//Resets other tiles. //$(".ComponentTileLayoutHead .TileLayoutBody>div").css({"display":"inline-block"});//Resets component tiles to default. }, timeSet); };
}
//Hides tiles dependent on hash function tileHider(cleansedHashTarget, timeSet){
var targetClass = $(".TLT_" + cleansedHashTarget).siblings(); targetClass.toggle(timeSet);//Hides the other tiles.
//The following does the exact same as above, and also breaks in the same way. /* var test = targetClass[0];
if (test.style.display == 'none') { targetClass.show();
console.log("test if");
} else { targetClass.hide();
console.log("test else");
}*/ targetClass.css({"outline":"1px solid red"});//Test to ensure correct targeting console.log("Why u no work toggle?"); //Hides the result codes tables $(".ResultTileLayoutHead .TileLayoutBody table tbody tr").css({"display":"none"});//Handles code $(".ResultTileLayoutHead .TileLayoutBody table").css({"display":"none"});//Handles table $(".ResultTileLayoutHead .TileLayoutBody h3").css({"display":"none"});//Handles header
}
//Handles the tiles and components function tileAndComponentHandler(that, hasher, timeSet){
switch (hasher.cleansedHashTarget){ case "ContactZone": componentShow(that, "Contact Zone", hasher, timeSet); break; case "DataQualityComponentsforPentaho": componentShow(that, "Pentaho", hasher, timeSet); break; case "SSISDataQualityComponents": componentShow(that, "SSIS", hasher, timeSet); break; case "DataQualityServices": componentShow(that, "DataMarket", hasher, timeSet); break; case "ListwareforSalesforce": componentShow(that, "Salesforce", hasher, timeSet); break; case "DataQualityComponentsforScribeOnline": componentShow(that, "Scribe", hasher, timeSet); break; case "DataQualityEnrichersforSemarchy": componentShow(that, "Semarchy", hasher, timeSet); break; default: headDisplayer(".ResultTileLayoutHead", "Result Codes", hasher.spacedHashTarget, hasher.cleansedHashTarget, resultHeadColor(that), timeSet);//shows result code header based on hash. }
}
//Shows the components function componentShow(that, product, hasher, timeSet){
headDisplayer("." + product.replace(/\s/g, "") + "Component", "Components", product, hasher.cleansedHashTarget, resultHeadColor(that), timeSet);//shows component header based on hash. $(".ResultTileLayoutHead").slideUp(timeSet);//Ensures the Result Code table holder is hidden. setTimeout(function(){//Ensures tiles don't appear till after the cateogry hide rollout is done. $(".ComponentTileLayoutHead .TileLayoutBody>div").css({"display":"inline-block"});//Resets component tiles to default. }, timeSet);
}
//Customizes the result code header based on hash and color var. function headDisplayer(targetHead, headText, spacedHashTarget, cleansedHashTarget, resultBackColor, timeSet){
$(targetHead).toggle(timeSet);//Shows the Result Code table holder. $(targetHead).css({"background-color":resultBackColor});//Sets the Result Head back color to the product. $(targetHead).children("p").first().text(spacedHashTarget + " " + headText);//Sets the Result Head text to the selected tile. //Ensures Component Products aren't checked for result codes. if (spacedHashTarget === "Contact Zone" || spacedHashTarget === "Pentaho" || spacedHashTarget === "SSIS" || spacedHashTarget === "DataMarket" || spacedHashTarget === "Salesforce" || spacedHashTarget === "Scribe" || spacedHashTarget === "Semarchy") { //console.log("Do Nothing"); } else { //Handles the result codes to be displayed, depending on the selected product. var resultcodesTarget = window["resultcodes_" + cleansedHashTarget];//source array // Single Array Check $(".ResultTileLayoutHead .TileLayoutBody table tbody tr td:first-child").each(function(){ for (i = 0, l = resultcodesTarget.length; i < l; i++) { if ($.trim($(this).text()) === resultcodesTarget[i]) { $(this).parent("tr").css({"display":"table-row"});//Shows code $(this).closest("table").css({"display":"table"});//Shows table $(this).closest("table").find("tr:first-child").css({"display":"table-row"});//Shows table head $(this).closest("table").prev("h3").css({"display":"block"});//Shows header } } }); }
}
//shows result codes dependent on what was clicked. function resultHeadColor(that){
var resultBackColor;
//Sets the color variable for the Result Head according to the product selected.
if (that.closest(".TileLayoutHead").children("p").first().text() != "") { switch (that.closest(".TileLayoutHead").children("p").first().text()){ case "APIs": resultBackColor = "#005cbe"; break; case "Enterprise Solutions": resultBackColor = "#009245"; break; case "Web Services": resultBackColor = "#ff9000"; break; case "Legacy Services": resultBackColor = "#a31616"; break; case "Software": resultBackColor = "#c02040"; break; case "Reference Data": resultBackColor = "#6f1ba5"; break; default: resultBackColor = "#f6f6f6"; } } else { resultBackColor = that.closest(".ComponentTileLayoutHead").css("background-color"); } return resultBackColor;
}
//Checks the hash and returns cleansed variables. var hasher - returns an object. function hashCleanse(that){ //Matches the hash with a class to know what to hide. Class is set by the TileLayoutTile template.
var hashTarget = that.attr("href"); var trimmedHashTarget = hashTarget.slice(hashTarget.indexOf("#") + 1,(hashTarget.length)); var cleansedHashTarget = trimmedHashTarget.replace(/[_:]|\.2B|\.2A/g, ""); //Removes spaces, colons, pluses, and asterisks. var spacedHashTarget = trimmedHashTarget.replace(/_/g, " ");//Readies the hash to be a header with spaces. spacedHashTarget = spacedHashTarget.replace(/.2A/g, "*");//Readies the hash to be a header with asterisks. spacedHashTarget = spacedHashTarget.replace(/.2B/g, "+");//Readies the hash to be a header with pluses. return {hashTarget:hashTarget, trimmedHashTarget:trimmedHashTarget, cleansedHashTarget:cleansedHashTarget, spacedHashTarget:spacedHashTarget};
}
//===================================================================== //PAGE HASH HANDLERS //===================================================================== //Check On Page Load $(document).ready(function() {
var pageHash = window.location.hash; console.log(pageHash); var timeSet = 0; if (pageHash != "") { var linkTarget = hashTarget(pageHash); var hasher = hashCleanse(linkTarget);//sets computed hashes to an object. if (pageHash.indexOf(":") !== -1) { console.log("if"); } else {
console.log("else");
categoryRollout(linkTarget.parents(".TileLayoutHead").children("p"), timeSet); tileHider(hasher.cleansedHashTarget, timeSet);//hides tiles according to the selected hash tileAndComponentHandler(linkTarget, hasher, timeSet);//Shows result codes header and any components based on hash } }
});
//generates target from hash function hashTarget(pageHash){
var that; $("a").each(function(){ if ($(this).attr("href") == pageHash) { that = $(this); return; } }); return that;
}