/* Minification failed. Returning unminified contents.
(1,4): run-time error CSS1031: Expected selector, found '('
(1,4): run-time error CSS1025: Expected comma or open brace, found '('
(9,1): run-time error CSS1019: Unexpected token, found 'if('
(9,4): run-time error CSS1019: Unexpected token, found '$'
(9,5): run-time error CSS1019: Unexpected token, found '('
(9,6): run-time error CSS1019: Unexpected token, found '".lobby_usefulLinks"'
(9,26): run-time error CSS1019: Unexpected token, found ')'
(9,28): run-time error CSS1030: Expected identifier, found 'exists('
(9,28): run-time error CSS1019: Unexpected token, found 'exists('
(9,35): run-time error CSS1019: Unexpected token, found ')'
(9,36): run-time error CSS1019: Unexpected token, found ')'
(10,1): run-time error CSS1019: Unexpected token, found '{'
(11,2): run-time error CSS1019: Unexpected token, found '$'
(11,3): run-time error CSS1019: Unexpected token, found '('
(11,4): run-time error CSS1019: Unexpected token, found '".lobby_usefulLinks"'
(11,24): run-time error CSS1019: Unexpected token, found ')'
(11,26): run-time error CSS1030: Expected identifier, found 'each('
(11,26): run-time error CSS1019: Unexpected token, found 'each('
(11,31): run-time error CSS1019: Unexpected token, found 'function('
(11,40): run-time error CSS1019: Unexpected token, found ')'
(11,41): run-time error CSS1019: Unexpected token, found '{'
(12,17): run-time error CSS1031: Expected selector, found '='
(12,17): run-time error CSS1025: Expected comma or open brace, found '='
(13,3): run-time error CSS1019: Unexpected token, found 'if('
(13,20): run-time error CSS1031: Expected selector, found '6'
(13,20): run-time error CSS1025: Expected comma or open brace, found '6'
(14,14): run-time error CSS1031: Expected selector, found '='
(14,14): run-time error CSS1025: Expected comma or open brace, found '='
(15,17): run-time error CSS1031: Expected selector, found '='
(15,17): run-time error CSS1025: Expected comma or open brace, found '='
(15,215): run-time error CSS1019: Unexpected token, found ')'
(17,3): run-time error CSS1019: Unexpected token, found 'if('
(17,19): run-time error CSS1031: Expected selector, found '='
(17,19): run-time error CSS1025: Expected comma or open brace, found '='
(18,8): run-time error CSS1031: Expected selector, found 'if('
(18,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(19,8): run-time error CSS1031: Expected selector, found 'if('
(19,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(20,8): run-time error CSS1031: Expected selector, found 'if('
(20,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(21,8): run-time error CSS1031: Expected selector, found 'if('
(21,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(22,8): run-time error CSS1031: Expected selector, found 'if('
(22,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(23,7): run-time error CSS1030: Expected identifier, found 'trigger('
(23,7): run-time error CSS1031: Expected selector, found 'trigger('
(23,7): run-time error CSS1025: Expected comma or open brace, found 'trigger('
(24,2): run-time error CSS1019: Unexpected token, found '}'
(24,3): run-time error CSS1019: Unexpected token, found ')'
(25,1): run-time error CSS1019: Unexpected token, found '}'
(28,4): run-time error CSS1031: Expected selector, found '('
(28,4): run-time error CSS1025: Expected comma or open brace, found '('
(78,4): run-time error CSS1031: Expected selector, found '('
(78,4): run-time error CSS1025: Expected comma or open brace, found '('
(90,19): run-time error CSS1031: Expected selector, found '='
(90,19): run-time error CSS1025: Expected comma or open brace, found '='
(91,10): run-time error CSS1031: Expected selector, found 'lobbyGrid_setup('
(91,10): run-time error CSS1025: Expected comma or open brace, found 'lobbyGrid_setup('
(129,4): run-time error CSS1031: Expected selector, found '('
(129,4): run-time error CSS1025: Expected comma or open brace, found '('
(142,4): run-time error CSS1031: Expected selector, found '('
(142,4): run-time error CSS1025: Expected comma or open brace, found '('
(148,1): run-time error CSS1019: Unexpected token, found '$'
(148,2): run-time error CSS1019: Unexpected token, found '('
(148,3): run-time error CSS1019: Unexpected token, found '".buyNow_strip"'
(148,18): run-time error CSS1019: Unexpected token, found ')'
(148,20): run-time error CSS1030: Expected identifier, found 'on('
(148,20): run-time error CSS1019: Unexpected token, found 'on('
(148,23): run-time error CSS1019: Unexpected token, found ''click''
(148,30): run-time error CSS1019: Unexpected token, found ','
(148,41): run-time error CSS1031: Expected selector, found '('
(148,41): run-time error CSS1025: Expected comma or open brace, found '('
(150,2): run-time error CSS1019: Unexpected token, found ')'
(153,4): run-time error CSS1031: Expected selector, found '('
(153,4): run-time error CSS1025: Expected comma or open brace, found '('
(300,4): run-time error CSS1031: Expected selector, found '('
(300,4): run-time error CSS1025: Expected comma or open brace, found '('
(321,10): run-time error CSS1031: Expected selector, found 'homeUpdates_navSetup('
(321,10): run-time error CSS1025: Expected comma or open brace, found 'homeUpdates_navSetup('
(329,4): run-time error CSS1031: Expected selector, found '('
(329,4): run-time error CSS1025: Expected comma or open brace, found '('
(373,4): run-time error CSS1031: Expected selector, found '('
(373,4): run-time error CSS1025: Expected comma or open brace, found '('
(495,4): run-time error CSS1031: Expected selector, found '('
(495,4): run-time error CSS1025: Expected comma or open brace, found '('
(507,4): run-time error CSS1031: Expected selector, found '('
(507,4): run-time error CSS1025: Expected comma or open brace, found '('
(551,4): run-time error CSS1031: Expected selector, found '('
(551,4): run-time error CSS1025: Expected comma or open brace, found '('
(555,4): run-time error CSS1031: Expected selector, found '('
(555,4): run-time error CSS1025: Expected comma or open brace, found '('
(611,4): run-time error CSS1031: Expected selector, found '('
(611,4): run-time error CSS1025: Expected comma or open brace, found '('
(650,4): run-time error CSS1031: Expected selector, found '('
(650,4): run-time error CSS1025: Expected comma or open brace, found '('
(680,4): run-time error CSS1031: Expected selector, found '('
(680,4): run-time error CSS1025: Expected comma or open brace, found '('
(702,1): run-time error CSS1019: Unexpected token, found '$'
(702,2): run-time error CSS1019: Unexpected token, found '('
(702,3): run-time error CSS1019: Unexpected token, found ''.lobbyProduct_usefullinks_more a''
(702,37): run-time error CSS1019: Unexpected token, found ')'
(702,39): run-time error CSS1030: Expected identifier, found 'on('
(702,39): run-time error CSS1019: Unexpected token, found 'on('
(702,42): run-time error CSS1019: Unexpected token, found ''click''
(702,49): run-time error CSS1019: Unexpected token, found ','
(702,60): run-time error CSS1031: Expected selector, found '('
(702,60): run-time error CSS1025: Expected comma or open brace, found '('
(710,2): run-time error CSS1019: Unexpected token, found ')'
(711,1): run-time error CSS1019: Unexpected token, found '$'
(711,2): run-time error CSS1019: Unexpected token, found '('
(711,3): run-time error CSS1019: Unexpected token, found ''.lobbyProduct_usefullinks_less a''
(711,37): run-time error CSS1019: Unexpected token, found ')'
(711,39): run-time error CSS1030: Expected identifier, found 'on('
(711,39): run-time error CSS1019: Unexpected token, found 'on('
(711,42): run-time error CSS1019: Unexpected token, found ''click''
(711,49): run-time error CSS1019: Unexpected token, found ','
(711,60): run-time error CSS1031: Expected selector, found '('
(711,60): run-time error CSS1025: Expected comma or open brace, found '('
(719,2): run-time error CSS1019: Unexpected token, found ')'
(723,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataByActionSubjectIds('
(723,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataByActionSubjectIds('
(761,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectData('
(761,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectData('
(812,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataMobile('
(812,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataMobile('
(839,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataByIds('
(839,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataByIds('
(871,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataWithIcons('
(871,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataWithIcons('
(911,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataOnline('
(911,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataOnline('
(940,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectSimpleView('
(940,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectSimpleView('
(1004,1): run-time error CSS1019: Unexpected token, found '$'
(1004,2): run-time error CSS1019: Unexpected token, found '('
(1004,3): run-time error CSS1019: Unexpected token, found ''a.contentFrame_acordionToggle''
(1004,34): run-time error CSS1019: Unexpected token, found ')'
(1004,36): run-time error CSS1030: Expected identifier, found 'on('
(1004,36): run-time error CSS1019: Unexpected token, found 'on('
(1004,39): run-time error CSS1019: Unexpected token, found ''click''
(1004,46): run-time error CSS1019: Unexpected token, found ','
(1004,57): run-time error CSS1031: Expected selector, found '('
(1004,57): run-time error CSS1025: Expected comma or open brace, found '('
(1031,2): run-time error CSS1019: Unexpected token, found ')'
(1033,1): run-time error CSS1019: Unexpected token, found 'if('
(1033,4): run-time error CSS1019: Unexpected token, found '$'
(1033,5): run-time error CSS1019: Unexpected token, found '('
(1033,6): run-time error CSS1019: Unexpected token, found '".contentFrame_directorion"'
(1033,33): run-time error CSS1019: Unexpected token, found ')'
(1033,35): run-time error CSS1030: Expected identifier, found 'exists('
(1033,35): run-time error CSS1019: Unexpected token, found 'exists('
(1033,42): run-time error CSS1019: Unexpected token, found ')'
(1033,43): run-time error CSS1019: Unexpected token, found ')'
(1033,44): run-time error CSS1019: Unexpected token, found '{'
(1034,2): run-time error CSS1019: Unexpected token, found '$'
(1034,3): run-time error CSS1019: Unexpected token, found '('
(1034,4): run-time error CSS1019: Unexpected token, found '".contentFrame_directorion"'
(1034,31): run-time error CSS1019: Unexpected token, found ')'
(1034,33): run-time error CSS1030: Expected identifier, found 'each('
(1034,33): run-time error CSS1019: Unexpected token, found 'each('
(1034,38): run-time error CSS1019: Unexpected token, found 'function('
(1034,47): run-time error CSS1019: Unexpected token, found ')'
(1034,48): run-time error CSS1019: Unexpected token, found '{'
(1035,17): run-time error CSS1031: Expected selector, found '='
(1035,17): run-time error CSS1025: Expected comma or open brace, found '='
(1036,16): run-time error CSS1031: Expected selector, found '='
(1036,16): run-time error CSS1025: Expected comma or open brace, found '='
(1037,18): run-time error CSS1031: Expected selector, found '='
(1037,18): run-time error CSS1025: Expected comma or open brace, found '='
(1039,9): run-time error CSS1019: Unexpected token, found 'if('
(1039,34): run-time error CSS1031: Expected selector, found ')'
(1039,34): run-time error CSS1025: Expected comma or open brace, found ')'
(1044,14): run-time error CSS1031: Expected selector, found 'if('
(1044,14): run-time error CSS1025: Expected comma or open brace, found 'if('
(1052,14): run-time error CSS1031: Expected selector, found '='
(1052,14): run-time error CSS1025: Expected comma or open brace, found '='
(1053,17): run-time error CSS1031: Expected selector, found '='
(1053,17): run-time error CSS1025: Expected comma or open brace, found '='
(1053,216): run-time error CSS1019: Unexpected token, found ')'
(1054,8): run-time error CSS1031: Expected selector, found '('
(1054,8): run-time error CSS1025: Expected comma or open brace, found '('
(1055,13): run-time error CSS1031: Expected selector, found '('
(1055,13): run-time error CSS1025: Expected comma or open brace, found '('
(1063,8): run-time error CSS1031: Expected selector, found 'if('
(1063,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1064,7): run-time error CSS1030: Expected identifier, found 'trigger('
(1064,7): run-time error CSS1031: Expected selector, found 'trigger('
(1064,7): run-time error CSS1025: Expected comma or open brace, found 'trigger('
(1066,3): run-time error CSS1019: Unexpected token, found 'equalHeights('
(1066,27): run-time error CSS1030: Expected identifier, found 'find('
(1066,27): run-time error CSS1031: Expected selector, found 'find('
(1066,27): run-time error CSS1025: Expected comma or open brace, found 'find('
(1067,5): run-time error CSS1019: Unexpected token, found '$'
(1067,6): run-time error CSS1019: Unexpected token, found '('
(1067,13): run-time error CSS1031: Expected selector, found ')'
(1067,13): run-time error CSS1025: Expected comma or open brace, found ')'
(1067,103): run-time error CSS1019: Unexpected token, found ')'
(1068,2): run-time error CSS1019: Unexpected token, found '}'
(1068,3): run-time error CSS1019: Unexpected token, found ')'
(1069,1): run-time error CSS1019: Unexpected token, found '}'
(1070,1): run-time error CSS1019: Unexpected token, found 'if('
(1070,4): run-time error CSS1019: Unexpected token, found '$'
(1070,5): run-time error CSS1019: Unexpected token, found '('
(1070,6): run-time error CSS1019: Unexpected token, found '".contentFrame_generalLInks"'
(1070,34): run-time error CSS1019: Unexpected token, found ')'
(1070,36): run-time error CSS1030: Expected identifier, found 'exists('
(1070,36): run-time error CSS1019: Unexpected token, found 'exists('
(1070,43): run-time error CSS1019: Unexpected token, found ')'
(1070,44): run-time error CSS1019: Unexpected token, found ')'
(1070,45): run-time error CSS1019: Unexpected token, found '{'
(1071,2): run-time error CSS1019: Unexpected token, found '$'
(1071,3): run-time error CSS1019: Unexpected token, found '('
(1071,4): run-time error CSS1019: Unexpected token, found '".contentFrame_generalLInks"'
(1071,32): run-time error CSS1019: Unexpected token, found ')'
(1071,34): run-time error CSS1030: Expected identifier, found 'each('
(1071,34): run-time error CSS1019: Unexpected token, found 'each('
(1071,39): run-time error CSS1019: Unexpected token, found 'function('
(1071,48): run-time error CSS1019: Unexpected token, found ')'
(1071,49): run-time error CSS1019: Unexpected token, found '{'
(1072,17): run-time error CSS1031: Expected selector, found '='
(1072,17): run-time error CSS1025: Expected comma or open brace, found '='
(1073,16): run-time error CSS1031: Expected selector, found '='
(1073,16): run-time error CSS1025: Expected comma or open brace, found '='
(1074,18): run-time error CSS1031: Expected selector, found '='
(1074,18): run-time error CSS1025: Expected comma or open brace, found '='
(1076,9): run-time error CSS1019: Unexpected token, found 'if('
(1076,34): run-time error CSS1031: Expected selector, found ')'
(1076,34): run-time error CSS1025: Expected comma or open brace, found ')'
(1081,14): run-time error CSS1031: Expected selector, found 'if('
(1081,14): run-time error CSS1025: Expected comma or open brace, found 'if('
(1088,14): run-time error CSS1031: Expected selector, found '='
(1088,14): run-time error CSS1025: Expected comma or open brace, found '='
(1089,17): run-time error CSS1031: Expected selector, found '='
(1089,17): run-time error CSS1025: Expected comma or open brace, found '='
(1089,215): run-time error CSS1019: Unexpected token, found ')'
(1091,3): run-time error CSS1019: Unexpected token, found 'if('
(1091,19): run-time error CSS1031: Expected selector, found '='
(1091,19): run-time error CSS1025: Expected comma or open brace, found '='
(1092,8): run-time error CSS1031: Expected selector, found 'if('
(1092,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1093,8): run-time error CSS1031: Expected selector, found 'if('
(1093,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1094,8): run-time error CSS1031: Expected selector, found 'if('
(1094,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1095,7): run-time error CSS1030: Expected identifier, found 'trigger('
(1095,7): run-time error CSS1031: Expected selector, found 'trigger('
(1095,7): run-time error CSS1025: Expected comma or open brace, found 'trigger('
(1097,3): run-time error CSS1019: Unexpected token, found 'equalHeights('
(1097,27): run-time error CSS1030: Expected identifier, found 'find('
(1097,27): run-time error CSS1031: Expected selector, found 'find('
(1097,27): run-time error CSS1025: Expected comma or open brace, found 'find('
(1098,5): run-time error CSS1019: Unexpected token, found '$'
(1098,6): run-time error CSS1019: Unexpected token, found '('
(1098,13): run-time error CSS1031: Expected selector, found ')'
(1098,13): run-time error CSS1025: Expected comma or open brace, found ')'
(1098,99): run-time error CSS1019: Unexpected token, found ')'
(1099,2): run-time error CSS1019: Unexpected token, found '}'
(1099,3): run-time error CSS1019: Unexpected token, found ')'
(1100,1): run-time error CSS1019: Unexpected token, found '}'
(1101,1): run-time error CSS1019: Unexpected token, found 'if('
(1101,4): run-time error CSS1019: Unexpected token, found '$'
(1101,5): run-time error CSS1019: Unexpected token, found '('
(1101,6): run-time error CSS1019: Unexpected token, found '".contentFrame_boxLInks"'
(1101,30): run-time error CSS1019: Unexpected token, found ')'
(1101,32): run-time error CSS1030: Expected identifier, found 'exists('
(1101,32): run-time error CSS1019: Unexpected token, found 'exists('
(1101,39): run-time error CSS1019: Unexpected token, found ')'
(1101,40): run-time error CSS1019: Unexpected token, found ')'
(1101,41): run-time error CSS1019: Unexpected token, found '{'
(1102,3): run-time error CSS1019: Unexpected token, found '$'
(1102,4): run-time error CSS1019: Unexpected token, found '('
(1102,5): run-time error CSS1019: Unexpected token, found '".contentFrame_boxLInks"'
(1102,29): run-time error CSS1019: Unexpected token, found ')'
(1102,31): run-time error CSS1030: Expected identifier, found 'each('
(1102,31): run-time error CSS1019: Unexpected token, found 'each('
(1102,45): run-time error CSS1031: Expected selector, found '('
(1102,45): run-time error CSS1025: Expected comma or open brace, found '('
(1131,3): run-time error CSS1019: Unexpected token, found ')'
(1132,1): run-time error CSS1019: Unexpected token, found '}'
(1134,1): run-time error CSS1019: Unexpected token, found '$'
(1134,2): run-time error CSS1019: Unexpected token, found '('
(1134,3): run-time error CSS1019: Unexpected token, found '".contentFrame_tabsBox"'
(1134,26): run-time error CSS1019: Unexpected token, found ')'
(1134,28): run-time error CSS1030: Expected identifier, found 'each('
(1134,28): run-time error CSS1019: Unexpected token, found 'each('
(1134,42): run-time error CSS1031: Expected selector, found '('
(1134,42): run-time error CSS1025: Expected comma or open brace, found '('
(1203,2): run-time error CSS1019: Unexpected token, found ')'
(1205,1): run-time error CSS1019: Unexpected token, found 'if('
(1205,4): run-time error CSS1019: Unexpected token, found '$'
(1205,5): run-time error CSS1019: Unexpected token, found '('
(1205,6): run-time error CSS1019: Unexpected token, found '".contentFrame_bidHolder"'
(1205,31): run-time error CSS1019: Unexpected token, found ')'
(1205,33): run-time error CSS1030: Expected identifier, found 'exists('
(1205,33): run-time error CSS1019: Unexpected token, found 'exists('
(1205,40): run-time error CSS1019: Unexpected token, found ')'
(1205,41): run-time error CSS1019: Unexpected token, found ')'
(1205,42): run-time error CSS1019: Unexpected token, found '{'
(1206,2): run-time error CSS1019: Unexpected token, found '$'
(1206,3): run-time error CSS1019: Unexpected token, found '('
(1206,4): run-time error CSS1019: Unexpected token, found ''.contentFrame_bidTooltip a.tooltiptoggle''
(1206,46): run-time error CSS1019: Unexpected token, found ')'
(1206,48): run-time error CSS1030: Expected identifier, found 'on('
(1206,48): run-time error CSS1019: Unexpected token, found 'on('
(1206,51): run-time error CSS1019: Unexpected token, found ''click''
(1206,58): run-time error CSS1019: Unexpected token, found ','
(1206,60): run-time error CSS1019: Unexpected token, found 'function('
(1206,69): run-time error CSS1019: Unexpected token, found ')'
(1206,70): run-time error CSS1019: Unexpected token, found '{'
(1207,3): run-time error CSS1019: Unexpected token, found 'if('
(1207,6): run-time error CSS1019: Unexpected token, found '$'
(1207,7): run-time error CSS1019: Unexpected token, found '('
(1207,12): run-time error CSS1031: Expected selector, found ')'
(1207,12): run-time error CSS1025: Expected comma or open brace, found ')'
(1222,4): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
(1223,4): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
(1224,4): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
(1229,15): run-time error CSS1031: Expected selector, found ';'
(1229,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1230,2): run-time error CSS1019: Unexpected token, found '}'
(1230,3): run-time error CSS1019: Unexpected token, found ')'
(1231,2): run-time error CSS1019: Unexpected token, found '$'
(1231,3): run-time error CSS1019: Unexpected token, found '('
(1231,4): run-time error CSS1019: Unexpected token, found ''.contentFrame_bidTooltip a.tooltipClose''
(1231,45): run-time error CSS1019: Unexpected token, found ')'
(1231,47): run-time error CSS1030: Expected identifier, found 'on('
(1231,47): run-time error CSS1019: Unexpected token, found 'on('
(1231,50): run-time error CSS1019: Unexpected token, found ''click''
(1231,57): run-time error CSS1019: Unexpected token, found ','
(1231,59): run-time error CSS1019: Unexpected token, found 'function('
(1231,68): run-time error CSS1019: Unexpected token, found ')'
(1231,69): run-time error CSS1019: Unexpected token, found '{'
(1232,3): run-time error CSS1019: Unexpected token, found '$'
(1232,4): run-time error CSS1019: Unexpected token, found '('
(1232,9): run-time error CSS1031: Expected selector, found ')'
(1232,9): run-time error CSS1025: Expected comma or open brace, found ')'
(1233,15): run-time error CSS1031: Expected selector, found ';'
(1233,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1234,2): run-time error CSS1019: Unexpected token, found '}'
(1234,3): run-time error CSS1019: Unexpected token, found ')'
(1247,2): run-time error CSS1019: Unexpected token, found '$'
(1247,3): run-time error CSS1019: Unexpected token, found '('
(1247,4): run-time error CSS1019: Unexpected token, found ''.contentFrame_bidThanks a''
(1247,31): run-time error CSS1019: Unexpected token, found ')'
(1247,33): run-time error CSS1030: Expected identifier, found 'on('
(1247,33): run-time error CSS1019: Unexpected token, found 'on('
(1247,36): run-time error CSS1019: Unexpected token, found ''click''
(1247,43): run-time error CSS1019: Unexpected token, found ','
(1247,45): run-time error CSS1019: Unexpected token, found 'function('
(1247,54): run-time error CSS1019: Unexpected token, found ')'
(1247,55): run-time error CSS1019: Unexpected token, found '{'
(1248,10): run-time error CSS1031: Expected selector, found '='
(1248,10): run-time error CSS1025: Expected comma or open brace, found '='
(1249,3): run-time error CSS1019: Unexpected token, found '$'
(1249,4): run-time error CSS1019: Unexpected token, found '('
(1249,11): run-time error CSS1031: Expected selector, found ')'
(1249,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1252,4): run-time error CSS1019: Unexpected token, found ')'
(1253,3): run-time error CSS1019: Unexpected token, found '$'
(1253,4): run-time error CSS1019: Unexpected token, found '('
(1253,11): run-time error CSS1031: Expected selector, found ')'
(1253,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1256,4): run-time error CSS1019: Unexpected token, found ')'
(1257,15): run-time error CSS1031: Expected selector, found ';'
(1257,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1258,2): run-time error CSS1019: Unexpected token, found '}'
(1258,3): run-time error CSS1019: Unexpected token, found ')'
(1259,1): run-time error CSS1019: Unexpected token, found '}'
(1260,1): run-time error CSS1019: Unexpected token, found 'if('
(1260,4): run-time error CSS1019: Unexpected token, found '$'
(1260,5): run-time error CSS1019: Unexpected token, found '('
(1260,6): run-time error CSS1019: Unexpected token, found '".contentBanners_width60"'
(1260,31): run-time error CSS1019: Unexpected token, found ')'
(1260,33): run-time error CSS1030: Expected identifier, found 'exists('
(1260,33): run-time error CSS1019: Unexpected token, found 'exists('
(1260,40): run-time error CSS1019: Unexpected token, found ')'
(1260,41): run-time error CSS1019: Unexpected token, found ')'
(1260,42): run-time error CSS1019: Unexpected token, found '{'
(1261,3): run-time error CSS1019: Unexpected token, found 'butoonBannerHeight('
(1261,22): run-time error CSS1019: Unexpected token, found ')'
(1262,3): run-time error CSS1019: Unexpected token, found '$'
(1262,4): run-time error CSS1019: Unexpected token, found '('
(1262,11): run-time error CSS1031: Expected selector, found ')'
(1262,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1262,59): run-time error CSS1019: Unexpected token, found ')'
(1263,1): run-time error CSS1019: Unexpected token, found '}'
(1264,10): run-time error CSS1031: Expected selector, found 'butoonBannerHeight('
(1264,10): run-time error CSS1025: Expected comma or open brace, found 'butoonBannerHeight('
(1273,1): run-time error CSS1019: Unexpected token, found 'if('
(1273,4): run-time error CSS1019: Unexpected token, found '$'
(1273,5): run-time error CSS1019: Unexpected token, found '('
(1273,6): run-time error CSS1019: Unexpected token, found '".contentFrame_table"'
(1273,27): run-time error CSS1019: Unexpected token, found ')'
(1273,29): run-time error CSS1030: Expected identifier, found 'exists('
(1273,29): run-time error CSS1019: Unexpected token, found 'exists('
(1273,36): run-time error CSS1019: Unexpected token, found ')'
(1273,37): run-time error CSS1019: Unexpected token, found ')'
(1273,38): run-time error CSS1019: Unexpected token, found '{'
(1274,2): run-time error CSS1019: Unexpected token, found '$'
(1274,3): run-time error CSS1019: Unexpected token, found '('
(1274,4): run-time error CSS1019: Unexpected token, found '".contentFrame_table tr"'
(1274,28): run-time error CSS1019: Unexpected token, found ')'
(1274,30): run-time error CSS1030: Expected identifier, found 'on('
(1274,30): run-time error CSS1019: Unexpected token, found 'on('
(1274,33): run-time error CSS1019: Unexpected token, found ''click''
(1274,40): run-time error CSS1019: Unexpected token, found ','
(1274,42): run-time error CSS1019: Unexpected token, found 'function('
(1274,51): run-time error CSS1019: Unexpected token, found ')'
(1274,52): run-time error CSS1019: Unexpected token, found '{'
(1275,3): run-time error CSS1019: Unexpected token, found 'if('
(1275,6): run-time error CSS1019: Unexpected token, found 'getViewport_width('
(1275,24): run-time error CSS1019: Unexpected token, found ')'
(1275,25): run-time error CSS1019: Unexpected token, found '<'
(1275,26): run-time error CSS1019: Unexpected token, found '433'
(1275,29): run-time error CSS1019: Unexpected token, found ')'
(1275,30): run-time error CSS1019: Unexpected token, found '{'
(1276,4): run-time error CSS1019: Unexpected token, found 'if('
(1276,7): run-time error CSS1019: Unexpected token, found '('
(1276,8): run-time error CSS1019: Unexpected token, found '$'
(1276,9): run-time error CSS1019: Unexpected token, found '('
(1276,14): run-time error CSS1031: Expected selector, found ')'
(1276,14): run-time error CSS1025: Expected comma or open brace, found ')'
(1277,9): run-time error CSS1031: Expected selector, found '$'
(1277,9): run-time error CSS1025: Expected comma or open brace, found '$'
(1278,3): run-time error CSS1019: Unexpected token, found '}'
(1279,2): run-time error CSS1019: Unexpected token, found '}'
(1279,3): run-time error CSS1019: Unexpected token, found ')'
(1281,2): run-time error CSS1019: Unexpected token, found '$'
(1281,3): run-time error CSS1019: Unexpected token, found '('
(1281,4): run-time error CSS1019: Unexpected token, found '".contentFrame_table tr a"'
(1281,30): run-time error CSS1019: Unexpected token, found ')'
(1281,32): run-time error CSS1030: Expected identifier, found 'on('
(1281,32): run-time error CSS1019: Unexpected token, found 'on('
(1281,35): run-time error CSS1019: Unexpected token, found ''click''
(1281,42): run-time error CSS1019: Unexpected token, found ','
(1281,44): run-time error CSS1019: Unexpected token, found 'function('
(1281,54): run-time error CSS1031: Expected selector, found ')'
(1281,54): run-time error CSS1025: Expected comma or open brace, found ')'
(1286,3): run-time error CSS1019: Unexpected token, found ')'
(1287,1): run-time error CSS1019: Unexpected token, found '}'
(1289,1): run-time error CSS1019: Unexpected token, found 'if('
(1289,4): run-time error CSS1019: Unexpected token, found '$'
(1289,5): run-time error CSS1019: Unexpected token, found '('
(1289,6): run-time error CSS1019: Unexpected token, found '".fileList_more"'
(1289,22): run-time error CSS1019: Unexpected token, found ')'
(1289,24): run-time error CSS1030: Expected identifier, found 'exists('
(1289,24): run-time error CSS1019: Unexpected token, found 'exists('
(1289,31): run-time error CSS1019: Unexpected token, found ')'
(1289,32): run-time error CSS1019: Unexpected token, found ')'
(1289,34): run-time error CSS1019: Unexpected token, found '{'
(1290,3): run-time error CSS1019: Unexpected token, found '$'
(1290,4): run-time error CSS1019: Unexpected token, found '('
(1290,5): run-time error CSS1019: Unexpected token, found ''.fileList_more a''
(1290,23): run-time error CSS1019: Unexpected token, found ')'
(1290,25): run-time error CSS1030: Expected identifier, found 'on('
(1290,25): run-time error CSS1019: Unexpected token, found 'on('
(1290,28): run-time error CSS1019: Unexpected token, found ''click''
(1290,35): run-time error CSS1019: Unexpected token, found ','
(1290,46): run-time error CSS1031: Expected selector, found '('
(1290,46): run-time error CSS1025: Expected comma or open brace, found '('
(1309,6): run-time error CSS1019: Unexpected token, found ')'
(1310,1): run-time error CSS1019: Unexpected token, found '}'
(1315,1): run-time error CSS1019: Unexpected token, found 'if('
(1315,4): run-time error CSS1019: Unexpected token, found '$'
(1315,5): run-time error CSS1019: Unexpected token, found '('
(1315,6): run-time error CSS1019: Unexpected token, found '".comboHolder"'
(1315,20): run-time error CSS1019: Unexpected token, found ')'
(1315,22): run-time error CSS1030: Expected identifier, found 'exists('
(1315,22): run-time error CSS1019: Unexpected token, found 'exists('
(1315,29): run-time error CSS1019: Unexpected token, found ')'
(1315,30): run-time error CSS1019: Unexpected token, found ')'
(1316,1): run-time error CSS1019: Unexpected token, found '{'
(1318,3): run-time error CSS1019: Unexpected token, found '$'
(1318,4): run-time error CSS1019: Unexpected token, found '('
(1318,5): run-time error CSS1019: Unexpected token, found ''.comboHolder select''
(1318,26): run-time error CSS1019: Unexpected token, found ')'
(1318,28): run-time error CSS1030: Expected identifier, found 'not('
(1318,28): run-time error CSS1019: Unexpected token, found 'not('
(1318,32): run-time error CSS1019: Unexpected token, found '".comboAngular"'
(1318,47): run-time error CSS1019: Unexpected token, found ')'
(1318,49): run-time error CSS1030: Expected identifier, found 'customSelect('
(1318,49): run-time error CSS1019: Unexpected token, found 'customSelect('
(1318,62): run-time error CSS1019: Unexpected token, found ')'
(1321,1): run-time error CSS1019: Unexpected token, found '}'
(1323,15): run-time error CSS1031: Expected selector, found '='
(1323,15): run-time error CSS1025: Expected comma or open brace, found '='
(1324,4): run-time error CSS1031: Expected selector, found '('
(1324,4): run-time error CSS1025: Expected comma or open brace, found '('
(1338,4): run-time error CSS1031: Expected selector, found '('
(1338,4): run-time error CSS1025: Expected comma or open brace, found '('
(1383,1): run-time error CSS1019: Unexpected token, found 'if('
(1383,4): run-time error CSS1019: Unexpected token, found '$'
(1383,5): run-time error CSS1019: Unexpected token, found '('
(1383,6): run-time error CSS1019: Unexpected token, found '".homeHowHelp_gallery"'
(1383,28): run-time error CSS1019: Unexpected token, found ')'
(1383,30): run-time error CSS1030: Expected identifier, found 'exists('
(1383,30): run-time error CSS1019: Unexpected token, found 'exists('
(1383,37): run-time error CSS1019: Unexpected token, found ')'
(1383,38): run-time error CSS1019: Unexpected token, found ')'
(1384,1): run-time error CSS1019: Unexpected token, found '{'
(1385,5): run-time error CSS1019: Unexpected token, found '$'
(1385,6): run-time error CSS1019: Unexpected token, found '('
(1385,7): run-time error CSS1019: Unexpected token, found ''.homeHowHelp_gallery .owl-carousel''
(1385,43): run-time error CSS1019: Unexpected token, found ')'
(1385,45): run-time error CSS1030: Expected identifier, found 'owlCarousel('
(1385,45): run-time error CSS1019: Unexpected token, found 'owlCarousel('
(1385,57): run-time error CSS1019: Unexpected token, found '{'
(1385,68): run-time error CSS1030: Expected identifier, found ' '
(1385,79): run-time error CSS1030: Expected identifier, found ' '
(1385,91): run-time error CSS1030: Expected identifier, found ' '
(1385,105): run-time error CSS1030: Expected identifier, found ' '
(1385,106): run-time error CSS1031: Expected selector, found '0'
(1385,106): run-time error CSS1025: Expected comma or open brace, found '0'
(1392,2): run-time error CSS1019: Unexpected token, found '}'
(1392,3): run-time error CSS1019: Unexpected token, found ')'
(1394,1): run-time error CSS1019: Unexpected token, found '}'
(1441,1): run-time error CSS1019: Unexpected token, found 'setTimeout('
(1441,21): run-time error CSS1031: Expected selector, found '('
(1441,21): run-time error CSS1025: Expected comma or open brace, found '('
(1464,2): run-time error CSS1019: Unexpected token, found ','
(1464,4): run-time error CSS1019: Unexpected token, found '1000'
(1464,8): run-time error CSS1019: Unexpected token, found ')'
(1482,16): run-time error CSS1031: Expected selector, found '='
(1482,16): run-time error CSS1025: Expected comma or open brace, found '='
(1483,10): run-time error CSS1031: Expected selector, found 'setupFooter('
(1483,10): run-time error CSS1025: Expected comma or open brace, found 'setupFooter('
(1502,1): run-time error CSS1019: Unexpected token, found '$'
(1502,2): run-time error CSS1019: Unexpected token, found '('
(1502,9): run-time error CSS1031: Expected selector, found ')'
(1502,9): run-time error CSS1025: Expected comma or open brace, found ')'
(1511,2): run-time error CSS1019: Unexpected token, found ')'
(1515,22): run-time error CSS1031: Expected selector, found '='
(1515,22): run-time error CSS1025: Expected comma or open brace, found '='
(1517,10): run-time error CSS1031: Expected selector, found 'renderProductsLoby('
(1517,10): run-time error CSS1025: Expected comma or open brace, found 'renderProductsLoby('
(1651,10): run-time error CSS1031: Expected selector, found 'getBearer('
(1651,10): run-time error CSS1025: Expected comma or open brace, found 'getBearer('
(1665,10): run-time error CSS1031: Expected selector, found 'S4('
(1665,10): run-time error CSS1025: Expected comma or open brace, found 'S4('
(1669,10): run-time error CSS1031: Expected selector, found 'GenerateGuid('
(1669,10): run-time error CSS1025: Expected comma or open brace, found 'GenerateGuid('
(1674,1): run-time error CSS1019: Unexpected token, found 'if('
(1674,4): run-time error CSS1019: Unexpected token, found '$'
(1674,5): run-time error CSS1019: Unexpected token, found '('
(1674,6): run-time error CSS1019: Unexpected token, found '".productsPlazma_title"'
(1674,29): run-time error CSS1019: Unexpected token, found ')'
(1674,31): run-time error CSS1030: Expected identifier, found 'exists('
(1674,31): run-time error CSS1019: Unexpected token, found 'exists('
(1674,38): run-time error CSS1019: Unexpected token, found ')'
(1674,39): run-time error CSS1019: Unexpected token, found ')'
(1674,40): run-time error CSS1019: Unexpected token, found '{'
(1675,3): run-time error CSS1019: Unexpected token, found '$'
(1675,4): run-time error CSS1019: Unexpected token, found '('
(1675,5): run-time error CSS1019: Unexpected token, found ''.productsPlazma_title .anchor''
(1675,36): run-time error CSS1019: Unexpected token, found ')'
(1675,38): run-time error CSS1030: Expected identifier, found 'on('
(1675,38): run-time error CSS1019: Unexpected token, found 'on('
(1675,42): run-time error CSS1019: Unexpected token, found '"click"'
(1675,49): run-time error CSS1019: Unexpected token, found ','
(1675,51): run-time error CSS1019: Unexpected token, found 'function('
(1675,60): run-time error CSS1019: Unexpected token, found ')'
(1675,61): run-time error CSS1019: Unexpected token, found '{'
(1676,3): run-time error CSS1019: Unexpected token, found 'if('
(1676,6): run-time error CSS1019: Unexpected token, found 'getViewport_width('
(1676,24): run-time error CSS1019: Unexpected token, found ')'
(1676,26): run-time error CSS1031: Expected selector, found '800'
(1676,26): run-time error CSS1025: Expected comma or open brace, found '800'
(1676,102): run-time error CSS1019: Unexpected token, found ','
(1676,104): run-time error CSS1019: Unexpected token, found '500'
(1676,107): run-time error CSS1019: Unexpected token, found ')'
(1677,8): run-time error CSS1031: Expected selector, found '$'
(1677,8): run-time error CSS1025: Expected comma or open brace, found '$'
(1677,112): run-time error CSS1019: Unexpected token, found ','
(1677,114): run-time error CSS1019: Unexpected token, found '500'
(1677,117): run-time error CSS1019: Unexpected token, found ')'
(1678,15): run-time error CSS1031: Expected selector, found ';'
(1678,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1679,2): run-time error CSS1019: Unexpected token, found '}'
(1679,3): run-time error CSS1019: Unexpected token, found ')'
(1680,1): run-time error CSS1019: Unexpected token, found '}'
(1681,1): run-time error CSS1019: Unexpected token, found 'if('
(1681,4): run-time error CSS1019: Unexpected token, found '$'
(1681,5): run-time error CSS1019: Unexpected token, found '('
(1681,6): run-time error CSS1019: Unexpected token, found '".productsMenu"'
(1681,21): run-time error CSS1019: Unexpected token, found ')'
(1681,23): run-time error CSS1030: Expected identifier, found 'exists('
(1681,23): run-time error CSS1019: Unexpected token, found 'exists('
(1681,30): run-time error CSS1019: Unexpected token, found ')'
(1681,31): run-time error CSS1019: Unexpected token, found ')'
(1681,32): run-time error CSS1019: Unexpected token, found '{'
(1682,12): run-time error CSS1031: Expected selector, found 'setup_productsPosition('
(1682,12): run-time error CSS1025: Expected comma or open brace, found 'setup_productsPosition('
(1719,2): run-time error CSS1019: Unexpected token, found 'setup_productsPosition('
(1719,25): run-time error CSS1019: Unexpected token, found ')'
(1720,3): run-time error CSS1019: Unexpected token, found '$'
(1720,4): run-time error CSS1019: Unexpected token, found '('
(1720,11): run-time error CSS1031: Expected selector, found ')'
(1720,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1720,64): run-time error CSS1019: Unexpected token, found ')'
(1721,2): run-time error CSS1019: Unexpected token, found '$'
(1721,3): run-time error CSS1019: Unexpected token, found '('
(1721,10): run-time error CSS1031: Expected selector, found ')'
(1721,10): run-time error CSS1025: Expected comma or open brace, found ')'
(1721,63): run-time error CSS1019: Unexpected token, found ')'
(1722,2): run-time error CSS1019: Unexpected token, found '$'
(1722,3): run-time error CSS1019: Unexpected token, found '('
(1722,4): run-time error CSS1019: Unexpected token, found ''.productsMenu_panel a''
(1722,27): run-time error CSS1019: Unexpected token, found ')'
(1722,29): run-time error CSS1030: Expected identifier, found 'on('
(1722,29): run-time error CSS1019: Unexpected token, found 'on('
(1722,32): run-time error CSS1019: Unexpected token, found ''click''
(1722,39): run-time error CSS1019: Unexpected token, found ','
(1722,41): run-time error CSS1019: Unexpected token, found 'function('
(1722,50): run-time error CSS1019: Unexpected token, found ')'
(1722,51): run-time error CSS1019: Unexpected token, found '{'
(1723,3): run-time error CSS1019: Unexpected token, found '$'
(1723,4): run-time error CSS1019: Unexpected token, found '('
(1723,5): run-time error CSS1019: Unexpected token, found ''.productsMenu_panel a''
(1723,28): run-time error CSS1019: Unexpected token, found ')'
(1723,30): run-time error CSS1030: Expected identifier, found 'removeClass('
(1723,30): run-time error CSS1019: Unexpected token, found 'removeClass('
(1723,42): run-time error CSS1019: Unexpected token, found ''activeTab''
(1723,53): run-time error CSS1019: Unexpected token, found ')'
(1724,3): run-time error CSS1019: Unexpected token, found '$'
(1724,4): run-time error CSS1019: Unexpected token, found '('
(1724,9): run-time error CSS1031: Expected selector, found ')'
(1724,9): run-time error CSS1025: Expected comma or open brace, found ')'
(1726,12): run-time error CSS1031: Expected selector, found '='
(1726,12): run-time error CSS1025: Expected comma or open brace, found '='
(1727,3): run-time error CSS1019: Unexpected token, found 'if('
(1727,6): run-time error CSS1019: Unexpected token, found 'getViewport_width('
(1727,24): run-time error CSS1019: Unexpected token, found ')'
(1727,26): run-time error CSS1031: Expected selector, found '800'
(1727,26): run-time error CSS1025: Expected comma or open brace, found '800'
(1728,16): run-time error CSS1031: Expected selector, found '='
(1728,16): run-time error CSS1025: Expected comma or open brace, found '='
(1729,3): run-time error CSS1019: Unexpected token, found '$'
(1729,4): run-time error CSS1019: Unexpected token, found '('
(1729,5): run-time error CSS1019: Unexpected token, found '"html, body"'
(1729,17): run-time error CSS1019: Unexpected token, found ')'
(1729,19): run-time error CSS1030: Expected identifier, found 'animate('
(1729,19): run-time error CSS1019: Unexpected token, found 'animate('
(1729,27): run-time error CSS1019: Unexpected token, found '{'
(1729,39): run-time error CSS1030: Expected identifier, found ' '
(1729,40): run-time error CSS1031: Expected selector, found '('
(1729,40): run-time error CSS1025: Expected comma or open brace, found '('
(1730,15): run-time error CSS1031: Expected selector, found ';'
(1730,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1731,2): run-time error CSS1019: Unexpected token, found '}'
(1731,3): run-time error CSS1019: Unexpected token, found ')'
(1732,1): run-time error CSS1019: Unexpected token, found '}'
(1733,1): run-time error CSS1019: Unexpected token, found 'if('
(1733,4): run-time error CSS1019: Unexpected token, found '$'
(1733,5): run-time error CSS1019: Unexpected token, found '('
(1733,6): run-time error CSS1019: Unexpected token, found '".productGrid_noImage"'
(1733,28): run-time error CSS1019: Unexpected token, found ')'
(1733,30): run-time error CSS1030: Expected identifier, found 'exists('
(1733,30): run-time error CSS1019: Unexpected token, found 'exists('
(1733,37): run-time error CSS1019: Unexpected token, found ')'
(1733,38): run-time error CSS1019: Unexpected token, found ')'
(1733,39): run-time error CSS1019: Unexpected token, found '{'
(1734,11): run-time error CSS1031: Expected selector, found 'equalizeProductGrid('
(1734,11): run-time error CSS1025: Expected comma or open brace, found 'equalizeProductGrid('
(1740,2): run-time error CSS1019: Unexpected token, found 'equalizeProductGrid('
(1740,22): run-time error CSS1019: Unexpected token, found ')'
(1741,3): run-time error CSS1019: Unexpected token, found '$'
(1741,4): run-time error CSS1019: Unexpected token, found '('
(1741,11): run-time error CSS1031: Expected selector, found ')'
(1741,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1741,61): run-time error CSS1019: Unexpected token, found ')'
(1742,1): run-time error CSS1019: Unexpected token, found '}'
(1744,4): run-time error CSS1031: Expected selector, found '('
(1744,4): run-time error CSS1025: Expected comma or open brace, found '('
(1832,10): run-time error CSS1031: Expected selector, found 'helpTopics_width('
(1832,10): run-time error CSS1025: Expected comma or open brace, found 'helpTopics_width('
 */
