/* 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 '('
(363,4): run-time error CSS1031: Expected selector, found '('
(363,4): run-time error CSS1025: Expected comma or open brace, found '('
(485,4): run-time error CSS1031: Expected selector, found '('
(485,4): run-time error CSS1025: Expected comma or open brace, found '('
(497,4): run-time error CSS1031: Expected selector, found '('
(497,4): run-time error CSS1025: Expected comma or open brace, found '('
(541,4): run-time error CSS1031: Expected selector, found '('
(541,4): run-time error CSS1025: Expected comma or open brace, found '('
(545,4): run-time error CSS1031: Expected selector, found '('
(545,4): run-time error CSS1025: Expected comma or open brace, found '('
(601,4): run-time error CSS1031: Expected selector, found '('
(601,4): run-time error CSS1025: Expected comma or open brace, found '('
(636,4): run-time error CSS1031: Expected selector, found '('
(636,4): run-time error CSS1025: Expected comma or open brace, found '('
(666,4): run-time error CSS1031: Expected selector, found '('
(666,4): run-time error CSS1025: Expected comma or open brace, found '('
(688,1): run-time error CSS1019: Unexpected token, found '$'
(688,2): run-time error CSS1019: Unexpected token, found '('
(688,3): run-time error CSS1019: Unexpected token, found ''.lobbyProduct_usefullinks_more a''
(688,37): run-time error CSS1019: Unexpected token, found ')'
(688,39): run-time error CSS1030: Expected identifier, found 'on('
(688,39): run-time error CSS1019: Unexpected token, found 'on('
(688,42): run-time error CSS1019: Unexpected token, found ''click''
(688,49): run-time error CSS1019: Unexpected token, found ','
(688,60): run-time error CSS1031: Expected selector, found '('
(688,60): run-time error CSS1025: Expected comma or open brace, found '('
(696,2): run-time error CSS1019: Unexpected token, found ')'
(697,1): run-time error CSS1019: Unexpected token, found '$'
(697,2): run-time error CSS1019: Unexpected token, found '('
(697,3): run-time error CSS1019: Unexpected token, found ''.lobbyProduct_usefullinks_less a''
(697,37): run-time error CSS1019: Unexpected token, found ')'
(697,39): run-time error CSS1030: Expected identifier, found 'on('
(697,39): run-time error CSS1019: Unexpected token, found 'on('
(697,42): run-time error CSS1019: Unexpected token, found ''click''
(697,49): run-time error CSS1019: Unexpected token, found ','
(697,60): run-time error CSS1031: Expected selector, found '('
(697,60): run-time error CSS1025: Expected comma or open brace, found '('
(705,2): run-time error CSS1019: Unexpected token, found ')'
(709,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataByActionSubjectIds('
(709,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataByActionSubjectIds('
(747,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectData('
(747,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectData('
(798,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataMobile('
(798,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataMobile('
(825,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataByIds('
(825,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataByIds('
(857,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataWithIcons('
(857,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataWithIcons('
(897,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectDataOnline('
(897,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectDataOnline('
(926,10): run-time error CSS1031: Expected selector, found 'retriveActionSubjectSimpleView('
(926,10): run-time error CSS1025: Expected comma or open brace, found 'retriveActionSubjectSimpleView('
(990,1): run-time error CSS1019: Unexpected token, found '$'
(990,2): run-time error CSS1019: Unexpected token, found '('
(990,3): run-time error CSS1019: Unexpected token, found ''a.contentFrame_acordionToggle''
(990,34): run-time error CSS1019: Unexpected token, found ')'
(990,36): run-time error CSS1030: Expected identifier, found 'on('
(990,36): run-time error CSS1019: Unexpected token, found 'on('
(990,39): run-time error CSS1019: Unexpected token, found ''click''
(990,46): run-time error CSS1019: Unexpected token, found ','
(990,57): run-time error CSS1031: Expected selector, found '('
(990,57): run-time error CSS1025: Expected comma or open brace, found '('
(1017,2): run-time error CSS1019: Unexpected token, found ')'
(1019,1): run-time error CSS1019: Unexpected token, found 'if('
(1019,4): run-time error CSS1019: Unexpected token, found '$'
(1019,5): run-time error CSS1019: Unexpected token, found '('
(1019,6): run-time error CSS1019: Unexpected token, found '".contentFrame_directorion"'
(1019,33): run-time error CSS1019: Unexpected token, found ')'
(1019,35): run-time error CSS1030: Expected identifier, found 'exists('
(1019,35): run-time error CSS1019: Unexpected token, found 'exists('
(1019,42): run-time error CSS1019: Unexpected token, found ')'
(1019,43): run-time error CSS1019: Unexpected token, found ')'
(1019,44): run-time error CSS1019: Unexpected token, found '{'
(1020,2): run-time error CSS1019: Unexpected token, found '$'
(1020,3): run-time error CSS1019: Unexpected token, found '('
(1020,4): run-time error CSS1019: Unexpected token, found '".contentFrame_directorion"'
(1020,31): run-time error CSS1019: Unexpected token, found ')'
(1020,33): run-time error CSS1030: Expected identifier, found 'each('
(1020,33): run-time error CSS1019: Unexpected token, found 'each('
(1020,38): run-time error CSS1019: Unexpected token, found 'function('
(1020,47): run-time error CSS1019: Unexpected token, found ')'
(1020,48): run-time error CSS1019: Unexpected token, found '{'
(1021,17): run-time error CSS1031: Expected selector, found '='
(1021,17): run-time error CSS1025: Expected comma or open brace, found '='
(1022,16): run-time error CSS1031: Expected selector, found '='
(1022,16): run-time error CSS1025: Expected comma or open brace, found '='
(1023,18): run-time error CSS1031: Expected selector, found '='
(1023,18): run-time error CSS1025: Expected comma or open brace, found '='
(1025,9): run-time error CSS1019: Unexpected token, found 'if('
(1025,34): run-time error CSS1031: Expected selector, found ')'
(1025,34): run-time error CSS1025: Expected comma or open brace, found ')'
(1030,14): run-time error CSS1031: Expected selector, found 'if('
(1030,14): run-time error CSS1025: Expected comma or open brace, found 'if('
(1038,14): run-time error CSS1031: Expected selector, found '='
(1038,14): run-time error CSS1025: Expected comma or open brace, found '='
(1039,17): run-time error CSS1031: Expected selector, found '='
(1039,17): run-time error CSS1025: Expected comma or open brace, found '='
(1039,216): run-time error CSS1019: Unexpected token, found ')'
(1040,8): run-time error CSS1031: Expected selector, found '('
(1040,8): run-time error CSS1025: Expected comma or open brace, found '('
(1041,13): run-time error CSS1031: Expected selector, found '('
(1041,13): run-time error CSS1025: Expected comma or open brace, found '('
(1049,8): run-time error CSS1031: Expected selector, found 'if('
(1049,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1050,7): run-time error CSS1030: Expected identifier, found 'trigger('
(1050,7): run-time error CSS1031: Expected selector, found 'trigger('
(1050,7): run-time error CSS1025: Expected comma or open brace, found 'trigger('
(1052,3): run-time error CSS1019: Unexpected token, found 'equalHeights('
(1052,27): run-time error CSS1030: Expected identifier, found 'find('
(1052,27): run-time error CSS1031: Expected selector, found 'find('
(1052,27): run-time error CSS1025: Expected comma or open brace, found 'find('
(1053,3): run-time error CSS1019: Unexpected token, found '$'
(1053,4): run-time error CSS1019: Unexpected token, found '('
(1053,11): run-time error CSS1031: Expected selector, found ')'
(1053,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1053,95): run-time error CSS1019: Unexpected token, found ')'
(1054,2): run-time error CSS1019: Unexpected token, found '}'
(1054,3): run-time error CSS1019: Unexpected token, found ')'
(1055,1): run-time error CSS1019: Unexpected token, found '}'
(1056,1): run-time error CSS1019: Unexpected token, found 'if('
(1056,4): run-time error CSS1019: Unexpected token, found '$'
(1056,5): run-time error CSS1019: Unexpected token, found '('
(1056,6): run-time error CSS1019: Unexpected token, found '".contentFrame_generalLInks"'
(1056,34): run-time error CSS1019: Unexpected token, found ')'
(1056,36): run-time error CSS1030: Expected identifier, found 'exists('
(1056,36): run-time error CSS1019: Unexpected token, found 'exists('
(1056,43): run-time error CSS1019: Unexpected token, found ')'
(1056,44): run-time error CSS1019: Unexpected token, found ')'
(1056,45): run-time error CSS1019: Unexpected token, found '{'
(1057,2): run-time error CSS1019: Unexpected token, found '$'
(1057,3): run-time error CSS1019: Unexpected token, found '('
(1057,4): run-time error CSS1019: Unexpected token, found '".contentFrame_generalLInks"'
(1057,32): run-time error CSS1019: Unexpected token, found ')'
(1057,34): run-time error CSS1030: Expected identifier, found 'each('
(1057,34): run-time error CSS1019: Unexpected token, found 'each('
(1057,39): run-time error CSS1019: Unexpected token, found 'function('
(1057,48): run-time error CSS1019: Unexpected token, found ')'
(1057,49): run-time error CSS1019: Unexpected token, found '{'
(1058,17): run-time error CSS1031: Expected selector, found '='
(1058,17): run-time error CSS1025: Expected comma or open brace, found '='
(1059,16): run-time error CSS1031: Expected selector, found '='
(1059,16): run-time error CSS1025: Expected comma or open brace, found '='
(1060,18): run-time error CSS1031: Expected selector, found '='
(1060,18): run-time error CSS1025: Expected comma or open brace, found '='
(1062,9): run-time error CSS1019: Unexpected token, found 'if('
(1062,34): run-time error CSS1031: Expected selector, found ')'
(1062,34): run-time error CSS1025: Expected comma or open brace, found ')'
(1067,14): run-time error CSS1031: Expected selector, found 'if('
(1067,14): run-time error CSS1025: Expected comma or open brace, found 'if('
(1074,14): run-time error CSS1031: Expected selector, found '='
(1074,14): run-time error CSS1025: Expected comma or open brace, found '='
(1075,17): run-time error CSS1031: Expected selector, found '='
(1075,17): run-time error CSS1025: Expected comma or open brace, found '='
(1075,215): run-time error CSS1019: Unexpected token, found ')'
(1077,3): run-time error CSS1019: Unexpected token, found 'if('
(1077,19): run-time error CSS1031: Expected selector, found '='
(1077,19): run-time error CSS1025: Expected comma or open brace, found '='
(1078,8): run-time error CSS1031: Expected selector, found 'if('
(1078,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1079,8): run-time error CSS1031: Expected selector, found 'if('
(1079,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1080,8): run-time error CSS1031: Expected selector, found 'if('
(1080,8): run-time error CSS1025: Expected comma or open brace, found 'if('
(1081,7): run-time error CSS1030: Expected identifier, found 'trigger('
(1081,7): run-time error CSS1031: Expected selector, found 'trigger('
(1081,7): run-time error CSS1025: Expected comma or open brace, found 'trigger('
(1083,3): run-time error CSS1019: Unexpected token, found 'equalHeights('
(1083,27): run-time error CSS1030: Expected identifier, found 'find('
(1083,27): run-time error CSS1031: Expected selector, found 'find('
(1083,27): run-time error CSS1025: Expected comma or open brace, found 'find('
(1084,3): run-time error CSS1019: Unexpected token, found '$'
(1084,4): run-time error CSS1019: Unexpected token, found '('
(1084,11): run-time error CSS1031: Expected selector, found ')'
(1084,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1084,91): run-time error CSS1019: Unexpected token, found ')'
(1085,2): run-time error CSS1019: Unexpected token, found '}'
(1085,3): run-time error CSS1019: Unexpected token, found ')'
(1086,1): run-time error CSS1019: Unexpected token, found '}'
(1087,1): run-time error CSS1019: Unexpected token, found 'if('
(1087,4): run-time error CSS1019: Unexpected token, found '$'
(1087,5): run-time error CSS1019: Unexpected token, found '('
(1087,6): run-time error CSS1019: Unexpected token, found '".contentFrame_boxLInks"'
(1087,30): run-time error CSS1019: Unexpected token, found ')'
(1087,32): run-time error CSS1030: Expected identifier, found 'exists('
(1087,32): run-time error CSS1019: Unexpected token, found 'exists('
(1087,39): run-time error CSS1019: Unexpected token, found ')'
(1087,40): run-time error CSS1019: Unexpected token, found ')'
(1087,41): run-time error CSS1019: Unexpected token, found '{'
(1088,3): run-time error CSS1019: Unexpected token, found '$'
(1088,4): run-time error CSS1019: Unexpected token, found '('
(1088,5): run-time error CSS1019: Unexpected token, found '".contentFrame_boxLInks"'
(1088,29): run-time error CSS1019: Unexpected token, found ')'
(1088,31): run-time error CSS1030: Expected identifier, found 'each('
(1088,31): run-time error CSS1019: Unexpected token, found 'each('
(1088,45): run-time error CSS1031: Expected selector, found '('
(1088,45): run-time error CSS1025: Expected comma or open brace, found '('
(1117,3): run-time error CSS1019: Unexpected token, found ')'
(1118,1): run-time error CSS1019: Unexpected token, found '}'
(1120,1): run-time error CSS1019: Unexpected token, found '$'
(1120,2): run-time error CSS1019: Unexpected token, found '('
(1120,3): run-time error CSS1019: Unexpected token, found '".contentFrame_tabsBox"'
(1120,26): run-time error CSS1019: Unexpected token, found ')'
(1120,28): run-time error CSS1030: Expected identifier, found 'each('
(1120,28): run-time error CSS1019: Unexpected token, found 'each('
(1120,42): run-time error CSS1031: Expected selector, found '('
(1120,42): run-time error CSS1025: Expected comma or open brace, found '('
(1168,2): run-time error CSS1019: Unexpected token, found ')'
(1170,1): run-time error CSS1019: Unexpected token, found 'if('
(1170,4): run-time error CSS1019: Unexpected token, found '$'
(1170,5): run-time error CSS1019: Unexpected token, found '('
(1170,6): run-time error CSS1019: Unexpected token, found '".contentFrame_bidHolder"'
(1170,31): run-time error CSS1019: Unexpected token, found ')'
(1170,33): run-time error CSS1030: Expected identifier, found 'exists('
(1170,33): run-time error CSS1019: Unexpected token, found 'exists('
(1170,40): run-time error CSS1019: Unexpected token, found ')'
(1170,41): run-time error CSS1019: Unexpected token, found ')'
(1170,42): run-time error CSS1019: Unexpected token, found '{'
(1171,2): run-time error CSS1019: Unexpected token, found '$'
(1171,3): run-time error CSS1019: Unexpected token, found '('
(1171,4): run-time error CSS1019: Unexpected token, found ''.contentFrame_bidTooltip a.tooltiptoggle''
(1171,46): run-time error CSS1019: Unexpected token, found ')'
(1171,48): run-time error CSS1030: Expected identifier, found 'on('
(1171,48): run-time error CSS1019: Unexpected token, found 'on('
(1171,51): run-time error CSS1019: Unexpected token, found ''click''
(1171,58): run-time error CSS1019: Unexpected token, found ','
(1171,60): run-time error CSS1019: Unexpected token, found 'function('
(1171,69): run-time error CSS1019: Unexpected token, found ')'
(1171,70): run-time error CSS1019: Unexpected token, found '{'
(1172,3): run-time error CSS1019: Unexpected token, found 'if('
(1172,6): run-time error CSS1019: Unexpected token, found '$'
(1172,7): run-time error CSS1019: Unexpected token, found '('
(1172,12): run-time error CSS1031: Expected selector, found ')'
(1172,12): run-time error CSS1025: Expected comma or open brace, found ')'
(1187,4): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
(1188,4): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
(1189,4): run-time error CSS1062: Expected semicolon or closing curly-brace, found '$'
(1194,15): run-time error CSS1031: Expected selector, found ';'
(1194,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1195,2): run-time error CSS1019: Unexpected token, found '}'
(1195,3): run-time error CSS1019: Unexpected token, found ')'
(1196,2): run-time error CSS1019: Unexpected token, found '$'
(1196,3): run-time error CSS1019: Unexpected token, found '('
(1196,4): run-time error CSS1019: Unexpected token, found ''.contentFrame_bidTooltip a.tooltipClose''
(1196,45): run-time error CSS1019: Unexpected token, found ')'
(1196,47): run-time error CSS1030: Expected identifier, found 'on('
(1196,47): run-time error CSS1019: Unexpected token, found 'on('
(1196,50): run-time error CSS1019: Unexpected token, found ''click''
(1196,57): run-time error CSS1019: Unexpected token, found ','
(1196,59): run-time error CSS1019: Unexpected token, found 'function('
(1196,68): run-time error CSS1019: Unexpected token, found ')'
(1196,69): run-time error CSS1019: Unexpected token, found '{'
(1197,3): run-time error CSS1019: Unexpected token, found '$'
(1197,4): run-time error CSS1019: Unexpected token, found '('
(1197,9): run-time error CSS1031: Expected selector, found ')'
(1197,9): run-time error CSS1025: Expected comma or open brace, found ')'
(1198,15): run-time error CSS1031: Expected selector, found ';'
(1198,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1199,2): run-time error CSS1019: Unexpected token, found '}'
(1199,3): run-time error CSS1019: Unexpected token, found ')'
(1212,2): run-time error CSS1019: Unexpected token, found '$'
(1212,3): run-time error CSS1019: Unexpected token, found '('
(1212,4): run-time error CSS1019: Unexpected token, found ''.contentFrame_bidThanks a''
(1212,31): run-time error CSS1019: Unexpected token, found ')'
(1212,33): run-time error CSS1030: Expected identifier, found 'on('
(1212,33): run-time error CSS1019: Unexpected token, found 'on('
(1212,36): run-time error CSS1019: Unexpected token, found ''click''
(1212,43): run-time error CSS1019: Unexpected token, found ','
(1212,45): run-time error CSS1019: Unexpected token, found 'function('
(1212,54): run-time error CSS1019: Unexpected token, found ')'
(1212,55): run-time error CSS1019: Unexpected token, found '{'
(1213,10): run-time error CSS1031: Expected selector, found '='
(1213,10): run-time error CSS1025: Expected comma or open brace, found '='
(1214,3): run-time error CSS1019: Unexpected token, found '$'
(1214,4): run-time error CSS1019: Unexpected token, found '('
(1214,11): run-time error CSS1031: Expected selector, found ')'
(1214,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1217,4): run-time error CSS1019: Unexpected token, found ')'
(1218,3): run-time error CSS1019: Unexpected token, found '$'
(1218,4): run-time error CSS1019: Unexpected token, found '('
(1218,11): run-time error CSS1031: Expected selector, found ')'
(1218,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1221,4): run-time error CSS1019: Unexpected token, found ')'
(1222,15): run-time error CSS1031: Expected selector, found ';'
(1222,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1223,2): run-time error CSS1019: Unexpected token, found '}'
(1223,3): run-time error CSS1019: Unexpected token, found ')'
(1224,1): run-time error CSS1019: Unexpected token, found '}'
(1225,1): run-time error CSS1019: Unexpected token, found 'if('
(1225,4): run-time error CSS1019: Unexpected token, found '$'
(1225,5): run-time error CSS1019: Unexpected token, found '('
(1225,6): run-time error CSS1019: Unexpected token, found '".contentBanners_width60"'
(1225,31): run-time error CSS1019: Unexpected token, found ')'
(1225,33): run-time error CSS1030: Expected identifier, found 'exists('
(1225,33): run-time error CSS1019: Unexpected token, found 'exists('
(1225,40): run-time error CSS1019: Unexpected token, found ')'
(1225,41): run-time error CSS1019: Unexpected token, found ')'
(1225,42): run-time error CSS1019: Unexpected token, found '{'
(1226,3): run-time error CSS1019: Unexpected token, found 'butoonBannerHeight('
(1226,22): run-time error CSS1019: Unexpected token, found ')'
(1227,3): run-time error CSS1019: Unexpected token, found '$'
(1227,4): run-time error CSS1019: Unexpected token, found '('
(1227,11): run-time error CSS1031: Expected selector, found ')'
(1227,11): run-time error CSS1025: Expected comma or open brace, found ')'
(1227,53): run-time error CSS1019: Unexpected token, found ')'
(1228,1): run-time error CSS1019: Unexpected token, found '}'
(1229,10): run-time error CSS1031: Expected selector, found 'butoonBannerHeight('
(1229,10): run-time error CSS1025: Expected comma or open brace, found 'butoonBannerHeight('
(1238,1): run-time error CSS1019: Unexpected token, found 'if('
(1238,4): run-time error CSS1019: Unexpected token, found '$'
(1238,5): run-time error CSS1019: Unexpected token, found '('
(1238,6): run-time error CSS1019: Unexpected token, found '".contentFrame_table"'
(1238,27): run-time error CSS1019: Unexpected token, found ')'
(1238,29): run-time error CSS1030: Expected identifier, found 'exists('
(1238,29): run-time error CSS1019: Unexpected token, found 'exists('
(1238,36): run-time error CSS1019: Unexpected token, found ')'
(1238,37): run-time error CSS1019: Unexpected token, found ')'
(1238,38): run-time error CSS1019: Unexpected token, found '{'
(1239,2): run-time error CSS1019: Unexpected token, found '$'
(1239,3): run-time error CSS1019: Unexpected token, found '('
(1239,4): run-time error CSS1019: Unexpected token, found '".contentFrame_table tr"'
(1239,28): run-time error CSS1019: Unexpected token, found ')'
(1239,30): run-time error CSS1030: Expected identifier, found 'on('
(1239,30): run-time error CSS1019: Unexpected token, found 'on('
(1239,33): run-time error CSS1019: Unexpected token, found ''click''
(1239,40): run-time error CSS1019: Unexpected token, found ','
(1239,42): run-time error CSS1019: Unexpected token, found 'function('
(1239,51): run-time error CSS1019: Unexpected token, found ')'
(1239,52): run-time error CSS1019: Unexpected token, found '{'
(1240,3): run-time error CSS1019: Unexpected token, found 'if('
(1240,6): run-time error CSS1019: Unexpected token, found 'getViewport_width('
(1240,24): run-time error CSS1019: Unexpected token, found ')'
(1240,25): run-time error CSS1019: Unexpected token, found '<'
(1240,26): run-time error CSS1019: Unexpected token, found '433'
(1240,29): run-time error CSS1019: Unexpected token, found ')'
(1240,30): run-time error CSS1019: Unexpected token, found '{'
(1241,4): run-time error CSS1019: Unexpected token, found 'if('
(1241,7): run-time error CSS1019: Unexpected token, found '('
(1241,8): run-time error CSS1019: Unexpected token, found '$'
(1241,9): run-time error CSS1019: Unexpected token, found '('
(1241,14): run-time error CSS1031: Expected selector, found ')'
(1241,14): run-time error CSS1025: Expected comma or open brace, found ')'
(1242,9): run-time error CSS1031: Expected selector, found '$'
(1242,9): run-time error CSS1025: Expected comma or open brace, found '$'
(1243,3): run-time error CSS1019: Unexpected token, found '}'
(1244,2): run-time error CSS1019: Unexpected token, found '}'
(1244,3): run-time error CSS1019: Unexpected token, found ')'
(1246,2): run-time error CSS1019: Unexpected token, found '$'
(1246,3): run-time error CSS1019: Unexpected token, found '('
(1246,4): run-time error CSS1019: Unexpected token, found '".contentFrame_table tr a"'
(1246,30): run-time error CSS1019: Unexpected token, found ')'
(1246,32): run-time error CSS1030: Expected identifier, found 'on('
(1246,32): run-time error CSS1019: Unexpected token, found 'on('
(1246,35): run-time error CSS1019: Unexpected token, found ''click''
(1246,42): run-time error CSS1019: Unexpected token, found ','
(1246,44): run-time error CSS1019: Unexpected token, found 'function('
(1246,54): run-time error CSS1031: Expected selector, found ')'
(1246,54): run-time error CSS1025: Expected comma or open brace, found ')'
(1251,3): run-time error CSS1019: Unexpected token, found ')'
(1252,1): run-time error CSS1019: Unexpected token, found '}'
(1254,1): run-time error CSS1019: Unexpected token, found 'if('
(1254,4): run-time error CSS1019: Unexpected token, found '$'
(1254,5): run-time error CSS1019: Unexpected token, found '('
(1254,6): run-time error CSS1019: Unexpected token, found '".fileList_more"'
(1254,22): run-time error CSS1019: Unexpected token, found ')'
(1254,24): run-time error CSS1030: Expected identifier, found 'exists('
(1254,24): run-time error CSS1019: Unexpected token, found 'exists('
(1254,31): run-time error CSS1019: Unexpected token, found ')'
(1254,32): run-time error CSS1019: Unexpected token, found ')'
(1254,34): run-time error CSS1019: Unexpected token, found '{'
(1255,3): run-time error CSS1019: Unexpected token, found '$'
(1255,4): run-time error CSS1019: Unexpected token, found '('
(1255,5): run-time error CSS1019: Unexpected token, found ''.fileList_more a''
(1255,23): run-time error CSS1019: Unexpected token, found ')'
(1255,25): run-time error CSS1030: Expected identifier, found 'on('
(1255,25): run-time error CSS1019: Unexpected token, found 'on('
(1255,28): run-time error CSS1019: Unexpected token, found ''click''
(1255,35): run-time error CSS1019: Unexpected token, found ','
(1255,46): run-time error CSS1031: Expected selector, found '('
(1255,46): run-time error CSS1025: Expected comma or open brace, found '('
(1274,6): run-time error CSS1019: Unexpected token, found ')'
(1275,1): run-time error CSS1019: Unexpected token, found '}'
(1280,1): run-time error CSS1019: Unexpected token, found 'if('
(1280,4): run-time error CSS1019: Unexpected token, found '$'
(1280,5): run-time error CSS1019: Unexpected token, found '('
(1280,6): run-time error CSS1019: Unexpected token, found '".comboHolder"'
(1280,20): run-time error CSS1019: Unexpected token, found ')'
(1280,22): run-time error CSS1030: Expected identifier, found 'exists('
(1280,22): run-time error CSS1019: Unexpected token, found 'exists('
(1280,29): run-time error CSS1019: Unexpected token, found ')'
(1280,30): run-time error CSS1019: Unexpected token, found ')'
(1281,1): run-time error CSS1019: Unexpected token, found '{'
(1283,3): run-time error CSS1019: Unexpected token, found '$'
(1283,4): run-time error CSS1019: Unexpected token, found '('
(1283,5): run-time error CSS1019: Unexpected token, found ''.comboHolder select''
(1283,26): run-time error CSS1019: Unexpected token, found ')'
(1283,28): run-time error CSS1030: Expected identifier, found 'not('
(1283,28): run-time error CSS1019: Unexpected token, found 'not('
(1283,32): run-time error CSS1019: Unexpected token, found '".comboAngular"'
(1283,47): run-time error CSS1019: Unexpected token, found ')'
(1283,49): run-time error CSS1030: Expected identifier, found 'customSelect('
(1283,49): run-time error CSS1019: Unexpected token, found 'customSelect('
(1283,62): run-time error CSS1019: Unexpected token, found ')'
(1286,1): run-time error CSS1019: Unexpected token, found '}'
(1288,15): run-time error CSS1031: Expected selector, found '='
(1288,15): run-time error CSS1025: Expected comma or open brace, found '='
(1289,4): run-time error CSS1031: Expected selector, found '('
(1289,4): run-time error CSS1025: Expected comma or open brace, found '('
(1305,4): run-time error CSS1031: Expected selector, found '('
(1305,4): run-time error CSS1025: Expected comma or open brace, found '('
(1350,1): run-time error CSS1019: Unexpected token, found 'if('
(1350,4): run-time error CSS1019: Unexpected token, found '$'
(1350,5): run-time error CSS1019: Unexpected token, found '('
(1350,6): run-time error CSS1019: Unexpected token, found '".homeHowHelp_gallery"'
(1350,28): run-time error CSS1019: Unexpected token, found ')'
(1350,30): run-time error CSS1030: Expected identifier, found 'exists('
(1350,30): run-time error CSS1019: Unexpected token, found 'exists('
(1350,37): run-time error CSS1019: Unexpected token, found ')'
(1350,38): run-time error CSS1019: Unexpected token, found ')'
(1351,1): run-time error CSS1019: Unexpected token, found '{'
(1352,5): run-time error CSS1019: Unexpected token, found '$'
(1352,6): run-time error CSS1019: Unexpected token, found '('
(1352,7): run-time error CSS1019: Unexpected token, found ''.homeHowHelp_gallery .owl-carousel''
(1352,43): run-time error CSS1019: Unexpected token, found ')'
(1352,45): run-time error CSS1030: Expected identifier, found 'owlCarousel('
(1352,45): run-time error CSS1019: Unexpected token, found 'owlCarousel('
(1352,57): run-time error CSS1019: Unexpected token, found '{'
(1352,68): run-time error CSS1030: Expected identifier, found ' '
(1352,79): run-time error CSS1030: Expected identifier, found ' '
(1352,91): run-time error CSS1030: Expected identifier, found ' '
(1352,105): run-time error CSS1030: Expected identifier, found ' '
(1352,106): run-time error CSS1031: Expected selector, found '0'
(1352,106): run-time error CSS1025: Expected comma or open brace, found '0'
(1359,2): run-time error CSS1019: Unexpected token, found '}'
(1359,3): run-time error CSS1019: Unexpected token, found ')'
(1361,1): run-time error CSS1019: Unexpected token, found '}'
(1406,1): run-time error CSS1019: Unexpected token, found 'setTimeout('
(1406,21): run-time error CSS1031: Expected selector, found '('
(1406,21): run-time error CSS1025: Expected comma or open brace, found '('
(1429,2): run-time error CSS1019: Unexpected token, found ','
(1429,4): run-time error CSS1019: Unexpected token, found '1000'
(1429,8): run-time error CSS1019: Unexpected token, found ')'
(1447,16): run-time error CSS1031: Expected selector, found '='
(1447,16): run-time error CSS1025: Expected comma or open brace, found '='
(1448,10): run-time error CSS1031: Expected selector, found 'setupFooter('
(1448,10): run-time error CSS1025: Expected comma or open brace, found 'setupFooter('
(1467,1): run-time error CSS1019: Unexpected token, found '$'
(1467,2): run-time error CSS1019: Unexpected token, found '('
(1467,9): run-time error CSS1031: Expected selector, found ')'
(1467,9): run-time error CSS1025: Expected comma or open brace, found ')'
(1476,2): run-time error CSS1019: Unexpected token, found ')'
(1480,22): run-time error CSS1031: Expected selector, found '='
(1480,22): run-time error CSS1025: Expected comma or open brace, found '='
(1482,10): run-time error CSS1031: Expected selector, found 'renderProductsLoby('
(1482,10): run-time error CSS1025: Expected comma or open brace, found 'renderProductsLoby('
(1614,10): run-time error CSS1031: Expected selector, found 'getBearer('
(1614,10): run-time error CSS1025: Expected comma or open brace, found 'getBearer('
(1628,10): run-time error CSS1031: Expected selector, found 'S4('
(1628,10): run-time error CSS1025: Expected comma or open brace, found 'S4('
(1632,10): run-time error CSS1031: Expected selector, found 'GenerateGuid('
(1632,10): run-time error CSS1025: Expected comma or open brace, found 'GenerateGuid('
(1637,1): run-time error CSS1019: Unexpected token, found 'if('
(1637,4): run-time error CSS1019: Unexpected token, found '$'
(1637,5): run-time error CSS1019: Unexpected token, found '('
(1637,6): run-time error CSS1019: Unexpected token, found '".productsPlazma_title"'
(1637,29): run-time error CSS1019: Unexpected token, found ')'
(1637,31): run-time error CSS1030: Expected identifier, found 'exists('
(1637,31): run-time error CSS1019: Unexpected token, found 'exists('
(1637,38): run-time error CSS1019: Unexpected token, found ')'
(1637,39): run-time error CSS1019: Unexpected token, found ')'
(1637,40): run-time error CSS1019: Unexpected token, found '{'
(1638,3): run-time error CSS1019: Unexpected token, found '$'
(1638,4): run-time error CSS1019: Unexpected token, found '('
(1638,5): run-time error CSS1019: Unexpected token, found ''.productsPlazma_title .anchor''
(1638,36): run-time error CSS1019: Unexpected token, found ')'
(1638,38): run-time error CSS1030: Expected identifier, found 'on('
(1638,38): run-time error CSS1019: Unexpected token, found 'on('
(1638,42): run-time error CSS1019: Unexpected token, found '"click"'
(1638,49): run-time error CSS1019: Unexpected token, found ','
(1638,51): run-time error CSS1019: Unexpected token, found 'function('
(1638,60): run-time error CSS1019: Unexpected token, found ')'
(1638,61): run-time error CSS1019: Unexpected token, found '{'
(1639,3): run-time error CSS1019: Unexpected token, found 'if('
(1639,6): run-time error CSS1019: Unexpected token, found 'getViewport_width('
(1639,24): run-time error CSS1019: Unexpected token, found ')'
(1639,26): run-time error CSS1031: Expected selector, found '800'
(1639,26): run-time error CSS1025: Expected comma or open brace, found '800'
(1639,102): run-time error CSS1019: Unexpected token, found ','
(1639,104): run-time error CSS1019: Unexpected token, found '500'
(1639,107): run-time error CSS1019: Unexpected token, found ')'
(1640,8): run-time error CSS1031: Expected selector, found '$'
(1640,8): run-time error CSS1025: Expected comma or open brace, found '$'
(1640,112): run-time error CSS1019: Unexpected token, found ','
(1640,114): run-time error CSS1019: Unexpected token, found '500'
(1640,117): run-time error CSS1019: Unexpected token, found ')'
(1641,15): run-time error CSS1031: Expected selector, found ';'
(1641,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1642,2): run-time error CSS1019: Unexpected token, found '}'
(1642,3): run-time error CSS1019: Unexpected token, found ')'
(1643,1): run-time error CSS1019: Unexpected token, found '}'
(1644,1): run-time error CSS1019: Unexpected token, found 'if('
(1644,4): run-time error CSS1019: Unexpected token, found '$'
(1644,5): run-time error CSS1019: Unexpected token, found '('
(1644,6): run-time error CSS1019: Unexpected token, found '".productsMenu"'
(1644,21): run-time error CSS1019: Unexpected token, found ')'
(1644,23): run-time error CSS1030: Expected identifier, found 'exists('
(1644,23): run-time error CSS1019: Unexpected token, found 'exists('
(1644,30): run-time error CSS1019: Unexpected token, found ')'
(1644,31): run-time error CSS1019: Unexpected token, found ')'
(1644,32): run-time error CSS1019: Unexpected token, found '{'
(1645,12): run-time error CSS1031: Expected selector, found 'setup_productsPosition('
(1645,12): run-time error CSS1025: Expected comma or open brace, found 'setup_productsPosition('
(1682,2): run-time error CSS1019: Unexpected token, found 'setup_productsPosition('
(1682,25): run-time error CSS1019: Unexpected token, found ')'
(1683,2): run-time error CSS1019: Unexpected token, found '$'
(1683,3): run-time error CSS1019: Unexpected token, found '('
(1683,10): run-time error CSS1031: Expected selector, found ')'
(1683,10): run-time error CSS1025: Expected comma or open brace, found ')'
(1683,57): run-time error CSS1019: Unexpected token, found ')'
(1684,2): run-time error CSS1019: Unexpected token, found '$'
(1684,3): run-time error CSS1019: Unexpected token, found '('
(1684,10): run-time error CSS1031: Expected selector, found ')'
(1684,10): run-time error CSS1025: Expected comma or open brace, found ')'
(1684,57): run-time error CSS1019: Unexpected token, found ')'
(1685,2): run-time error CSS1019: Unexpected token, found '$'
(1685,3): run-time error CSS1019: Unexpected token, found '('
(1685,4): run-time error CSS1019: Unexpected token, found ''.productsMenu_panel a''
(1685,27): run-time error CSS1019: Unexpected token, found ')'
(1685,29): run-time error CSS1030: Expected identifier, found 'on('
(1685,29): run-time error CSS1019: Unexpected token, found 'on('
(1685,32): run-time error CSS1019: Unexpected token, found ''click''
(1685,39): run-time error CSS1019: Unexpected token, found ','
(1685,41): run-time error CSS1019: Unexpected token, found 'function('
(1685,50): run-time error CSS1019: Unexpected token, found ')'
(1685,51): run-time error CSS1019: Unexpected token, found '{'
(1686,3): run-time error CSS1019: Unexpected token, found '$'
(1686,4): run-time error CSS1019: Unexpected token, found '('
(1686,5): run-time error CSS1019: Unexpected token, found ''.productsMenu_panel a''
(1686,28): run-time error CSS1019: Unexpected token, found ')'
(1686,30): run-time error CSS1030: Expected identifier, found 'removeClass('
(1686,30): run-time error CSS1019: Unexpected token, found 'removeClass('
(1686,42): run-time error CSS1019: Unexpected token, found ''activeTab''
(1686,53): run-time error CSS1019: Unexpected token, found ')'
(1687,3): run-time error CSS1019: Unexpected token, found '$'
(1687,4): run-time error CSS1019: Unexpected token, found '('
(1687,9): run-time error CSS1031: Expected selector, found ')'
(1687,9): run-time error CSS1025: Expected comma or open brace, found ')'
(1689,12): run-time error CSS1031: Expected selector, found '='
(1689,12): run-time error CSS1025: Expected comma or open brace, found '='
(1690,3): run-time error CSS1019: Unexpected token, found 'if('
(1690,6): run-time error CSS1019: Unexpected token, found 'getViewport_width('
(1690,24): run-time error CSS1019: Unexpected token, found ')'
(1690,26): run-time error CSS1031: Expected selector, found '800'
(1690,26): run-time error CSS1025: Expected comma or open brace, found '800'
(1691,16): run-time error CSS1031: Expected selector, found '='
(1691,16): run-time error CSS1025: Expected comma or open brace, found '='
(1692,3): run-time error CSS1019: Unexpected token, found '$'
(1692,4): run-time error CSS1019: Unexpected token, found '('
(1692,5): run-time error CSS1019: Unexpected token, found '"html, body"'
(1692,17): run-time error CSS1019: Unexpected token, found ')'
(1692,19): run-time error CSS1030: Expected identifier, found 'animate('
(1692,19): run-time error CSS1019: Unexpected token, found 'animate('
(1692,27): run-time error CSS1019: Unexpected token, found '{'
(1692,39): run-time error CSS1030: Expected identifier, found ' '
(1692,40): run-time error CSS1031: Expected selector, found '('
(1692,40): run-time error CSS1025: Expected comma or open brace, found '('
(1693,15): run-time error CSS1031: Expected selector, found ';'
(1693,15): run-time error CSS1025: Expected comma or open brace, found ';'
(1694,2): run-time error CSS1019: Unexpected token, found '}'
(1694,3): run-time error CSS1019: Unexpected token, found ')'
(1695,1): run-time error CSS1019: Unexpected token, found '}'
(1696,1): run-time error CSS1019: Unexpected token, found 'if('
(1696,4): run-time error CSS1019: Unexpected token, found '$'
(1696,5): run-time error CSS1019: Unexpected token, found '('
(1696,6): run-time error CSS1019: Unexpected token, found '".productGrid_noImage"'
(1696,28): run-time error CSS1019: Unexpected token, found ')'
(1696,30): run-time error CSS1030: Expected identifier, found 'exists('
(1696,30): run-time error CSS1019: Unexpected token, found 'exists('
(1696,37): run-time error CSS1019: Unexpected token, found ')'
(1696,38): run-time error CSS1019: Unexpected token, found ')'
(1696,39): run-time error CSS1019: Unexpected token, found '{'
(1697,11): run-time error CSS1031: Expected selector, found 'equalizeProductGrid('
(1697,11): run-time error CSS1025: Expected comma or open brace, found 'equalizeProductGrid('
(1703,2): run-time error CSS1019: Unexpected token, found 'equalizeProductGrid('
(1703,22): run-time error CSS1019: Unexpected token, found ')'
(1704,2): run-time error CSS1019: Unexpected token, found '$'
(1704,3): run-time error CSS1019: Unexpected token, found '('
(1704,10): run-time error CSS1031: Expected selector, found ')'
(1704,10): run-time error CSS1025: Expected comma or open brace, found ')'
(1704,54): run-time error CSS1019: Unexpected token, found ')'
(1705,1): run-time error CSS1019: Unexpected token, found '}'
(1707,4): run-time error CSS1031: Expected selector, found '('
(1707,4): run-time error CSS1025: Expected comma or open brace, found '('
(1795,10): run-time error CSS1031: Expected selector, found 'helpTopics_width('
(1795,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).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).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).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).resize(function () { lobbyGrid_setup(); });

  equalHeights($('.lobbyArticles_gridGallery .lobbyArticles_textFrame'));
  equalHeights($('.lobbyArticles_gridGallery .lobbyArticles_text'));
  $(window).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').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).resize(function () { setup_buyNowStrip(); });
  $(window).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).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).resize(function () { equalHeights(galleryObj.find('.item a span')); })
  });

  function toggleContactWays(target) {
    var relevantPlaceHolder = $(("#" + $(target).attr("aria-controls")));
    var slideDown = !relevantPlaceHolder.is(':visible');
    $('.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).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 ").click();
    $(".comboHolder").find(".customSelect").html("" + title + "");    
  });
};
if ($(".lobbyProduct_goodToKnow").exists()) {
  equalHeights($('.lobbyProduct_goodToKnow a'));
  $(window).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).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 () {
    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 () {
    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).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).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).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_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).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).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()).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').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").click(function (e)
  {
    
    
    e.stopPropagation();
  

  });
  $(".homeHowHelp_dropDown li a").click(function (e) {

    //alert($('a.homeHowHelp_subjectsToggle span').html());
    $('a.homeHowHelp_subjectsToggle span').html($(this).html());
    $('a.homeHowHelp_subjectsToggle').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).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).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($('.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).resize(function() {setup_productsPosition();});
	$(window).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).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).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").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").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', '');
  }
}

