Best JavaScript code snippet using appium
app.slides.js
Source:app.slides.js
1 document.addEventListener('presentationInit', function() {2 var slide = app.slide.s1 = {3 elements: {4 painContent: "#s1_0"5 },6 onEnter: function(slideElement) {7 app.menu.hide();8 util.addClass(slide.element.painContent, 'active');9 presentetion.prev('empty');10 /*пеÑеÑ
од к Ñазделам поÑле пÑоÑ
Ð¾Ð¶Ð´ÐµÐ½Ð¸Ñ Ð¾Ð¿ÑоÑа*/11 // nav_slide = 's8_1',12 // nav_dir = 's8_1s';13 // $('.nav_btn').on(ev, function() {14 // app.goTo(nav_dir, nav_slide);15 // nav_slide = $(this).attr('data-slide');16 // nav_dir = $(this).attr('data-dir');17 // console.log(nav_dir, nav_slide);18 // });19 },20 onExit: function(slideElement) {21 submitSlideExit('s1');22 }23 }24 });25 document.addEventListener('presentationInit', function() {26 var slide = app.slide.s1_1 = {27 elements: {28 painContent: "#s1_1_2"29 },30 onEnter: function(slideElement) {31 app.menu.show();32 util.addClass(slide.element.painContent, 'active');33 presentetion.menuTop("empty");34 presentetion.bgStyle('Qlaira_Vita', 'bg_s1_', 35);35 presentetion.prev('qlaira', 'qlaira_1', "s1_1");36 //submitSlideEnter('slideId', 'slideName', slideIndex, 'parentName', 'grandparentName');37 submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');38 },39 onExit: function(slideElement) {40 submitSlideExit('s1_1');41 }42 }43 });44 document.addEventListener('presentationInit', function() {45 var slide = app.slide.s1_10 = {46 elements: {47 painContent: "#s1_10_2"48 },49 onEnter: function(slideElement) {50 app.menu.show();51 util.addClass(slide.element.painContent, 'active');52 presentetion.prev('qlaira', 'qlaira_3', "s1_10");53 submitSlideEnter('s1_10', '10', 10, '10', 'A WH_Beauty_1_cycle_2015');54 },55 onExit: function(slideElement) {56 submitSlideExit('s1_10');57 }58 }59 });60 function tapWindow1_10(n) {61 var a = document.getElementById('window' + n);62 var b = document.getElementsByClassName('tapsWindow1-10');63 for (var i = 0; i < b.length; i++) {64 b[i].addClass('hiddenWindow');65 }66 a.removeClass('hiddenWindow');67 };68 document.addEventListener('presentationInit', function() {69 var slide = app.slide.s1_11 = {70 elements: {71 painContent: "#s1_11_2"72 },73 onEnter: function(slideElement) {74 app.menu.show();75 util.addClass(slide.element.painContent, 'active');76 presentetion.prev('qlaira', 'qlaira_3', "s1_11");77 submitSlideEnter('s1_11', '11', 11, '11', 'A WH_Beauty_1_cycle_2015');78 },79 onExit: function(slideElement) {80 submitSlideExit('s1_11');81 }82 }83 });84 document.addEventListener('presentationInit', function() {85 var slide = app.slide.s1_12 = {86 elements: {87 painContent: "#s1_12_2"88 },89 onEnter: function(slideElement) {90 app.menu.show();91 util.addClass(slide.element.painContent, 'active');92 presentetion.prev('qlaira', 'qlaira_3', "s1_12");93 submitSlideEnter('s1_12', '12', 12, '12', 'A WH_Beauty_1_cycle_2015');94 },95 onExit: function(slideElement) {96 submitSlideExit('s1_12');97 }98 }99 });100 document.addEventListener('presentationInit', function() {101 var slide = app.slide.s1_13 = {102 elements: {103 painContent: "#s1_13_2"104 },105 onEnter: function(slideElement) {106 app.menu.show();107 util.addClass(slide.element.painContent, 'active');108 presentetion.prev('qlaira', 'qlaira_4', "s1_13");109 submitSlideEnter('s1_13', '13', 13, '13', 'A WH_Beauty_1_cycle_2015');110 },111 onExit: function(slideElement) {112 submitSlideExit('s1_13');113 }114 }115 });116 document.addEventListener('presentationInit', function() {117 var slide = app.slide.s1_14 = {118 elements: {119 painContent: "#s1_14_2"120 },121 onEnter: function(slideElement) {122 app.menu.show();123 util.addClass(slide.element.painContent, 'active');124 presentetion.prev('qlaira', 'qlaira_4', "s1_14");125 submitSlideEnter('s1_14', '14', 14, '14', 'A WH_Beauty_1_cycle_2015');126 },127 onExit: function(slideElement) {128 submitSlideExit('s1_14');129 }130 }131 });132 document.addEventListener('presentationInit', function() {133 var slide = app.slide.s1_15 = {134 elements: {135 painContent: "#s1_15_2"136 },137 onEnter: function(slideElement) {138 app.menu.show();139 util.addClass(slide.element.painContent, 'active');140 presentetion.prev('qlaira', 'qlaira_4', "s1_15");141 submitSlideEnter('s1_15', '15', 15, '15', 'A WH_Beauty_1_cycle_2015');142 },143 onExit: function(slideElement) {144 submitSlideExit('s1_15');145 }146 }147 });148 document.addEventListener('presentationInit', function() {149 var slide = app.slide.s1_16 = {150 elements: {151 painContent: "#s1_16_2"152 },153 onEnter: function(slideElement) {154 app.menu.show();155 util.addClass(slide.element.painContent, 'active');156 presentetion.prev('qlaira', 'qlaira_4', "s1_16");157 submitSlideEnter('s1_16', '16', 16, '16', 'A WH_Beauty_1_cycle_2015');158 },159 onExit: function(slideElement) {160 submitSlideExit('s1_16');161 }162 }163 });164 document.addEventListener('presentationInit', function() {165 var slide = app.slide.s1_17 = {166 elements: {167 painContent: "#s1_17_2"168 },169 onEnter: function(slideElement) {170 app.menu.show();171 util.addClass(slide.element.painContent, 'active');172 presentetion.prev('qlaira', 'qlaira_4', "s1_17");173 submitSlideEnter('s1_17', '17', 17, '17', 'A WH_Beauty_1_cycle_2015');174 },175 onExit: function(slideElement) {176 submitSlideExit('s1_17');177 }178 }179 });180 document.addEventListener('presentationInit', function() {181 var slide = app.slide.s1_18 = {182 elements: {183 painContent: "#s1_18_2"184 },185 onEnter: function(slideElement) {186 app.menu.show();187 util.addClass(slide.element.painContent, 'active');188 presentetion.prev('qlaira', 'qlaira_5', "s1_18");189 submitSlideEnter('s1_18', '18', 18, '18', 'A WH_Beauty_1_cycle_2015');190 },191 onExit: function(slideElement) {192 submitSlideExit('s1_18');193 }194 }195 });196 document.addEventListener('presentationInit', function() {197 var slide = app.slide.s1_19 = {198 elements: {199 painContent: "#s1_19_2"200 },201 onEnter: function(slideElement) {202 app.menu.show();203 util.addClass(slide.element.painContent, 'active');204 presentetion.prev('qlaira', 'qlaira_5', "s1_19");205 submitSlideEnter('s1_19', '19', 19, '19', 'A WH_Beauty_1_cycle_2015');206 },207 onExit: function(slideElement) {208 submitSlideExit('s1_19');209 }210 }211 });212 document.addEventListener('presentationInit', function() {213 var slide = app.slide.s1_2 = {214 elements: {215 painContent: "#s1_2_2"216 },217 onEnter: function(slideElement) {218 app.menu.show();219 util.addClass(slide.element.painContent, 'active');220 presentetion.prev('qlaira', 'qlaira_2', "s1_2");221 submitSlideEnter('s1_2', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');222 },223 onExit: function(slideElement) {224 submitSlideExit('s1_2');225 }226 }227 });228 document.addEventListener('presentationInit', function() {229 var slide = app.slide.s1_20 = {230 elements: {231 painContent: "#s1_20_2"232 },233 onEnter: function(slideElement) {234 app.menu.show();235 util.addClass(slide.element.painContent, 'active');236 presentetion.prev('qlaira', 'qlaira_5', "s1_20");237 submitSlideEnter('s1_20', '20', 20, '20', 'A WH_Beauty_1_cycle_2015');238 },239 onExit: function(slideElement) {240 submitSlideExit('s1_20');241 }242 }243 });244 document.addEventListener('presentationInit', function() {245 var slide = app.slide.s1_21 = {246 elements: {247 painContent: "#s1_21_2"248 },249 onEnter: function(slideElement) {250 app.menu.show();251 util.addClass(slide.element.painContent, 'active');252 presentetion.prev('qlaira', 'qlaira_6', "s1_21");253 submitSlideEnter('s1_21', '21', 21, '21', 'A WH_Beauty_1_cycle_2015');254 },255 onExit: function(slideElement) {256 submitSlideExit('s1_21');257 }258 }259 });260 document.addEventListener('presentationInit', function() {261 var slide = app.slide.s1_22 = {262 elements: {263 painContent: "#s1_22_2"264 },265 onEnter: function(slideElement) {266 app.menu.show();267 util.addClass(slide.element.painContent, 'active');268 presentetion.prev('qlaira', 'qlaira_6', "s1_22");269 submitSlideEnter('s1_22', '22', 22, '22', 'A WH_Beauty_1_cycle_2015');270 },271 onExit: function(slideElement) {272 submitSlideExit('s1_22');273 }274 }275 });276 document.addEventListener('presentationInit', function() {277 var slide = app.slide.s1_23 = {278 elements: {279 painContent: "#s1_23_2"280 },281 onEnter: function(slideElement) {282 app.menu.show();283 util.addClass(slide.element.painContent, 'active');284 presentetion.prev('qlaira', 'qlaira_6', "s1_23");285 submitSlideEnter('s1_23', '23', 23, '23', 'A WH_Beauty_1_cycle_2015');286 },287 onExit: function(slideElement) {288 submitSlideExit('s1_23');289 }290 }291 });292 document.addEventListener('presentationInit', function() {293 var slide = app.slide.s1_24 = {294 elements: {295 painContent: "#s1_24_2"296 },297 onEnter: function(slideElement) {298 app.menu.show();299 util.addClass(slide.element.painContent, 'active');300 presentetion.prev('qlaira', 'qlaira_6', "s1_24");301 submitSlideEnter('s1_24', '24', 24, '24', 'A WH_Beauty_1_cycle_2015');302 },303 onExit: function(slideElement) {304 submitSlideExit('s1_24');305 }306 }307 });308 document.addEventListener('presentationInit', function() {309 var slide = app.slide.s1_25 = {310 elements: {311 painContent: "#s1_25_2"312 },313 onEnter: function(slideElement) {314 app.menu.show();315 util.addClass(slide.element.painContent, 'active');316 presentetion.prev('qlaira', 'qlaira_6', "s1_25");317 },318 onExit: function(slideElement) {319 submitSlideExit('s1_25');320 }321 }322 });323 document.addEventListener('presentationInit', function() {324 var slide = app.slide.s1_26 = {325 elements: {326 painContent: "#s1_26_2"327 },328 onEnter: function(slideElement) {329 app.menu.show();330 util.addClass(slide.element.painContent, 'active');331 presentetion.prev('qlaira', 'qlaira_6', "s1_26");332 submitSlideEnter('s1_26', '26', 26, '26', 'A WH_Beauty_1_cycle_2015');333 },334 onExit: function(slideElement) {335 submitSlideExit('s1_26');336 }337 }338 });339 document.addEventListener('presentationInit', function() {340 var slide = app.slide.s1_27 = {341 elements: {342 painContent: "#s1_27_2"343 },344 onEnter: function(slideElement) {345 app.menu.show();346 util.addClass(slide.element.painContent, 'active');347 presentetion.prev('qlaira', 'qlaira_6', "s1_27");348 submitSlideEnter('s1_27', '27', 27, '27', 'A WH_Beauty_1_cycle_2015');349 },350 onExit: function(slideElement) {351 submitSlideExit('s1_27');352 }353 }354 });355 document.addEventListener('presentationInit', function() {356 var slide = app.slide.s1_28 = {357 elements: {358 painContent: "#s1_28_2"359 },360 onEnter: function(slideElement) {361 app.menu.show();362 util.addClass(slide.element.painContent, 'active');363 presentetion.prev('qlaira', 'qlaira_7', "s1_28");364 submitSlideEnter('s1_28', '28', 28, '28', 'A WH_Beauty_1_cycle_2015');365 function hiddenImg() {366 var a = document.getElementById('step1');367 a.addClass('activeHidden');368 };369 setTimeout(hiddenImg, 9000);370 },371 onExit: function(slideElement) {372 submitSlideExit('s1_28');373 }374 }375 });376 document.addEventListener('presentationInit', function() {377 var slide = app.slide.s1_29 = {378 elements: {379 painContent: "#s1_29_2"380 },381 onEnter: function(slideElement) {382 app.menu.show();383 util.addClass(slide.element.painContent, 'active');384 presentetion.prev('qlaira', 'qlaira_7', "s1_29");385 submitSlideEnter('s1_29', '29', 29, '29', 'A WH_Beauty_1_cycle_2015');386 },387 onExit: function(slideElement) {388 submitSlideExit('s1_29');389 }390 }391 });392 document.addEventListener('presentationInit', function() {393 var slide = app.slide.s1_3 = {394 elements: {395 painContent: "#s1_3_2"396 },397 onEnter: function(slideElement) {398 app.menu.show();399 util.addClass(slide.element.painContent, 'active');400 presentetion.prev('qlaira', 'qlaira_2', "s1_3");401 submitSlideEnter('s1_3', '3', 3, '3', 'A WH_Beauty_1_cycle_2015');402 },403 onExit: function(slideElement) {404 submitSlideExit('s1_3');405 }406 }407 });408 document.addEventListener('presentationInit', function() {409 var slide = app.slide.s1_30 = {410 elements: {411 painContent: "#s1_30_2"412 },413 onEnter: function(slideElement) {414 app.menu.show();415 util.addClass(slide.element.painContent, 'active');416 document.getElementById('popup_s1_30__1').addClass('active');417 presentetion.prev('qlaira', 'qlaira_7', "s1_30");418 submitSlideEnter('s1_30', '30', 30, '30', 'A WH_Beauty_1_cycle_2015');419 },420 onExit: function(slideElement) {421 submitSlideExit('s1_30');422 presentetion.closePopup();423 }424 }425 });426 document.addEventListener('presentationInit', function() {427 var slide = app.slide.s1_31 = {428 elements: {429 painContent: "#s1_31_2"430 },431 onEnter: function(slideElement) {432 app.menu.show();433 util.addClass(slide.element.painContent, 'active');434 presentetion.prev('qlaira', 'qlaira_7', "s1_31");435 submitSlideEnter('s1_31', '31', 31, '31', 'A WH_Beauty_1_cycle_2015');436 },437 onExit: function(slideElement) {438 submitSlideExit('s1_31');439 }440 }441 });442 document.addEventListener('presentationInit', function() {443 var slide = app.slide.s1_32 = {444 elements: {445 painContent: "#s1_32_2"446 },447 onEnter: function(slideElement) {448 app.menu.show();449 util.addClass(slide.element.painContent, 'active');450 document.getElementById('animation_s1_32').addClass('active');451 presentetion.prev('qlaira', 'qlaira_7', "s1_32");452 submitSlideEnter('s1_32', '32', 32, '32', 'A WH_Beauty_1_cycle_2015');453 },454 onExit: function(slideElement) {455 submitSlideExit('s1_32');456 }457 }458 });459 document.addEventListener('presentationInit', function() {460 var slide = app.slide.s1_33 = {461 elements: {462 painContent: "#s1_33_2"463 },464 onEnter: function(slideElement) {465 app.menu.show();466 util.addClass(slide.element.painContent, 'active');467 document.getElementById('animation_s1_33').addClass('active');468 presentetion.prev('qlaira', 'qlaira_7', "s1_33");469 submitSlideEnter('s1_33', '33', 33, '33', 'A WH_Beauty_1_cycle_2015');470 },471 onExit: function(slideElement) {472 submitSlideExit('s1_33');473 }474 }475 });476 document.addEventListener('presentationInit', function() {477 var slide = app.slide.s1_34 = {478 elements: {479 painContent: "#s1_34_2"480 },481 onEnter: function(slideElement) {482 app.menu.show();483 util.addClass(slide.element.painContent, 'active');484 document.getElementById('popup_s1_34__1').addClass('active');485 presentetion.prev('qlaira', 'qlaira_7', "s1_34");486 submitSlideEnter('s1_34', '34', 34, '34', 'A WH_Beauty_1_cycle_2015');487 },488 onExit: function(slideElement) {489 submitSlideExit('s1_34');490 }491 }492 });493 document.addEventListener('presentationInit', function() {494 var slide = app.slide.s1_35 = {495 elements: {496 painContent: "#s1_35_2"497 },498 onEnter: function(slideElement) {499 app.menu.show();500 util.addClass(slide.element.painContent, 'active');501 document.getElementById('animation_s1_35').addClass('active');502 presentetion.prev('qlaira', 'qlaira_7', "s1_35");503 submitSlideEnter('s1_35', '35', 35, '35', 'A WH_Beauty_1_cycle_2015');504 },505 onExit: function(slideElement) {506 submitSlideExit('s1_35');507 }508 }509 });510 document.addEventListener('presentationInit', function() {511 var slide = app.slide.s1_4 = {512 elements: {513 painContent: "#s1_4_2"514 },515 onEnter: function(slideElement) {516 app.menu.show();517 util.addClass(slide.element.painContent, 'active');518 presentetion.prev('qlaira', 'qlaira_2', "s1_4");519 submitSlideEnter('s1_4', '4', 4, '4', 'A WH_Beauty_1_cycle_2015');520 },521 onExit: function(slideElement) {522 submitSlideExit('s1_4');523 presentetion.closePopup();524 }525 }526 });527 document.addEventListener('presentationInit', function() {528 var slide = app.slide.s1_5 = {529 elements: {530 painContent: "#s1_5_2"531 },532 onEnter: function(slideElement) {533 app.menu.show();534 util.addClass(slide.element.painContent, 'active');535 presentetion.prev('qlaira', 'qlaira_2', "s1_5");536 submitSlideEnter('s1_5', '5', 5, '5', 'A WH_Beauty_1_cycle_2015');537 },538 onExit: function(slideElement) {539 submitSlideExit('s1_5');540 }541 }542 });543 document.addEventListener('presentationInit', function() {544 var slide = app.slide.s1_6 = {545 elements: {546 painContent: "#s1_6_2"547 },548 onEnter: function(ele) {549 app.menu.show();550 util.addClass(slide.element.painContent, 'active');551 presentetion.prev('qlaira', 'qlaira_2', "s1_6");552 submitSlideEnter('s1_6', '6', 6, '6', 'A WH_Beauty_1_cycle_2015');553 },554 onExit: function(ele) {555 submitSlideExit('s1_6');556 }557 };558 });559 function openWindowSolo1_6(n) {560 var a = document.getElementById('window' + n);561 a.addClass('active');562 };563 document.addEventListener('presentationInit', function() {564 var slide = app.slide.s1_7 = {565 elements: {566 painContent: "#s1_7_2"567 },568 onEnter: function(slideElement) {569 app.menu.show();570 util.addClass(slide.element.painContent, 'active');571 presentetion.prev('qlaira', 'qlaira_2', "s1_7");572 submitSlideEnter('s1_7', '7', 7, '7', 'A WH_Beauty_1_cycle_2015');573 },574 onExit: function(slideElement) {575 submitSlideExit('s1_7');576 }577 }578 });579 document.addEventListener('presentationInit', function() {580 var slide = app.slide.s1_8 = {581 elements: {582 painContent: "#s1_8_2"583 },584 onEnter: function(slideElement) {585 app.menu.show();586 util.addClass(slide.element.painContent, 'active');587 document.getElementById('wrapper_s1_8').addClass('active');588 presentetion.prev('qlaira', 'qlaira_2', "s1_8");589 submitSlideEnter('s1_8', '8', 8, '8', 'A WH_Beauty_1_cycle_2015');590 },591 onExit: function(slideElement) {592 submitSlideExit('s1_8');593 }594 }595 });596 document.addEventListener('presentationInit', function() {597 var slide = app.slide.s1_9 = {598 elements: {599 painContent: "#s1_9_2"600 },601 onEnter: function(slideElement) {602 app.menu.show();603 util.addClass(slide.element.painContent, 'active');604 document.getElementById('animation_s1_9').addClass('active');605 presentetion.prev('qlaira', 'qlaira_2', "s1_9");606 submitSlideEnter('s1_9', '9', 9, '9', 'A WH_Beauty_1_cycle_2015');607 },608 onExit: function(slideElement) {609 submitSlideExit('s1_9');610 }611 }612 });613 document.addEventListener('presentationInit', function() {614 var slide = app.slide.s2_1 = {615 elements: {616 painContent: "#s1_2_1"617 },618 onEnter: function(slideElement) {619 app.menu.show();620 util.addClass(slide.element.painContent, 'active');621 presentetion.bgStyle('Vis', 'Vis_', 36);622 presentetion.prev('vis', 'vis_1', "s2_1");623 //submitSlideEnter('slideId', 'slideName', slideIndex, 'parentName', 'grandparentName');624 submitSlideEnter('s2_1', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');625 scrolNav();626 },627 onExit: function(slideElement) {628 submitSlideExit('s2_1');629 }630 }631 });632 document.addEventListener('presentationInit', function() {633 var slide = app.slide.s2_10 = {634 elements: {635 painContent: "#s1_2_10"636 },637 onEnter: function(slideElement) {638 app.menu.show();639 util.addClass(slide.element.painContent, 'active');640 presentetion.prev('vis', 'vis_4', "s2_10");641 submitSlideEnter('s2_10', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');642 },643 onExit: function(slideElement) {644 util.removeClass(slide.element.painContent, 'active');645 submitSlideExit('s2_10');646 }647 }648 });649 document.addEventListener('presentationInit', function() {650 var slide = app.slide.s2_11 = {651 elements: {652 painContent: "#s1_2_11"653 },654 onEnter: function(slideElement) {655 app.menu.show();656 util.addClass(slide.element.painContent, 'active');657 presentetion.prev('vis', 'vis_4', "s2_11");658 submitSlideEnter('s2_11', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');659 },660 onExit: function(slideElement) {661 util.removeClass(slide.element.painContent, 'active');662 submitSlideExit('s2_11');663 }664 }665 });666 document.addEventListener('presentationInit', function() {667 var slide = app.slide.s2_12 = {668 elements: {669 painContent: "#s1_2_12"670 },671 onEnter: function(slideElement) {672 app.menu.show();673 util.addClass(slide.element.painContent, 'active');674 presentetion.prev('vis', 'vis_4', "s2_12");675 submitSlideEnter('s2_12', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');676 },677 onExit: function(slideElement) {678 util.removeClass(slide.element.painContent, 'active');679 submitSlideExit('s2_12');680 }681 }682 });683 document.addEventListener('presentationInit', function() {684 var slide = app.slide.s2_13 = {685 elements: {686 painContent: "#s1_2_13"687 },688 onEnter: function(slideElement) {689 app.menu.show();690 util.addClass(slide.element.painContent, 'active');691 presentetion.prev('vis', 'vis_4', "s2_13");692 submitSlideEnter('s2_13', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');693 },694 onExit: function(slideElement) {695 util.removeClass(slide.element.painContent, 'active');696 submitSlideExit('s2_13');697 }698 }699 });700 document.addEventListener('presentationInit', function() {701 var slide = app.slide.s2_14 = {702 elements: {703 painContent: "#s1_2_14"704 },705 onEnter: function(slideElement) {706 app.menu.show();707 util.addClass(slide.element.painContent, 'active');708 presentetion.prev('vis', 'vis_5', "s2_14");709 submitSlideEnter('s2_14', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');710 },711 onExit: function(slideElement) {712 /*util.removeClass(slide.element.painContent,'active');*/713 submitSlideExit('s2_14');714 }715 }716 });717 document.addEventListener('presentationInit', function() {718 var slide = app.slide.s2_15 = {719 elements: {720 painContent: "#s1_2_15"721 },722 onEnter: function(slideElement) {723 app.menu.show();724 util.addClass(slide.element.painContent, 'active');725 presentetion.prev('vis', 'vis_5', "s2_15");726 submitSlideEnter('s2_15', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');727 },728 onExit: function(slideElement) {729 /*util.removeClass(slide.element.painContent,'active');*/730 submitSlideExit('s2_15');731 }732 }733 });734 document.addEventListener('presentationInit', function() {735 var slide = app.slide.s2_16 = {736 elements: {737 painContent: "#s1_2_16"738 },739 onEnter: function(slideElement) {740 app.menu.show();741 util.addClass(slide.element.painContent, 'active');742 presentetion.prev('vis', 'vis_5', "s2_16");743 submitSlideEnter('s2_16', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');744 },745 onExit: function(slideElement) {746 /*util.removeClass(slide.element.painContent,'active');*/747 submitSlideExit('s2_16');748 }749 }750 });751 document.addEventListener('presentationInit', function() {752 var slide = app.slide.s2_17 = {753 elements: {754 painContent: "#s1_2_17"755 },756 onEnter: function(slideElement) {757 app.menu.show();758 util.addClass(slide.element.painContent, 'active');759 presentetion.prev('vis', 'vis_6', "s2_17");760 submitSlideEnter('s2_17', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');761 },762 onExit: function(slideElement) {763 /*util.removeClass(slide.element.painContent,'active');*/764 submitSlideExit('s2_17');765 }766 }767 });768 document.addEventListener('presentationInit', function() {769 var slide = app.slide.s2_18 = {770 elements: {771 painContent: "#s1_2_18"772 },773 onEnter: function(slideElement) {774 app.menu.show();775 util.addClass(slide.element.painContent, 'active');776 presentetion.prev('vis', 'vis_6', "s2_18");777 submitSlideEnter('s2_18', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');778 },779 onExit: function(slideElement) {780 /*util.removeClass(slide.element.painContent,'active');*/781 submitSlideExit('s2_18');782 }783 }784 });785 document.addEventListener('presentationInit', function() {786 var slide = app.slide.s2_19 = {787 elements: {788 painContent: "#s1_2_19"789 },790 onEnter: function(slideElement) {791 app.menu.show();792 util.addClass(slide.element.painContent, 'active');793 presentetion.prev('vis', 'vis_7', "s2_19");794 submitSlideEnter('s2_19', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');795 },796 onExit: function(slideElement) {797 /*util.removeClass(slide.element.painContent,'active');*/798 submitSlideExit('s2_19');799 }800 }801 });802 document.addEventListener('presentationInit', function() {803 var slide = app.slide.s2_2 = {804 elements: {805 painContent: "#s1_2_2"806 },807 onEnter: function(slideElement) {808 app.menu.show();809 util.addClass(slide.element.painContent, 'active');810 presentetion.prev('vis', 'vis_2', "s2_2");811 submitSlideEnter('s2_1', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');812 },813 onExit: function(slideElement) {814 submitSlideExit('s2_1');815 }816 }817 });818 document.addEventListener('presentationInit', function() {819 var slide = app.slide.s2_20 = {820 elements: {821 painContent: "#s1_2_20"822 },823 onEnter: function(slideElement) {824 app.menu.show();825 util.addClass(slide.element.painContent, 'active');826 presentetion.prev('vis', 'vis_7', "s2_20");827 submitSlideEnter('s2_20', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');828 },829 onExit: function(slideElement) {830 /*util.removeClass(slide.element.painContent,'active');*/831 submitSlideExit('s2_20');832 }833 }834 });835 document.addEventListener('presentationInit', function() {836 var slide = app.slide.s2_21 = {837 elements: {838 painContent: "#s1_2_21"839 },840 onEnter: function(slideElement) {841 app.menu.show();842 util.addClass(slide.element.painContent, 'active');843 presentetion.prev('vis', 'vis_7', "s2_21");844 submitSlideEnter('s2_21', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');845 },846 onExit: function(slideElement) {847 /*util.removeClass(slide.element.painContent,'active');*/848 submitSlideExit('s2_21');849 }850 }851 });852 document.addEventListener('presentationInit', function() {853 var slide = app.slide.s2_22 = {854 elements: {855 painContent: "#s1_2_22"856 },857 onEnter: function(slideElement) {858 app.menu.show();859 util.addClass(slide.element.painContent, 'active');860 presentetion.prev('vis', 'vis_8', "s2_22");861 submitSlideEnter('s2_22', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');862 },863 onExit: function(slideElement) {864 /*util.removeClass(slide.element.painContent,'active');*/865 submitSlideExit('s2_22');866 }867 }868 });869 document.addEventListener('presentationInit', function() {870 var slide = app.slide.s2_23 = {871 elements: {872 painContent: "#s1_2_23"873 },874 onEnter: function(slideElement) {875 app.menu.show();876 util.addClass(slide.element.painContent, 'active');877 presentetion.prev('vis', 'vis_8', "s2_23");878 submitSlideEnter('s2_23', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');879 },880 onExit: function(slideElement) {881 /*util.removeClass(slide.element.painContent,'active');*/882 submitSlideExit('s2_23');883 }884 }885 });886 document.addEventListener('presentationInit', function() {887 var slide = app.slide.s2_24 = {888 elements: {889 painContent: "#s1_2_24"890 },891 onEnter: function(slideElement) {892 app.menu.show();893 util.addClass(slide.element.painContent, 'active');894 presentetion.prev('vis', 'vis_8', "s2_24");895 submitSlideEnter('s2_24', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');896 },897 onExit: function(slideElement) {898 /*util.removeClass(slide.element.painContent,'active');*/899 submitSlideExit('s2_24');900 }901 }902 });903 document.addEventListener('presentationInit', function() {904 var slide = app.slide.s2_25 = {905 elements: {906 painContent: "#s1_2_25"907 },908 onEnter: function(slideElement) {909 app.menu.show();910 util.addClass(slide.element.painContent, 'active');911 presentetion.prev('vis', 'vis_9', "s2_25");912 submitSlideEnter('s2_25', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');913 },914 onExit: function(slideElement) {915 /*util.removeClass(slide.element.painContent,'active');*/916 submitSlideExit('s2_25');917 }918 }919 });920 document.addEventListener('presentationInit', function() {921 var slide = app.slide.s2_26 = {922 elements: {923 painContent: "#s1_2_26"924 },925 onEnter: function(slideElement) {926 app.menu.show();927 util.addClass(slide.element.painContent, 'active');928 presentetion.prev('vis', 'vis_9', "s2_26");929 submitSlideEnter('s2_26', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');930 },931 onExit: function(slideElement) {932 /*util.removeClass(slide.element.painContent,'active');*/933 submitSlideExit('s2_26');934 }935 }936 });937 document.addEventListener('presentationInit', function() {938 var slide = app.slide.s2_27 = {939 elements: {940 painContent: "#s1_2_27"941 },942 onEnter: function(slideElement) {943 app.menu.show();944 util.addClass(slide.element.painContent, 'active');945 presentetion.prev('vis', 'vis_9', "s2_27");946 submitSlideEnter('s2_27', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');947 },948 onExit: function(slideElement) {949 /*util.removeClass(slide.element.painContent,'active');*/950 submitSlideExit('s2_27');951 }952 }953 });954 document.addEventListener('presentationInit', function() {955 var slide = app.slide.s2_28 = {956 elements: {957 painContent: "#s1_2_28"958 },959 onEnter: function(slideElement) {960 app.menu.show();961 util.addClass(slide.element.painContent, 'active');962 presentetion.prev('vis', 'vis_9', "s2_28");963 submitSlideEnter('s2_28', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');964 },965 onExit: function(slideElement) {966 /*util.removeClass(slide.element.painContent,'active');*/967 submitSlideExit('s2_28');968 }969 }970 });971 document.addEventListener('presentationInit', function() {972 var slide = app.slide.s2_29 = {973 elements: {974 painContent: "#s1_2_29"975 },976 onEnter: function(slideElement) {977 app.menu.show();978 util.addClass(slide.element.painContent, 'active');979 presentetion.prev('vis', 'vis_9', "s2_29");980 submitSlideEnter('s2_29', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');981 },982 onExit: function(slideElement) {983 /*util.removeClass(slide.element.painContent,'active');*/984 submitSlideExit('s2_29');985 }986 }987 });988 document.addEventListener('presentationInit', function() {989 var slide = app.slide.s2_3 = {990 elements: {991 painContent: "#s1_2_3"992 },993 onEnter: function(slideElement) {994 app.menu.show();995 util.addClass(slide.element.painContent, 'active');996 presentetion.prev('vis', 'vis_2', "s2_3");997 submitSlideEnter('s2_1', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');998 },999 onExit: function(slideElement) {1000 submitSlideExit('s2_1');1001 }1002 }1003 });1004 document.addEventListener('presentationInit', function() {1005 var slide = app.slide.s2_30 = {1006 elements: {1007 painContent: "#s1_2_30"1008 },1009 onEnter: function(slideElement) {1010 app.menu.show();1011 util.addClass(slide.element.painContent, 'active');1012 presentetion.prev('vis', 'vis_10', "s2_30");1013 submitSlideEnter('s2_30', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1014 },1015 onExit: function(slideElement) {1016 /*util.removeClass(slide.element.painContent,'active');*/1017 submitSlideExit('s2_30');1018 }1019 }1020 });1021 document.addEventListener('presentationInit', function() {1022 var slide = app.slide.s2_31 = {1023 elements: {1024 painContent: "#s1_2_31"1025 },1026 onEnter: function(slideElement) {1027 app.menu.show();1028 util.addClass(slide.element.painContent, 'active');1029 presentetion.prev('vis', 'vis_10', "s2_31");1030 submitSlideEnter('s2_31', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1031 },1032 onExit: function(slideElement) {1033 /*util.removeClass(slide.element.painContent,'active');*/1034 submitSlideExit('s2_31');1035 }1036 }1037 });1038 document.addEventListener('presentationInit', function() {1039 var slide = app.slide.s2_32 = {1040 elements: {1041 painContent: "#s1_2_32"1042 },1043 onEnter: function(slideElement) {1044 app.menu.show();1045 util.addClass(slide.element.painContent, 'active');1046 presentetion.prev('vis', 'vis_10', "s2_32");1047 submitSlideEnter('s2_32', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1048 },1049 onExit: function(slideElement) {1050 /*util.removeClass(slide.element.painContent,'active');*/1051 submitSlideExit('s2_32');1052 }1053 }1054 });1055 document.addEventListener('presentationInit', function() {1056 var slide = app.slide.s2_33 = {1057 elements: {1058 painContent: "#s1_2_33"1059 },1060 onEnter: function(slideElement) {1061 app.menu.show();1062 util.addClass(slide.element.painContent, 'active');1063 presentetion.prev('vis', 'vis_10', "s2_33");1064 submitSlideEnter('s2_33', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1065 },1066 onExit: function(slideElement) {1067 /*util.removeClass(slide.element.painContent,'active');*/1068 submitSlideExit('s2_33');1069 }1070 }1071 });1072 document.addEventListener('presentationInit', function() {1073 var slide = app.slide.s2_34 = {1074 elements: {1075 painContent: "#s1_2_34"1076 },1077 onEnter: function(slideElement) {1078 app.menu.show();1079 util.addClass(slide.element.painContent, 'active');1080 presentetion.prev('vis', 'vis_10', "s2_34");1081 submitSlideEnter('s2_34', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1082 },1083 onExit: function(slideElement) {1084 /*util.removeClass(slide.element.painContent,'active');*/1085 submitSlideExit('s2_34');1086 }1087 }1088 });1089 document.addEventListener('presentationInit', function() {1090 var slide = app.slide.s2_35 = {1091 elements: {1092 painContent: "#s1_2_35"1093 },1094 onEnter: function(slideElement) {1095 app.menu.show();1096 util.addClass(slide.element.painContent, 'active');1097 presentetion.prev('vis', 'vis_10', "s2_35");1098 submitSlideEnter('s2_35', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1099 },1100 onExit: function(slideElement) {1101 /*util.removeClass(slide.element.painContent,'active');*/1102 submitSlideExit('s2_35');1103 }1104 }1105 });1106 document.addEventListener('presentationInit', function() {1107 var slide = app.slide.s2_36 = {1108 elements: {1109 painContent: "#s1_2_36"1110 },1111 onEnter: function(slideElement) {1112 app.menu.show();1113 util.addClass(slide.element.painContent, 'active');1114 presentetion.prev('vis', 'vis_10', "s2_36");1115 submitSlideEnter('s2_36', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1116 },1117 onExit: function(slideElement) {1118 /*util.removeClass(slide.element.painContent,'active');*/1119 submitSlideExit('s2_36');1120 }1121 }1122 });1123 document.addEventListener('presentationInit', function() {1124 var slide = app.slide.s2_4 = {1125 elements: {1126 painContent: "#s1_2_4"1127 },1128 onEnter: function(slideElement) {1129 app.menu.show();1130 util.addClass(slide.element.painContent, 'active');1131 presentetion.prev('vis', 'vis_2', "s2_4");1132 submitSlideEnter('s2_4', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1133 },1134 onExit: function(slideElement) {1135 util.removeClass(slide.element.painContent, 'active');1136 submitSlideExit('s2_4');1137 }1138 }1139 });1140 document.addEventListener('presentationInit', function() {1141 var slide = app.slide.s2_5 = {1142 elements: {1143 painContent: "#s1_2_5"1144 },1145 onEnter: function(slideElement) {1146 app.menu.show();1147 util.addClass(slide.element.painContent, 'active');1148 presentetion.prev('vis', 'vis_2', "s2_5");1149 submitSlideEnter('s2_5', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1150 },1151 onExit: function(slideElement) {1152 util.removeClass(slide.element.painContent, 'active');1153 submitSlideExit('s2_4');1154 }1155 }1156 });1157 document.addEventListener('presentationInit', function() {1158 var slide = app.slide.s2_6 = {1159 elements: {1160 painContent: "#s1_2_6"1161 },1162 onEnter: function(slideElement) {1163 app.menu.show();1164 util.addClass(slide.element.painContent, 'active');1165 presentetion.prev('vis', 'vis_3', "s2_6");1166 submitSlideEnter('s2_6', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1167 },1168 onExit: function(slideElement) {1169 util.removeClass(slide.element.painContent, 'active');1170 submitSlideExit('s2_6');1171 }1172 }1173 });1174 document.addEventListener('presentationInit', function() {1175 var slide = app.slide.s2_7 = {1176 elements: {1177 painContent: "#s1_2_7"1178 },1179 onEnter: function(slideElement) {1180 app.menu.show();1181 util.addClass(slide.element.painContent, 'active');1182 presentetion.prev('vis', 'vis_3', "s2_7");1183 submitSlideEnter('s2_7', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1184 },1185 onExit: function(slideElement) {1186 util.removeClass(slide.element.painContent, 'active');1187 submitSlideExit('s2_7');1188 }1189 }1190 });1191 document.addEventListener('presentationInit', function() {1192 var slide = app.slide.s2_8 = {1193 elements: {1194 painContent: "#s1_2_8"1195 },1196 onEnter: function(slideElement) {1197 app.menu.show();1198 util.addClass(slide.element.painContent, 'active');1199 presentetion.prev('vis', 'vis_3', "s2_8");1200 submitSlideEnter('s2_8', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1201 },1202 onExit: function(slideElement) {1203 util.removeClass(slide.element.painContent, 'active');1204 submitSlideExit('s2_8');1205 }1206 }1207 });1208 document.addEventListener('presentationInit', function() {1209 var slide = app.slide.s2_9 = {1210 elements: {1211 painContent: "#s1_2_9"1212 },1213 onEnter: function(slideElement) {1214 app.menu.show();1215 util.addClass(slide.element.painContent, 'active');1216 presentetion.prev('vis', 'vis_4', "s2_9");1217 submitSlideEnter('s2_9', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1218 },1219 onExit: function(slideElement) {1220 util.removeClass(slide.element.painContent, 'active');1221 submitSlideExit('s2_9');1222 }1223 }1224 });1225 document.addEventListener('presentationInit', function() {1226 var slide = app.slide.s3_0 = {1227 elements: {1228 painContent: "#s1_3_0"1229 },1230 onEnter: function(slideElement) {1231 app.menu.show();1232 util.addClass(slide.element.painContent, 'active');1233 presentetion.menuTop("Flex");1234 presentetion.menuTopSelected("menu_top_1");1235 presentetion.bgStyle('flex', 'Flex_', 141);1236 presentetion.prev('empty');1237 submitSlideEnter('s3_0', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1238 },1239 onExit: function(slideElement) {1240 submitSlideExit('s3_0');1241 }1242 }1243 });1244 document.addEventListener('presentationInit', function() {1245 var slide = app.slide.s3_1 = {1246 elements: {1247 painContent: "#s1_3_1"1248 },1249 onEnter: function(slideElement) {1250 app.menu.show();1251 util.addClass(slide.element.painContent, 'active');1252 presentetion.menuTop("Flex");1253 presentetion.menuTopSelected("menu_top_2");1254 presentetion.bgStyle('flex', 'Flex_', 141);1255 presentetion.prev('flex', 'flex_1', "s3_1");1256 submitSlideEnter('s3_1', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1257 },1258 onExit: function(slideElement) {1259 submitSlideExit('s3_1');1260 }1261 }1262 });1263 document.addEventListener('presentationInit', function() {1264 var slide = app.slide.s3_10 = {1265 elements: {1266 painContent: "#s1_3_10"1267 },1268 onEnter: function(slideElement) {1269 app.menu.show();1270 util.addClass(slide.element.painContent, 'active');1271 presentetion.menuTopSelected("menu_top_2");1272 presentetion.prev('flex', 'flex_2', "s3_10");1273 submitSlideEnter('s3_10', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1274 },1275 onExit: function(slideElement) {1276 submitSlideExit('s3_10');1277 }1278 }1279 });1280 document.addEventListener('presentationInit', function() {1281 var slide = app.slide.s3_100 = {1282 elements: {1283 painContent: "#s1_3_100"1284 },1285 onEnter: function(slideElement) {1286 app.menu.show();1287 util.addClass(slide.element.painContent, 'active');1288 presentetion.menuTop("Flex");1289 presentetion.menuTopSelected("menu_top_3");1290 presentetion.bgStyle('flex', 'Flex_', 141);1291 presentetion.prev('flex_v8', 'flex_15', "s3_100");1292 submitSlideEnter('s3_100', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1293 },1294 onExit: function(slideElement) {1295 submitSlideExit('s3_100');1296 }1297 }1298 });1299 document.addEventListener('presentationInit', function() {1300 var slide = app.slide.s3_101 = {1301 elements: {1302 painContent: "#s1_3_101"1303 },1304 onEnter: function(slideElement) {1305 app.menu.show();1306 util.addClass(slide.element.painContent, 'active');1307 presentetion.menuTop("Flex");1308 presentetion.menuTopSelected("menu_top_3");1309 presentetion.bgStyle('flex', 'Flex_', 141);1310 presentetion.prev('flex_v8', 'flex_15', "s3_101");1311 submitSlideEnter('s3_101', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1312 },1313 onExit: function(slideElement) {1314 submitSlideExit('s3_101');1315 }1316 }1317 });1318 document.addEventListener('presentationInit', function() {1319 var slide = app.slide.s3_102 = {1320 elements: {1321 painContent: "#s1_3_102"1322 },1323 onEnter: function(slideElement) {1324 app.menu.show();1325 util.addClass(slide.element.painContent, 'active');1326 presentetion.menuTopSelected("menu_top_3");1327 presentetion.prev('flex_v8', 'flex_15', "s3_102");1328 submitSlideEnter('s3_102', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1329 },1330 onExit: function(slideElement) {1331 submitSlideExit('s3_102');1332 }1333 }1334 });1335 document.addEventListener('presentationInit', function() {1336 var slide = app.slide.s3_103 = {1337 elements: {1338 painContent: "#s1_3_103"1339 },1340 onEnter: function(slideElement) {1341 app.menu.show();1342 util.addClass(slide.element.painContent, 'active');1343 presentetion.menuTopSelected("menu_top_3");1344 presentetion.prev('flex_v8', 'flex_15', "s3_103");1345 submitSlideEnter('s3_103', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1346 },1347 onExit: function(slideElement) {1348 submitSlideExit('s3_103');1349 }1350 }1351 });1352 document.addEventListener('presentationInit', function() {1353 var slide = app.slide.s3_104 = {1354 elements: {1355 painContent: "#s1_3_104"1356 },1357 onEnter: function(slideElement) {1358 app.menu.show();1359 util.addClass(slide.element.painContent, 'active');1360 presentetion.menuTopSelected("menu_top_3");1361 presentetion.prev('flex_v8', 'flex_15', "s3_104");1362 submitSlideEnter('s3_104', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1363 },1364 onExit: function(slideElement) {1365 submitSlideExit('s3_104');1366 }1367 }1368 });1369 document.addEventListener('presentationInit', function() {1370 var slide = app.slide.s3_105 = {1371 elements: {1372 painContent: "#s1_3_105"1373 },1374 onEnter: function(slideElement) {1375 app.menu.show();1376 util.addClass(slide.element.painContent, 'active');1377 presentetion.menuTopSelected("menu_top_3");1378 presentetion.prev('flex_v8', 'flex_15', "s3_105");1379 submitSlideEnter('s3_105', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1380 },1381 onExit: function(slideElement) {1382 submitSlideExit('s3_105');1383 }1384 }1385 });1386 document.addEventListener('presentationInit', function() {1387 var slide = app.slide.s3_106 = {1388 elements: {1389 painContent: "#s1_3_106"1390 },1391 onEnter: function(slideElement) {1392 app.menu.show();1393 util.addClass(slide.element.painContent, 'active');1394 presentetion.menuTopSelected("menu_top_3");1395 presentetion.prev('flex_v8', 'flex_15', "s3_106");1396 submitSlideEnter('s3_106', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1397 },1398 onExit: function(slideElement) {1399 submitSlideExit('s3_106');1400 }1401 }1402 });1403 document.addEventListener('presentationInit', function() {1404 var slide = app.slide.s3_107 = {1405 elements: {1406 painContent: "#s1_3_107"1407 },1408 onEnter: function(slideElement) {1409 app.menu.show();1410 util.addClass(slide.element.painContent, 'active');1411 presentetion.menuTopSelected("menu_top_3");1412 presentetion.prev('flex_v8', 'flex_15', "s3_107");1413 submitSlideEnter('s3_107', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1414 },1415 onExit: function(slideElement) {1416 submitSlideExit('s3_107');1417 }1418 }1419 });1420 document.addEventListener('presentationInit', function() {1421 var slide = app.slide.s3_108 = {1422 elements: {1423 painContent: "#s1_3_108"1424 },1425 onEnter: function(slideElement) {1426 app.menu.show();1427 util.addClass(slide.element.painContent, 'active');1428 presentetion.menuTopSelected("menu_top_3");1429 presentetion.prev('flex_v8', 'flex_15', "s3_108");1430 submitSlideEnter('s3_108', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1431 },1432 onExit: function(slideElement) {1433 submitSlideExit('s3_108');1434 }1435 }1436 });1437 document.addEventListener('presentationInit', function() {1438 var slide = app.slide.s3_109 = {1439 elements: {1440 painContent: "#s1_3_109"1441 },1442 onEnter: function(slideElement) {1443 app.menu.show();1444 util.addClass(slide.element.painContent, 'active');1445 presentetion.menuTopSelected("menu_top_3");1446 presentetion.prev('flex_v8', 'flex_15', "s3_109");1447 submitSlideEnter('s3_109', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1448 },1449 onExit: function(slideElement) {1450 submitSlideExit('s3_109');1451 }1452 }1453 });1454 document.addEventListener('presentationInit', function() {1455 var slide = app.slide.s3_11 = {1456 elements: {1457 painContent: "#s1_3_11"1458 },1459 onEnter: function(slideElement) {1460 app.menu.show();1461 util.addClass(slide.element.painContent, 'active');1462 presentetion.menuTopSelected("menu_top_2");1463 presentetion.prev('flex', 'flex_2', "s3_11");1464 submitSlideEnter('s3_11', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1465 },1466 onExit: function(slideElement) {1467 submitSlideExit('s3_11');1468 }1469 }1470 });1471 document.addEventListener('presentationInit', function() {1472 var slide = app.slide.s3_110 = {1473 elements: {1474 painContent: "#s1_3_110"1475 },1476 onEnter: function(slideElement) {1477 app.menu.show();1478 util.addClass(slide.element.painContent, 'active');1479 presentetion.menuTopSelected("menu_top_3");1480 presentetion.prev('flex_v8', 'flex_15', "s3_110");1481 submitSlideEnter('s3_110', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1482 },1483 onExit: function(slideElement) {1484 submitSlideExit('s3_110');1485 }1486 }1487 });1488 document.addEventListener('presentationInit', function() {1489 var slide = app.slide.s3_111 = {1490 elements: {1491 painContent: "#s1_3_111"1492 },1493 onEnter: function(slideElement) {1494 app.menu.show();1495 util.addClass(slide.element.painContent, 'active');1496 presentetion.menuTop("Flex");1497 presentetion.menuTopSelected("menu_top_3");1498 presentetion.bgStyle('flex', 'Flex_', 141);1499 presentetion.prev('flex_v1', 'flex_16', "s3_111");1500 submitSlideEnter('s3_111', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1501 },1502 onExit: function(slideElement) {1503 submitSlideExit('s3_111');1504 }1505 }1506 });1507 document.addEventListener('presentationInit', function() {1508 var slide = app.slide.s3_112 = {1509 elements: {1510 painContent: "#s1_3_112"1511 },1512 onEnter: function(slideElement) {1513 app.menu.show();1514 util.addClass(slide.element.painContent, 'active');1515 presentetion.menuTop("Flex");1516 presentetion.menuTopSelected("menu_top_3");1517 presentetion.bgStyle('flex', 'Flex_', 141);1518 presentetion.prev('flex_v1', 'flex_16', "s3_112");1519 submitSlideEnter('s3_112', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1520 },1521 onExit: function(slideElement) {1522 submitSlideExit('s3_112');1523 }1524 }1525 });1526 document.addEventListener('presentationInit', function() {1527 var slide = app.slide.s3_113 = {1528 elements: {1529 painContent: "#s1_3_113"1530 },1531 onEnter: function(slideElement) {1532 app.menu.show();1533 util.addClass(slide.element.painContent, 'active');1534 presentetion.menuTopSelected("menu_top_3");1535 presentetion.prev('flex_v1', 'flex_16', "s3_113");1536 submitSlideEnter('s3_113', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1537 },1538 onExit: function(slideElement) {1539 submitSlideExit('s3_113');1540 }1541 }1542 });1543 document.addEventListener('presentationInit', function() {1544 var slide = app.slide.s3_114 = {1545 elements: {1546 painContent: "#s1_3_114"1547 },1548 onEnter: function(slideElement) {1549 app.menu.show();1550 util.addClass(slide.element.painContent, 'active');1551 presentetion.menuTopSelected("menu_top_3");1552 presentetion.prev('flex_v1', 'flex_16', "s3_114");1553 submitSlideEnter('s3_114', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1554 },1555 onExit: function(slideElement) {1556 submitSlideExit('s3_114');1557 }1558 }1559 });1560 document.addEventListener('presentationInit', function() {1561 var slide = app.slide.s3_115 = {1562 elements: {1563 painContent: "#s1_3_115"1564 },1565 onEnter: function(slideElement) {1566 app.menu.show();1567 util.addClass(slide.element.painContent, 'active');1568 presentetion.menuTopSelected("menu_top_3");1569 presentetion.prev('flex_v1', 'flex_16', "s3_115");1570 submitSlideEnter('s3_115', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1571 $('#s3_115__slider').slider({1572 value: 1,1573 min: 1,1574 max: 14,1575 step: 1,1576 slide: function(event, ui) {1577 var val = ui.value;1578 $('.s3_115__juice').removeClass('s3_115__juice--full');1579 $('.s3_115__juice').addClass(function(index) {1580 if (index < val) {1581 return 's3_115__juice--full';1582 }1583 });1584 if (val >= 9) {1585 $('#popup_s3_115').addClass('popup_s3_115--right');1586 } else {1587 $('#popup_s3_115').removeClass('popup_s3_115--right');1588 }1589 }1590 });1591 },1592 onExit: function(slideElement) {1593 submitSlideExit('s3_115');1594 $('.s3_115__juice').removeClass('s3_115__juice--full');1595 $('.s3_115__juice').eq(0).addClass('s3_115__juice--full');1596 }1597 }1598 });1599 document.addEventListener('presentationInit', function() {1600 var slide = app.slide.s3_116 = {1601 elements: {1602 painContent: "#s1_3_116"1603 },1604 onEnter: function(slideElement) {1605 app.menu.show();1606 util.addClass(slide.element.painContent, 'active');1607 presentetion.menuTopSelected("menu_top_3");1608 presentetion.prev('flex_v1', 'flex_16', "s3_116");1609 submitSlideEnter('s3_116', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1610 },1611 onExit: function(slideElement) {1612 submitSlideExit('s3_116');1613 }1614 }1615 });1616 document.addEventListener('presentationInit', function() {1617 var slide = app.slide.s3_117 = {1618 elements: {1619 painContent: "#s1_3_117"1620 },1621 onEnter: function(slideElement) {1622 app.menu.show();1623 util.addClass(slide.element.painContent, 'active');1624 presentetion.menuTopSelected("menu_top_3");1625 presentetion.prev('flex_v1', 'flex_16', "s3_117");1626 submitSlideEnter('s3_117', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1627 },1628 onExit: function(slideElement) {1629 submitSlideExit('s3_117');1630 }1631 }1632 });1633 document.addEventListener('presentationInit', function() {1634 var slide = app.slide.s3_118 = {1635 elements: {1636 painContent: "#s1_3_118"1637 },1638 onEnter: function(slideElement) {1639 app.menu.show();1640 util.addClass(slide.element.painContent, 'active');1641 presentetion.menuTopSelected("menu_top_3");1642 presentetion.prev('flex_v1', 'flex_16', "s3_118");1643 submitSlideEnter('s3_118', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1644 },1645 onExit: function(slideElement) {1646 submitSlideExit('s3_118');1647 }1648 }1649 });1650 document.addEventListener('presentationInit', function() {1651 var slide = app.slide.s3_119 = {1652 elements: {1653 painContent: "#s1_3_119"1654 },1655 onEnter: function(slideElement) {1656 app.menu.show();1657 util.addClass(slide.element.painContent, 'active');1658 presentetion.menuTopSelected("menu_top_3");1659 presentetion.prev('flex_v1', 'flex_16', "s3_119");1660 submitSlideEnter('s3_119', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1661 },1662 onExit: function(slideElement) {1663 submitSlideExit('s3_119');1664 }1665 }1666 });1667 document.addEventListener('presentationInit', function() {1668 var slide = app.slide.s3_12 = {1669 elements: {1670 painContent: "#s1_3_12"1671 },1672 onEnter: function(slideElement) {1673 app.menu.show();1674 util.addClass(slide.element.painContent, 'active');1675 presentetion.menuTopSelected("menu_top_2");1676 presentetion.prev('flex', 'flex_2', "s3_12");1677 submitSlideEnter('s3_12', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1678 },1679 onExit: function(slideElement) {1680 submitSlideExit('s3_12');1681 }1682 }1683 });1684 document.addEventListener('presentationInit', function() {1685 var slide = app.slide.s3_120 = {1686 elements: {1687 painContent: "#s1_3_120"1688 },1689 onEnter: function(slideElement) {1690 app.menu.show();1691 util.addClass(slide.element.painContent, 'active');1692 presentetion.menuTopSelected("menu_top_3");1693 presentetion.prev('flex_v1', 'flex_16', "s3_120");1694 submitSlideEnter('s3_120', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1695 },1696 onExit: function(slideElement) {1697 submitSlideExit('s3_120');1698 }1699 }1700 });1701 document.addEventListener('presentationInit', function() {1702 var slide = app.slide.s3_121 = {1703 elements: {1704 painContent: "#s1_3_121"1705 },1706 onEnter: function(slideElement) {1707 app.menu.show();1708 util.addClass(slide.element.painContent, 'active');1709 presentetion.menuTopSelected("menu_top_3");1710 presentetion.prev('flex_v1', 'flex_16', "s3_121");1711 submitSlideEnter('s3_121', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1712 },1713 onExit: function(slideElement) {1714 submitSlideExit('s3_121');1715 }1716 }1717 });1718 document.addEventListener('presentationInit', function() {1719 var slide = app.slide.s3_122 = {1720 elements: {1721 painContent: "#s1_3_122"1722 },1723 onEnter: function(slideElement) {1724 app.menu.show();1725 util.addClass(slide.element.painContent, 'active');1726 presentetion.menuTopSelected("menu_top_3");1727 presentetion.prev('flex_v1', 'flex_16', "s3_122");1728 submitSlideEnter('s3_122', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1729 },1730 onExit: function(slideElement) {1731 submitSlideExit('s3_122');1732 }1733 }1734 });1735 document.addEventListener('presentationInit', function() {1736 var slide = app.slide.s3_123 = {1737 elements: {1738 painContent: "#s1_3_123"1739 },1740 onEnter: function(slideElement) {1741 app.menu.show();1742 util.addClass(slide.element.painContent, 'active');1743 presentetion.menuTop("Flex");1744 presentetion.menuTopSelected("menu_top_4");1745 presentetion.bgStyle('flex', 'Flex_', 141);1746 presentetion.prev('flex_q', 'flex_17', "s3_123");1747 submitSlideEnter('s3_123', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1748 },1749 onExit: function(slideElement) {1750 submitSlideExit('s3_123');1751 }1752 }1753 });1754 document.addEventListener('presentationInit', function() {1755 var slide = app.slide.s3_124 = {1756 elements: {1757 painContent: "#s1_3_124"1758 },1759 onEnter: function(slideElement) {1760 app.menu.show();1761 util.addClass(slide.element.painContent, 'active');1762 presentetion.menuTopSelected("menu_top_4");1763 presentetion.prev('flex_q', 'flex_17', "s3_124");1764 submitSlideEnter('s3_124', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1765 },1766 onExit: function(slideElement) {1767 submitSlideExit('s3_124');1768 }1769 }1770 });1771 document.addEventListener('presentationInit', function() {1772 var slide = app.slide.s3_125 = {1773 elements: {1774 painContent: "#s1_3_125"1775 },1776 onEnter: function(slideElement) {1777 app.menu.show();1778 util.addClass(slide.element.painContent, 'active');1779 presentetion.menuTopSelected("menu_top_4");1780 presentetion.prev('flex_q', 'flex_17', "s3_125");1781 submitSlideEnter('s3_125', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1782 },1783 onExit: function(slideElement) {1784 submitSlideExit('s3_125');1785 }1786 }1787 });1788 document.addEventListener('presentationInit', function() {1789 var slide = app.slide.s3_126 = {1790 elements: {1791 painContent: "#s1_3_126"1792 },1793 onEnter: function(slideElement) {1794 app.menu.show();1795 util.addClass(slide.element.painContent, 'active');1796 presentetion.menuTopSelected("menu_top_4");1797 presentetion.prev('flex_q', 'flex_17', "s3_126");1798 submitSlideEnter('s3_126', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1799 },1800 onExit: function(slideElement) {1801 submitSlideExit('s3_126');1802 }1803 }1804 });1805 document.addEventListener('presentationInit', function() {1806 var slide = app.slide.s3_127 = {1807 elements: {1808 painContent: "#s1_3_127"1809 },1810 onEnter: function(slideElement) {1811 app.menu.show();1812 util.addClass(slide.element.painContent, 'active');1813 presentetion.menuTopSelected("menu_top_4");1814 presentetion.prev('flex_q', 'flex_17', "s3_127");1815 submitSlideEnter('s3_127', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1816 },1817 onExit: function(slideElement) {1818 submitSlideExit('s3_127');1819 }1820 }1821 });1822 document.addEventListener('presentationInit', function() {1823 var slide = app.slide.s3_128 = {1824 elements: {1825 painContent: "#s1_3_128"1826 },1827 onEnter: function(slideElement) {1828 app.menu.show();1829 util.addClass(slide.element.painContent, 'active');1830 presentetion.menuTopSelected("menu_top_4");1831 presentetion.prev('flex_q', 'flex_18', "s3_128");1832 submitSlideEnter('s3_128', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1833 },1834 onExit: function(slideElement) {1835 submitSlideExit('s3_128');1836 }1837 }1838 });1839 document.addEventListener('presentationInit', function() {1840 var slide = app.slide.s3_129 = {1841 elements: {1842 painContent: "#s1_3_129"1843 },1844 onEnter: function(slideElement) {1845 app.menu.show();1846 util.addClass(slide.element.painContent, 'active');1847 presentetion.menuTopSelected("menu_top_4");1848 presentetion.prev('flex_q', 'flex_18', "s3_129");1849 submitSlideEnter('s3_129', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1850 },1851 onExit: function(slideElement) {1852 submitSlideExit('s3_129');1853 }1854 }1855 });1856 document.addEventListener('presentationInit', function() {1857 var slide = app.slide.s3_13 = {1858 elements: {1859 painContent: "#s1_3_13"1860 },1861 onEnter: function(slideElement) {1862 app.menu.show();1863 util.addClass(slide.element.painContent, 'active');1864 presentetion.menuTopSelected("menu_top_2");1865 presentetion.prev('flex', 'flex_3', "s3_13");1866 submitSlideEnter('s3_13', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1867 },1868 onExit: function(slideElement) {1869 submitSlideExit('s3_13');1870 }1871 }1872 });1873 document.addEventListener('presentationInit', function() {1874 var slide = app.slide.s3_130 = {1875 elements: {1876 painContent: "#s1_3_130"1877 },1878 onEnter: function(slideElement) {1879 app.menu.show();1880 util.addClass(slide.element.painContent, 'active');1881 presentetion.menuTopSelected("menu_top_4");1882 presentetion.prev('flex_q', 'flex_18', "s3_130");1883 submitSlideEnter('s3_130', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1884 },1885 onExit: function(slideElement) {1886 submitSlideExit('s3_130');1887 }1888 }1889 });1890 document.addEventListener('presentationInit', function() {1891 var slide = app.slide.s3_131 = {1892 elements: {1893 painContent: "#s1_3_131"1894 },1895 onEnter: function(slideElement) {1896 app.menu.show();1897 util.addClass(slide.element.painContent, 'active');1898 presentetion.menuTopSelected("menu_top_4");1899 presentetion.prev('flex_q', 'flex_19', "s3_131");1900 submitSlideEnter('s3_131', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1901 },1902 onExit: function(slideElement) {1903 submitSlideExit('s3_131');1904 }1905 }1906 });1907 document.addEventListener('presentationInit', function() {1908 var slide = app.slide.s3_132 = {1909 elements: {1910 painContent: "#s1_3_132"1911 },1912 onEnter: function(slideElement) {1913 app.menu.show();1914 util.addClass(slide.element.painContent, 'active');1915 presentetion.menuTopSelected("menu_top_4");1916 presentetion.prev('flex_q', 'flex_19', "s3_132");1917 submitSlideEnter('s3_132', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1918 },1919 onExit: function(slideElement) {1920 submitSlideExit('s3_132');1921 }1922 }1923 });1924 document.addEventListener('presentationInit', function() {1925 var slide = app.slide.s3_133 = {1926 elements: {1927 painContent: "#s1_3_133"1928 },1929 onEnter: function(slideElement) {1930 app.menu.show();1931 util.addClass(slide.element.painContent, 'active');1932 presentetion.menuTopSelected("menu_top_4");1933 presentetion.prev('flex_q', 'flex_20', "s3_133");1934 submitSlideEnter('s3_133', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1935 },1936 onExit: function(slideElement) {1937 submitSlideExit('s3_133');1938 }1939 }1940 });1941 document.addEventListener('presentationInit', function() {1942 var slide = app.slide.s3_134 = {1943 elements: {1944 painContent: "#s1_3_134"1945 },1946 onEnter: function(slideElement) {1947 app.menu.show();1948 util.addClass(slide.element.painContent, 'active');1949 presentetion.menuTopSelected("menu_top_4");1950 presentetion.prev('flex_q', 'flex_20', "s3_134");1951 submitSlideEnter('s3_134', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1952 },1953 onExit: function(slideElement) {1954 submitSlideExit('s3_134');1955 }1956 }1957 });1958 document.addEventListener('presentationInit', function() {1959 var slide = app.slide.s3_135 = {1960 elements: {1961 painContent: "#s1_3_135"1962 },1963 onEnter: function(slideElement) {1964 app.menu.show();1965 util.addClass(slide.element.painContent, 'active');1966 presentetion.menuTopSelected("menu_top_4");1967 presentetion.prev('flex_q', 'flex_20', "s3_135");1968 submitSlideEnter('s3_135', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1969 },1970 onExit: function(slideElement) {1971 submitSlideExit('s3_135');1972 }1973 }1974 });1975 document.addEventListener('presentationInit', function() {1976 var slide = app.slide.s3_136 = {1977 elements: {1978 painContent: "#s1_3_136"1979 },1980 onEnter: function(slideElement) {1981 app.menu.show();1982 util.addClass(slide.element.painContent, 'active');1983 presentetion.menuTopSelected("menu_top_4");1984 presentetion.prev('flex_q', 'flex_21', "s3_136");1985 submitSlideEnter('s3_136', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');1986 },1987 onExit: function(slideElement) {1988 submitSlideExit('s3_136');1989 }1990 }1991 });1992 document.addEventListener('presentationInit', function() {1993 var slide = app.slide.s3_137 = {1994 elements: {1995 painContent: "#s1_3_137"1996 },1997 onEnter: function(slideElement) {1998 app.menu.show();1999 util.addClass(slide.element.painContent, 'active');2000 presentetion.menuTopSelected("menu_top_4");2001 presentetion.prev('flex_q', 'flex_21', "s3_137");2002 submitSlideEnter('s3_137', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2003 },2004 onExit: function(slideElement) {2005 submitSlideExit('s3_137');2006 }2007 }2008 });2009 document.addEventListener('presentationInit', function() {2010 var slide = app.slide.s3_138 = {2011 elements: {2012 painContent: "#s1_3_138"2013 },2014 onEnter: function(slideElement) {2015 app.menu.show();2016 util.addClass(slide.element.painContent, 'active');2017 presentetion.menuTopSelected("menu_top_4");2018 presentetion.prev('flex_q', 'flex_21', "s3_138");2019 submitSlideEnter('s3_138', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2020 },2021 onExit: function(slideElement) {2022 submitSlideExit('s3_138');2023 }2024 }2025 });2026 document.addEventListener('presentationInit', function() {2027 var slide = app.slide.s3_139 = {2028 elements: {2029 painContent: "#s1_3_139"2030 },2031 onEnter: function(slideElement) {2032 app.menu.show();2033 util.addClass(slide.element.painContent, 'active');2034 presentetion.menuTopSelected("menu_top_4");2035 presentetion.prev('flex_q', 'flex_21', "s3_139");2036 submitSlideEnter('s3_139', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2037 },2038 onExit: function(slideElement) {2039 submitSlideExit('s3_139');2040 }2041 }2042 });2043 document.addEventListener('presentationInit', function() {2044 var slide = app.slide.s3_14 = {2045 elements: {2046 painContent: "#s1_3_14"2047 },2048 onEnter: function(slideElement) {2049 app.menu.show();2050 util.addClass(slide.element.painContent, 'active');2051 presentetion.menuTopSelected("menu_top_2");2052 presentetion.prev('flex', 'flex_3', "s3_14");2053 submitSlideEnter('s3_14', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2054 },2055 onExit: function(slideElement) {2056 submitSlideExit('s3_14');2057 }2058 }2059 });2060 document.addEventListener('presentationInit', function() {2061 var slide = app.slide.s3_140 = {2062 elements: {2063 painContent: "#s1_3_140"2064 },2065 onEnter: function(slideElement) {2066 app.menu.show();2067 util.addClass(slide.element.painContent, 'active');2068 presentetion.menuTopSelected("menu_top_4");2069 presentetion.prev('flex_q', 'flex_21', "s3_140");2070 submitSlideEnter('s3_140', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2071 },2072 onExit: function(slideElement) {2073 submitSlideExit('s3_140');2074 }2075 }2076 });2077 document.addEventListener('presentationInit', function() {2078 var slide = app.slide.s3_141 = {2079 elements: {2080 painContent: "#s1_3_141"2081 },2082 onEnter: function(slideElement) {2083 app.menu.show();2084 util.addClass(slide.element.painContent, 'active');2085 presentetion.menuTopSelected("menu_top_4");2086 presentetion.prev('flex_q', 'flex_21', "s3_141");2087 submitSlideEnter('s3_141', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2088 },2089 onExit: function(slideElement) {2090 submitSlideExit('s3_141');2091 }2092 }2093 });2094 document.addEventListener('presentationInit', function() {2095 var slide = app.slide.s3_15 = {2096 elements: {2097 painContent: "#s1_3_15"2098 },2099 onEnter: function(slideElement) {2100 app.menu.show();2101 util.addClass(slide.element.painContent, 'active');2102 presentetion.menuTopSelected("menu_top_2");2103 presentetion.prev('flex', 'flex_3', "s3_15");2104 submitSlideEnter('s3_15', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2105 },2106 onExit: function(slideElement) {2107 submitSlideExit('s3_15');2108 }2109 }2110 });2111 document.addEventListener('presentationInit', function() {2112 var slide = app.slide.s3_16 = {2113 elements: {2114 painContent: "#s1_3_16"2115 },2116 onEnter: function(slideElement) {2117 app.menu.show();2118 util.addClass(slide.element.painContent, 'active');2119 presentetion.menuTopSelected("menu_top_2");2120 presentetion.prev('flex', 'flex_4', "s3_16");2121 submitSlideEnter('s3_16', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2122 },2123 onExit: function(slideElement) {2124 submitSlideExit('s3_16');2125 }2126 }2127 });2128 document.addEventListener('presentationInit', function() {2129 var slide = app.slide.s3_17 = {2130 elements: {2131 painContent: "#s1_3_17"2132 },2133 onEnter: function(slideElement) {2134 app.menu.show();2135 util.addClass(slide.element.painContent, 'active');2136 presentetion.menuTopSelected("menu_top_2");2137 presentetion.prev('flex', 'flex_4', "s3_17");2138 submitSlideEnter('s3_17', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2139 },2140 onExit: function(slideElement) {2141 submitSlideExit('s3_17');2142 }2143 }2144 });2145 document.addEventListener('presentationInit', function() {2146 var slide = app.slide.s3_18 = {2147 elements: {2148 painContent: "#s1_3_18"2149 },2150 onEnter: function(slideElement) {2151 app.menu.show();2152 util.addClass(slide.element.painContent, 'active');2153 presentetion.menuTopSelected("menu_top_2");2154 presentetion.prev('flex', 'flex_4', "s3_18");2155 submitSlideEnter('s3_18', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2156 },2157 onExit: function(slideElement) {2158 submitSlideExit('s3_18');2159 }2160 }2161 });2162 document.addEventListener('presentationInit', function() {2163 var slide = app.slide.s3_19 = {2164 elements: {2165 painContent: "#s1_3_19"2166 },2167 onEnter: function(slideElement) {2168 app.menu.show();2169 util.addClass(slide.element.painContent, 'active');2170 presentetion.menuTopSelected("menu_top_2");2171 presentetion.prev('flex', 'flex_5', "s3_19");2172 submitSlideEnter('s3_19', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2173 },2174 onExit: function(slideElement) {2175 submitSlideExit('s3_19');2176 }2177 }2178 });2179 document.addEventListener('presentationInit', function() {2180 var slide = app.slide.s3_2 = {2181 elements: {2182 painContent: "#s1_3_2"2183 },2184 onEnter: function(slideElement) {2185 app.menu.show();2186 util.addClass(slide.element.painContent, 'active');2187 presentetion.menuTopSelected("menu_top_2");2188 presentetion.prev('flex', 'flex_1', "s3_2");2189 submitSlideEnter('s3_2', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2190 },2191 onExit: function(slideElement) {2192 submitSlideExit('s3_1');2193 }2194 }2195 });2196 document.addEventListener('presentationInit', function() {2197 var slide = app.slide.s3_20 = {2198 elements: {2199 painContent: "#s1_3_20"2200 },2201 onEnter: function(slideElement) {2202 app.menu.show();2203 util.addClass(slide.element.painContent, 'active');2204 presentetion.menuTopSelected("menu_top_2");2205 presentetion.prev('flex', 'flex_5', "s3_20");2206 submitSlideEnter('s3_20', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2207 },2208 onExit: function(slideElement) {2209 submitSlideExit('s3_20');2210 }2211 }2212 });2213 document.addEventListener('presentationInit', function() {2214 var slide = app.slide.s3_21 = {2215 elements: {2216 painContent: "#s1_3_21"2217 },2218 onEnter: function(slideElement) {2219 app.menu.show();2220 util.addClass(slide.element.painContent, 'active');2221 presentetion.menuTopSelected("menu_top_2");2222 presentetion.prev('flex', 'flex_5', "s3_21");2223 submitSlideEnter('s3_21', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2224 },2225 onExit: function(slideElement) {2226 submitSlideExit('s3_21');2227 }2228 }2229 });2230 document.addEventListener('presentationInit', function() {2231 var slide = app.slide.s3_22 = {2232 elements: {2233 painContent: "#s1_3_22"2234 },2235 onEnter: function(slideElement) {2236 app.menu.show();2237 util.addClass(slide.element.painContent, 'active');2238 presentetion.menuTopSelected("menu_top_2");2239 presentetion.prev('flex', 'flex_5', "s3_22");2240 submitSlideEnter('s3_22', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2241 },2242 onExit: function(slideElement) {2243 submitSlideExit('s3_22');2244 }2245 }2246 });2247 document.addEventListener('presentationInit', function() {2248 var slide = app.slide.s3_23 = {2249 elements: {2250 painContent: "#s1_3_23"2251 },2252 onEnter: function(slideElement) {2253 app.menu.show();2254 util.addClass(slide.element.painContent, 'active');2255 presentetion.menuTopSelected("menu_top_2");2256 presentetion.prev('flex', 'flex_6', "s3_23");2257 submitSlideEnter('s3_23', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2258 },2259 onExit: function(slideElement) {2260 submitSlideExit('s3_23');2261 }2262 }2263 });2264 document.addEventListener('presentationInit', function() {2265 var slide = app.slide.s3_24 = {2266 elements: {2267 painContent: "#s1_3_24"2268 },2269 onEnter: function(slideElement) {2270 app.menu.show();2271 util.addClass(slide.element.painContent, 'active');2272 presentetion.menuTopSelected("menu_top_2");2273 presentetion.prev('flex', 'flex_6', "s3_24");2274 submitSlideEnter('s3_24', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2275 },2276 onExit: function(slideElement) {2277 submitSlideExit('s3_24');2278 }2279 }2280 });2281 document.addEventListener('presentationInit', function() {2282 var slide = app.slide.s3_25 = {2283 elements: {2284 painContent: "#s1_3_25"2285 },2286 onEnter: function(slideElement) {2287 app.menu.show();2288 util.addClass(slide.element.painContent, 'active');2289 presentetion.menuTopSelected("menu_top_2");2290 presentetion.prev('flex', 'flex_6', "s3_25");2291 submitSlideEnter('s3_25', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2292 },2293 onExit: function(slideElement) {2294 submitSlideExit('s3_25');2295 }2296 }2297 });2298 document.addEventListener('presentationInit', function() {2299 var slide = app.slide.s3_26 = {2300 elements: {2301 painContent: "#s1_3_26"2302 },2303 onEnter: function(slideElement) {2304 app.menu.show();2305 util.addClass(slide.element.painContent, 'active');2306 presentetion.menuTopSelected("menu_top_2");2307 presentetion.prev('flex', 'flex_6', "s3_26");2308 submitSlideEnter('s3_26', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2309 },2310 onExit: function(slideElement) {2311 submitSlideExit('s3_26');2312 }2313 }2314 });2315 document.addEventListener('presentationInit', function() {2316 var slide = app.slide.s3_27 = {2317 elements: {2318 painContent: "#s1_3_27"2319 },2320 onEnter: function(slideElement) {2321 app.menu.show();2322 util.addClass(slide.element.painContent, 'active');2323 presentetion.menuTopSelected("menu_top_2");2324 presentetion.prev('flex', 'flex_6', "s3_27");2325 submitSlideEnter('s3_27', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2326 },2327 onExit: function(slideElement) {2328 submitSlideExit('s3_27');2329 }2330 }2331 });2332 document.addEventListener('presentationInit', function() {2333 var slide = app.slide.s3_28 = {2334 elements: {2335 painContent: "#s1_3_28"2336 },2337 onEnter: function(slideElement) {2338 app.menu.show();2339 util.addClass(slide.element.painContent, 'active');2340 presentetion.menuTopSelected("menu_top_2");2341 presentetion.prev('flex', 'flex_7', "s3_28");2342 submitSlideEnter('s3_28', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2343 },2344 onExit: function(slideElement) {2345 submitSlideExit('s3_28');2346 }2347 }2348 });2349 document.addEventListener('presentationInit', function() {2350 var slide = app.slide.s3_29 = {2351 elements: {2352 painContent: "#s1_3_29"2353 },2354 onEnter: function(slideElement) {2355 app.menu.show();2356 util.addClass(slide.element.painContent, 'active');2357 presentetion.menuTopSelected("menu_top_2");2358 presentetion.prev('flex', 'flex_8', "s3_29");2359 submitSlideEnter('s3_29', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2360 },2361 onExit: function(slideElement) {2362 submitSlideExit('s3_29');2363 }2364 }2365 });2366 document.addEventListener('presentationInit', function() {2367 var slide = app.slide.s3_3 = {2368 elements: {2369 painContent: "#s1_3_3"2370 },2371 onEnter: function(slideElement) {2372 app.menu.show();2373 util.addClass(slide.element.painContent, 'active');2374 presentetion.menuTopSelected("menu_top_2");2375 presentetion.prev('flex', 'flex_1', "s3_3");2376 submitSlideEnter('s3_1', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2377 },2378 onExit: function(slideElement) {2379 submitSlideExit('s3_1');2380 }2381 }2382 });2383 document.addEventListener('presentationInit', function() {2384 var slide = app.slide.s3_30 = {2385 elements: {2386 painContent: "#s1_3_30"2387 },2388 onEnter: function(slideElement) {2389 app.menu.show();2390 util.addClass(slide.element.painContent, 'active');2391 presentetion.menuTopSelected("menu_top_2");2392 presentetion.prev('flex', 'flex_8', "s3_30");2393 submitSlideEnter('s3_30', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2394 },2395 onExit: function(slideElement) {2396 submitSlideExit('s3_30');2397 }2398 }2399 });2400 document.addEventListener('presentationInit', function() {2401 var slide = app.slide.s3_31 = {2402 elements: {2403 painContent: "#s1_3_31"2404 },2405 onEnter: function(slideElement) {2406 app.menu.show();2407 util.addClass(slide.element.painContent, 'active');2408 presentetion.menuTopSelected("menu_top_2");2409 presentetion.prev('flex', 'flex_8', "s3_31");2410 submitSlideEnter('s3_31', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2411 },2412 onExit: function(slideElement) {2413 submitSlideExit('s3_31');2414 }2415 }2416 });2417 document.addEventListener('presentationInit', function() {2418 var slide = app.slide.s3_32 = {2419 elements: {2420 painContent: "#s1_3_32"2421 },2422 onEnter: function(slideElement) {2423 app.menu.show();2424 util.addClass(slide.element.painContent, 'active');2425 presentetion.menuTop("Flex");2426 presentetion.menuTopSelected("menu_top_3");2427 presentetion.bgStyle('flex', 'Flex_', 141);2428 presentetion.prev('flex_v2', 'flex_9', "s3_32");2429 submitSlideEnter('s3_32', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2430 },2431 onExit: function(slideElement) {2432 submitSlideExit('s3_32');2433 }2434 }2435 });2436 document.addEventListener('presentationInit', function() {2437 var slide = app.slide.s3_33 = {2438 elements: {2439 painContent: "#s1_3_33"2440 },2441 onEnter: function(slideElement) {2442 app.menu.show();2443 util.addClass(slide.element.painContent, 'active');2444 presentetion.menuTop("Flex");2445 presentetion.menuTopSelected("menu_top_3");2446 presentetion.bgStyle('flex', 'Flex_', 141);2447 presentetion.prev('flex_v2', 'flex_9', "s3_33");2448 submitSlideEnter('s3_33', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2449 },2450 onExit: function(slideElement) {2451 submitSlideExit('s3_33');2452 }2453 }2454 });2455 document.addEventListener('presentationInit', function() {2456 var slide = app.slide.s3_34 = {2457 elements: {2458 painContent: "#s1_3_34"2459 },2460 onEnter: function(slideElement) {2461 app.menu.show();2462 util.addClass(slide.element.painContent, 'active');2463 presentetion.menuTopSelected("menu_top_3");2464 presentetion.prev('flex_v2', 'flex_9', "s3_34");2465 submitSlideEnter('s3_34', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2466 },2467 onExit: function(slideElement) {2468 submitSlideExit('s3_34');2469 }2470 }2471 });2472 document.addEventListener('presentationInit', function() {2473 var slide = app.slide.s3_35 = {2474 elements: {2475 painContent: "#s1_3_35"2476 },2477 onEnter: function(slideElement) {2478 app.menu.show();2479 util.addClass(slide.element.painContent, 'active');2480 presentetion.menuTopSelected("menu_top_3");2481 presentetion.prev('flex_v2', 'flex_9', "s3_35");2482 submitSlideEnter('s3_35', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2483 },2484 onExit: function(slideElement) {2485 submitSlideExit('s3_35');2486 }2487 }2488 });2489 document.addEventListener('presentationInit', function() {2490 var slide = app.slide.s3_36 = {2491 elements: {2492 painContent: "#s1_3_36"2493 },2494 onEnter: function(slideElement) {2495 app.menu.show();2496 util.addClass(slide.element.painContent, 'active');2497 presentetion.menuTopSelected("menu_top_3");2498 presentetion.prev('flex_v2', 'flex_9', "s3_36");2499 submitSlideEnter('s3_36', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2500 },2501 onExit: function(slideElement) {2502 submitSlideExit('s3_36');2503 }2504 }2505 });2506 document.addEventListener('presentationInit', function() {2507 var slide = app.slide.s3_37 = {2508 elements: {2509 painContent: "#s1_3_37"2510 },2511 onEnter: function(slideElement) {2512 app.menu.show();2513 util.addClass(slide.element.painContent, 'active');2514 presentetion.menuTopSelected("menu_top_3");2515 presentetion.prev('flex_v2', 'flex_9', "s3_37");2516 submitSlideEnter('s3_37', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2517 },2518 onExit: function(slideElement) {2519 submitSlideExit('s3_37');2520 }2521 }2522 });2523 document.addEventListener('presentationInit', function() {2524 var slide = app.slide.s3_38 = {2525 elements: {2526 painContent: "#s1_3_38"2527 },2528 onEnter: function(slideElement) {2529 app.menu.show();2530 util.addClass(slide.element.painContent, 'active');2531 presentetion.menuTopSelected("menu_top_3");2532 presentetion.prev('flex_v2', 'flex_9', "s3_38");2533 submitSlideEnter('s3_38', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2534 },2535 onExit: function(slideElement) {2536 submitSlideExit('s3_38');2537 }2538 }2539 });2540 document.addEventListener('presentationInit', function() {2541 var slide = app.slide.s3_39 = {2542 elements: {2543 painContent: "#s1_3_39"2544 },2545 onEnter: function(slideElement) {2546 app.menu.show();2547 util.addClass(slide.element.painContent, 'active');2548 presentetion.menuTopSelected("menu_top_3");2549 presentetion.prev('flex_v2', 'flex_9', "s3_39");2550 submitSlideEnter('s3_39', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2551 },2552 onExit: function(slideElement) {2553 submitSlideExit('s3_39');2554 }2555 }2556 });2557 document.addEventListener('presentationInit', function() {2558 var slide = app.slide.s3_4 = {2559 elements: {2560 painContent: "#s1_3_4"2561 },2562 onEnter: function(slideElement) {2563 app.menu.show();2564 util.addClass(slide.element.painContent, 'active');2565 presentetion.menuTopSelected("menu_top_2");2566 presentetion.prev('flex', 'flex_1', "s3_4");2567 submitSlideEnter('s3_4', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2568 },2569 onExit: function(slideElement) {2570 submitSlideExit('s3_4');2571 }2572 }2573 });2574 document.addEventListener('presentationInit', function() {2575 var slide = app.slide.s3_40 = {2576 elements: {2577 painContent: "#s1_3_40"2578 },2579 onEnter: function(slideElement) {2580 app.menu.show();2581 util.addClass(slide.element.painContent, 'active');2582 presentetion.menuTopSelected("menu_top_3");2583 presentetion.prev('flex_v2', 'flex_9', "s3_40");2584 submitSlideEnter('s3_40', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2585 },2586 onExit: function(slideElement) {2587 submitSlideExit('s3_40');2588 }2589 }2590 });2591 document.addEventListener('presentationInit', function() {2592 var slide = app.slide.s3_41 = {2593 elements: {2594 painContent: "#s1_3_41"2595 },2596 onEnter: function(slideElement) {2597 app.menu.show();2598 util.addClass(slide.element.painContent, 'active');2599 presentetion.menuTopSelected("menu_top_3");2600 presentetion.prev('flex_v2', 'flex_9', "s3_41");2601 submitSlideEnter('s3_41', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2602 },2603 onExit: function(slideElement) {2604 submitSlideExit('s3_41');2605 }2606 }2607 });2608 document.addEventListener('presentationInit', function() {2609 var slide = app.slide.s3_42 = {2610 elements: {2611 painContent: "#s1_3_42"2612 },2613 onEnter: function(slideElement) {2614 app.menu.show();2615 util.addClass(slide.element.painContent, 'active');2616 presentetion.menuTop("Flex");2617 presentetion.menuTopSelected("menu_top_3");2618 presentetion.bgStyle('flex', 'Flex_', 141);2619 presentetion.prev('flex_v3', 'flex_10', "s3_42");2620 submitSlideEnter('s3_42', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2621 },2622 onExit: function(slideElement) {2623 submitSlideExit('s3_42');2624 }2625 }2626 });2627 document.addEventListener('presentationInit', function() {2628 var slide = app.slide.s3_43 = {2629 elements: {2630 painContent: "#s1_3_43"2631 },2632 onEnter: function(slideElement) {2633 app.menu.show();2634 util.addClass(slide.element.painContent, 'active');2635 presentetion.menuTop("Flex");2636 presentetion.menuTopSelected("menu_top_3");2637 presentetion.bgStyle('flex', 'Flex_', 141);2638 presentetion.prev('flex_v3', 'flex_10', "s3_43");2639 submitSlideEnter('s3_43', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2640 },2641 onExit: function(slideElement) {2642 submitSlideExit('s3_43');2643 }2644 }2645 });2646 document.addEventListener('presentationInit', function() {2647 var slide = app.slide.s3_44 = {2648 elements: {2649 painContent: "#s1_3_44"2650 },2651 onEnter: function(slideElement) {2652 app.menu.show();2653 util.addClass(slide.element.painContent, 'active');2654 presentetion.menuTopSelected("menu_top_3");2655 presentetion.prev('flex_v3', 'flex_10', "s3_44");2656 submitSlideEnter('s3_44', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2657 },2658 onExit: function(slideElement) {2659 submitSlideExit('s3_44');2660 }2661 }2662 });2663 document.addEventListener('presentationInit', function() {2664 var slide = app.slide.s3_45 = {2665 elements: {2666 painContent: "#s1_3_45"2667 },2668 onEnter: function(slideElement) {2669 app.menu.show();2670 util.addClass(slide.element.painContent, 'active');2671 presentetion.menuTopSelected("menu_top_3");2672 presentetion.prev('flex_v3', 'flex_10', "s3_45");2673 submitSlideEnter('s3_45', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2674 },2675 onExit: function(slideElement) {2676 submitSlideExit('s3_45');2677 }2678 }2679 });2680 document.addEventListener('presentationInit', function() {2681 var slide = app.slide.s3_46 = {2682 elements: {2683 painContent: "#s1_3_46"2684 },2685 onEnter: function(slideElement) {2686 app.menu.show();2687 util.addClass(slide.element.painContent, 'active');2688 presentetion.menuTopSelected("menu_top_3");2689 presentetion.prev('flex_v3', 'flex_10', "s3_46");2690 submitSlideEnter('s3_46', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2691 },2692 onExit: function(slideElement) {2693 submitSlideExit('s3_46');2694 }2695 }2696 });2697 document.addEventListener('presentationInit', function() {2698 var slide = app.slide.s3_47 = {2699 elements: {2700 painContent: "#s1_3_47"2701 },2702 onEnter: function(slideElement) {2703 app.menu.show();2704 util.addClass(slide.element.painContent, 'active');2705 presentetion.menuTopSelected("menu_top_3");2706 presentetion.prev('flex_v3', 'flex_10', "s3_47");2707 submitSlideEnter('s3_47', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2708 },2709 onExit: function(slideElement) {2710 submitSlideExit('s3_47');2711 }2712 }2713 });2714 document.addEventListener('presentationInit', function() {2715 var slide = app.slide.s3_48 = {2716 elements: {2717 painContent: "#s1_3_48"2718 },2719 onEnter: function(slideElement) {2720 app.menu.show();2721 util.addClass(slide.element.painContent, 'active');2722 presentetion.menuTopSelected("menu_top_3");2723 presentetion.prev('flex_v3', 'flex_10', "s3_48");2724 submitSlideEnter('s3_48', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2725 },2726 onExit: function(slideElement) {2727 submitSlideExit('s3_48');2728 }2729 }2730 });2731 document.addEventListener('presentationInit', function() {2732 var slide = app.slide.s3_49 = {2733 elements: {2734 painContent: "#s1_3_49"2735 },2736 onEnter: function(slideElement) {2737 app.menu.show();2738 util.addClass(slide.element.painContent, 'active');2739 presentetion.menuTopSelected("menu_top_3");2740 presentetion.prev('flex_v3', 'flex_10', "s3_49");2741 submitSlideEnter('s3_49', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2742 },2743 onExit: function(slideElement) {2744 submitSlideExit('s3_49');2745 }2746 }2747 });2748 document.addEventListener('presentationInit', function() {2749 var slide = app.slide.s3_5 = {2750 elements: {2751 painContent: "#s1_3_5"2752 },2753 onEnter: function(slideElement) {2754 app.menu.show();2755 util.addClass(slide.element.painContent, 'active');2756 presentetion.menuTopSelected("menu_top_2");2757 presentetion.prev('flex', 'flex_1', "s3_5");2758 submitSlideEnter('s3_5', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2759 },2760 onExit: function(slideElement) {2761 submitSlideExit('s3_4');2762 }2763 }2764 });2765 document.addEventListener('presentationInit', function() {2766 var slide = app.slide.s3_50 = {2767 elements: {2768 painContent: "#s1_3_50"2769 },2770 onEnter: function(slideElement) {2771 app.menu.show();2772 util.addClass(slide.element.painContent, 'active');2773 presentetion.menuTopSelected("menu_top_3");2774 presentetion.prev('flex_v3', 'flex_10', "s3_50");2775 submitSlideEnter('s3_50', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2776 },2777 onExit: function(slideElement) {2778 submitSlideExit('s3_50');2779 }2780 }2781 });2782 document.addEventListener('presentationInit', function() {2783 var slide = app.slide.s3_51 = {2784 elements: {2785 painContent: "#s1_3_51"2786 },2787 onEnter: function(slideElement) {2788 app.menu.show();2789 util.addClass(slide.element.painContent, 'active');2790 presentetion.menuTopSelected("menu_top_3");2791 presentetion.prev('flex_v3', 'flex_10', "s3_51");2792 submitSlideEnter('s3_51', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2793 },2794 onExit: function(slideElement) {2795 submitSlideExit('s3_51');2796 }2797 }2798 });2799 document.addEventListener('presentationInit', function() {2800 var slide = app.slide.s3_52 = {2801 elements: {2802 painContent: "#s1_3_52"2803 },2804 onEnter: function(slideElement) {2805 app.menu.show();2806 util.addClass(slide.element.painContent, 'active');2807 presentetion.menuTopSelected("menu_top_3");2808 presentetion.prev('flex_v3', 'flex_10', "s3_52");2809 submitSlideEnter('s3_52', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2810 },2811 onExit: function(slideElement) {2812 submitSlideExit('s3_52');2813 }2814 }2815 });2816 document.addEventListener('presentationInit', function() {2817 var slide = app.slide.s3_53 = {2818 elements: {2819 painContent: "#s1_3_53"2820 },2821 onEnter: function(slideElement) {2822 app.menu.show();2823 util.addClass(slide.element.painContent, 'active');2824 presentetion.menuTop("Flex");2825 presentetion.menuTopSelected("menu_top_3");2826 presentetion.bgStyle('flex', 'Flex_', 141);2827 presentetion.prev('flex_v5', 'flex_11', "s3_53");2828 submitSlideEnter('s3_53', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2829 },2830 onExit: function(slideElement) {2831 submitSlideExit('s3_53');2832 }2833 }2834 });2835 document.addEventListener('presentationInit', function() {2836 var slide = app.slide.s3_54 = {2837 elements: {2838 painContent: "#s1_3_54"2839 },2840 onEnter: function(slideElement) {2841 app.menu.show();2842 util.addClass(slide.element.painContent, 'active');2843 presentetion.menuTop("Flex");2844 presentetion.menuTopSelected("menu_top_3");2845 presentetion.bgStyle('flex', 'Flex_', 141);2846 presentetion.prev('flex_v5', 'flex_11', "s3_54");2847 submitSlideEnter('s3_54', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2848 },2849 onExit: function(slideElement) {2850 submitSlideExit('s3_54');2851 }2852 }2853 });2854 document.addEventListener('presentationInit', function() {2855 var slide = app.slide.s3_55 = {2856 elements: {2857 painContent: "#s1_3_55"2858 },2859 onEnter: function(slideElement) {2860 app.menu.show();2861 util.addClass(slide.element.painContent, 'active');2862 presentetion.menuTopSelected("menu_top_3");2863 presentetion.prev('flex_v5', 'flex_11', "s3_55");2864 submitSlideEnter('s3_55', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2865 },2866 onExit: function(slideElement) {2867 submitSlideExit('s3_55');2868 }2869 }2870 });2871 document.addEventListener('presentationInit', function() {2872 var slide = app.slide.s3_56 = {2873 elements: {2874 painContent: "#s1_3_56"2875 },2876 onEnter: function(slideElement) {2877 app.menu.show();2878 util.addClass(slide.element.painContent, 'active');2879 presentetion.menuTopSelected("menu_top_3");2880 presentetion.prev('flex_v5', 'flex_11', "s3_56");2881 submitSlideEnter('s3_56', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2882 },2883 onExit: function(slideElement) {2884 submitSlideExit('s3_56');2885 }2886 }2887 });2888 document.addEventListener('presentationInit', function() {2889 var slide = app.slide.s3_57 = {2890 elements: {2891 painContent: "#s1_3_57"2892 },2893 onEnter: function(slideElement) {2894 app.menu.show();2895 util.addClass(slide.element.painContent, 'active');2896 presentetion.menuTopSelected("menu_top_3");2897 presentetion.prev('flex_v5', 'flex_11', "s3_57");2898 submitSlideEnter('s3_57', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2899 },2900 onExit: function(slideElement) {2901 submitSlideExit('s3_57');2902 }2903 }2904 });2905 document.addEventListener('presentationInit', function() {2906 var slide = app.slide.s3_58 = {2907 elements: {2908 painContent: "#s1_3_58"2909 },2910 onEnter: function(slideElement) {2911 app.menu.show();2912 util.addClass(slide.element.painContent, 'active');2913 presentetion.menuTopSelected("menu_top_3");2914 presentetion.prev('flex_v5', 'flex_11', "s3_58");2915 submitSlideEnter('s3_58', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2916 },2917 onExit: function(slideElement) {2918 submitSlideExit('s3_58');2919 }2920 }2921 });2922 document.addEventListener('presentationInit', function() {2923 var slide = app.slide.s3_59 = {2924 elements: {2925 painContent: "#s1_3_59"2926 },2927 onEnter: function(slideElement) {2928 app.menu.show();2929 util.addClass(slide.element.painContent, 'active');2930 presentetion.menuTopSelected("menu_top_3");2931 presentetion.prev('flex_v5', 'flex_11', "s3_59");2932 submitSlideEnter('s3_59', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2933 },2934 onExit: function(slideElement) {2935 submitSlideExit('s3_59');2936 }2937 }2938 });2939 document.addEventListener('presentationInit', function() {2940 var slide = app.slide.s3_6 = {2941 elements: {2942 painContent: "#s1_3_6"2943 },2944 onEnter: function(slideElement) {2945 app.menu.show();2946 util.addClass(slide.element.painContent, 'active');2947 presentetion.menuTopSelected("menu_top_2");2948 presentetion.prev('flex', 'flex_2', "s3_6");2949 submitSlideEnter('s3_6', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2950 },2951 onExit: function(slideElement) {2952 submitSlideExit('s3_6');2953 }2954 }2955 });2956 document.addEventListener('presentationInit', function() {2957 var slide = app.slide.s3_60 = {2958 elements: {2959 painContent: "#s1_3_60"2960 },2961 onEnter: function(slideElement) {2962 app.menu.show();2963 util.addClass(slide.element.painContent, 'active');2964 presentetion.menuTopSelected("menu_top_3");2965 presentetion.prev('flex_v5', 'flex_11', "s3_60");2966 submitSlideEnter('s3_60', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2967 },2968 onExit: function(slideElement) {2969 submitSlideExit('s3_60');2970 }2971 }2972 });2973 document.addEventListener('presentationInit', function() {2974 var slide = app.slide.s3_61 = {2975 elements: {2976 painContent: "#s1_3_61"2977 },2978 onEnter: function(slideElement) {2979 app.menu.show();2980 util.addClass(slide.element.painContent, 'active');2981 presentetion.menuTopSelected("menu_top_3");2982 presentetion.prev('flex_v5', 'flex_11', "s3_61");2983 submitSlideEnter('s3_61', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');2984 },2985 onExit: function(slideElement) {2986 submitSlideExit('s3_61');2987 }2988 }2989 });2990 document.addEventListener('presentationInit', function() {2991 var slide = app.slide.s3_62 = {2992 elements: {2993 painContent: "#s1_3_62"2994 },2995 onEnter: function(slideElement) {2996 app.menu.show();2997 util.addClass(slide.element.painContent, 'active');2998 presentetion.menuTopSelected("menu_top_3");2999 presentetion.prev('flex_v5', 'flex_11', "s3_62");3000 submitSlideEnter('s3_62', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3001 },3002 onExit: function(slideElement) {3003 submitSlideExit('s3_62');3004 }3005 }3006 });3007 document.addEventListener('presentationInit', function() {3008 var slide = app.slide.s3_63 = {3009 elements: {3010 painContent: "#s1_3_63"3011 },3012 onEnter: function(slideElement) {3013 app.menu.show();3014 util.addClass(slide.element.painContent, 'active');3015 presentetion.menuTopSelected("menu_top_3");3016 presentetion.prev('flex_v5', 'flex_11', "s3_63");3017 submitSlideEnter('s3_63', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3018 },3019 onExit: function(slideElement) {3020 submitSlideExit('s3_63');3021 }3022 }3023 });3024 document.addEventListener('presentationInit', function() {3025 var slide = app.slide.s3_64 = {3026 elements: {3027 painContent: "#s1_3_64"3028 },3029 onEnter: function(slideElement) {3030 app.menu.show();3031 util.addClass(slide.element.painContent, 'active');3032 presentetion.menuTopSelected("menu_top_3");3033 presentetion.prev('flex_v5', 'flex_11', "s3_64");3034 submitSlideEnter('s3_64', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3035 },3036 onExit: function(slideElement) {3037 submitSlideExit('s3_64');3038 }3039 }3040 });3041 document.addEventListener('presentationInit', function() {3042 var slide = app.slide.s3_65 = {3043 elements: {3044 painContent: "#s1_3_65"3045 },3046 onEnter: function(slideElement) {3047 app.menu.show();3048 util.addClass(slide.element.painContent, 'active');3049 presentetion.menuTop("Flex");3050 presentetion.menuTopSelected("menu_top_3");3051 presentetion.bgStyle('flex', 'Flex_', 141);3052 presentetion.prev('flex_v4', 'flex_12', "s3_65");3053 submitSlideEnter('s3_65', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3054 },3055 onExit: function(slideElement) {3056 submitSlideExit('s3_65');3057 }3058 }3059 });3060 document.addEventListener('presentationInit', function() {3061 var slide = app.slide.s3_66 = {3062 elements: {3063 painContent: "#s1_3_66"3064 },3065 onEnter: function(slideElement) {3066 app.menu.show();3067 util.addClass(slide.element.painContent, 'active');3068 presentetion.menuTop("Flex");3069 presentetion.menuTopSelected("menu_top_3");3070 presentetion.bgStyle('flex', 'Flex_', 141);3071 presentetion.prev('flex_v4', 'flex_12', "s3_66");3072 submitSlideEnter('s3_66', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3073 },3074 onExit: function(slideElement) {3075 submitSlideExit('s3_66');3076 }3077 }3078 });3079 document.addEventListener('presentationInit', function() {3080 var slide = app.slide.s3_67 = {3081 elements: {3082 painContent: "#s1_3_67"3083 },3084 onEnter: function(slideElement) {3085 app.menu.show();3086 util.addClass(slide.element.painContent, 'active');3087 presentetion.menuTopSelected("menu_top_3");3088 presentetion.prev('flex_v4', 'flex_12', "s3_67");3089 submitSlideEnter('s3_67', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3090 },3091 onExit: function(slideElement) {3092 submitSlideExit('s3_67');3093 }3094 }3095 });3096 document.addEventListener('presentationInit', function() {3097 var slide = app.slide.s3_68 = {3098 elements: {3099 painContent: "#s1_3_68"3100 },3101 onEnter: function(slideElement) {3102 app.menu.show();3103 util.addClass(slide.element.painContent, 'active');3104 presentetion.menuTopSelected("menu_top_3");3105 presentetion.prev('flex_v4', 'flex_12', "s3_68");3106 submitSlideEnter('s3_68', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3107 },3108 onExit: function(slideElement) {3109 submitSlideExit('s3_68');3110 }3111 }3112 });3113 document.addEventListener('presentationInit', function() {3114 var slide = app.slide.s3_69 = {3115 elements: {3116 painContent: "#s1_3_69"3117 },3118 onEnter: function(slideElement) {3119 app.menu.show();3120 util.addClass(slide.element.painContent, 'active');3121 presentetion.menuTopSelected("menu_top_3");3122 presentetion.prev('flex_v4', 'flex_12', "s3_69");3123 submitSlideEnter('s3_69', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3124 },3125 onExit: function(slideElement) {3126 submitSlideExit('s3_69');3127 }3128 }3129 });3130 document.addEventListener('presentationInit', function() {3131 var slide = app.slide.s3_7 = {3132 elements: {3133 painContent: "#s1_3_7"3134 },3135 onEnter: function(slideElement) {3136 app.menu.show();3137 util.addClass(slide.element.painContent, 'active');3138 presentetion.menuTopSelected("menu_top_2");3139 presentetion.prev('flex', 'flex_2', "s3_7");3140 submitSlideEnter('s3_7', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3141 },3142 onExit: function(slideElement) {3143 submitSlideExit('s3_7');3144 }3145 }3146 });3147 document.addEventListener('presentationInit', function() {3148 var slide = app.slide.s3_70 = {3149 elements: {3150 painContent: "#s1_3_70"3151 },3152 onEnter: function(slideElement) {3153 app.menu.show();3154 util.addClass(slide.element.painContent, 'active');3155 presentetion.menuTopSelected("menu_top_3");3156 presentetion.prev('flex_v4', 'flex_12', "s3_70");3157 submitSlideEnter('s3_70', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3158 },3159 onExit: function(slideElement) {3160 submitSlideExit('s3_70');3161 }3162 }3163 });3164 document.addEventListener('presentationInit', function() {3165 var slide = app.slide.s3_71 = {3166 elements: {3167 painContent: "#s1_3_71"3168 },3169 onEnter: function(slideElement) {3170 app.menu.show();3171 util.addClass(slide.element.painContent, 'active');3172 presentetion.menuTopSelected("menu_top_3");3173 presentetion.prev('flex_v4', 'flex_12', "s3_71");3174 submitSlideEnter('s3_71', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3175 },3176 onExit: function(slideElement) {3177 submitSlideExit('s3_71');3178 }3179 }3180 });3181 document.addEventListener('presentationInit', function() {3182 var slide = app.slide.s3_72 = {3183 elements: {3184 painContent: "#s1_3_72"3185 },3186 onEnter: function(slideElement) {3187 app.menu.show();3188 util.addClass(slide.element.painContent, 'active');3189 presentetion.menuTopSelected("menu_top_3");3190 presentetion.prev('flex_v4', 'flex_12', "s3_72");3191 submitSlideEnter('s3_72', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3192 },3193 onExit: function(slideElement) {3194 submitSlideExit('s3_72');3195 }3196 }3197 });3198 document.addEventListener('presentationInit', function() {3199 var slide = app.slide.s3_73 = {3200 elements: {3201 painContent: "#s1_3_73"3202 },3203 onEnter: function(slideElement) {3204 app.menu.show();3205 util.addClass(slide.element.painContent, 'active');3206 presentetion.menuTopSelected("menu_top_3");3207 presentetion.prev('flex_v4', 'flex_12', "s3_73");3208 submitSlideEnter('s3_73', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3209 },3210 onExit: function(slideElement) {3211 submitSlideExit('s3_73');3212 }3213 }3214 });3215 document.addEventListener('presentationInit', function() {3216 var slide = app.slide.s3_74 = {3217 elements: {3218 painContent: "#s1_3_74"3219 },3220 onEnter: function(slideElement) {3221 app.menu.show();3222 util.addClass(slide.element.painContent, 'active');3223 presentetion.menuTopSelected("menu_top_3");3224 presentetion.prev('flex_v4', 'flex_12', "s3_74");3225 submitSlideEnter('s3_74', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3226 },3227 onExit: function(slideElement) {3228 submitSlideExit('s3_74');3229 }3230 }3231 });3232 document.addEventListener('presentationInit', function() {3233 var slide = app.slide.s3_75 = {3234 elements: {3235 painContent: "#s1_3_75"3236 },3237 onEnter: function(slideElement) {3238 app.menu.show();3239 util.addClass(slide.element.painContent, 'active');3240 presentetion.menuTopSelected("menu_top_3");3241 presentetion.prev('flex_v4', 'flex_12', "s3_75");3242 submitSlideEnter('s3_75', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3243 },3244 onExit: function(slideElement) {3245 submitSlideExit('s3_75');3246 }3247 }3248 });3249 document.addEventListener('presentationInit', function() {3250 var slide = app.slide.s3_76 = {3251 elements: {3252 painContent: "#s1_3_76"3253 },3254 onEnter: function(slideElement) {3255 app.menu.show();3256 util.addClass(slide.element.painContent, 'active');3257 presentetion.menuTopSelected("menu_top_3");3258 presentetion.prev('flex_v4', 'flex_12', "s3_76");3259 submitSlideEnter('s3_76', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3260 },3261 onExit: function(slideElement) {3262 submitSlideExit('s3_76');3263 }3264 }3265 });3266 document.addEventListener('presentationInit', function() {3267 var slide = app.slide.s3_77 = {3268 elements: {3269 painContent: "#s1_3_77"3270 },3271 onEnter: function(slideElement) {3272 app.menu.show();3273 util.addClass(slide.element.painContent, 'active');3274 presentetion.menuTop("Flex");3275 presentetion.menuTopSelected("menu_top_3");3276 presentetion.bgStyle('flex', 'Flex_', 141);3277 presentetion.prev('flex_v6', 'flex_13', "s3_77");3278 submitSlideEnter('s3_77', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3279 },3280 onExit: function(slideElement) {3281 submitSlideExit('s3_77');3282 }3283 }3284 });3285 document.addEventListener('presentationInit', function() {3286 var slide = app.slide.s3_78 = {3287 elements: {3288 painContent: "#s1_3_78"3289 },3290 onEnter: function(slideElement) {3291 app.menu.show();3292 util.addClass(slide.element.painContent, 'active');3293 presentetion.menuTop("Flex");3294 presentetion.menuTopSelected("menu_top_3");3295 presentetion.bgStyle('flex', 'Flex_', 141);3296 presentetion.prev('flex_v6', 'flex_13', "s3_78");3297 submitSlideEnter('s3_78', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3298 },3299 onExit: function(slideElement) {3300 submitSlideExit('s3_78');3301 }3302 }3303 });3304 document.addEventListener('presentationInit', function() {3305 var slide = app.slide.s3_79 = {3306 elements: {3307 painContent: "#s1_3_79"3308 },3309 onEnter: function(slideElement) {3310 app.menu.show();3311 util.addClass(slide.element.painContent, 'active');3312 presentetion.menuTopSelected("menu_top_3");3313 presentetion.prev('flex_v6', 'flex_13', "s3_79");3314 submitSlideEnter('s3_79', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3315 },3316 onExit: function(slideElement) {3317 submitSlideExit('s3_79');3318 }3319 }3320 });3321 document.addEventListener('presentationInit', function() {3322 var slide = app.slide.s3_8 = {3323 elements: {3324 painContent: "#s1_3_8"3325 },3326 onEnter: function(slideElement) {3327 app.menu.show();3328 util.addClass(slide.element.painContent, 'active');3329 presentetion.menuTopSelected("menu_top_2");3330 presentetion.prev('flex', 'flex_2', "s3_8");3331 submitSlideEnter('s3_8', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3332 },3333 onExit: function(slideElement) {3334 submitSlideExit('s3_8');3335 }3336 }3337 });3338 document.addEventListener('presentationInit', function() {3339 var slide = app.slide.s3_80 = {3340 elements: {3341 painContent: "#s1_3_80"3342 },3343 onEnter: function(slideElement) {3344 app.menu.show();3345 util.addClass(slide.element.painContent, 'active');3346 presentetion.menuTopSelected("menu_top_3");3347 presentetion.prev('flex_v6', 'flex_13', "s3_80");3348 submitSlideEnter('s3_80', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3349 },3350 onExit: function(slideElement) {3351 submitSlideExit('s3_80');3352 }3353 }3354 });3355 document.addEventListener('presentationInit', function() {3356 var slide = app.slide.s3_81 = {3357 elements: {3358 painContent: "#s1_3_81"3359 },3360 onEnter: function(slideElement) {3361 app.menu.show();3362 util.addClass(slide.element.painContent, 'active');3363 presentetion.menuTopSelected("menu_top_3");3364 presentetion.prev('flex_v6', 'flex_13', "s3_81");3365 submitSlideEnter('s3_81', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3366 },3367 onExit: function(slideElement) {3368 submitSlideExit('s3_81');3369 }3370 }3371 });3372 document.addEventListener('presentationInit', function() {3373 var slide = app.slide.s3_82 = {3374 elements: {3375 painContent: "#s1_3_82"3376 },3377 onEnter: function(slideElement) {3378 app.menu.show();3379 util.addClass(slide.element.painContent, 'active');3380 presentetion.menuTopSelected("menu_top_3");3381 presentetion.prev('flex_v6', 'flex_13', "s3_82");3382 submitSlideEnter('s3_82', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3383 },3384 onExit: function(slideElement) {3385 submitSlideExit('s3_82');3386 }3387 }3388 });3389 document.addEventListener('presentationInit', function() {3390 var slide = app.slide.s3_83 = {3391 elements: {3392 painContent: "#s1_3_83"3393 },3394 onEnter: function(slideElement) {3395 app.menu.show();3396 util.addClass(slide.element.painContent, 'active');3397 presentetion.menuTopSelected("menu_top_3");3398 presentetion.prev('flex_v6', 'flex_13', "s3_83");3399 submitSlideEnter('s3_83', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3400 },3401 onExit: function(slideElement) {3402 submitSlideExit('s3_83');3403 }3404 }3405 });3406 document.addEventListener('presentationInit', function() {3407 var slide = app.slide.s3_84 = {3408 elements: {3409 painContent: "#s1_3_84"3410 },3411 onEnter: function(slideElement) {3412 app.menu.show();3413 util.addClass(slide.element.painContent, 'active');3414 presentetion.menuTopSelected("menu_top_3");3415 presentetion.prev('flex_v6', 'flex_13', "s3_84");3416 submitSlideEnter('s3_84', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3417 },3418 onExit: function(slideElement) {3419 submitSlideExit('s3_84');3420 }3421 }3422 });3423 document.addEventListener('presentationInit', function() {3424 var slide = app.slide.s3_85 = {3425 elements: {3426 painContent: "#s1_3_85"3427 },3428 onEnter: function(slideElement) {3429 app.menu.show();3430 util.addClass(slide.element.painContent, 'active');3431 presentetion.menuTopSelected("menu_top_3");3432 presentetion.prev('flex_v6', 'flex_13', "s3_85");3433 submitSlideEnter('s3_85', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3434 },3435 onExit: function(slideElement) {3436 submitSlideExit('s3_85');3437 }3438 }3439 });3440 document.addEventListener('presentationInit', function() {3441 var slide = app.slide.s3_86 = {3442 elements: {3443 painContent: "#s1_3_86"3444 },3445 onEnter: function(slideElement) {3446 app.menu.show();3447 util.addClass(slide.element.painContent, 'active');3448 presentetion.menuTopSelected("menu_top_3");3449 presentetion.prev('flex_v6', 'flex_13', "s3_86");3450 submitSlideEnter('s3_86', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3451 },3452 onExit: function(slideElement) {3453 submitSlideExit('s3_86');3454 }3455 }3456 });3457 document.addEventListener('presentationInit', function() {3458 var slide = app.slide.s3_87 = {3459 elements: {3460 painContent: "#s1_3_87"3461 },3462 onEnter: function(slideElement) {3463 app.menu.show();3464 util.addClass(slide.element.painContent, 'active');3465 presentetion.menuTopSelected("menu_top_3");3466 presentetion.prev('flex_v6', 'flex_13', "s3_87");3467 submitSlideEnter('s3_87', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3468 },3469 onExit: function(slideElement) {3470 submitSlideExit('s3_87');3471 }3472 }3473 });3474 document.addEventListener('presentationInit', function() {3475 var slide = app.slide.s3_88 = {3476 elements: {3477 painContent: "#s1_3_88"3478 },3479 onEnter: function(slideElement) {3480 app.menu.show();3481 util.addClass(slide.element.painContent, 'active');3482 presentetion.menuTop("Flex");3483 presentetion.menuTopSelected("menu_top_3");3484 presentetion.bgStyle('flex', 'Flex_', 141);3485 presentetion.prev('flex_v7', 'flex_14', "s3_88");3486 submitSlideEnter('s3_88', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3487 },3488 onExit: function(slideElement) {3489 submitSlideExit('s3_88');3490 }3491 }3492 });3493 document.addEventListener('presentationInit', function() {3494 var slide = app.slide.s3_89 = {3495 elements: {3496 painContent: "#s1_3_89"3497 },3498 onEnter: function(slideElement) {3499 app.menu.show();3500 util.addClass(slide.element.painContent, 'active');3501 presentetion.menuTop("Flex");3502 presentetion.menuTopSelected("menu_top_3");3503 presentetion.bgStyle('flex', 'Flex_', 141);3504 presentetion.prev('flex_v7', 'flex_14', "s3_89");3505 submitSlideEnter('s3_89', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3506 },3507 onExit: function(slideElement) {3508 submitSlideExit('s3_89');3509 }3510 }3511 });3512 document.addEventListener('presentationInit', function() {3513 var slide = app.slide.s3_9 = {3514 elements: {3515 painContent: "#s1_3_9"3516 },3517 onEnter: function(slideElement) {3518 app.menu.show();3519 util.addClass(slide.element.painContent, 'active');3520 presentetion.menuTopSelected("menu_top_2");3521 presentetion.prev('flex', 'flex_2', "s3_9");3522 submitSlideEnter('s3_9', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3523 },3524 onExit: function(slideElement) {3525 submitSlideExit('s3_9');3526 }3527 }3528 });3529 document.addEventListener('presentationInit', function() {3530 var slide = app.slide.s3_90 = {3531 elements: {3532 painContent: "#s1_3_90"3533 },3534 onEnter: function(slideElement) {3535 app.menu.show();3536 util.addClass(slide.element.painContent, 'active');3537 presentetion.menuTopSelected("menu_top_3");3538 presentetion.prev('flex_v7', 'flex_14', "s3_90");3539 submitSlideEnter('s3_90', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3540 },3541 onExit: function(slideElement) {3542 submitSlideExit('s3_90');3543 }3544 }3545 });3546 document.addEventListener('presentationInit', function() {3547 var slide = app.slide.s3_91 = {3548 elements: {3549 painContent: "#s1_3_91"3550 },3551 onEnter: function(slideElement) {3552 app.menu.show();3553 util.addClass(slide.element.painContent, 'active');3554 presentetion.menuTopSelected("menu_top_3");3555 presentetion.prev('flex_v7', 'flex_14', "s3_91");3556 submitSlideEnter('s3_91', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3557 },3558 onExit: function(slideElement) {3559 submitSlideExit('s3_91');3560 }3561 }3562 });3563 document.addEventListener('presentationInit', function() {3564 var slide = app.slide.s3_92 = {3565 elements: {3566 painContent: "#s1_3_92"3567 },3568 onEnter: function(slideElement) {3569 app.menu.show();3570 util.addClass(slide.element.painContent, 'active');3571 presentetion.menuTopSelected("menu_top_3");3572 presentetion.prev('flex_v7', 'flex_14', "s3_92");3573 submitSlideEnter('s3_92', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3574 },3575 onExit: function(slideElement) {3576 submitSlideExit('s3_92');3577 }3578 }3579 });3580 document.addEventListener('presentationInit', function() {3581 var slide = app.slide.s3_93 = {3582 elements: {3583 painContent: "#s1_3_93"3584 },3585 onEnter: function(slideElement) {3586 app.menu.show();3587 util.addClass(slide.element.painContent, 'active');3588 presentetion.menuTopSelected("menu_top_3");3589 presentetion.prev('flex_v7', 'flex_14', "s3_93");3590 submitSlideEnter('s3_93', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3591 },3592 onExit: function(slideElement) {3593 submitSlideExit('s3_93');3594 }3595 }3596 });3597 document.addEventListener('presentationInit', function() {3598 var slide = app.slide.s3_94 = {3599 elements: {3600 painContent: "#s1_3_94"3601 },3602 onEnter: function(slideElement) {3603 app.menu.show();3604 util.addClass(slide.element.painContent, 'active');3605 presentetion.menuTopSelected("menu_top_3");3606 presentetion.prev('flex_v7', 'flex_14', "s3_94");3607 submitSlideEnter('s3_94', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3608 },3609 onExit: function(slideElement) {3610 submitSlideExit('s3_94');3611 }3612 }3613 });3614 document.addEventListener('presentationInit', function() {3615 var slide = app.slide.s3_95 = {3616 elements: {3617 painContent: "#s1_3_95"3618 },3619 onEnter: function(slideElement) {3620 app.menu.show();3621 util.addClass(slide.element.painContent, 'active');3622 presentetion.menuTopSelected("menu_top_3");3623 presentetion.prev('flex_v7', 'flex_14', "s3_95");3624 submitSlideEnter('s3_95', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3625 },3626 onExit: function(slideElement) {3627 submitSlideExit('s3_95');3628 }3629 }3630 });3631 document.addEventListener('presentationInit', function() {3632 var slide = app.slide.s3_96 = {3633 elements: {3634 painContent: "#s1_3_96"3635 },3636 onEnter: function(slideElement) {3637 app.menu.show();3638 util.addClass(slide.element.painContent, 'active');3639 presentetion.menuTopSelected("menu_top_3");3640 presentetion.prev('flex_v7', 'flex_14', "s3_96");3641 submitSlideEnter('s3_96', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3642 },3643 onExit: function(slideElement) {3644 submitSlideExit('s3_96');3645 }3646 }3647 });3648 document.addEventListener('presentationInit', function() {3649 var slide = app.slide.s3_97 = {3650 elements: {3651 painContent: "#s1_3_97"3652 },3653 onEnter: function(slideElement) {3654 app.menu.show();3655 util.addClass(slide.element.painContent, 'active');3656 presentetion.menuTopSelected("menu_top_3");3657 presentetion.prev('flex_v7', 'flex_14', "s3_97");3658 submitSlideEnter('s3_97', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3659 },3660 onExit: function(slideElement) {3661 submitSlideExit('s3_97');3662 }3663 }3664 });3665 document.addEventListener('presentationInit', function() {3666 var slide = app.slide.s3_98 = {3667 elements: {3668 painContent: "#s1_3_98"3669 },3670 onEnter: function(slideElement) {3671 app.menu.show();3672 util.addClass(slide.element.painContent, 'active');3673 presentetion.menuTopSelected("menu_top_3");3674 presentetion.prev('flex_v7', 'flex_14', "s3_98");3675 submitSlideEnter('s3_98', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3676 },3677 onExit: function(slideElement) {3678 submitSlideExit('s3_98');3679 }3680 }3681 });3682 document.addEventListener('presentationInit', function() {3683 var slide = app.slide.s3_99 = {3684 elements: {3685 painContent: "#s1_3_99"3686 },3687 onEnter: function(slideElement) {3688 app.menu.show();3689 util.addClass(slide.element.painContent, 'active');3690 presentetion.menuTopSelected("menu_top_3");3691 presentetion.prev('flex_v7', 'flex_14', "s3_99");3692 submitSlideEnter('s3_99', '2', 2, '2', 'A WH_Beauty_1_cycle_2015');3693 },3694 onExit: function(slideElement) {3695 submitSlideExit('s3_99');3696 }3697 }3698 });3699 document.addEventListener('presentationInit', function() {3700 var slide = app.slide.s4_1 = {3701 elements: {3702 painContent: "#s4_1_2"3703 },3704 onEnter: function(slideElement) {3705 app.menu.show();3706 util.addClass(slide.element.painContent, 'active');3707 presentetion.menuTop("Mir");3708 presentetion.menuTopSelected("menu_top_1");3709 presentetion.bgStyle('mir', 'bg_s4_', 43);3710 presentetion.prev('mir', 'mir_1', "s4_1");3711 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3712 },3713 onExit: function(slideElement) {3714 submitSlideExit('s4_1');3715 }3716 }3717 });3718 document.addEventListener('presentationInit', function() {3719 var slide = app.slide.s4_10 = {3720 elements: {3721 painContent: "#s4_10_2"3722 },3723 onEnter: function(slideElement) {3724 app.menu.show();3725 util.addClass(slide.element.painContent, 'active');3726 presentetion.menuTop("Mir");3727 presentetion.menuTopSelected("menu_top_4");3728 presentetion.prev('mir', 'mir_4', "s4_10");3729 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3730 },3731 onExit: function(slideElement) {3732 submitSlideExit('s4_10');3733 }3734 }3735 });3736 document.addEventListener('presentationInit', function() {3737 var slide = app.slide.s4_11 = {3738 elements: {3739 painContent: "#s4_11_2"3740 },3741 onEnter: function(slideElement) {3742 app.menu.show();3743 util.addClass(slide.element.painContent, 'active');3744 presentetion.menuTop("Mir");3745 presentetion.menuTopSelected("menu_top_5");3746 presentetion.prev('mir', 'mir_5', "s4_11");3747 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3748 },3749 onExit: function(slideElement) {3750 submitSlideExit('s4_11');3751 }3752 }3753 });3754 document.addEventListener('presentationInit', function() {3755 var slide = app.slide.s4_12 = {3756 elements: {3757 painContent: "#s4_12_2"3758 },3759 onEnter: function(slideElement) {3760 app.menu.show();3761 util.addClass(slide.element.painContent, 'active');3762 presentetion.menuTop("Mir");3763 presentetion.menuTopSelected("menu_top_5");3764 presentetion.prev('mir', 'mir_5', "s4_12");3765 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3766 },3767 onExit: function(slideElement) {3768 submitSlideExit('s4_12');3769 }3770 }3771 });3772 document.addEventListener('presentationInit', function() {3773 var slide = app.slide.s4_13 = {3774 elements: {3775 painContent: "#s4_13_2"3776 },3777 onEnter: function(slideElement) {3778 app.menu.show();3779 util.addClass(slide.element.painContent, 'active');3780 presentetion.menuTop("Mir");3781 presentetion.menuTopSelected("menu_top_5");3782 presentetion.prev('mir', 'mir_5', "s4_13");3783 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3784 },3785 onExit: function(slideElement) {3786 submitSlideExit('s4_13');3787 }3788 }3789 });3790 document.addEventListener('presentationInit', function() {3791 var slide = app.slide.s4_14 = {3792 elements: {3793 painContent: "#s4_14_2"3794 },3795 onEnter: function(slideElement) {3796 app.menu.show();3797 util.addClass(slide.element.painContent, 'active');3798 presentetion.menuTop("Mir");3799 presentetion.menuTopSelected("menu_top_5");3800 presentetion.prev('mir', 'mir_5', "s4_14");3801 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3802 },3803 onExit: function(slideElement) {3804 submitSlideExit('s4_14');3805 }3806 }3807 });3808 document.addEventListener('presentationInit', function() {3809 var slide = app.slide.s4_15 = {3810 elements: {3811 painContent: "#s4_15_2"3812 },3813 onEnter: function(slideElement) {3814 app.menu.show();3815 util.addClass(slide.element.painContent, 'active');3816 presentetion.menuTop("Mir");3817 presentetion.menuTopSelected("menu_top_5");3818 presentetion.prev('mir', 'mir_5', "s4_15");3819 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3820 },3821 onExit: function(slideElement) {3822 submitSlideExit('s4_15');3823 }3824 }3825 });3826 document.addEventListener('presentationInit', function() {3827 var slide = app.slide.s4_16 = {3828 elements: {3829 painContent: "#s4_16_2"3830 },3831 onEnter: function(slideElement) {3832 app.menu.show();3833 util.addClass(slide.element.painContent, 'active');3834 presentetion.menuTop("Mir");3835 presentetion.menuTopSelected("menu_top_5");3836 presentetion.prev('mir', 'mir_5', "s4_16");3837 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3838 },3839 onExit: function(slideElement) {3840 submitSlideExit('s4_16');3841 }3842 }3843 });3844 document.addEventListener('presentationInit', function() {3845 var slide = app.slide.s4_17 = {3846 elements: {3847 painContent: "#s4_17_2"3848 },3849 onEnter: function(slideElement) {3850 app.menu.show();3851 util.addClass(slide.element.painContent, 'active');3852 presentetion.menuTop("Mir");3853 presentetion.menuTopSelected("menu_top_6");3854 presentetion.prev('mir', 'mir_6', "s4_17");3855 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3856 },3857 onExit: function(slideElement) {3858 submitSlideExit('s4_17');3859 }3860 }3861 });3862 document.addEventListener('presentationInit', function() {3863 var slide = app.slide.s4_18 = {3864 elements: {3865 painContent: "#s4_18_2"3866 },3867 onEnter: function(slideElement) {3868 app.menu.show();3869 util.addClass(slide.element.painContent, 'active');3870 presentetion.menuTop("Mir");3871 presentetion.menuTopSelected("menu_top_6");3872 presentetion.prev('mir', 'mir_6', "s4_18");3873 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3874 },3875 onExit: function(slideElement) {3876 submitSlideExit('s4_18');3877 }3878 }3879 });3880 document.addEventListener('presentationInit', function() {3881 var slide = app.slide.s4_19 = {3882 elements: {3883 painContent: "#s4_19_2"3884 },3885 onEnter: function(slideElement) {3886 app.menu.show();3887 util.addClass(slide.element.painContent, 'active');3888 presentetion.menuTop("Mir");3889 presentetion.menuTopSelected("menu_top_6");3890 presentetion.prev('mir', 'mir_6', "s4_19");3891 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3892 },3893 onExit: function(slideElement) {3894 submitSlideExit('s4_19');3895 }3896 }3897 });3898 document.addEventListener('presentationInit', function() {3899 var slide = app.slide.s4_2 = {3900 elements: {3901 painContent: "#s4_2_2"3902 },3903 onEnter: function(slideElement) {3904 app.menu.show();3905 util.addClass(slide.element.painContent, 'active');3906 presentetion.menuTop("Mir");3907 presentetion.menuTopSelected("menu_top_2");3908 presentetion.prev('mir', 'mir_2', "s4_2");3909 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3910 },3911 onExit: function(slideElement) {3912 submitSlideExit('s4_2');3913 }3914 }3915 });3916 document.addEventListener('presentationInit', function() {3917 var slide = app.slide.s4_20 = {3918 elements: {3919 painContent: "#s4_20_2"3920 },3921 onEnter: function(slideElement) {3922 app.menu.show();3923 util.addClass(slide.element.painContent, 'active');3924 presentetion.menuTop("Mir");3925 presentetion.menuTopSelected("menu_top_6");3926 presentetion.prev('mir', 'mir_6', "s4_20");3927 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3928 },3929 onExit: function(slideElement) {3930 submitSlideExit('s4_20');3931 }3932 }3933 });3934 document.addEventListener('presentationInit', function() {3935 var slide = app.slide.s4_21 = {3936 elements: {3937 painContent: "#s4_21_2"3938 },3939 onEnter: function(slideElement) {3940 app.menu.show();3941 util.addClass(slide.element.painContent, 'active');3942 presentetion.menuTop("Mir");3943 presentetion.menuTopSelected("menu_top_7");3944 presentetion.prev('mir', 'mir_7', "s4_21");3945 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3946 },3947 onExit: function(slideElement) {3948 submitSlideExit('s4_21');3949 }3950 }3951 });3952 document.addEventListener('presentationInit', function() {3953 var slide = app.slide.s4_22 = {3954 elements: {3955 painContent: "#s4_22_2"3956 },3957 onEnter: function(slideElement) {3958 app.menu.show();3959 util.addClass(slide.element.painContent, 'active');3960 presentetion.menuTop("Mir");3961 presentetion.menuTopSelected("menu_top_7");3962 presentetion.prev('mir', 'mir_7', "s4_22");3963 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3964 },3965 onExit: function(slideElement) {3966 submitSlideExit('s4_22');3967 }3968 }3969 });3970 document.addEventListener('presentationInit', function() {3971 var slide = app.slide.s4_23 = {3972 elements: {3973 painContent: "#s4_23_2"3974 },3975 onEnter: function(slideElement) {3976 app.menu.show();3977 util.addClass(slide.element.painContent, 'active');3978 presentetion.menuTop("Mir");3979 presentetion.menuTopSelected("menu_top_7");3980 presentetion.prev('mir', 'mir_7', "s4_23");3981 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');3982 },3983 onExit: function(slideElement) {3984 submitSlideExit('s4_23');3985 }3986 }3987 });3988 document.addEventListener('presentationInit', function() {3989 var slide = app.slide.s4_24 = {3990 elements: {3991 painContent: "#s4_24_2"3992 },3993 onEnter: function(slideElement) {3994 app.menu.show();3995 util.addClass(slide.element.painContent, 'active');3996 presentetion.menuTop("Mir");3997 presentetion.menuTopSelected("menu_top_7");3998 presentetion.prev('mir', 'mir_7', "s4_24");3999 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4000 },4001 onExit: function(slideElement) {4002 submitSlideExit('s4_24');4003 }4004 }4005 });4006 document.addEventListener('presentationInit', function() {4007 var slide = app.slide.s4_25 = {4008 elements: {4009 painContent: "#s4_25_2"4010 },4011 onEnter: function(slideElement) {4012 app.menu.show();4013 util.addClass(slide.element.painContent, 'active');4014 presentetion.menuTop("Mir");4015 presentetion.menuTopSelected("menu_top_7");4016 presentetion.prev('mir', 'mir_7', "s4_25");4017 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4018 },4019 onExit: function(slideElement) {4020 submitSlideExit('s4_25');4021 }4022 }4023 });4024 document.addEventListener('presentationInit', function() {4025 var slide = app.slide.s4_26 = {4026 elements: {4027 painContent: "#s4_26_2"4028 },4029 onEnter: function(slideElement) {4030 app.menu.show();4031 util.addClass(slide.element.painContent, 'active');4032 presentetion.menuTop("Mir");4033 presentetion.menuTopSelected("menu_top_7");4034 presentetion.prev('mir', 'mir_7', "s4_26");4035 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4036 },4037 onExit: function(slideElement) {4038 submitSlideExit('s4_26');4039 }4040 }4041 });4042 document.addEventListener('presentationInit', function() {4043 var slide = app.slide.s4_27 = {4044 elements: {4045 painContent: "#s4_27_2"4046 },4047 onEnter: function(slideElement) {4048 app.menu.show();4049 util.addClass(slide.element.painContent, 'active');4050 presentetion.menuTop("Mir");4051 presentetion.menuTopSelected("menu_top_7");4052 presentetion.prev('mir', 'mir_7', "s4_27");4053 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4054 },4055 onExit: function(slideElement) {4056 submitSlideExit('s4_27');4057 }4058 }4059 });4060 document.addEventListener('presentationInit', function() {4061 var slide = app.slide.s4_28 = {4062 elements: {4063 painContent: "#s4_28_2"4064 },4065 onEnter: function(slideElement) {4066 app.menu.show();4067 util.addClass(slide.element.painContent, 'active');4068 presentetion.menuTop("Mir");4069 presentetion.menuTopSelected("menu_top_7");4070 presentetion.prev('mir', 'mir_7', "s4_28");4071 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4072 },4073 onExit: function(slideElement) {4074 submitSlideExit('s4_28');4075 }4076 }4077 });4078 document.addEventListener('presentationInit', function() {4079 var slide = app.slide.s4_29 = {4080 elements: {4081 painContent: "#s4_29_2"4082 },4083 onEnter: function(slideElement) {4084 app.menu.show();4085 util.addClass(slide.element.painContent, 'active');4086 presentetion.menuTop("Mir");4087 presentetion.menuTopSelected("menu_top_7");4088 presentetion.prev('mir', 'mir_7', "s4_29");4089 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4090 },4091 onExit: function(slideElement) {4092 submitSlideExit('s4_29');4093 }4094 }4095 });4096 document.addEventListener('presentationInit', function() {4097 var slide = app.slide.s4_3 = {4098 elements: {4099 painContent: "#s4_3_2"4100 },4101 onEnter: function(slideElement) {4102 app.menu.show();4103 util.addClass(slide.element.painContent, 'active');4104 presentetion.menuTop("Mir");4105 presentetion.menuTopSelected("menu_top_2");4106 presentetion.prev('mir', 'mir_2', "s4_3");4107 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4108 },4109 onExit: function(slideElement) {4110 submitSlideExit('s4_3');4111 }4112 }4113 });4114 document.addEventListener('presentationInit', function() {4115 var slide = app.slide.s4_30 = {4116 elements: {4117 painContent: "#s4_30_2"4118 },4119 onEnter: function(slideElement) {4120 app.menu.show();4121 util.addClass(slide.element.painContent, 'active');4122 presentetion.menuTop("Mir");4123 presentetion.menuTopSelected("menu_top_7");4124 presentetion.prev('mir', 'mir_7', "s4_30");4125 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4126 },4127 onExit: function(slideElement) {4128 submitSlideExit('s4_30');4129 }4130 }4131 });4132 document.addEventListener('presentationInit', function() {4133 var slide = app.slide.s4_31 = {4134 elements: {4135 painContent: "#s4_31_2"4136 },4137 onEnter: function(slideElement) {4138 app.menu.show();4139 util.addClass(slide.element.painContent, 'active');4140 presentetion.menuTop("Mir");4141 presentetion.menuTopSelected("menu_top_7");4142 presentetion.prev('mir', 'mir_7', "s4_31");4143 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4144 },4145 onExit: function(slideElement) {4146 submitSlideExit('s4_31');4147 }4148 }4149 });4150 document.addEventListener('presentationInit', function() {4151 var slide = app.slide.s4_32 = {4152 elements: {4153 painContent: "#s4_32_2"4154 },4155 onEnter: function(slideElement) {4156 app.menu.show();4157 util.addClass(slide.element.painContent, 'active');4158 presentetion.menuTop("Mir");4159 presentetion.menuTopSelected("menu_top_7");4160 presentetion.prev('mir', 'mir_7', "s4_32");4161 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4162 },4163 onExit: function(slideElement) {4164 submitSlideExit('s4_32');4165 }4166 }4167 });4168 document.addEventListener('presentationInit', function() {4169 var slide = app.slide.s4_33 = {4170 elements: {4171 painContent: "#s4_33_2"4172 },4173 onEnter: function(slideElement) {4174 app.menu.show();4175 util.addClass(slide.element.painContent, 'active');4176 presentetion.menuTop("Mir");4177 presentetion.menuTopSelected("menu_top_7");4178 presentetion.prev('mir', 'mir_7', "s4_33");4179 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4180 },4181 onExit: function(slideElement) {4182 submitSlideExit('s4_33');4183 }4184 }4185 });4186 document.addEventListener('presentationInit', function() {4187 var slide = app.slide.s4_34 = {4188 elements: {4189 painContent: "#s4_34_2"4190 },4191 onEnter: function(slideElement) {4192 app.menu.show();4193 util.addClass(slide.element.painContent, 'active');4194 presentetion.menuTop("Mir");4195 presentetion.menuTopSelected("menu_top_7");4196 presentetion.prev('mir', 'mir_7', "s4_34");4197 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4198 },4199 onExit: function(slideElement) {4200 submitSlideExit('s4_34');4201 }4202 }4203 });4204 document.addEventListener('presentationInit', function() {4205 var slide = app.slide.s4_35 = {4206 elements: {4207 painContent: "#s4_35_2"4208 },4209 onEnter: function(slideElement) {4210 app.menu.show();4211 util.addClass(slide.element.painContent, 'active');4212 presentetion.menuTop("Mir");4213 presentetion.menuTopSelected("menu_top_7");4214 presentetion.prev('mir', 'mir_7', "s4_35");4215 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4216 },4217 onExit: function(slideElement) {4218 submitSlideExit('s4_35');4219 }4220 }4221 });4222 document.addEventListener('presentationInit', function() {4223 var slide = app.slide.s4_36 = {4224 elements: {4225 painContent: "#s4_36_2"4226 },4227 onEnter: function(slideElement) {4228 app.menu.show();4229 util.addClass(slide.element.painContent, 'active');4230 presentetion.menuTop("Mir");4231 presentetion.menuTopSelected("menu_top_8");4232 presentetion.prev('mir', 'mir_8', "s4_36");4233 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4234 },4235 onExit: function(slideElement) {4236 submitSlideExit('s4_36');4237 }4238 }4239 });4240 document.addEventListener('presentationInit', function() {4241 var slide = app.slide.s4_37 = {4242 elements: {4243 painContent: "#s4_37_2"4244 },4245 onEnter: function(slideElement) {4246 app.menu.show();4247 util.addClass(slide.element.painContent, 'active');4248 presentetion.menuTop("Mir");4249 presentetion.menuTopSelected("menu_top_8");4250 presentetion.prev('mir', 'mir_8', "s4_37");4251 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4252 },4253 onExit: function(slideElement) {4254 submitSlideExit('s4_37');4255 }4256 }4257 });4258 document.addEventListener('presentationInit', function() {4259 var slide = app.slide.s4_38 = {4260 elements: {4261 painContent: "#s4_38_2"4262 },4263 onEnter: function(slideElement) {4264 app.menu.show();4265 util.addClass(slide.element.painContent, 'active');4266 presentetion.menuTop("Mir");4267 presentetion.menuTopSelected("menu_top_8");4268 presentetion.prev('mir', 'mir_8', "s4_38");4269 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4270 },4271 onExit: function(slideElement) {4272 submitSlideExit('s4_38');4273 }4274 }4275 });4276 document.addEventListener('presentationInit', function() {4277 var slide = app.slide.s4_39 = {4278 elements: {4279 painContent: "#s4_39_2"4280 },4281 onEnter: function(slideElement) {4282 app.menu.show();4283 util.addClass(slide.element.painContent, 'active');4284 presentetion.menuTop("Mir");4285 presentetion.menuTopSelected("menu_top_8");4286 presentetion.prev('mir', 'mir_8', "s4_39");4287 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4288 },4289 onExit: function(slideElement) {4290 submitSlideExit('s4_39');4291 }4292 }4293 });4294 document.addEventListener('presentationInit', function() {4295 var slide = app.slide.s4_4 = {4296 elements: {4297 painContent: "#s4_4_2"4298 },4299 onEnter: function(slideElement) {4300 app.menu.show();4301 util.addClass(slide.element.painContent, 'active');4302 presentetion.menuTop("Mir");4303 presentetion.menuTopSelected("menu_top_3");4304 presentetion.prev('mir', 'mir_3', "s4_4");4305 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4306 },4307 onExit: function(slideElement) {4308 submitSlideExit('s4_4');4309 }4310 }4311 });4312 document.addEventListener('presentationInit', function() {4313 var slide = app.slide.s4_40 = {4314 elements: {4315 painContent: "#s4_40_2"4316 },4317 onEnter: function(slideElement) {4318 app.menu.show();4319 util.addClass(slide.element.painContent, 'active');4320 presentetion.menuTop("Mir");4321 presentetion.menuTopSelected("menu_top_8");4322 presentetion.prev('mir', 'mir_8', "s4_40");4323 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4324 },4325 onExit: function(slideElement) {4326 submitSlideExit('s4_40');4327 }4328 }4329 });4330 document.addEventListener('presentationInit', function() {4331 var slide = app.slide.s4_41 = {4332 elements: {4333 painContent: "#s4_41_2"4334 },4335 onEnter: function(slideElement) {4336 app.menu.show();4337 util.addClass(slide.element.painContent, 'active');4338 presentetion.menuTop("Mir");4339 presentetion.menuTopSelected("menu_top_8");4340 presentetion.prev('mir', 'mir_8', "s4_41");4341 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4342 },4343 onExit: function(slideElement) {4344 submitSlideExit('s4_41');4345 }4346 }4347 });4348 document.addEventListener('presentationInit', function() {4349 var slide = app.slide.s4_42 = {4350 elements: {4351 painContent: "#s4_42_2"4352 },4353 onEnter: function(slideElement) {4354 app.menu.show();4355 util.addClass(slide.element.painContent, 'active');4356 presentetion.menuTop("Mir");4357 presentetion.menuTopSelected("menu_top_9");4358 presentetion.prev('mir', 'mir_9', "s4_42");4359 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4360 },4361 onExit: function(slideElement) {4362 submitSlideExit('s4_42');4363 }4364 }4365 });4366 document.addEventListener('presentationInit', function() {4367 var slide = app.slide.s4_43 = {4368 elements: {4369 painContent: "#s4_43_2"4370 },4371 onEnter: function(slideElement) {4372 app.menu.show();4373 util.addClass(slide.element.painContent, 'active');4374 presentetion.menuTop("Mir");4375 presentetion.menuTopSelected("menu_top_10");4376 presentetion.prev('mir', 'mir_10', "s4_43");4377 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4378 },4379 onExit: function(slideElement) {4380 submitSlideExit('s4_43');4381 }4382 }4383 });4384 document.addEventListener('presentationInit', function() {4385 var slide = app.slide.s4_5 = {4386 elements: {4387 painContent: "#s4_5_2"4388 },4389 onEnter: function(slideElement) {4390 app.menu.show();4391 util.addClass(slide.element.painContent, 'active');4392 presentetion.menuTop("Mir");4393 presentetion.menuTopSelected("menu_top_4");4394 presentetion.prev('mir', 'mir_4', "s4_5");4395 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4396 },4397 onExit: function(slideElement) {4398 submitSlideExit('s4_5');4399 }4400 }4401 });4402 document.addEventListener('presentationInit', function() {4403 var slide = app.slide.s4_6 = {4404 elements: {4405 painContent: "#s4_6_2"4406 },4407 onEnter: function(slideElement) {4408 app.menu.show();4409 util.addClass(slide.element.painContent, 'active');4410 presentetion.menuTop("Mir");4411 presentetion.menuTopSelected("menu_top_4");4412 presentetion.prev('mir', 'mir_4', "s4_6");4413 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4414 },4415 onExit: function(slideElement) {4416 submitSlideExit('s4_6');4417 }4418 }4419 });4420 document.addEventListener('presentationInit', function() {4421 var slide = app.slide.s4_7 = {4422 elements: {4423 painContent: "#s4_7_2"4424 },4425 onEnter: function(slideElement) {4426 app.menu.show();4427 util.addClass(slide.element.painContent, 'active');4428 presentetion.menuTop("Mir");4429 presentetion.menuTopSelected("menu_top_4");4430 presentetion.prev('mir', 'mir_4', "s4_7");4431 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4432 },4433 onExit: function(slideElement) {4434 submitSlideExit('s4_7');4435 }4436 }4437 });4438 document.addEventListener('presentationInit', function() {4439 var slide = app.slide.s4_8 = {4440 elements: {4441 painContent: "#s4_8_2"4442 },4443 onEnter: function(slideElement) {4444 app.menu.show();4445 util.addClass(slide.element.painContent, 'active');4446 presentetion.menuTop("Mir");4447 presentetion.menuTopSelected("menu_top_4");4448 presentetion.prev('mir', 'mir_4', "s4_8");4449 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4450 },4451 onExit: function(slideElement) {4452 submitSlideExit('s4_8');4453 }4454 }4455 });4456 document.addEventListener('presentationInit', function() {4457 var slide = app.slide.s4_9 = {4458 elements: {4459 painContent: "#s4_9_2"4460 },4461 onEnter: function(slideElement) {4462 app.menu.show();4463 util.addClass(slide.element.painContent, 'active');4464 presentetion.menuTop("Mir");4465 presentetion.menuTopSelected("menu_top_4");4466 presentetion.prev('mir', 'mir_4', "s4_9");4467 //submitSlideEnter('s1_1', '1', 1, '1', 'A WH_Beauty_1_cycle_2015');4468 },4469 onExit: function(slideElement) {4470 submitSlideExit('s4_9');4471 }4472 }4473 });4474 document.addEventListener('presentationInit', function() {4475 var slide = app.slide.s9_1 = {4476 elements: {4477 painContent: "#s1_9_1"4478 },4479 onEnter: function(slideElement) {4480 //app.menu.hide();4481 util.addClass(slide.element.painContent, 'active');4482 //submitSlideEnter('slideId', 'slideName', slideIndex, 'parentName', 'grandparentName');4483 submitSlideEnter('s9_1', 'Ðглавление', 9, '9', 'A WH_Beauty_1_cycle_2015');4484 popups();4485 },4486 onExit: function(slideElement) {4487 submitSlideExit('s9_1');4488 }4489 }...
toolbar.js
Source:toolbar.js
1function createToolbar(type, download_option, workspace_type) {2 var Page = $Page, height_small = 45, height = 68, property = Page.getPageProperties(), toolbar = null;3 var hide = Ext.create('Ext.container.ButtonGroup', {4 title : 'Columns',5 columns : 2,6 xtype : 'buttongroup',7 height : height,8 id : 'grid_column_toolbar_sh',9 items : [{10 scale : 'large',11 width : 125,12 iconAlign : 'left',13 text : 'Show/Hide',14 icon : '/patric/images/toolbar_hideshow.png',15 menu : []16 }, {17 scale : 'large',18 width : 50,19 text : 'Default',20 handler: function() {21 var Page = $Page, property = Page.getPageProperties(), hash = property.hash, which = hash.hasOwnProperty('cat') ? hash.cat : hash.aT ? hash.aT : 0, stateId = property.stateId[which];22 if (stateId != undefined) {23 var url = "/portal/portal/patric/BreadCrumb/WorkspaceWindow?action=b&cacheability=PAGE&action_type=HTTPProvider&action=remove&name=" + stateId;24 Ext.Ajax.request({25 url: url,26 method: 'GET',27 success: function(response, opts) {28 // console.log("resetColumnState");29 document.location.reload();30 }31 });32 }33 }34 }]35 });36 var hide_small = Ext.create('Ext.container.ButtonGroup', {37 title : 'Columns',38 columns : 2,39 xtype : 'buttongroup',40 height : height_small,41 id : 'grid_column_toolbar_sh_min',42 items : [{43 scale : 'small',44 width : 120,45 iconAlign : 'left',46 text : 'Show/Hide',47 icon : '/patric/images/toolbar_hideshow_small.png',48 menu : []49 }, {50 scale : 'small',51 width : 50,52 text : 'Default',53 handler: function() {54 var Page = $Page, property = Page.getPageProperties(), hash = property.hash, which = hash.hasOwnProperty('cat') ? hash.cat : hash.aT ? hash.aT : 0, stateId = property.stateId[which];55 if (stateId != undefined) {56 var url = "/portal/portal/patric/BreadCrumb/WorkspaceWindow?action=b&cacheability=PAGE&action_type=HTTPProvider&action=remove&name=" + stateId;57 Ext.Ajax.request({58 url: url,59 method: 'GET',60 success: function(response, opts) {61 // console.log("resetColumnState");62 document.location.reload();63 }64 });65 }66 }67 }]68 });69 var workspace = Ext.create('Ext.container.ButtonGroup', {70 title : 'Workspace',71 columns : 1,72 xtype : 'buttongroup',73 width : 132,74 height : height,75 id : 'workspace_toolbar',76 items : [{77 scale : 'large',78 //rowspan: 2,79 width : 125,80 iconAlign : 'left',81 //text:(workspace_type == "Feature")?'Add Feature(s)':'Add Genome(s)',82 text : 'Add ' + ((workspace_type == "ExpressionExperiment") ? 'Experiment' : workspace_type) + '(s)',83 icon : '/patric/images/toolbar_cart.png',84 handler : function() {85 if (Page.exemptList.some(function(element, index, array) {86 return property.name && property.name == element;87 }))88 checkAddClick(property.name);89 else90 callOperation('DoCart', 'No item(s) are selected. To add an item to cart, at least one item must be selected.');91 }92 }]93 });94 var workspace_small = Ext.create('Ext.container.ButtonGroup', {95 title : 'Workspace',96 columns : 1,97 xtype : 'buttongroup',98 width : 125,99 height : height_small,100 id : 'workspace_toolbar',101 items : [{102 scale : 'small',103 //rowspan: 2,104 width : 120,105 iconAlign : 'left',106 //text:(workspace_type == "Feature")?'Add Feature(s)':'Add Genome(s)',107 text : 'Add ' + ((workspace_type == "ExpressionExperiment") ? 'Experiment' : workspace_type) + '(s)',108 icon : '/patric/images/toolbar_cart_small.png',109 handler : function() {110 callOperation('DoCart', 'No item(s) are selected. To add an item to cart, at least one item must be selected.');111 }112 }]113 });114 var btn_grp_explist = Ext.create('Ext.container.ButtonGroup', {115 title : 'View',116 columns : 1,117 xtype : 'buttongroup',118 width : 125,119 height : height_small,120 items : [{121 scale : 'small',122 rowspan : 2,123 width : 120,124 iconAlign : 'left',125 text : 'Gene List',126 icon : '/patric/images/toolbar_icon_genelist.png',127 handler : function() {128 showExpDetail();129 }130 }]131 });132 var view = Ext.create('Ext.container.ButtonGroup', {133 title : 'View',134 columns : 1,135 xtype : 'buttongroup',136 width : 115,137 height : height,138 items : [{139 scale : 'small',140 iconAlign : 'left',141 text : 'FASTA DNA',142 icon : '/patric/images/toolbar_dna.png',143 handler : function() {144 if (Page.exemptList.some(function(element, index, array) {145 return property.name && property.name == element;146 }))147 submitFASTA(property.name, 'display', 'dna');148 else149 callOperation('DoFastaOperation', 'display', 'dna', 'No item(s) are selected. To view Fasta sequence, at least one item must be selected.');150 }151 }, {152 scale : 'small',153 iconAlign : 'left',154 text : 'FASTA Protein',155 icon : '/patric/images/toolbar_protein.png',156 handler : function() {157 if (Page.exemptList.some(function(element, index, array) {158 return property.name && property.name == element;159 }))160 submitFASTA(property.name, 'display', 'protein');161 else162 callOperation('DoFastaOperation', 'display', 'protein', 'No item(s) are selected. To view Fasta sequence, at least one item must be selected.');163 }164 }]165 });166 var download = Ext.create('Ext.container.ButtonGroup', {167 title : 'Download',168 columns : 1,169 xtype : 'buttongroup',170 width : 115,171 height : height,172 items : [{173 scale : 'small',174 iconAlign : 'left',175 width : 110,176 text : 'Table',177 icon : '/patric/images/toolbar_table.png',178 xtype : 'splitbutton',179 menu : (property.name.indexOf("FIGfamSorter") >= 0) ? [{180 text : 'Text File (.txt)',181 icon : '/patric/images/toolbar_text.png',182 handler : function() {183 if (Page.exemptList.some(function(element, index, array) {184 return property.name && property.name == element;185 }))186 setTopOrtho(property.name, "txt");187 else188 DownloadFile('txt');189 }190 }, {191 text : 'Excel file (.xlsx)',192 icon : '/patric/images/toolbar_excel.png',193 handler : function() {194 if (Page.exemptList.some(function(element, index, array) {195 return property.name && property.name == element;196 }))197 setTopOrtho(property.name, "xls");198 else199 DownloadFile('xlsx');200 }201 }, {202 text : 'Family Details: Text File (.txt)',203 icon : '/patric/images/toolbar_text.png',204 handler : function() {205 setAllDetails(property.name, "txt");206 }207 }, {208 text : 'Family Details: Excel File (.xlsx)',209 icon : '/patric/images/toolbar_excel.png',210 handler : function() {211 setAllDetails(property.name, "xlsx");212 }213 }] : (property.name.indexOf("TranscriptomicsGene") >= 0) ? [{214 text : 'Text File (.txt)',215 icon : '/patric/images/toolbar_text.png',216 handler : function() {217 if (Page.exemptList.some(function(element, index, array) {218 return property.name && property.name == element;219 }))220 DownloadTable(property.name, "txt");221 else222 DownloadFile('txt');223 }224 }, {225 text : 'Excel file (.xlsx)',226 icon : '/patric/images/toolbar_excel.png',227 handler : function() {228 if (Page.exemptList.some(function(element, index, array) {229 return property.name && property.name == element;230 }))231 DownloadTable(property.name, "xls");232 else233 DownloadFile('xlsx');234 }235 }, {236 text : 'Gene/Microarray (.txt)',237 icon : '/patric/images/toolbar_text.png',238 handler : function() {239 DownloadAllData(property.name);240 }241 }] : [{242 text : 'Text File (.txt)',243 icon : '/patric/images/toolbar_text.png',244 handler : function() {245 if (Page.exemptList.some(function(element, index, array) {246 return property.name && property.name == element;247 }))248 setTopOrtho(property.name, "txt");249 else250 DownloadFile('txt');251 }252 }, {253 text : 'Excel file (.xlsx)',254 icon : '/patric/images/toolbar_excel.png',255 handler : function() {256 if (Page.exemptList.some(function(element, index, array) {257 return property.name && property.name == element;258 }))259 setTopOrtho(property.name, "xls");260 else261 DownloadFile('xlsx');262 }263 }]264 }, {265 scale : 'small',266 iconAlign : 'left',267 text : 'FASTA',268 width : 110,269 icon : '/patric/images/toolbar_fasta.png',270 xtype : 'splitbutton',271 menu : [{272 text : 'DNA',273 icon : '/patric/images/toolbar_dna.png',274 handler : function() {275 if (Page.exemptList.some(function(element, index, array) {276 return property.name && property.name == element;277 }))278 submitFASTA(property.name, 'download', 'dna');279 else280 callOperation('DoFastaOperation', 'download', 'dna', 'No item(s) are selected. To ddownload Fasta sequence, at least one item must be selected.');281 }282 }, {283 text : 'Protein',284 icon : '/patric/images/toolbar_protein.png',285 handler : function() {286 if (Page.exemptList.some(function(element, index, array) {287 return property.name && property.name == element;288 }))289 submitFASTA(property.name, 'download', 'protein');290 else291 callOperation('DoFastaOperation', 'download', 'protein', 'No item(s) are selected. To download Fasta sequence, at least one item must be selected.');292 }293 }, {294 text : 'DNA/Protein',295 icon : '/patric/images/toolbar_dna_protein.png',296 handler : function() {297 if (Page.exemptList.some(function(element, index, array) {298 return property.name && property.name == element;299 }))300 submitFASTA(property.name, 'download', 'both');301 else302 callOperation('DoFastaOperation', 'download', 'both', 'No item(s) are selected. To download Fasta sequence, at least one item must be selected.');303 }304 }]305 }]306 });307 var download_small = Ext.create('Ext.container.ButtonGroup', {308 title : 'Download',309 columns : 1,310 xtype : 'buttongroup',311 width : 115,312 height : height_small,313 items : [{314 scale : 'small',315 iconAlign : 'left',316 width : 110,317 text : 'Table',318 icon : '/patric/images/toolbar_table.png',319 xtype : 'splitbutton',320 menu : [{321 text : 'Text File (.txt)',322 icon : '/patric/images/toolbar_text.png',323 handler : function() {324 if (Page.exemptList.some(function(element, index, array) {325 return property.name && property.name == element;326 }))327 setTopOrtho(property.name, "txt");328 else329 DownloadFile('txt');330 }331 }, {332 text : 'Excel file (.xlsx)',333 icon : '/patric/images/toolbar_excel.png',334 handler : function() {335 if (Page.exemptList.some(function(element, index, array) {336 return property.name && property.name == element;337 }))338 setTopOrtho(property.name, "xls");339 else340 DownloadFile('xlsx');341 }342 }]343 }]344 });345 var tools = Ext.create('Ext.container.ButtonGroup', {346 title : 'Tools',347 columns : 2,348 height : height,349 xtype : 'buttongroup',350 items : [{351 scale : 'small',352 iconAlign : 'left',353 width : 120,354 text : 'Pathway Summary',355 icon : '/patric/images/16x16-toolbar-icon-pathway.png',356 handler : function() {357 if (Page.exemptList.some(function(element, index, array) {358 return property.name && property.name == element;359 }))360 submitEnrichment(property.name);361 else362 callOperation('DoPathwayEnrichment', 'No item(s) are selected. To run pathway summary tool, at least one item must be selected.');363 }364 }, {365 scale : 'small',366 iconAlign : 'left',367 width : 140,368 text : 'Multiple Seq Alignment',369 icon : '/patric/images/16x16-toolbar-icon-msa.png',370 handler : function() {371 if (Page.exemptList.some(function(element, index, array) {372 return property.name && property.name == element;373 }))374 submitAlign(property.name);375 else376 callOperation('DoMsa', 'No item(s) are selected. To run MSA tool, at least one item must be selected.');377 }378 }, {379 scale : 'small',380 iconAlign : 'left',381 width : 120,382 text : 'MAP IDs to...',383 icon : '/patric/images/16x16-toolbar-icon-idmapping.png',384 menu : [{385 text : '<b>PATRIC Identifiers</b>',386 plain : true387 }, {388 text : 'PATRIC ID',389 handler : function() {390 if (Page.exemptList.some(function(element, index, array) {391 return property.name && property.name == element;392 }))393 submitIDMapping(property.name, "patric_id");394 else395 callOperation('DoIDMapping', "patric_id", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');396 }397 }, {398 text : 'Feature ID',399 handler : function() {400 if (Page.exemptList.some(function(element, index, array) {401 return property.name && property.name == element;402 }))403 submitIDMapping(property.name, "feature_id");404 else405 callOperation('DoIDMapping', "feature_id", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');406 }407 }, {408 text : 'Alt Locus Tag',409 handler : function() {410 if (Page.exemptList.some(function(element, index, array) {411 return property.name && property.name == element;412 }))413 submitIDMapping(property.name, "alt_locus_tag");414 else415 callOperation('DoIDMapping', "alt_locus_tag", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');416 }417 }, {418 text : 'P2 Feature ID',419 handler : function() {420 if (Page.exemptList.some(function(element, index, array) {421 return property.name && property.name == element;422 }))423 submitIDMapping(property.name, "p2_feaure_id");424 else425 callOperation('DoIDMapping', "p2_feature_id", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');426 }427 }, {428 text : '<b>RefSeq Identifiers</b>',429 plain : true430 }, {431 text : 'RefSeq Locus Tag',432 handler : function() {433 if (Page.exemptList.some(function(element, index, array) {434 return property.name && property.name == element;435 }))436 submitIDMapping(property.name, "refseq_locus_tag");437 else438 callOperation('DoIDMapping', "refseq_locus_tag", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');439 }440 }, {441 text : 'RefSeq',442 handler : function() {443 if (Page.exemptList.some(function(element, index, array) {444 return property.name && property.name == element;445 }))446 submitIDMapping(property.name, "protein_id");447 else448 callOperation('DoIDMapping', "protein_id", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');449 }450 }, {451 text : 'Gene ID',452 handler : function() {453 if (Page.exemptList.some(function(element, index, array) {454 return property.name && property.name == element;455 }))456 submitIDMapping(property.name, "gene_id");457 else458 callOperation('DoIDMapping', "gene_id", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');459 }460 }, {461 text : 'GI',462 handler : function() {463 if (Page.exemptList.some(function(element, index, array) {464 return property.name && property.name == element;465 }))466 submitIDMapping(property.name, "gi");467 else468 callOperation('DoIDMapping', "gi", 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');469 }470 }, {471 text : '<b>Other Identifiers</b>',472 plain : true473 }, {474 text : 'Allergome',475 handler : function() {476 if (Page.exemptList.some(function(element, index, array) {477 return property.name && property.name == element;478 }))479 submitIDMapping(property.name, this.text);480 else481 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');482 }483 }, {484 text : 'BioCyc',485 handler : function() {486 if (Page.exemptList.some(function(element, index, array) {487 return property.name && property.name == element;488 }))489 submitIDMapping(property.name, this.text);490 else491 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');492 }493 }, {494 text : 'DIP',495 handler : function() {496 if (Page.exemptList.some(function(element, index, array) {497 return property.name && property.name == element;498 }))499 submitIDMapping(property.name, this.text);500 else501 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');502 }503 }, {504 text : 'DisProt',505 handler : function() {506 if (Page.exemptList.some(function(element, index, array) {507 return property.name && property.name == element;508 }))509 submitIDMapping(property.name, this.text);510 else511 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');512 }513 }, {514 text : 'DrugBank',515 itemCls : 'x-menu-item-cstm',516 handler : function() {517 if (Page.exemptList.some(function(element, index, array) {518 return property.name && property.name == element;519 }))520 submitIDMapping(property.name, this.text);521 else522 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');523 }524 }, {525 text : 'ECO2DBASE',526 itemCls : 'x-menu-item-cstm',527 handler : function() {528 if (Page.exemptList.some(function(element, index, array) {529 return property.name && property.name == element;530 }))531 submitIDMapping(property.name, this.text);532 else533 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');534 }535 }, {536 text : 'EMBL',537 itemCls : 'x-menu-item-cstm',538 handler : function() {539 if (Page.exemptList.some(function(element, index, array) {540 return property.name && property.name == element;541 }))542 submitIDMapping(property.name, this.text);543 else544 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');545 }546 }, {547 text : 'EMBL-CDS',548 itemCls : 'x-menu-item-cstm',549 handler : function() {550 if (Page.exemptList.some(function(element, index, array) {551 return property.name && property.name == element;552 }))553 submitIDMapping(property.name, this.text);554 else555 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');556 }557 }, {558 text : 'EchoBASE',559 itemCls : 'x-menu-item-cstm',560 handler : function() {561 if (Page.exemptList.some(function(element, index, array) {562 return property.name && property.name == element;563 }))564 submitIDMapping(property.name, this.text);565 else566 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');567 }568 }, {569 text : 'EcoGene',570 itemCls : 'x-menu-item-cstm',571 handler : function() {572 if (Page.exemptList.some(function(element, index, array) {573 return property.name && property.name == element;574 }))575 submitIDMapping(property.name, this.text);576 else577 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');578 }579 }, {580 text : 'EnsemblGenome',581 itemCls : 'x-menu-item-cstm',582 handler : function() {583 if (Page.exemptList.some(function(element, index, array) {584 return property.name && property.name == element;585 }))586 submitIDMapping(property.name, this.text);587 else588 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');589 }590 }, {591 text : 'EnsemblGenome_PRO',592 itemCls : 'x-menu-item-cstm',593 handler : function() {594 if (Page.exemptList.some(function(element, index, array) {595 return property.name && property.name == element;596 }))597 submitIDMapping(property.name, this.text);598 else599 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');600 }601 }, {602 text : 'EnsemblGenome_TRS',603 itemCls : 'x-menu-item-cstm',604 handler : function() {605 if (Page.exemptList.some(function(element, index, array) {606 return property.name && property.name == element;607 }))608 submitIDMapping(property.name, this.text);609 else610 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');611 }612 }, {613 text : 'More ...',614 itemCls : 'x-menu-item-cstm',615 menu : [{616 text : 'GeneTree',617 itemCls : 'x-menu-item-cstm',618 handler : function() {619 if (Page.exemptList.some(function(element, index, array) {620 return property.name && property.name == element;621 }))622 submitIDMapping(property.name, this.text);623 else624 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');625 }626 }, {627 text : 'GenoList',628 itemCls : 'x-menu-item-cstm',629 handler : function() {630 if (Page.exemptList.some(function(element, index, array) {631 return property.name && property.name == element;632 }))633 submitIDMapping(property.name, this.text);634 else635 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');636 }637 }, {638 text : 'GenomeReviews',639 itemCls : 'x-menu-item-cstm',640 handler : function() {641 if (Page.exemptList.some(function(element, index, array) {642 return property.name && property.name == element;643 }))644 submitIDMapping(property.name, this.text);645 else646 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');647 }648 }, {649 text : 'HOGENOM',650 itemCls : 'x-menu-item-cstm',651 handler : function() {652 if (Page.exemptList.some(function(element, index, array) {653 return property.name && property.name == element;654 }))655 submitIDMapping(property.name, this.text);656 else657 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');658 }659 }, {660 text : 'HSSP',661 itemCls : 'x-menu-item-cstm',662 handler : function() {663 if (Page.exemptList.some(function(element, index, array) {664 return property.name && property.name == element;665 }))666 submitIDMapping(property.name, this.text);667 else668 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');669 }670 }, {671 text : 'KEGG',672 itemCls : 'x-menu-item-cstm',673 handler : function() {674 if (Page.exemptList.some(function(element, index, array) {675 return property.name && property.name == element;676 }))677 submitIDMapping(property.name, this.text);678 else679 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');680 }681 }, {682 text : 'LegioList',683 itemCls : 'x-menu-item-cstm',684 handler : function() {685 if (Page.exemptList.some(function(element, index, array) {686 return property.name && property.name == element;687 }))688 submitIDMapping(property.name, this.text);689 else690 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');691 }692 }, {693 text : 'Leproma',694 itemCls : 'x-menu-item-cstm',695 handler : function() {696 if (Page.exemptList.some(function(element, index, array) {697 return property.name && property.name == element;698 }))699 submitIDMapping(property.name, this.text);700 else701 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');702 }703 }, {704 text : 'MEROPS',705 itemCls : 'x-menu-item-cstm',706 handler : function() {707 if (Page.exemptList.some(function(element, index, array) {708 return property.name && property.name == element;709 }))710 submitIDMapping(property.name, this.text);711 else712 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');713 }714 }, {715 text : 'MINT',716 itemCls : 'x-menu-item-cstm',717 handler : function() {718 if (Page.exemptList.some(function(element, index, array) {719 return property.name && property.name == element;720 }))721 submitIDMapping(property.name, this.text);722 else723 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');724 }725 }, {726 text : 'NMPDR',727 itemCls : 'x-menu-item-cstm',728 handler : function() {729 if (Page.exemptList.some(function(element, index, array) {730 return property.name && property.name == element;731 }))732 submitIDMapping(property.name, this.text);733 else734 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');735 }736 }, {737 text : 'OMA',738 itemCls : 'x-menu-item-cstm',739 handler : function() {740 if (Page.exemptList.some(function(element, index, array) {741 return property.name && property.name == element;742 }))743 submitIDMapping(property.name, this.text);744 else745 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');746 }747 }, {748 text : 'OrthoDB',749 itemCls : 'x-menu-item-cstm',750 handler : function() {751 if (Page.exemptList.some(function(element, index, array) {752 return property.name && property.name == element;753 }))754 submitIDMapping(property.name, this.text);755 else756 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');757 }758 }, {759 text : 'PDB',760 itemCls : 'x-menu-item-cstm',761 handler : function() {762 if (Page.exemptList.some(function(element, index, array) {763 return property.name && property.name == element;764 }))765 submitIDMapping(property.name, this.text);766 else767 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');768 }769 }, {770 text : 'PeroxiBase',771 itemCls : 'x-menu-item-cstm',772 handler : function() {773 if (Page.exemptList.some(function(element, index, array) {774 return property.name && property.name == element;775 }))776 submitIDMapping(property.name, this.text);777 else778 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');779 }780 }, {781 text : 'PptaseDB',782 itemCls : 'x-menu-item-cstm',783 handler : function() {784 if (Page.exemptList.some(function(element, index, array) {785 return property.name && property.name == element;786 }))787 submitIDMapping(property.name, this.text);788 else789 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');790 }791 }, {792 text : 'ProtClustDB',793 itemCls : 'x-menu-item-cstm',794 handler : function() {795 if (Page.exemptList.some(function(element, index, array) {796 return property.name && property.name == element;797 }))798 submitIDMapping(property.name, this.text);799 else800 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');801 }802 }, {803 text : 'PseudoCAP',804 itemCls : 'x-menu-item-cstm',805 handler : function() {806 if (Page.exemptList.some(function(element, index, array) {807 return property.name && property.name == element;808 }))809 submitIDMapping(property.name, this.text);810 else811 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');812 }813 }, {814 text : 'REBASE',815 itemCls : 'x-menu-item-cstm',816 handler : function() {817 if (Page.exemptList.some(function(element, index, array) {818 return property.name && property.name == element;819 }))820 submitIDMapping(property.name, this.text);821 else822 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');823 }824 }, {825 text : 'Reactome',826 itemCls : 'x-menu-item-cstm',827 handler : function() {828 if (Page.exemptList.some(function(element, index, array) {829 return property.name && property.name == element;830 }))831 submitIDMapping(property.name, this.text);832 else833 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');834 }835 }, {836 text : 'RefSeq_NT',837 itemCls : 'x-menu-item-cstm',838 handler : function() {839 if (Page.exemptList.some(function(element, index, array) {840 return property.name && property.name == element;841 }))842 submitIDMapping(property.name, this.text);843 else844 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');845 }846 }, {847 text : 'TCDB',848 itemCls : 'x-menu-item-cstm',849 handler : function() {850 if (Page.exemptList.some(function(element, index, array) {851 return property.name && property.name == element;852 }))853 submitIDMapping(property.name, this.text);854 else855 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');856 }857 }, {858 text : 'TIGR',859 itemCls : 'x-menu-item-cstm',860 handler : function() {861 if (Page.exemptList.some(function(element, index, array) {862 return property.name && property.name == element;863 }))864 submitIDMapping(property.name, this.text);865 else866 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');867 }868 }, {869 text : 'TubercuList',870 itemCls : 'x-menu-item-cstm',871 handler : function() {872 if (Page.exemptList.some(function(element, index, array) {873 return property.name && property.name == element;874 }))875 submitIDMapping(property.name, this.text);876 else877 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');878 }879 }, {880 text : 'UniParc',881 itemCls : 'x-menu-item-cstm',882 handler : function() {883 if (Page.exemptList.some(function(element, index, array) {884 return property.name && property.name == element;885 }))886 submitIDMapping(property.name, this.text);887 else888 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');889 }890 }, {891 text : 'UniProtKB-Accession',892 itemCls : 'x-menu-item-cstm',893 handler : function() {894 if (Page.exemptList.some(function(element, index, array) {895 return property.name && property.name == element;896 }))897 submitIDMapping(property.name, this.text);898 else899 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');900 }901 }, {902 text : 'UniProtKB-ID',903 itemCls : 'x-menu-item-cstm',904 handler : function() {905 if (Page.exemptList.some(function(element, index, array) {906 return property.name && property.name == element;907 }))908 submitIDMapping(property.name, this.text);909 else910 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');911 }912 }, {913 text : 'UniRef100',914 itemCls : 'x-menu-item-cstm',915 handler : function() {916 if (Page.exemptList.some(function(element, index, array) {917 return property.name && property.name == element;918 }))919 submitIDMapping(property.name, this.text);920 else921 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');922 }923 }, {924 text : 'UniRef50',925 itemCls : 'x-menu-item-cstm',926 handler : function() {927 if (Page.exemptList.some(function(element, index, array) {928 return property.name && property.name == element;929 }))930 submitIDMapping(property.name, this.text);931 else932 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');933 }934 }, {935 text : 'UniRef90',936 itemCls : 'x-menu-item-cstm',937 handler : function() {938 if (Page.exemptList.some(function(element, index, array) {939 return property.name && property.name == element;940 }))941 submitIDMapping(property.name, this.text);942 else943 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');944 }945 }, {946 text : 'World-2DPAGE',947 itemCls : 'x-menu-item-cstm',948 handler : function() {949 if (Page.exemptList.some(function(element, index, array) {950 return property.name && property.name == element;951 }))952 submitIDMapping(property.name, this.text);953 else954 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');955 }956 }, {957 text : 'eggNOG',958 itemCls : 'x-menu-item-cstm',959 handler : function() {960 if (Page.exemptList.some(function(element, index, array) {961 return property.name && property.name == element;962 }))963 submitIDMapping(property.name, this.text);964 else965 callOperation('DoIDMapping', this.text, 'No item(s) are selected. To run id mapping tool, at least one item must be selected.');966 }967 }]968 }]969 }]970 });971 var help = Ext.create('Ext.container.ButtonGroup', {972 title : 'Help',973 columns : 1,974 height : height,975 xtype : 'buttongroup',976 items : [{977 scale : 'large',978 rowspan : 2,979 width : 120,980 iconAlign : 'left',981 text : 'User Guides',982 style : 'padding-left:5px; padding-right:5px;',983 icon : '/patric/images/toolbar_faq.png',984 handler : function() {985 window.open("http://enews.patricbrc.org/faqs/", "_new", "menubar=1,resizable=1,scrollbars=1, fullscreen=1, toolbar=1,titlebar=1,status=1");986 }987 }]988 });989 var help_small = Ext.create('Ext.container.ButtonGroup', {990 title : 'Help',991 columns : 1,992 height : 45,993 xtype : 'buttongroup',994 items : [{995 scale : 'small',996 rowspan : 2,997 width : 120,998 iconAlign : 'left',999 text : 'User Guides',1000 style : 'padding-left:5px; padding-right:5px;',1001 icon : '/patric/images/toolbar_faq_small.png',1002 handler : function() {1003 window.open("http://enews.patricbrc.org/faqs/", "_new", "menubar=1,resizable=1,scrollbars=1, fullscreen=1, toolbar=1,titlebar=1,status=1");1004 }1005 }]1006 });1007 if (type == "cart") {1008 toolbar = Ext.create('Ext.toolbar.Toolbar', {1009 items : [workspace, '-', view, '-', download, '-', tools, '-', hide, '->', '-', help]1010 });1011 } else if (type == "group") {1012 toolbar = Ext.create('Ext.toolbar.Toolbar', {1013 items : [{1014 title : 'Edit',1015 columns : 2,1016 xtype : 'buttongroup',1017 width : 120,1018 height : 80,1019 items : [{1020 scale : 'small',1021 iconAlign : 'left',1022 text : 'Remove',1023 icon : '/patric/images/toolbar_workspace_remove.png',1024 handler : removeItemFromGroup1025 }]1026 }, '-', view, '-', download, '-', tools, '->', '-', help]1027 });1028 } else if (type == "group_list") {1029 toolbar = Ext.create('Ext.toolbar.Toolbar', {1030 items : [{1031 title : 'Edit',1032 columns : 2,1033 xtype : 'buttongroup',1034 width : 120,1035 height : 80,1036 items : [{1037 scale : 'small',1038 iconAlign : 'left',1039 text : 'Remove',1040 icon : '/patric/images/toolbar_workspace_remove.png',1041 handler : removeGroupFromCart1042 }]1043 }, '-', view, '-', download, '-', tools, '->', '-', help]1044 });1045 } else if (type == "exp_list") {1046 toolbar = Ext.create('Ext.toolbar.Toolbar', {1047 items : [workspace_small, '-', btn_grp_explist, '-', download_small, '-', hide_small, '->', '-', help_small]1048 });1049 } else {1050 if (download_option == "") {1051 toolbar = Ext.create('Ext.toolbar.Toolbar', {1052 items : [workspace_small, '-', download_small, '-', hide_small, '->', '-', help_small]1053 });1054 } else if (download_option == "table_wo_workspace") {1055 toolbar = Ext.create('Ext.toolbar.Toolbar', {1056 items : [download_small, '-', hide_small, '->', '-', help_small]1057 });1058 }1059 }1060 return toolbar;...
validations.js
Source:validations.js
1var emailregex = "^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$";2var alphabetsregex = "^[A-z]+$";3jQuery.noConflict()(function($) {4 $(document).ready(function() {5 $("input[name=mobilenumber]").ForceNumericOnly();6 $("input[name=phonenumber]").ForceNumericOnly();7 $("input[name=emergencymobile]").ForceNumericOnly();8 $("input[name=annualrenumeration]").ForceNumericOnly();9 $("input[name=totalworkex]").ForceNumericOnly();10 $("input[name=refreecontact]").ForceNumericOnly();11 $("input[name=paymentamount]").ForceNumericOnly();12 $("input[name=firstname]").ForceAlphabestOnly();13 $("input[name=middlename]").ForceAlphabestOnly();14 $("input[name=refreename]").ForceAlphabestOnly();15 $("#academicachivements, #rolesandresponsibility, #refreeknowing").on('keyup', function() {16 var words = this.value.match(/\S+/g).length;17 if (words > 200) {18 // Split the string on first 200 words and rejoin on spaces19 var trimmed = $(this).val().split(/\s+/, 200).join(" ");20 // Add a space at the end to keep new typing making new words21 $(this).val(trimmed + " ");22 }23 });24 $("#supportinfo").on('keyup', function() {25 var words = this.value.match(/\S+/g).length;26 if (words > 150) {27 // Split the string on first 200 words and rejoin on spaces28 var trimmed = $(this).val().split(/\s+/, 150).join(" ");29 // Add a space at the end to keep new typing making new words30 $(this).val(trimmed + " ");31 }32 });33 $("#section_personal").validate({34 rules: {35 firstname: {36 required: true,37 regexalpha: alphabetsregex38 },39 lastname: {40 required: true41 },42 middlename: {43 regexalpha: alphabetsregex44 },45 dob: {46 required: true,47 dpDate: true48 }49 },50 errorPlacement: function(error, element) {51 $(element).tooltipster('update', $(error).text());52 },53 success: function(label, element) {54 }55 });56 // the following method must come AFTER .validate()57 $('#section_personal .itrequired').each(function() {58 $(this).rules('add', {59 required: true,60 });61 });62 $("#section_contact").validate({63 rules: {64 email: {65 required: true,66 regexemail: emailregex67 },68 mobilenumber: {69 required: true,70 minlength: 1071 },72 emergencymobile: {73 minlength: 1074 }75 },76 errorPlacement: function(error, element) {77 $(element).tooltipster('update', $(error).text());78 },79 success: function(label, element) {80 },81 submitHandler: function(form) {82 }83 });84 // the following method must come AFTER .validate()85 $('#section_contact .itrequired').each(function() {86 $(this).rules('add', {87 required: true,88 });89 });90 $("#section_academic").validate({91 rules: {92 tenthaggregate: {93 required: true,94 max: 10095 },96 twelfthaggregate: {97 required: true,98 max: 10099 },100 graduationpercentage: {101 required: true,102 max: 100103 },104 graduationgpaobtained: {105 required: true,106 number: true107 },108 graduationgpamax: {109 required: true,110 number: true111 }112 },113 errorPlacement: function(error, element) {114 $(element).tooltipster('update', $(error).text());115 },116 success: function(label, element) {117 },118 submitHandler: function(form) {119 }120 });121 // the following method must come AFTER .validate()122 $('#section_academic .itrequired').each(function() {123 $(this).rules('add', {124 required: true,125 });126 });127 $("#section_workex").validate({128 rules: {129 workstarted: {130 required: true,131 dpDate: true132 },133 workcompleted: {134 required: true,135 dpDate: true136 }137 },138 errorPlacement: function(error, element) {139 $(element).tooltipster('update', $(error).text());140 },141 success: function(label, element) {142 },143 submitHandler: function(form) {144 }145 });146 // the following method must come AFTER .validate()147 $('#section_workex .itrequired').each(function() {148 $(this).rules('add', {149 required: true,150 });151 });152 $("#section_reference").validate({153 rules: {154 refreeemail: {155 required: true,156 regexemail: emailregex157 }158 },159 errorPlacement: function(error, element) {160 $(element).tooltipster('update', $(error).text());161 },162 success: function(label, element) {163 },164 submitHandler: function(form) {165 }166 });167 // the following method must come AFTER .validate()168 $('#section_reference .itrequired').each(function() {169 $(this).rules('add', {170 required: true,171 });172 });173 $("#section_scores").validate({174 errorPlacement: function(error, element) {175 },176 success: function(label, element) {177 },178 submitHandler: function(form) {179 }180 });181 // the following method must come AFTER .validate()182 $('#section_scores .itrequired').each(function() {183 $(this).rules('add', {184 required: true,185 });186 });187 $("#window_cat").validate({188 rules: {189 catexamdate: {190 required: true,191 dpDate: true192 }193 },194 errorPlacement: function(error, element) {195 },196 success: function(label, element) {197 },198 submitHandler: function(form) {199 }200 });201 // the following method must come AFTER .validate()202 $('#window_cat .itrequired').each(function() {203 $(this).rules('add', {204 required: true,205 });206 });207 $("#window_cet").validate({208 errorPlacement: function(error, element) {209 },210 success: function(label, element) {211 },212 submitHandler: function(form) {213 }214 });215 // the following method must come AFTER .validate()216 $('#window_cet .itrequired').each(function() {217 $(this).rules('add', {218 required: true,219 });220 });221 $("#section_done_cet").validate({222 errorPlacement: function(error, element) {223 $(element).tooltipster('update', $(error).text());224 },225 success: function(label, element) {226 },227 submitHandler: function(form) {228 }229 });230 // the following method must come AFTER .validate()231 $('#section_done_cet .itrequired').each(function() {232 $(this).rules('add', {233 required: true,234 });235 });236 $("#window_gre").validate({237 rules: {238 gredate: {239 required: true,240 dpDate: true241 }242 },243 errorPlacement: function(error, element) {244 },245 success: function(label, element) {246 },247 submitHandler: function(form) {248 }249 });250 // the following method must come AFTER .validate()251 $('#window_gre .itrequired').each(function() {252 $(this).rules('add', {253 required: true,254 });255 });256 $("#window_gmat").validate({257 rules: {258 gmatdate: {259 required: true,260 dpDate: true261 }262 },263 errorPlacement: function(error, element) {264 },265 success: function(label, element) {266 },267 submitHandler: function(form) {268 }269 });270 // the following method must come AFTER .validate()271 $('#window_gmat .itrequired').each(function() {272 $(this).rules('add', {273 required: true,274 });275 });276 $("#section_docs").validate({277 errorPlacement: function(error, element) {278 },279 success: function(label, element) {280 },281 submitHandler: function(form) {282 }283 });284 // the following method must come AFTER .validate()285 $('#section_docs .itrequired').each(function() {286 $(this).rules('add', {287 required: true,288 });289 });290 $("#section_payment").validate({291 rules: {292 paymentemailid: {293 required: true,294 regexemail: emailregex295 },296 paymentdate: {297 required: true,298 dpDate: true299 }300 },301 errorPlacement: function(error, element) {302 $(element).tooltipster('update', $(error).text());303 },304 success: function(label, element) {305 }306 });307 // the following method must come AFTER .validate()308 $('#section_payment .itrequired').each(function() {309 $(this).rules('add', {310 required: true,311 });312 });313 $("#ddreference").validate({314 errorPlacement: function(error, element) {315 },316 success: function(label, element) {317 },318 submitHandler: function(form) {319 }320 });321 // the following method must come AFTER .validate()322 $('#ddreference .itrequired').each(function() {323 $(this).rules('add', {324 required: true,325 });326 });327 });328});329// Alphabets only control handler330jQuery.fn.ForceAlphabestOnly =331 function() {332 return this.each(function() {333 jQuery(this).keydown(function(e) {334 if ((e.which > 47 && e.which < 58) && (e.which != 32)) {335 return false;336 }337 });338 });339 };340// Numeric only control handler341jQuery.fn.ForceNumericOnly =342 function() {343 return this.each(function() {344 jQuery(this).keydown(function(e) {345 if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {346 return false;347 }348 });349 });...
custom-style.js
Source:custom-style.js
1const element_properties = {2 form_background:{3 property: "background",4 element: "form-container-element"5 },6 form_background_size: {7 property: "background-size",8 element: "form-container-element"9 },10 form_border_color: {11 property: "border-color",12 element: "form-container-element"13 },14 form_border_rounding: {15 property: "border-radius",16 element: "form-container-element"17 },18 form_border_width:{19 property: "border-width",20 element: "form-container-element"21 },22 form_error_background:{23 property: "background",24 element: "form-container-element .error"25 },26 form_error_text_color:{27 property: "color",28 element: "form-container-element"29 },30 form_shadow: {31 property: "border-shadow",32 element: "form-container-element"33 },34 form_text_color:{35 property: "color",36 element: "form-container-element"37 },38 heading_background:{39 property: "background",40 element: "heading-element"41 },42 heading_background_size: {43 property: "background-size",44 element: "heading-element"45 },46 heading_border_rounding: {47 property: "border-radius",48 element: "heading-element"49 },50 heading_text_color:{51 property: "color",52 element: "heading-element"53 },54 item_label_bold: {55 property: "font-weight",56 element: "element-label"57 },58 item_required_icon: {59 property: "required-icon",60 element: "form"61 },62 item_highlight: {63 property: "required-icon",64 element: "form"65 },66 page_background:{67 property: "background",68 element: "page-element"69 },70 page_background_size: {71 property: "background-size",72 element: "page-element"73 },74 page_font_family: {75 property: "font-family",76 element: "page-element"77 },78 page_font_size: {79 property: "font-size",80 element: "page-element:not(.fa)"81 },82 page_header_footer_color:{83 property: "color",84 element: "page-element"85 },86 page_link_color:{87 property: "color",88 element: "page-element a"89 },90 field_border_color : {91 property: "border-color",92 element: "form-container-element .form-control"93 },94 field_border_rounding : {95 property: "border-radius",96 element: "form-container-element .form-control"97 },98 field_border_width : {99 property: "border-width",100 element: "form-container-element .form-control"101 },102 field_font_family : {103 property: "font-family",104 element: "form-container-element .form-control"105 },106 field_font_size : {107 property: "font-size",108 element: "form-container-element .form-control"109 },110 field_background : {111 property: "background",112 element: "form-container-element .form-control"113 },114 field_text_color : {115 property: "color",116 element: "form-container-element .form-control"117 },118 field_spacing : {119 property: "margin",120 element: "form-container-element .form-control"121 },122 field_padding : {123 property: "padding",124 element: "form-container-element .form-control"125 },126 item_spacing : {127 property: "margin",128 element: "form-element"129 },130 item_padding : {131 property: "padding",132 element: "form-element"133 },134 submit_background: {135 property: "background",136 element: "submit-button-element"137 },138 submit_background_size: {139 property: "background-size",