if ($(".pagePlazma").exists()) {
  setTimeout(function () {
    $(".pagePlazma.owl-carousel").owlCarousel({ mouseDrag: false, rtl: true, loop: true, autoplay: true, autoplayHoverPause: true, nav: true, dots: true, items: 1, responsiveRefreshRate: 0, navText: ['לבאנר הקודם', 'לבאנר הבא'] });
  }, 1000);
  
}


if($(".lobby_usefulLinks").exists())
{
	$(".lobby_usefulLinks").each(function(){
		galleryLength = ($(this).find('.item')).length;
		if(galleryLength>6) galleryLength = 6;
		galleryObj = $(this).find(".owl-carousel");
        var owl = galleryObj.owlCarousel({ mouseDrag: false, rtl:true, loop: true, autoplayHoverPause: true, nav:true, dots: false, items: galleryLength, responsiveRefreshRate: 0, navText: ['חזור לאחור','הצג עוד']});

		if(galleryLength==6) owl.data('owl.carousel').options.responsive = {0: {items: 2}, 481: {items: 3}, 767: {items: 4}, 871: {items: 5}, 1025: {items: 6}};
		else if(galleryLength==5) owl.data('owl.carousel').options.responsive = {0: {items: 2}, 481: {items: 3}, 767: {items: 4}, 871: {items: 5}};
		else if(galleryLength==4) owl.data('owl.carousel').options.responsive = {0: {items: 2}, 481: {items: 3}, 767: {items: 4}};
		else if(galleryLength==3) owl.data('owl.carousel').options.responsive = {0: {items: 2}, 481: {items: 3}};
		else if(galleryLength==2) owl.data('owl.carousel').options.responsive = {0: {items: 2}};
		else if(galleryLength==1) owl.data('owl.carousel').options.responsive = {0: {items: 1}};
		owl.trigger('refresh.owl.carousel');
	});	
}


if ($(".lobbyEmployer_portalBlue").exists()) {
  function setupPortalTabsList() {
    $('.lobbyEmployer_portalBlue ul').each(function () {
      initialWidth = 186;
      tabListWidth = $(this).width();
      tabListLength = $(this).find('li').length;
      tabWidth = tabListLength * initialWidth;

      if (getViewport_width() > 800) {
        if (tabListWidth <= tabWidth) {
          $(this).addClass('altList');
          $(this).find('li').css('width', parseInt(100 / tabListLength) + "%")
        }
        else {
          $(this).removeClass('altList');
          $(this).find('li').css('width', '');
        }
      }
      else {
        $(this).addClass('altList');
        $(this).find('li').css('width', parseInt(100 / tabListLength) + "%")
      }

      equalHeights($(this).find('a.portalBlueToggle'));
    });
  };
  setupPortalTabsList();
  $(window).on("resize", function () { setupPortalTabsList(); });

  $('a.portalBlueToggle').on('click', function () {
    selfix = this;
    if ($(selfix).attr('aria-expanded') == "false") {
      $(selfix).parents('.lobbyEmployer_portalBlue').find('.portalBlueToggle').attr('aria-expanded', 'false');
      $(selfix).parents('.lobbyEmployer_portalBlue').find('.portalBlue_panels').height($(selfix).parents('.lobbyEmployer_portalBlue').find('.portalBlue_panels').height());
      $(selfix).parents('.lobbyEmployer_portalBlue').find('.portalBlue_panel').fadeOut(250).promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');

        $(selfix).attr('aria-expanded', 'true');
        $("#" + $(selfix).attr('aria-controls')).fadeIn(400).promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
          $('.portalBlue_panels').css('height', '');
        });
      });
    }
    return false;
  });
}

if ($(".lobbyEmployer_portalBanners").exists()) {
  function setup_portalBanners() {
    if (getViewport_width() > 800) equalHeights($('.lobbyEmployer_portalBanners li a'));
    else $('.lobbyEmployer_portalBanners li a').css('height', '');
  };

  setup_portalBanners();
  $(window).on("resize", function () { setup_portalBanners(); });
};


/* articles grid */
var isLobbyOwlSet = false;
function lobbyGrid_setup() {
  if (getViewport_width() <= 800) {
    if (!isLobbyOwlSet) {
      $(".lobbyArticles_gridFrame").addClass('owl-carousel');
      $(".lobbyArticles_gridFrame").each(function () {
        galleryLength = ($(this).find('.item')).length;
        isDrag = false;
        maxItems = 2;
        if (galleryLength > maxItems) {
          galleryLength = maxItems;
          isDrag = true;
        }
        galleryObj = $(this);
        var owl = galleryObj.owlCarousel({ rtl: true, loop: true, autoplayHoverPause: true, mouseDrag: isDrag, nav: true, dots: false, items: galleryLength, responsiveRefreshRate: 0, navText: ['חזור לאחור', 'הצג עוד'] });
        if (galleryLength == 2) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: true }, 481: { items: 2, mouseDrag: isDrag } };
        else if (galleryLength == 1) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: false } };
        owl.trigger('refresh.owl.carousel');

        equalHeights($(this).find('.lobbyArticles_textFrame'));
        equalHeights($(this).find('.lobbyArticles_text'));
        $(window).on("resize", function () {
          equalHeights($(this).find('.lobbyArticles_textFrame'));
          equalHeights($(this).find('.lobbyArticles_text'));
        });
      });
      isLobbyOwlSet = true;
    }
  }
  else {
    if (isLobbyOwlSet) {
      $(".lobbyArticles_gridFrame").removeClass('owl-carousel');
      $(".lobbyArticles_gridFrame").trigger('destroy.owl.carousel');
      $(".lobbyArticles_gridFrame").find(".owl-stage-outer").css("overflow", "");
      isLobbyOwlSet = false;
    }
  }
};

if ($(".lobbyArticles_gridGallery").exists()) {
  lobbyGrid_setup();
  $(window).on("resize", function () { lobbyGrid_setup(); });

  equalHeights($('.lobbyArticles_gridGallery .lobbyArticles_textFrame'));
  equalHeights($('.lobbyArticles_gridGallery .lobbyArticles_text'));
  $(window).on("resize", function () {
    equalHeights($('.lobbyArticles_gridGallery .lobbyArticles_textFrame'));
    equalHeights($('.lobbyArticles_gridGallery .lobbyArticles_text'));
  });
}

/* combo customSelect */
if ($(".comboHolder").exists()) {
  //alert($(".comboHolder").parent().parent().parent().html());
  $('.comboHolder select').not(".comboAngular").customSelect();
 
}

$(".buyNow_strip").on('click', function (e) {
  e.stopPropagation();
});

/* buy now strip /  fixed */
if ($(".buyNow_stripHolder").exists()) { 
    $(document).on('click', '.headerBuyNow a', function () {
    if ($(this).attr('aria-expanded') == 'false') {
        $(this).attr('aria-expanded', 'true');
      setup_buyNowTop();
      $("#" + $(this).attr("aria-controls")).slideDown().promise().done(function () {
        if ($('.headerMenu_toggleMobile').attr('aria-expanded') == 'true')
          $('.headerMenu_toggleMobile').trigger("click");
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });
    }
    else {
      $(this).attr('aria-expanded', 'false');
      $("#" + $(this).attr("aria-controls")).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $('.buyNow_strip').css('top', '');
      });
    }
    return false;
  });
  $('a.buyNow_stripClose').on('click', function () {
    $("#" + $(this).attr("aria-controls")).slideUp().promise().done(function () {
      $(this).attr('aria-hidden', 'true');
      $(this).css('display', '');
      $('.headerBuyNow a').attr('aria-expanded', 'false');
      $('.buyNow_strip_banner').attr('aria-hidden', 'false');
      $('.buyNow_strip_form').attr('aria-hidden', 'true');
      $('.buyNow_strip_formOverflow').css('height', '');
      $('.buyNow_strip_finish').attr('aria-hidden', 'true');
      $('.buyNow_strip').css('top', '');
    });
    return false;
  });
  $('.buyNow_strip_form a.tooltiptoggle').on('click', function () {
    if ($(this).attr('aria-expanded') == 'false') {
      $('.buyNow_strip_form a.tooltiptoggle').each(function () {
        if ($(this).attr('aria-expanded') == 'true') $(this).trigger('click');
      });

      $(this).attr('aria-expanded', 'true');
      $(this).parents('.buyNow_stripTooltip').find('.stripTooltipPop').fadeIn().promise().done(function () {
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });
    }
    else {
      $(this).attr('aria-expanded', 'false');
      $(this).parents('.buyNow_stripTooltip').find('.stripTooltipPop').fadeOut().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
      });
    }
    return false;
  });
  $('.buyNow_strip_form a.tooltipClose').on('click', function () {
    $(this).parents('.buyNow_stripTooltip').find('a.tooltiptoggle').trigger('click');
    return false;
  });
  $('a[data-lead-link],a[data-lead-button]').on('click', function () {
    $('.buyNow_strip_banner').slideUp().promise().done(function () {
      $(this).attr('aria-hidden', 'true');
      $(this).css('display', '');
    });
    setup_buyNowTop();
    $('.buyNow_strip_form').slideDown().promise().done(function () {
      $(this).attr('aria-hidden', 'false');
      $(this).css('display', '');
    });
    return false;
  });

  //$('.buyNow_stripSubmit a.gallery_bidSubmit').on('click', function () {
  //$('.buyNow_strip_form').slideUp().promise().done(function(){
  //	$(this).attr('aria-hidden', 'true');
  //	$(this).css('display','');
  //});
  //setup_buyNowTop();
  //$('.buyNow_strip_finish').slideDown().promise().done(function(){
  //	$(this).attr('aria-hidden', 'false');
  //	$(this).css('display','');
  //});
  //});

  $('.buyNow_stripSubmit a.buyNow_stripCancel').on('click', function () {
    $('.buyNow_strip_form').slideUp().promise().done(function () {
      $(this).attr('aria-hidden', 'true');
      $(this).css('display', '');
    });
    setup_buyNowTop();
    $('.buyNow_strip_banner').slideDown().promise().done(function () {
      $(this).attr('aria-hidden', 'false');
      $(this).css('display', '');
    });
    return false;
  });
  $('.buyNow_strip_finishLeft a').on('click', function () {
    $('.buyNow_strip_finish').slideUp().promise().done(function () {
      $(this).attr('aria-hidden', 'true');
      $(this).css('display', '');
    });
    $('.buyNow_strip_banner').slideDown().promise().done(function () {
      $(this).attr('aria-hidden', 'false');
      $(this).css('display', '');
    });
    if (getViewport_width() <= 1024) $('a.buyNow_stripClose').trigger('click');
    return false;
  });
  $('.buyNow_strip_formRight li label input').on('blur', function () {
    if ($(this).val() != "") $(this).addClass('filled');
    else $(this).removeClass('filled');
  });
  $('.buyNow_strip_formRight li label input').on('focus', function () {
    inputObj = $(this).parents('li');
    setTimeout(function () {
      if (getViewport_width() <= 1024) $("html, body").animate({ scrollTop: (inputObj.offset().top) - parseInt($('header').height()) }, 50);
    }, 50);
  });
  $('.buyNow_strip_formRight li label input').trigger('blur');
  function setup_buyNowStrip() {
    if (getViewport_width() > 1024) {
      $('.buyNow_strip').css('top', '');
      $('.buyNow_strip').attr('aria-hidden', 'false');
      scrollPosition = $(window).scrollTop();
      startTop = $('.buyNow_stripHolder').offset().top;
      if (scrollPosition >= startTop) $('.buyNow_stripHolder').addClass('buyNow_stripFixed');
      else $('.buyNow_stripHolder').removeClass('buyNow_stripFixed');
    }
    else {
      $('.buyNow_stripHolder').removeClass('buyNow_stripFixed');
      if ($('.headerBuyNow a').attr('aria-expanded') == 'false') $('.buyNow_strip').attr('aria-hidden', 'true');
    }
  }
  function setup_buyNowTop() {
    if (getViewport_width() <= 800) {
      topx = parseInt($('header').offset().top) + parseInt($('header').height());
      $('.buyNow_strip').css('top', topx);
    }
    else $('.buyNow_strip').css('top', '');
  }
  setup_buyNowStrip();
  $(window).on("resize", function () { setup_buyNowStrip(); });
  $(window).on("scroll", function () { setup_buyNowStrip(); });
}

/* home updates */
if ($(".homeUpdates_gallery").exists()) {
  $(".homeUpdates_gallery").each(function () {
    galleryLength = ($(this).find('.item')).length;
    if (galleryLength > 3) galleryLength = 3;
    galleryObj = $(this).find(".owl-carousel");
    var owl = galleryObj.owlCarousel({ mouseDrag: false, rtl: true, loop: true, margin: 0, nav: true, dots: true, items: galleryLength, responsiveRefreshRate: 0, slideBy: 1, navText: ['חזור לאחור', 'הצג עוד'] });
    if (galleryLength == 3) owl.data('owl.carousel').options.responsive = { 0: { items: 1, slideBy: 1, dots: false }, 641: { items: 2, slideBy: 2, dots: true }, 871: { items: 3, slideBy: 3 } };
    else if (galleryLength == 2) owl.data('owl.carousel').options.responsive = { 0: { items: 1, slideBy: 1, dots: false, nav: true, mouseDrag: true }, 641: { item: 2, dots: false, nav: false, mouseDrag: false } };
    else if (galleryLength == 1) owl.data('owl.carousel').options.responsive = { 0: { items: 1, slideBy: 1, dots: false, nav: false, mouseDrag: false } };
    owl.trigger('refresh.owl.carousel');

    homeUpdates_navSetup($(this));
  });

  $(window).on("resize", function () {
    $(".homeUpdates_gallery").each(function () {
      homeUpdates_navSetup($(this));
    });
  });
}

function homeUpdates_navSetup(elem) {
  if (getViewport_width() > 640) {
    $(elem).find('.owl-carousel .owl-nav').width($(elem).find('.owl-carousel .owl-dots').outerWidth() + 50);
  }
  else $(elem).find('.owl-carousel .owl-nav').css('width', '');
}

/* cantact ways */
if ($(".contactWays_gallery").exists()) {
  $(".contactWays_gallery").each(function () {

    galleryLength = ($(this).find('.item')).length;
    if (galleryLength > 6) galleryLength = 6;
    galleryItemWidth = 215;
    galleryWidth = (galleryLength * galleryItemWidth) + parseInt($(this).css("padding-left")) + parseInt($(this).css("padding-right"));
    $(this).css('max-width', galleryWidth);
    galleryObj = $(this).find(".owl-carousel");
    var owl = galleryObj.owlCarousel({ rtl: true, loop: true, autoplayHoverPause: true, nav: true, dots: false, mouseDrag: false, items: galleryLength, responsiveRefreshRate: 0, navText: ['חזור לאחור', 'הצג עוד'] });

    if (galleryLength == 6) owl.data('owl.carousel').options.responsive = { 0: { items: 2, mouseDrag: true }, 375: { items: 3, mouseDrag: true }, 601: { items: 4, mouseDrag: true }, 801: { items: 5, mouseDrag: true }, 1025: { items: 6, mouseDrag: false } };
    else if (galleryLength == 5) owl.data('owl.carousel').options.responsive = { 0: { items: 2, mouseDrag: true }, 375: { items: 3, mouseDrag: true }, 601: { items: 4, mouseDrag: true }, 801: { items: 5, mouseDrag: false } };
    else if (galleryLength == 4) owl.data('owl.carousel').options.responsive = { 0: { items: 2, mouseDrag: true }, 375: { items: 3, mouseDrag: true }, 601: { items: 4, mouseDrag: false } };
    else if (galleryLength == 3) owl.data('owl.carousel').options.responsive = { 0: { items: 2, mouseDrag: true }, 375: { items: 3, mouseDrag: false } };
    else if (galleryLength == 2) owl.data('owl.carousel').options.responsive = { 0: { items: 2, mouseDrag: true } };
    else if (galleryLength == 1) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: true } };
    owl.trigger('refresh.owl.carousel');

    equalHeights(galleryObj.find('.item a span'));
    $(window).on("resize", function () { equalHeights(galleryObj.find('.item a span')); })
  });

  function toggleContactWays(target) {
    
    var relevantPlaceHolder = $(("#" + $(target).attr("aria-controls")));
    $('.contactWays_tab').removeClass('open');
    $('.contactWays_tab').addClass('close');
    
    var slideDown = !relevantPlaceHolder.is(':visible');
    
    if (slideDown) {
      $(target).removeClass("close");
      $(target).addClass("open");
    }

    $('.contactWays_panelHolder').children(".contactWays_panel").slideUp(250).promise().done(function () {
      if (slideDown)
         relevantPlaceHolder.slideDown(400).promise();

    });
  }
}

if ($(".comboComponent").exists()) {
  $('.comboComponent_DToggle').on('click', function () {
    //alert('ss');
    //alert($(this).attr('aria-expanded'));
    if ($(this).attr('aria-expanded') == "false") {
      selfix = this;
      $(this).closest(".comboComponent_DDown").find("a.comboComponent_DToggle[aria-expanded='true']").each(function () {
        $(this).attr('aria-expanded', 'false');
        $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
          $(this).attr('aria-hidden', 'true');
          $(this).css('display', '');
        });
      });
      $(this).parents(".comboComponent_DDown").find(".comboComponent_popup").attr('aria-hidden', 'false');
      $(selfix).attr('aria-expanded', 'true');
      $("#" + $(this).attr('aria-controls')).slideDown().promise().done(function () {
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });

    }
    else {
      $(this).attr('aria-expanded', 'false');
      $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
      });
    }

    return false;
  });
  $(".comboComponent_popup a").on('click', function () {
    selfix = this;
    $(this).closest(".comboComponent_DDown").find("a.comboComponent_DToggle[aria-expanded='true']").each(function () {
      $(this).attr('aria-expanded', 'false');
      $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
      });
    });


    $(selfix).parents('.comboComponent').find('.comboComponent_DToggle span').html($(selfix).html());
    $(selfix).parents('.comboComponent').find('.comboHolder select').val($(selfix).data().link);
    $(selfix).parents('.comboComponent').find('.comboHolder select').trigger('render');
    //alert($(selfix).parents('.homeWizard_form').find('.homeWizard_formSubmit').html());
    $(selfix).parents('.homeWizard_form').find('.homeWizard_formSubmit a').attr("href", $(selfix).data().purchaseUrl);
    $(selfix).parents('.homeWizard_form').find('.homeWizard_formSubmit a').attr("target", $(selfix).data().purchaseInNewWindow ? "_blank" : "_self");
    $(this).parents(".comboComponent_DDown").find(".comboComponent_popup").attr('aria-hidden', 'true');
    return false;
  });
  
  //$(".comboComponent").click(function (e) { e.stopPropagation(); });


  if (!isMobile.matches) {
    $(".comboComponent_popup").each(function () {
      $(this).find("a").first().trigger('click');
    });



  }
  

  
}


//if ($(".comboComponent").exists()) {
//  $('.comboComponent_DToggle').on('click', function () {
//    if ($(this).attr('aria-expanded') == "false") {
//      selfix = this;
//      $("a.comboComponent_DToggle[aria-expanded='true']").each(function () {
//        $(this).attr('aria-expanded', 'false');
//        $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
//          $(this).attr('aria-hidden', 'true');
//          $(this).css('display', '');
//        });
//      });

//      $(selfix).attr('aria-expanded', 'true');
//      $("#" + $(this).attr('aria-controls')).slideDown().promise().done(function () {
//        $(this).attr('aria-hidden', 'false');
//        $(this).css('display', '');
//      });

//    }
//    else {
//      $(this).attr('aria-expanded', 'false');
//      $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
//        $(this).attr('aria-hidden', 'true');
//        $(this).css('display', '');
//      });
//    }

//    return false;
//  });
//  $(".comboComponent_popup a").on('click', function () {
//    selfix = this;
//    $("a.comboComponent_DToggle[aria-expanded='true']").each(function () {
//      $(this).attr('aria-expanded', 'false');
//      $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
//        $(this).attr('aria-hidden', 'true');
//        $(this).css('display', '');
//      });
//    });
//    $(selfix).parents('.comboComponent').find('.comboComponent_DToggle span').html($(selfix).html());
//    $(selfix).parents('.comboComponent').find('.comboHolder select').val($(selfix).data().link);
//    $(selfix).parents('.comboComponent').find('.comboHolder select').trigger('render');
//    return false;
//  });
//  $("body").click(function () {
//    $("a.comboComponent_DToggle[aria-expanded='true']").trigger('click');
//  });
//  $(".comboComponent").click(function (e) { e.stopPropagation(); });
//  $(".comboComponent_popup").each(function () {
//    $(this).find("a:first").trigger('click');
//  });
//}


if ($(".migdalBenefits").exists()) {
  var galleryLength = ($(".migdalBenefits").find(".owl-carousel").find('.item')).length;
  var isMobileDevice = window.matchMedia("only screen and (max-width: 760px)");
  var maxItems = isMobileDevice.matches ? 2 : 4;
  $(".migdalBenefits .owl-carousel").owlCarousel({
    rtl: true, loop: (galleryLength > maxItems) && isMobileDevice.matches, margin: 0, mouseDrag: false, nav: true, dots: false, items: 4, responsiveRefreshRate: 0, navText: ['חזור לאחור', 'הצג עוד']
    , responsive: { 0: { items: 2 }, 481: { items: 4 }, 1025: { items: 4 } }
  });
}



if ($(".lobbyProduct_usefulForms").exists()) {
  function usefulForms_tabSetup() {
    $('.lobbyProduct_usefulTabs').each(function () {
      selfix = this;
      tabLIst_length = $(selfix).find('li').length;
      initialTabWidth = 215;
      calcTabWidth = $(selfix).width() / tabLIst_length;
      if (calcTabWidth < initialTabWidth) {
        $(selfix).addClass('manyTabs');
        newWidth = (100 / tabLIst_length) + "%";
        $(selfix).find('li').css('width', newWidth);
      }
      else {
        $(selfix).removeClass('manyTabs');
        $(selfix).find('li').css('width', '');
      }
      equalHeights($(selfix).find('a'));
    });
  };
  usefulForms_tabSetup();
  $(window).on("resize", function () { usefulForms_tabSetup(); });

  $('.lobbyProduct_usefulTabs a').on('click', function () {
    
    if ($(this).attr('aria-selected') == "false" || $(this).attr('aria-selected') == null) {
      selfix = this;
      $(this).parents('.lobbyProduct_usefulTabs').find('a').attr('aria-selected', 'false');
      $(this).attr('aria-selected', 'true');
      $(this).parents('.lobbyProduct_usefulForms').find('.lobbyProduct_usefulCombo select').val($(this).data().value);
      $(this).parents('.lobbyProduct_usefulForms').find('.lobbyProduct_usefulCombo select').trigger('render');
    }
    return false;
  });

  


  $('.lobbyProduct_usefulCombo select').on('change', function () {
    comboVal = this.value;
    title = $(this).find(":selected").text();
    $("ul.lobbyProduct_usefulTabs li:nth-child(" + this.value + ") a ").trigger("click");
    $(".lobbyProduct_usefulCombo .comboHolder").find(".customSelect").html("" + title + "");    
  });
};
if ($(".lobbyProduct_goodToKnow").exists()) {
  equalHeights($('.lobbyProduct_goodToKnow a'));
  $(window).on("resize", function () { equalHeights($('.lobbyProduct_goodToKnow a')); });
};
if ($(".lobbyProduct_tabbedGallery").exists()) {
  function tabbedGallery_tabSetup() {
    $(".lobbyProduct_tabbedGallery").each(function () {
      if (getViewport_width() < 670 && $(this).find('.tabbedGallery_tabs > li').length <= 2) {
        $(this).find('.lobbyProduct_tabbedCombo').css('display', 'none');
        $(this).find('.tabbedGallery_tabs').css('display', 'block');
      }

      $(this).find('.tabbedGallery_tabs').each(function () {
        selfixx = this;
        tabLIst_length = $(selfixx).find('li').length;
        initialTabWidth = 165;
        calcTabWidth = $(selfixx).width() / tabLIst_length;
        if (calcTabWidth < initialTabWidth) {
          $(selfixx).addClass('manyTabs');
          newWidth = (100 / tabLIst_length) + "%";
          $(selfixx).find('li').css('width', newWidth);
        }
        else {
          $(selfixx).removeClass('manyTabs');
          $(selfixx).find('li').css('width', '');
        }
        equalHeights($(selfixx).find('a'));
      });
    });
  };
  tabbedGallery_tabSetup();
  $(window).on("resize", function () { tabbedGallery_tabSetup(); });

  $(".lobbyProduct_tabbedGallery").each(function () {
    selfix2 = this;
    var owl = $(selfix2).find('.owl-carousel');
    owl.owlCarousel({ mouseDrag: false,  rtl: true, loop: true, autoHeight: true, autoplay: false, autoplayHoverPause: true, nav: true, dots: false, items: 1, responsiveRefreshRate: 0, navText: ['לבאנר הקודם', 'לבאנר הבא'] });
    owl.on('changed.owl.carousel', function (event) {
      var positionx = event.item.index - (event.relatedTarget._clones.length / 2); //positionx = event.item.index-3;
      if (positionx == -1) positionx = $(selfix2).find('.tabbedGallery_tabs li').length - 1;
      $(selfix2).find('.tabbedGallery_tabs a').attr('aria-selected', 'false');
      $($(selfix2).find('.tabbedGallery_tabs li')[positionx]).find('a').attr('aria-selected', 'true');
      $(selfix2).find('.lobbyProduct_tabbedCombo select').val(positionx + 1);
      $(selfix2).find('.lobbyProduct_tabbedCombo select').trigger('render');
    });
    $(selfix2).find('.tabbedGallery_tabs a').on('click', function () {
      if ($(this).attr('aria-selected') == "false") {
        $(this).closest(".lobbyProduct_usefulForms_frame").find(".tabbedGallery_tabs a").attr('aria-selected', 'false');
        $(this).attr('aria-selected', 'true');
        galPos = $(this).data('value') - 1;
        owl.trigger('to.owl.carousel', [galPos, 200]);
      }
      return false;
    });
    $(selfix2).find('.lobbyProduct_tabbedCombo select').on('change', function () {
      galPos = parseInt(this.value) - 1;
      owl.trigger('to.owl.carousel', [galPos, 200]);
    });
  });
};
if ($(".lobbyProduct_productFrame").exists()) {
  $('.lobbyProduct_productMore a').on('click', function () {
    $(this).addClass("open");
    $(this).removeClass("close");
    sectionX = $(this).parents(".lobbyProduct_productSection");
    sectionX.find('.lobbyProduct_productMore').attr('aria-hidden', 'true');
    sectionX.find('.lobbyProduct_productLess').attr('aria-hidden', 'false');
    sectionX.find('.extendedInfo').slideDown().promise().done(function () {
      $(this).attr('aria-hidden', 'false');
      $(this).css('display', '');
    });
    return false;
  });
  $('.lobbyProduct_productLess a').on('click', function () {
    $('.lobbyProduct_productMore a').removeClass("open");
    $('.lobbyProduct_productMore a').addClass("close");
    sectionX = $(this).parents(".lobbyProduct_productSection");
    sectionX.find('.lobbyProduct_productMore').attr('aria-hidden', 'false');
    sectionX.find('.lobbyProduct_productLess').attr('aria-hidden', 'true');
    sectionX.find('.extendedInfo').slideUp().promise().done(function () {
      $(this).attr('aria-hidden', 'true');
      $(this).css('display', '');
    });
    return false;
  });
  //$('.lobbyProduct_productMore a').on('click', function () {
  //  $('.lobbyProduct_productMore').attr('aria-hidden', 'true');
  //  $('.extendedInfo').slideDown().promise().done(function () {
  //    $(this).attr('aria-hidden', 'false');
  //    $(this).css('display', '');
  //  });
  //  return false;
  //});
  //$('.lobbyProduct_productTitle a').on('click', function () {
  //  $('.lobbyProduct_productTitle_text P:nth-child(2)').slideToggle();
  //  $(this).parent().toggleClass('openText');
  //  return false;
  //});
};
if ($(".lobbyProduct_calculator").exists()) {
  $(".lobbyProduct_calcForm input[type='tel']").not('.noMask').autoNumeric('init', { pSign: 'p', aSign: '₪', mDec: 0, vMax: '99999999.99' });
  $('#lobbyProduct_calcSelect').on('change', function () {
    if (this.value == '1') {
      $('.lobbyProduct_calcBody').height($('#lobbyProduct_calcOneTime').outerHeight());
      $('#lobbyProduct_calcOneTime').fadeOut(250).promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $('#lobbyProduct_calcMonthly').fadeIn().promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
          $('.lobbyProduct_calcBody').css('height', '');
        });
      });
    }
    else if (this.value == '2') {
      $('.lobbyProduct_calcBody').height($('#lobbyProduct_calcOneTime').outerHeight());
      $('#lobbyProduct_calcMonthly').fadeOut(250).promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $('#lobbyProduct_calcOneTime').fadeIn().promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
          $('.lobbyProduct_calcBody').css('height', '');
        });
      });
    }

  });
};
if ($(".lobbyProduct_calculatorLegalNotes").exists()) {
  $('a.LegalNotes_toggle').on('click', function () {
    selfix = this;
    if ($(this).attr('aria-expanded') == 'false') {
      $(this).attr('aria-expanded', 'true');
      $("#" + $(selfix).attr('aria-controls')).slideDown().promise().done(function () {
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });
    }
    else {
      $(this).attr('aria-expanded', 'false');
      $("#" + $(selfix).attr('aria-controls')).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
      });
    }
    return false;
  });

}

$('.lobbyProduct_usefullinks_more a').on('click', function () {
  $(this).parents(".lobbyProduct_usefulForms_frame").find(".lobbyProduct_usefullinks_more").attr('aria-hidden', 'true');
  $(this).parents(".lobbyProduct_usefulForms_frame").find(".lobbyProduct_usefullinks_less").attr('aria-hidden', 'false');
  $("#" + $(this).attr('aria-controls')).slideDown().promise().done(function () {
    $(this).attr('aria-hidden', 'false');
    $(this).css('display', '');
  });
  return false;
});
$('.lobbyProduct_usefullinks_less a').on('click', function () {
  $(this).parents(".lobbyProduct_usefulForms_frame").find(".lobbyProduct_usefullinks_more").attr('aria-hidden', 'false');
  $(this).parents(".lobbyProduct_usefulForms_frame").find(".lobbyProduct_usefullinks_less").attr('aria-hidden', 'true');
  $("#" + $(this).attr('aria-controls')).slideUp().promise().done(function () {
    $(this).attr('aria-hidden', 'true');
    $(this).css('display', '');
  });
  return false;
});    

//Homepage Controller functions for Action Subjects (How to help you) Object

function retriveActionSubjectDataByActionSubjectIds(actionSubjectIds) {

    //alert(actionSubjectIds);
    $.ajax({
        url: "/umbraco/surface/ActionsSubjects/RetriveDataByIds/?requestActionSubjectIds=" + actionSubjectIds,
        type: "GET",
        cache: false,
        async: true,

        success: function (data) {

            var elements = 0;

            var elementData = "";
            $.each(data, function (key, val) {
                elements++;
                elementData = elementData + '<div class="item"><a aria-label="בחר נושא"  href="#" style="background:url(' + val.Icon + ') top / 50% no-repeat"><span>' + val.Name + '</span></a></div>'
            });

            //empty items
            $('#usefElements').trigger('remove.owl.carousel', 0);

            //add new items 
            $('#usefElements').trigger('add.owl.carousel', [elementData])
                .trigger('refresh.owl.carousel');

            $('#homeHowHelp_subjectsToggle').attr('aria-expanded', 'false');
            $('#homeHowHelp_subjectsPanel').attr('aria-hidden', 'true');
            $('#homeHowHelp_Txt').html("כללי");
            //alert($('#homeHowHelp_Txt').html('dd'));




        }
    });
}

function retriveActionSubjectData(productItemId, productName,showActions,showSubjects)
       {


        var shAction = false;
        if (showActions == "1")
            shAction = true;

        var shSubject = false;
        if (showSubjects == "1")
            shSubject = true;

      
          $.ajax({
              url: "/umbraco/surface/ActionsSubjects/RetriveData/?productItemId=" + productItemId + "&showActions=" + shAction + "&showSubject=" + shSubject,
            type: "GET",
            cache: false,
            async: true,

            success: function (data) {

                 var elements = 0;

				  var elementData = "";
                  $.each(data, function (key, val) {
                            elements++;
					 		elementData = elementData + '<div class="item"><a aria-label="בחר נושא"  href="#" style="background:url('+val.Icon+') top / 50% no-repeat"><span>'+val.Name+'</span></a></div>'
			     });

                
				//empty items
				$('#usefElements').trigger('remove.owl.carousel', 0 );
				
				//add new items 
				$('#usefElements').trigger('add.owl.carousel', [elementData])
					.trigger('refresh.owl.carousel');
				
				$('#homeHowHelp_subjectsToggle').attr('aria-expanded','false');
				$('#homeHowHelp_subjectsPanel').attr('aria-hidden','true');
				$('#homeHowHelp_Txt').html(productName);
				//alert($('#homeHowHelp_Txt').html('dd'));

                
				
              
              }
        });
       }
       
       

function retriveActionSubjectDataMobile(productItemId)
       {
              
          //alert(productItemId);    
          $.ajax({
            url: "/umbraco/surface/ActionsSubjects/RetriveData/?productItemId="+productItemId,
            type: "GET",
            cache: false,
            async: true,
            success: function (data) {
                  var elementData = "";
				$.each(data, function (key, val) {
					 elementData = elementData + '<div class="item"><a aria-label="בחר נושא"  href="#" style="background:url('+val.Icon+') top right / 15%  no-repeat"><span>'+val.Name+'</span></a></div>'
			     });
				
				$('#usefElements_mobile').html(elementData);
				
              
              }
        });
}



// Call to controller from General Link Useful elemnts 


function retriveActionSubjectDataByIds(actionSubjectIds,productsItemsIds,elemntUniqId) {

    $('#usefulLinks_gallery_data').trigger('remove.owl.carousel', 0);
    //alert(actionSubjectIds);
    $.ajax({
        url: "/umbraco/surface/ActionsSubjects/RetriveDataByIds/?requestActionSubjectIds=" + actionSubjectIds + "&productsItemsIds=" + productsItemsIds + "&showActions=" + true + "&showSubject=" + true,
        type: "GET",
        cache: false,
        async: true,

        success: function (data) {

            var elements = 0;

            var elementData = "";
            $.each(data, function (key, val) {
                elementData = '<div class="item"><a style="background:url(' + val.Icon + ') top / 50% no-repeat" class="usefulLink01"  aria-label="עבור לדף מידע"  href="#"><strong>' + val.Name + '</strong></a></div>';
                $('#usefulLinks_gallery_data_' + elemntUniqId).trigger('add.owl.carousel', [elementData])
                    .trigger('refresh.owl.carousel');
            });
            //alert(elementData);
            //$('#data_input').html(elementData);

            //empty items
            

            //add new items 
        }
    });
}


function retriveActionSubjectDataWithIcons(actionSubjectIds, productsItemsIds, elemntUniqId, showActions, showSubjects ) {

    //alert(showActions);
    var shAction = false;
    if (showActions == "1")
        shAction = true;

    var shSubject = false;
    if (showSubjects == "1")
        shSubject = true;

    $.ajax({
        url: "/umbraco/surface/ActionsSubjects/RetriveDataByIds/?requestActionSubjectIds=" + actionSubjectIds + "&productsItemsIds=" + productsItemsIds + "&showActions=" + shAction + "&showSubject=" + shSubject,
        type: "GET",
        cache: false,
        async: true,

        success: function (data) {

            var elements = 0;

            var elementData = "";
            $.each(data, function (key, val) {
                elementData = '<div class="item"><a  class="usefulLink01"  aria-label="עבור לדף מידע"  href="'+val.Url+'"><strong>' + val.Name + '</strong></a></div>';
                $('#usefulLinks_gallery_data_' + elemntUniqId).trigger('add.owl.carousel', [elementData])
                    .trigger('refresh.owl.carousel');
            });
            
           
            





        }
    });
}


function retriveActionSubjectDataOnline(actionSubjectIds, productsItemsIds, elemntUniqId) {

    $.ajax({
        url: "/umbraco/surface/ActionsSubjects/RetriveDataByIds/?requestActionSubjectIds=" + actionSubjectIds + "&productsItemsIds=" + productsItemsIds + "&showActions=" + true + "&showSubject=" + false,
        type: "GET",
        cache: false,
        async: true,

        success: function (data) {

            var elements = 0;

            var elementData = "";
            $.each(data, function (key, val) {
                elementData = elementData + '<li><a aria-label="עבור לדף מידע" href="#"><span>' + val.Name +'</span> <span>תשלום</span></a></li>';
            });

            $('#' + elemntUniqId).html(elementData);






        }
    });
}


function retriveActionSubjectSimpleView(actionSubjectIds, productsItemsIds, elemntUniqId) {

    $.ajax({
        url: "/umbraco/surface/ActionsSubjects/RetriveDataByIds/?requestActionSubjectIds=" + actionSubjectIds + "&productsItemsIds=" + productsItemsIds + "&showActions=" + true + "&showSubject=" + false,
        type: "GET",
        cache: false,
        async: true,

        success: function (data) {

            var elements = 0;

            var elementData = "";
            $.each(data, function (key, val) {
                elementData = elementData + '<div class="item"><a  class="usefulLink01"  aria-label="עבור לדף מידע"  href="#">' + val.Name + '</a></div></br>';
            });

            $('#' + elemntUniqId).html(elementData);






        }
    });
}







//$('a.contentFrame_acordionToggle').each(function() {
//  //alert(index);

//$(this).on('click', function () {
//	if($(this).attr('aria-expanded')=="false")
//	{
//      $(this).attr('aria-expanded', 'false');
//      $(this).closest('.contentFrame_acordionPanel').slideUp().promise().done(function () {
//			$(this).attr('aria-hidden', 'true');
//			$(this).css('display','');
//		});
//		$(this).attr('aria-expanded', 'true');
//		$("#"+$(this).attr('aria-controls')).slideDown().promise().done(function(){
//			$(this).attr('aria-hidden', 'false');
//			$(this).css('display','');
//		});
//	}
//	else
//	{
//		//$('a.contentFrame_acordionToggle').attr('aria-expanded', 'false');
//		//$('.contentFrame_acordionPanel').slideUp().promise().done(function(){
//		//	$(this).attr('aria-hidden', 'true');
//		//	$(this).css('display','');
//		//});
//	}
//	return false;
//});
//});


$('a.contentFrame_acordionToggle').on('click', function () {
  //alert($('a.contentFrame_acordionToggle').closest('.contentFrame_acordion').attr('class'));
  var parent = $(this).closest('.contentFrame_acordion');
	if($(this).attr('aria-expanded')=="false")
	{
    $(parent).find('a.contentFrame_acordionToggle').attr('aria-expanded', 'false');
    $(parent).find('.contentFrame_acordionPanel').slideUp().promise().done(function(){
			$(this).attr('aria-hidden', 'true');
			$(this).css('display','');
		});
    $(this).attr('aria-expanded', 'true');
    //alert($("#" + $(this).attr('aria-controls')));
    //alert($(this).next().attr('id'));
    $(this).next().slideDown().promise().done(function(){
			$(this).attr('aria-hidden', 'false');
			$(this).css('display','');
		});
	}
	else
	{
      $(parent).find('a.contentFrame_acordionToggle').attr('aria-expanded', 'false');
      $(parent).find('.contentFrame_acordionPanel').slideUp().promise().done(function(){
			$(this).attr('aria-hidden', 'true');
			$(this).css('display','');
		});
	}
	return false;
});

if($(".contentFrame_directorion").exists()){
	$(".contentFrame_directorion").each(function(){
		galleryLength = ($(this).find('.item')).length;
        isDrag = false;
        maxItems = 3;
        
        if(galleryLength>maxItems)
        {
            galleryLength = maxItems;
            isDrag = true;
        }
        else if(galleryLength<maxItems)
        {
            galleryWidth = $(this).outerWidth();
            itemInitialWidth = galleryWidth / maxItems;
            $(this).css('max-width', (galleryLength*itemInitialWidth));
            $(this).css('margin', '0px auto');
        }
        
		galleryObj = $(this).find(".owl-carousel");
        var owl = galleryObj.owlCarousel({ rtl: true, loop: true, autoplayHoverPause: true, nav: true, dots: false, items: galleryLength,mouseDrag: false, responsiveRefreshRate: 0, navText: ['חזור לאחור','הצג עוד']});
    if (galleryLength == 3) owl.data('owl.carousel').options.responsive = { 0: { items: 1}, 433: { items: 1 }, 871: { items: 3}};
    else if (galleryLength == 2) owl.data('owl.carousel').options.responsive = {
      0: { items: 1, nav: true }, 433: {
        item: 1


        , nav: false
      }
    };
		else if(galleryLength==1) owl.data('owl.carousel').options.responsive = {0: {items: 1, nav: false}};
		owl.trigger('refresh.owl.carousel');

		equalHeights(galleryObj.find('.contentFrame_directorionText'));
    $(window).on("resize", function(){equalHeights(galleryObj.find('.contentFrame_directorionText'));});
	});
};
if($(".contentFrame_generalLInks").exists()){
	$(".contentFrame_generalLInks").each(function(){
		galleryLength = ($(this).find('.item')).length;
        isDrag = false;
        maxItems = 4;
        
        if(galleryLength>maxItems)
        {
            galleryLength = maxItems;
            isDrag = true;
        }
        else if(galleryLength<maxItems)
        {
            galleryWidth = $(this).outerWidth();
            itemInitialWidth = galleryWidth / maxItems;
            $(this).css('max-width', (galleryLength*itemInitialWidth));
            $(this).css('margin', '0px auto');
        }
		galleryObj = $(this).find(".owl-carousel");
        var owl = galleryObj.owlCarousel({ mouseDrag: false, rtl:true, loop: true, autoplayHoverPause: true, nav:true, dots: false, items: galleryLength, responsiveRefreshRate: 0, navText: ['חזור לאחור','הצג עוד']});
		
		if(galleryLength==4) owl.data('owl.carousel').options.responsive = {0: {items: 1, nav: true, mouseDrag: true}, 433: {items: 2, nav: true, mouseDrag: true}, 801: {items: 4, nav: false, mouseDrag: false}};
		else if(galleryLength==3) owl.data('owl.carousel').options.responsive = {0: {items: 1, nav: true, mouseDrag: true}, 433: {items: 2, nav: true, mouseDrag: true}, 801: {items: 3, nav: false, mouseDrag: false}};
		else if(galleryLength==2) owl.data('owl.carousel').options.responsive = {0: {items: 1, nav: true, mouseDrag: true}, 433: {items: 2, nav: true, mouseDrag: true}};
		else if(galleryLength==1) owl.data('owl.carousel').options.responsive = {0: {items: 1, nav: false, mouseDrag: false}};
		owl.trigger('refresh.owl.carousel');

		equalHeights(galleryObj.find('.contentFrame_generalText'));
    $(window).on("resize", function(){equalHeights(galleryObj.find('.contentFrame_generalText'));});
	});
};
if($(".contentFrame_boxLInks").exists()){
  $(".contentFrame_boxLInks").each(function () {
		galleryLength = ($(this).find('.item')).length;
        isDrag = false;
        maxItems = 2;
        
        if(galleryLength>maxItems)
        {
            galleryLength = maxItems;
            isDrag = true;
        }
        else if(galleryLength<maxItems)
        {
            galleryWidth = $(this).outerWidth();
            itemInitialWidth = galleryWidth / maxItems;
            $(this).css('max-width', (galleryLength*itemInitialWidth));
            $(this).css('margin', '0px auto');
        }
		galleryObj = $(this).find(".owl-carousel");
        var owl = galleryObj.owlCarousel({ mouseDrag: false, rtl:true, loop: true, autoplayHoverPause: true, nav:true, dots: false, items: galleryLength, responsiveRefreshRate: 0, navText: ['חזור לאחור','הצג עוד']});
        
		if(galleryLength==2) owl.data('owl.carousel').options.responsive = {0: {items: 1, nav: true, mouseDrag: true}, 801: {items: 2, nav: true, mouseDrag: true}};
    else if (galleryLength == 1) owl.data('owl.carousel').options.responsive = { 0: { items: 1, nav: false, mouseDrag: false } };
    setTimeout(function () {
      owl.trigger('refresh.owl.carousel');
    }, 100);
		
		
		equalHeights(galleryObj.find('.contentFrame_boxText'));
    $(window).on("resize", function(){equalHeights(galleryObj.find('.contentFrame_boxText'));});
	});
};

$(".contentFrame_tabsBox").each(function () {
  tabBoxEl = this;
 
  $(tabBoxEl).find('.contentFrame_tabs').each(function () {
    selfix = this;
    tabLIst_length = $(selfix).find('li').length;
    newWidth = parseInt(100 / tabLIst_length) + "%";
    $(selfix).find('li').css('width', newWidth);

    if (tabLIst_length > 3) {
      $(selfix).addClass('content_hideMobile');
      $(selfix).parent().find('.contentFrame_tabsCombo').addClass('content_showMobile');
    }
    else if (tabLIst_length < 3) {
      $(selfix).addClass('twoTabs');
    }
  });

  $('.contentFrame_tabsCombo .comboHolder select').on('change', function () {
    if ($(this).find("option:selected").attr("aria-selected") == "false") {
      selfix = $(this).find("option:selected");
      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabsCombo option').attr('aria-selected', 'false');
      $(this).find("option:selected").attr("aria-selected", 'true');

      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabs a').attr('aria-selected', 'false');
      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabs a[data-value=' + $(this).find("option:selected").val() + ']').attr('aria-selected', 'true');

      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabsPanel').slideUp(250).promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $(this).parents('.contentFrame_tabsBox').find("#" + $(selfix).attr('aria-controls')).slideDown(400).promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
        });
      });
    }
  });

  $('.contentFrame_tabs a').on('click', function () {
    if ($(this).attr('aria-selected') == "false") {
      selfix = this;
      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabs a').attr('aria-selected', 'false');
      $(this).attr('aria-selected', 'true');
      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabsCombo select').val($(this).data().value);
      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabsCombo select').trigger('render');
      $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabsPanel').slideUp(250).promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $(this).parents('.contentFrame_tabsBox').find("#" + $(selfix).attr('aria-controls')).slideDown(400).promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
        });
      });
    }
    return false;
  });
  //$('.contentFrame_tabsCombo select').on('change', function () {
  //  comboVal = this.value;
  //  $(this).parents('.contentFrame_tabsBox').find('.contentFrame_tabs a').each(function () {
  //    if ($(this).data().value == comboVal) {
  //      $(this).trigger('click');
  //      return false;
  //    }
  //  });
  //});


  equalHeights($('ul.contentFrame_tabs a'));
    $(window).on("resize", function () { equalHeights($('ul.contentFrame_tabs a')); });
});

if($(".contentFrame_bidHolder").exists()){
	$('.contentFrame_bidTooltip a.tooltiptoggle').on('click', function(){
		if($(this).attr('aria-expanded') == 'false')
		{
			$('.contentFrame_bidTooltip a.tooltiptoggle').each(function(){
				if($(this).attr('aria-expanded') == 'true') $(this).trigger('click');
			});

			$(this).attr('aria-expanded', 'true');
			$(this).parent().css('z-index', '1');
			$(this).parent().find('.contentTooltipPop').fadeIn().promise().done(function(){
				$(this).attr('aria-hidden', 'false');
				$(this).css('display','');
			});
		}
		else
		{
			$(this).attr('aria-expanded', 'false');
			$(this).parent().css('z-index', '');
			$(this).parent().find('.contentTooltipPop').fadeOut().promise().done(function(){
				$(this).attr('aria-hidden', 'true');
				$(this).css('display','');
			});
		}
		return false;
	});
	$('.contentFrame_bidTooltip a.tooltipClose').on('click', function(){
		$(this).parents('.contentFrame_bidTooltip').find('a.tooltiptoggle').trigger('click');
		return false;
	});
	//$('.contentFrame_bidSubmit input').on('click', function(){
	//	selfix = this;
	//	$(selfix).parents('.contentFrame_bidContent').find('.contentFrame_bidStep').slideUp().promise().done(function(){
	//		$(this).attr('aria-hidden', 'true');
	//		$(this).css('display','');	
	//	});
	//	$(selfix).parents('.contentFrame_bidContent').find('.contentFrame_bidThanks').slideDown().promise().done(function(){
	//		$(this).attr('aria-hidden', 'false');
	//		$(this).css('display','');
	//	});
	//	return false;
	//});
	$('.contentFrame_bidThanks a').on('click', function(){
		selfix = this;
		$(selfix).parents('.contentFrame_bidContent').find('.contentFrame_bidThanks').slideUp().promise().done(function(){
			$(this).attr('aria-hidden', 'true');
			$(this).css('display','');	
		});
		$(selfix).parents('.contentFrame_bidContent').find('.contentFrame_bidStep').slideDown().promise().done(function(){
			$(this).attr('aria-hidden', 'false');
			$(this).css('display','');
		});
		return false;
	});
};
if($(".contentBanners_width60").exists()){
		butoonBannerHeight();
  $(window).on("resize", function(){butoonBannerHeight();});
};
function butoonBannerHeight() {
	if(getViewport_width()>1024){
		$('.contentBanners li.contentBanners_width40 a.contentBanners_buttonBanner').height($('.contentBanners li.contentBanners_width60 a.contentBanners_imageBanner').outerHeight());
	}
	else
	{
		$('.contentBanners li.contentBanners_width40 a.contentBanners_buttonBanner').css('height', '');
	}	
};
if($(".contentFrame_table").exists()){
	$(".contentFrame_table tr").on('click', function(){
		if(getViewport_width()<433){
			if(($(this).find('a').length)>1) $($(this).find('a')[$(this).find('a').length-1]).trigger('click');
			else $(this).find('a').trigger('click');
		}
	});
	
	$(".contentFrame_table tr a").on('click', function(e){
		if(getViewport_width()<433){
			window.location.href = $(this).attr('href');
			e.stopPropagation();
		}
	});
};

if($(".fileList_more").exists()) {
  $('.fileList_more a').on('click', function () {
   
        if($(this).attr('aria-expanded')=="false")
        {
          $(this).attr('aria-expanded', 'true');
          $(this).parents(".contentFrame_tabsPanel").find("#" + $(this).attr('aria-controls')).slideDown().promise().done(function () {
                $(this).attr('aria-hidden', 'false');
                $(this).css('display', '');
            });
        }
        else
        {
            $(this).attr('aria-expanded', 'false');
            $(this).parents(".contentFrame_tabsPanel").find("#"+$(this).attr('aria-controls')).slideUp().promise().done(function(){
                $(this).attr('aria-hidden', 'true');
                $(this).css('display', '');
            });
        }
        return false;
    });
}

/* home plazma */


if($(".comboHolder").exists())
{
 // $(".comboHolder").find(".customSelect").html("עצמאי");  
  $('.comboHolder select').not(".comboAngular").customSelect();
  

}

var mobileDev = window.matchMedia("only screen and (max-width: 760px)");
if (mobileDev.matches && $(".hasCustomSelect").exists())
{

  $(".hasCustomSelect").each(function () {
    $(this).val($(this).find("option").eq(0).val()).trigger("change");
  });

}





/* hot to help */
if ($(".homeHowHelp_dropDown").exists()) {
  $('a.homeHowHelp_subjectsToggle').on("click", function () {
    if ($(this).attr('aria-expanded') == 'false') {
      $(this).attr('aria-expanded', 'true');
      $('#' + $(this).attr('aria-controls')).slideDown().promise().done(function () {
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });
    }
    else {
      selfx = $(this);
      $('#' + $(this).attr('aria-controls')).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $(selfx).attr('aria-expanded', 'false');
      });
    }
    return false;
  });
  $("*").not('.homeHowHelp_dropDown a').on("focus", function () {
    if ($('a.homeHowHelp_subjectsToggle').attr('aria-expanded') != 'false') {
      $('#' + $('a.homeHowHelp_subjectsToggle').attr('aria-controls')).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $('a.homeHowHelp_subjectsToggle').attr('aria-expanded', 'false');
      });
    }
  });
  $(".homeHowHelp_dropDown a").on("click", function (e)
  {
    
    
    e.stopPropagation();
  

  });
  $(".homeHowHelp_dropDown li a").on("click", function (e) {

    //alert($('a.homeHowHelp_subjectsToggle span').html());
    $('a.homeHowHelp_subjectsToggle span').html($(this).html());
    $('a.homeHowHelp_subjectsToggle').trigger("click");
  
  });
}

if($(".homeHowHelp_gallery").exists())
{
    $('.homeHowHelp_gallery .owl-carousel').owlCarousel({mouseDrag: false,rtl: true, loop: true, margin: 0, nav: true, dots: false, items: 5, responsiveRefreshRate: 0, navText: ['חזור לאחור','הצג עוד'],
        responsive: {
            
			0: {items: 3},
			871: {items: 4},
			1181: {items: 5}
		}
	});
	
}



/* home updates */

//if($(".homeUpdates_gallery").exists())
//{
//	$('.homeUpdates_gallery .owl-carousel').owlCarousel({mouseDrag: false, rtl: true, loop: true, margin: 0, nav: true, dots: true, items: 3, responsiveRefreshRate: 0, slideBy: 3, navText: ['חזור לאחור','הצג עוד'],
//		responsive: {
//			0: {items: 1, slideBy: 1, dots: false},
//			641: {items: 2, slideBy: 2},
//			871: {items: 3, slideBy: 3}
//		}
//	});
	
//	homeUpdates_navSetup();
//	$(window).resize(function(){homeUpdates_navSetup();});
//}

//function homeUpdates_navSetup()
//{
//  debugger;
//	if(getViewport_width()>640){
//		$(".homeUpdates_gallery .owl-carousel .owl-nav").width($(".homeUpdates_gallery .owl-carousel .owl-dots").outerWidth()+50);
//	}
//	else $(".homeUpdates_gallery .owl-carousel .owl-nav").css('width', '');
//}

/* auto complete */
//if($(".innerPlazma_searchForm").exists())
//{
//	var demoOptions = {data: ["ביטוח חובה", "ביטוח מקיף", "ביטוח צד ג", "ביטוח לעובדי מדינה", "ביטוח דירה"], list: {match: {enabled: true}}};
//	$(".innerPlazma_searchForm input[type='text']").easyAutocomplete(demoOptions);
//	$(".innerPlazma_searchForm input[type='text']").on('focus', function(){
//		offset = 0;
//		if(getViewport_width()<=800){
//			offset = $('header').outerHeight();
//		};
		
//		$("html, body").animate({ scrollTop: ($(this).offset().top) - offset }, 500);
//	});
//}



/* footer */
setTimeout(function () {
  if ($(".footerMobile").exists()) {
    setupFooter();
    $(window).on("resize", function () { setupFooter(); })
    $(".footerMobile a").on('click', function () {
      if ($(this).attr('aria-expanded') == "false") {
        $('.footerMobile_more').slideDown().promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
          $(".footerMobile a").attr('aria-expanded', 'true');
        });
      }
      else {
        $('.footerMobile_more').slideUp().promise().done(function () {
          $(this).attr('aria-hidden', 'true');
          $(this).css('display', '');
          $(".footerMobile a").attr('aria-expanded', 'false');
        });
      }
      return false;
    });
  }

}, 1000);

//function setupFooter()
//{
//	if(getViewport_width()>670)
//	{
//		$('.footerMobile_more').attr('aria-hidden', 'false');
//		$('.footerMobile_more').css('display', '');
		
//		$(".footerMobile a").attr('aria-expanded', 'false');
//	}
//	else
//	{
//		$('.footerMobile_more').attr('aria-hidden', 'true');
//		$(".footerMobile a").attr('aria-expanded', 'false');
//	}
//}

var savedWidth = 0;
function setupFooter() {
  if (getViewport_width() > 670) {
    $('.footerMobile_more').attr('aria-hidden', 'false');
    $('.footerMobile_more').css('display', '');

    $(".footerMobile a").attr('aria-expanded', 'false');
  }
  else {
   
    if (savedWidth != getViewport_width()) {
      $('.footerMobile_more').attr('aria-hidden', 'true');
      $(".footerMobile a").attr('aria-expanded', 'false');
      savedWidth = getViewport_width();
    }
  }
}


//fix bug scroll page top when keyboard open
$(window).on("resize", function () {
  if (document.activeElement.tagName == "INPUT") {
    if (/Android/.test(navigator.appVersion)) {
      window.setTimeout(function () {
        document.activeElement.scrollIntoViewIfNeeded();
      }, 0);
    }

  }
});


/*left header menu*/
var getViewportWidth = getViewport_width();

function renderProductsLoby() {
  var mobileDevice = window.matchMedia("only screen and (max-width: 760px)");

  
    $(".savingsProducts_gallery").each(function () {
      galleryLength = ($(this).find('.item')).length;
      //alert(galleryLength);
      isDrag = false;

      if ($(this).parents('.savingsProducts').hasClass('elementarProducts') && !$(this).parents('.savingsProducts').hasClass('tab_view')) {
        // elementar gallery
        maxItems = mobileDevice.matches ? 1 : 3;
      }
      else {
        // other lobby gallery
        maxItems = mobileDevice.matches ? 1 : 4;
      }

      if (galleryLength > maxItems) {
        galleryLength = maxItems;
        isDrag = true;
      }
      else if (galleryLength < maxItems) {
        //alert(galleryWidth + ' - ' + maxItems);
        galleryWidth = $(this).outerWidth();
        itemInitialWidth = galleryWidth / maxItems;
        if (galleryLength * itemInitialWidth != 0)
          $(this).css('max-width', (galleryLength * itemInitialWidth));
      }

      galleryObj = $(this).find(".owl-carousel");
      var owl = galleryObj.owlCarousel({ mouseDrag: false, rtl: true, loop: true, autoplayHoverPause: true, nav: true, dots: false, items: galleryLength, responsiveRefreshRate: 0, navText: ['<icon class="LessShapePointRightArrow"><shape class="innerTranparentRightArrowShape"></shape></icon>', '<icon class="LessShapePointArrow"><shape class="innerTranparentArrowShape"></shape></icon>'] });
      if (galleryLength == 4) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: true }, 601: { items: 2, mouseDrag: true }, 871: { items: 3, mouseDrag: true }, 1150: { items: 4, mouseDrag: isDrag } };
      else if (galleryLength == 3) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: true }, 601: { items: 2, mouseDrag: true }, 871: { items: 3, mouseDrag: isDrag } };
      else if (galleryLength == 2) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: true }, 601: { items: 2, mouseDrag: false } };
      else if (galleryLength == 1) owl.data('owl.carousel').options.responsive = { 0: { items: 1, mouseDrag: false } };
      owl.trigger('refresh.owl.carousel');
    })
  





  $('.savingsProducts_itemButton a ').on('click', function () {
   
    if ($(this).attr('aria-expanded') == 'false') {
      $(this).parents(".owl-carousel").find(".owl-nav").addClass("hideNav");

      $('.savingsProducts_itemButton a').each(function () {
        if ($(this).attr('aria-expanded') == 'true') $(this).trigger('click');
      });
      $('.gallery_bidTooltip a.tooltiptoggle').each(function () {
        if ($(this).attr('aria-expanded') == 'true') $(this).trigger('click');
      });

      $(this).attr('aria-expanded', 'true');
      bidPop = $(this).parents('.savingsProducts_itemBody').find('.gallery_bidPop').attr('class').split(' ')[1];
      $("." + bidPop).slideDown().promise().done(function () {
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });
    }
    else {
      $(this).parents(".owl-carousel").find(".owl-nav").removeClass("hideNav");
      $(this).attr('aria-expanded', 'false');
      bidPop = $(this).parents('.savingsProducts_itemBody').find('.gallery_bidPop').attr('class').split(' ')[1];

      $("." + bidPop).slideUp().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
        $(this).find('.gallery_bidStep').attr('aria-hidden', 'false');
        $(this).find('.gallery_bidFinish').attr('aria-hidden', 'true');
      });
    }
    return false;
  });
  $('.gallery_bidThanks a').on('click', function () {
    $(this).parents('.savingsProducts_itemBody').find('.savingsProducts_itemButton a').trigger('click');
    return false;
  });
  $('a.gallery_bidClose').on('click', function () {
    
    $(this).parents('.savingsProducts_itemBody').find('.savingsProducts_itemButton a').trigger('click');
    return false;
  });
  $('.gallery_bidTooltip a.tooltiptoggle').on('click', function () {
    if ($(this).attr('aria-expanded') == 'false') {
      $('.gallery_bidTooltip a.tooltiptoggle').each(function () {
        if ($(this).attr('aria-expanded') == 'true') $(this).trigger('click');
      });

      $(this).attr('aria-expanded', 'true');
      $(this).parents('.owl-item').css('z-index', '1');
      $(this).parents('.gallery_bidTooltip').find('.bidTooltipPop').fadeIn().promise().done(function () {
        $(this).attr('aria-hidden', 'false');
        $(this).css('display', '');
      });
    }
    else {
      $(this).attr('aria-expanded', 'false');
      $(this).parents('.owl-item').css('z-index', '');
      $(this).parents('.gallery_bidTooltip').find('.bidTooltipPop').fadeOut().promise().done(function () {
        $(this).attr('aria-hidden', 'true');
        $(this).css('display', '');
      });
    }
    return false;
  });
  $('.gallery_bidTooltip a.tooltipClose').on('click', function () {
    $(this).parents('.gallery_bidTooltip').find('a.tooltiptoggle').trigger('click');
    return false;
  });

  setTimeout(function () {
    equalHeights($('.advantageAutoHeight'));
    equalHeights($('.V contentFrame_bulletList .advantageAutoHeight'));
    equalHeights($('.savingsProducts_itemBody p'));
    equalHeights($('.savingsProducts_itemBody .savingsProducts_itemLink'));
    equalHeights($('.savingsProducts_itemBody'));
  }, 1000);
  
  
 
  //$(window).resize(function () { equalHeights($('.savingsProducts_itemBody p')); equalHeights($('.savingsProducts_itemBody')); });
  $('.gallery_bidPop').on("touchstart mousedown", function (e) {
    // Prevent carousel swipe when bid is open
    e.stopPropagation();
  });


}


function getBearer(){
  var cookieName = 'access';
  var matches = document.cookie.match(new RegExp(
    "(?:^|; )" + cookieName.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g, '\\$1') + "=([^;]*)"
  ));
  var thecookie = matches ? decodeURIComponent(matches[1]) : undefined;
  if (thecookie) {
    var cookieObject = JSON.parse(thecookie);
    if (cookieObject)
      return cookieObject.value;
  }
  return undefined;
}

function S4() {
  return (((1 + Math.random()) * 0x10000) | 0).toString(16).substring(1);
}

function GenerateGuid() {
  return (S4() + S4() + "-" + S4() + "-4" + S4().substr(0, 3) + "-" + S4() + "-" + S4() + S4() + S4()).toLowerCase();
}


if($(".productsPlazma_title").exists()){
  $('.productsPlazma_title .anchor').on( "click", function(){
		if(getViewport_width()>800) $("html, body").animate({ scrollTop: ($('.productsMenu').offset().top)}, 500);
		else $("html, body").animate({ scrollTop: ($('.productsMenu').offset().top - ($('header').outerHeight()-10))}, 500);
		return false;
	});
}
if($(".productsMenu").exists()){
  function setup_productsPosition() {
    objMenu = $('.productsMenu_panel');
    objMenu.css('top', '');
    scrollPosition = $(window).scrollTop();

    if (getViewport_width() > 800) startTop = $('.productsMenu').offset().top;
    else startTop = $('.productsMenu').offset().top - $('header').height();

    if (scrollPosition >= startTop) {
      objMenu.addClass('fixed');
      if (getViewport_width() <= 800) objMenu.css('top', $('header').outerHeight());
    }
    else objMenu.removeClass('fixed');

    if (getViewport_width() > 800) offsetx = $('.productsMenu_panel').outerHeight() + 10;
    else offsetx = $('.productsMenu_panel').outerHeight() + $('header').outerHeight();
    var $lobbyProducts1 = $('.lobbyProducts').length > 0 ? $('.lobbyProducts').eq(0).find("div").first() : null;
    var $lobbyProducts2 = $('.lobbyProducts').length > 1 ? $('.lobbyProducts').eq(1).find("div").first() : null;
    var $lobbyProducts3 = $('.lobbyProducts').length > 2 ? $('.lobbyProducts').eq(2).find("div").first() : null;
    var $lobbyProducts4 = $('.lobbyProducts').length > 3 ? $('.lobbyProducts').eq(3).find("div").first() : null;
    var $lobbyProducts5 = $('.lobbyProducts').length > 4 ? $('.lobbyProducts').eq(4).find("div").first() : null;

    sectionOffset = [
      $lobbyProducts1 ? $lobbyProducts1.offset().top - offsetx : 0,
      $lobbyProducts2 ? $lobbyProducts2.offset().top - offsetx : 0,
      $lobbyProducts3 ? $lobbyProducts3.offset().top - offsetx : 0,
      $lobbyProducts4 ? $lobbyProducts4.offset().top - offsetx : 0,
      $lobbyProducts5  ? $lobbyProducts5.offset().top - offsetx : 0
    ];
    $('.productsMenu_panel a').removeClass('activeTab');
    if ((scrollPosition >= sectionOffset[0]) && $lobbyProducts1 && (scrollPosition <= sectionOffset[0] + $lobbyProducts1.height())) $($('.productsMenu_panel a')[0]).addClass('activeTab');
    else if ((scrollPosition >= sectionOffset[1]) && $lobbyProducts2 &&  (scrollPosition < sectionOffset[1] + $lobbyProducts2.height())) $($('.productsMenu_panel a')[1]).addClass('activeTab');
    else if ((scrollPosition >= sectionOffset[2]) && $lobbyProducts3 && (scrollPosition < sectionOffset[2] + $lobbyProducts3.height())) $($('.productsMenu_panel a')[2]).addClass('activeTab');
    else if ((scrollPosition >= sectionOffset[3]) && $lobbyProducts4 && (scrollPosition < sectionOffset[3] + $lobbyProducts4.height())) $($('.productsMenu_panel a')[3]).addClass('activeTab');
    else if (scrollPosition >= sectionOffset[4] && ($lobbyProducts5 && (sectionOffset[4] + $lobbyProducts5.height()))) $($('.productsMenu_panel a')[4]).addClass('activeTab');
  }
	
	setup_productsPosition();
  $(window).on("resize", function() {setup_productsPosition();});
	$(window).on("scroll", function() {setup_productsPosition();});
	$('.productsMenu_panel a').on('click', function(){
		$('.productsMenu_panel a').removeClass('activeTab');
		$(this).addClass('activeTab');
		
		thisHref = "#"+(this.href.split('#')[1]);
		if(getViewport_width()>800) offsetx =  $('.productsMenu_panel').outerHeight();
		else offsetx =  $('.productsMenu_panel').outerHeight() + $('header').outerHeight();
		$("html, body").animate({ scrollTop: ($(thisHref).offset().top - offsetx)}, 500);
		return false;
	});
}
if($(".productGrid_noImage").exists()){
	function equalizeProductGrid()
  {
    if(getViewport_width()>800) $('.productGrid_noImage').height($('.productGrid_mainImage').height());
		else $('.productGrid_noImage').css('height', '');
	}
	
	equalizeProductGrid();
  $(window).on("resize", function() {equalizeProductGrid();});
}

if ($(".support_helpTopics").exists()) {
  
  $('.helpTopic_front a').on('click', function () {
   
    if (getViewport_width() > 800) {
      if ($(this).attr('aria-expanded') == 'false') {
        selfix = this;
        $('.helpTopic_front a').attr('aria-expanded', 'false');
        $(this).attr('aria-expanded', 'true');

        $('.helpTopic_front').attr('aria-hidden', 'false');
        $(this).parent().parent().find('.helpTopic_backList').attr('aria-hidden', 'false');
        setTimeout(function () {
          $('.helpTopic_front').not($(selfix).parent()).attr('aria-selected', 'false');
          $('.helpTopic_backList').not($(selfix).parent().parent().find('.helpTopic_backList')).attr('aria-selected', 'false');
          $(selfix).parent().attr('aria-selected', 'true');
          $(selfix).parent().parent().find('.helpTopic_backList').attr('aria-selected', 'true');
          setTimeout(function () {
            $('.helpTopic_backList').not($(selfix).parent().parent().find('.helpTopic_backList')).attr('aria-hidden', 'true');
            $(selfix).parent().attr('aria-hidden', 'true');
          }, 500);
        }, 50);
      }
    }
    else {
      if ($(this).attr('aria-expanded') == 'false') {
        selfix = this;
        $('.helpTopic_front a').attr('aria-expanded', 'false');
        $('.helpTopic_backList').slideUp().promise().done(function () {
          $(this).attr('aria-hidden', 'true');
          $(this).css('display', '');
        });
        $(selfix).attr('aria-expanded', 'true');
        $(selfix).parents('.helpTopic_item').find('.helpTopic_backList').slideDown().promise().done(function () {
          $(this).attr('aria-hidden', 'false');
          $(this).css('display', '');
        });
      }
      else {
        $('.helpTopic_front a').attr('aria-expanded', 'false');
        $('.helpTopic_backList').slideUp().promise().done(function () {
          $(this).attr('aria-hidden', 'true');
          $(this).css('display', '');
        });
      }
    }
    return false;
  });
  $(window).on("resize", function () {
    helpTopics_width();
    if (getViewport_width() > 800) {
      $('.helpTopic_front').attr('aria-hidden', 'false');
      $('.helpTopic_front a').attr('aria-expanded', 'false');
      $('.helpTopic_backList').attr('aria-hidden', 'true');
    }
  });
  $("body").on("click", function () {
    if (getViewport_width() > 800) {
      $('.helpTopic_front a').attr('aria-expanded', 'false');
      $('.helpTopic_front').attr('aria-hidden', 'false');
      setTimeout(function () {
        $('.helpTopic_front').attr('aria-selected', 'false');
        $('.helpTopic_backList').attr('aria-selected', 'false');
        setTimeout(function () {
          $('.helpTopic_backList').attr('aria-hidden', 'true');
        }, 500);
      }, 50);
    }
  });
  //$("*").not(".support_helpTopics a").focus(function () {
  //  debugger;
  //  if (getViewport_width() > 800) {
  //    $('.helpTopic_front a').attr('aria-expanded', 'false');
  //    $('.helpTopic_front').attr('aria-hidden', 'false');
  //    setTimeout(function () {
  //      $('.helpTopic_front').attr('aria-selected', 'false');
  //      $('.helpTopic_backList').attr('aria-selected', 'false');
  //      setTimeout(function () {
  //        $('.helpTopic_backList').attr('aria-hidden', 'true');
  //      }, 500);
  //    }, 50);
  //  }
  //});

  $(".helpTopic_item").on("click", function (e) { e.stopPropagation(); });
  helpTopics_width();
}

function helpTopics_width() {
  if (getViewport_width() > 800) {
    maxItems = 5;
    helpItem_width = ($('.helpTopic_list').width()) / maxItems;
    helpItem_num = $('.helpTopic_list > ul > li').length;
    $('.helpTopic_list > ul').css('max-width', (helpItem_num * helpItem_width));
    $('.helpTopic_list > ul > li').css('width', ((100 / helpItem_num).toString() + "%"));
  }
  else {
    $('.helpTopic_list > ul').css('max-width', '');
    $('.helpTopic_list > ul > li').css('width', '');
  }
}

