$(function () { $("#dbg").html(''); function spinItBaby(slotmachine, respin) { if (respin == true) $('html,body').animate({scrollTop: $('#slotmachine').offset().top - 50}, 500); $("#timer, #stopwatch").hide(); $('#startoverlay').fadeOut(400); $('#result').fadeOut(400); $('#result-toolbar').fadeOut(400); $('#slotmachine').addClass("running"); //css("background-image", "url(slotmachine-running.png)"); ezslot3.spin(); //console.log(); } var numbers = ['10', '15', '20', '25', '30', '35', '40', '45', '50', '55', '60']; var units = ['times', 'seconds']; var choosen_exercises = ['Plank','Push-Ups','Hinge','tension
relaxation','Leg-Slides','Squats','Jumping jacks','Skiier jacks','Jab Cross','Lunge','Burpees','Biceps
Curls','Wrist Ups','Shoulder-
taps','Butt Kicks','Jab Cross','Couch
Stretch','Leg raises','Cross-
Crawl','Donkeykicks','Pigeon
Stretch','Frontkick','Glute-Bridge','Calf-
raises','Heel
Touch','Sidekick','Calf
Stretch','Walking Plank','Deep Breaths','Heel
taps','Uppercuts','High Knees','Lying
Jumping
Jack','Squat Kicks','Shin-Box','Ropeskipping','stress
pressure
point','Eye
pushups','Glutebridge Kicks','Jumping
Lunges','Superman','Armcircles','Reverse
Lunge
to knee','Walking Plank','Armraise','Near/far
Eye-jumps','Plank
Jacks','Sumo-
Squats','Sit-Ups','Reverse
Flys','Mountainclimbers','Samson
Stretch','Lunge to knee','Energy
Pose','grinning','Shrugs','Starjump','Boxerruns','Bicycle-Crunches','Jump
Squats','Pikes Ups','Wallsit-Punches','Alligator
Roll','Flutter-Kicks']; var exercise_info = [['Plank','','','','','','',''],['Push-Ups','','./exercises/fitboxen-pushup.gif','','','','',''],['Hinge','','','https://youtu.be/Iiwa7U5LOjg','','','','sec'],['tension/relaxation','calms mind and body, releases any tension
breathe in and tense as many muscles in your body as possible - including your face. hold it for a few seconds and breathe out as you release all tension from your body and mind. repeat..','','','','','',''],['Leg-Slides','','','','','','',''],['Squats','','','','','','',''],['Jumping jacks','','./exercises/fitboxen-jumping-jack.gif','','','','',''],['Skiier jacks','','./exercises/fitboxen-skieer.gif','','','','',''],['Jab Cross','throw straight overhead punches ','','','','','',''],['Lunge','','','','','','',''],['Burpees','','','','','','',''],['Biceps Curls','Standing straight forward, palms towards ceiling. Curl your arms and close the fist. ','','','','','',''],['Wrist Ups','','','https://www.youtube.com/watch?v=0zveDLKtKfs','','','',''],['Shouldertaps','','','','','','',''],['Butt Kicks','Kick your heels into your butt alternately','./exercises/fitboxen-buttkicks.gif','','','','',''],['Jab Cross','throw straight punches','./exercises/fitboxen-jab-cross.gif','','','','',''],['Couch-Stretch','','','https://www.youtube.com/watch?v=cvI8MbWmt6w','','','','sec'],['Leg raises','Lying in your back and raise the straightend legs into the air as far as you are able to.','','','','','',''],['Cross-Crawl','','','','','','',''],['Donkeykicks','Kick straight back out of the quadruped position on the ground','','','','','',''],['Pigeon-Stretch','','','https://www.youtube.com/watch?v=U_GBehKnTxA','','','','sec'],['Frontkick','','./exercises/fitboxen-frontkick.gif','','','','',''],['Glute-Bridge','e','','','','','',''],['Calfraises','e','','','','','',''],['Heel-Touch','','','','','','',''],['Sidekick','change side each kick','./exercises/fitboxen-sidekick.gif','','','','',''],['Calf-Stretch','','','https://www.youtube.com/watch?v=JANnx-pHy44','','','','sec'],['Walking Plank','','','','','','',''],['deep breaths','Sit with your spine straight, place one hand on your chest, the other one on your belly. breathe in, let your belly fill with air, feel your belly rise and exhale through your mouth.','','','','','',''],['Heeltaps','Standing tall, hands up in the air. Bend your left leg that you can touch the heel with the right hand. Change sides','','','','','',''],['Uppercuts','left/right alternately','./exercises/fitboxen-uppercut.gif','','','','',''],['High Knees','left/right alternately as fast and as high as possible','./exercises/fitboxen-kneeraise.gif','','','','',''],['Lying Jumping Jack','Lie on your stomach and to the jumping jack exercise in this position without touching the floor with arms or feet','','','','','',''],['Squat Kicks','After each squat do a straight kick (left/right alternately)','','','','','',''],['Shin-Box','','','','https://www.youtube.com/watch?v=YfgPX9d3178','','','sec'],['Ropeskipping','','./exercises/fitboxen-ropeskipping.gif','','','','',''],['stress pressure point','Relaxation and serenity for in-between
this acupressure point is located in the centre of your palm. hold it using the thumb of your other hand and switch afterwards.','','','','','','sec'],['Eye pushups','','','','','','',''],['Glutebridge Kicks','Kick alternately out of Glutebridge-position into the air','','','','','',''],['Jumping Lunges','','','','','','',''],['Superman','','','','','','',''],['Armcircles','','','','','','',''],['Reverse Lunge to Knee','','','','','','',''],['Walking Plank','','','','','','',''],['Armraise','','','https://youtu.be/sOIG-I-1J2k','','','',''],['Near-Far Eyejumps','','','','','','',''],['Plank Jacks','','','','','','',''],['Sumo-Squats','','','','','','',''],['Sit-Ups','','','','','','',''],['Reverse Flys','','','https://www.youtube.com/watch?v=evXOlgLTPCw','','','',''],['Mountainclimbers','','./exercises/fitboxen-mountainclimber.gif','','','','',''],['Samson-Stretch','1.) Ausfallschritt, Ferse vorderes Bein bleibt am Boden
2.) Becken schiebt nach vor, Arme strecken nach oben hinten','','https://www.youtube.com/watch?v=76Pv9-gV6qg','','','',''],['Lunge to knee','left/right alternately','','','','','',''],['energy-power-pose','Stand tall, put your arms all the way up, look up towards the ceiling/sky.','','','','','',''],['grinning','for relaxation and better mood
put on your brightest smile and hold it for a while. smiling releases endorphines which has a positive impact on your mood.','','','','','','sec'],['Shrugs','Raise simultaneously your shoulder with your arms hanging relaxed. Grab a waterbottle or any weight while doing it','./exercises/fitboxen-shrugs.gif','','','','',''],['Starjump','Raise simultaneously your shoulder with your arms hanging relaxed. Grab a waterbottle or any weight while doing it','','','','','',''],['Boxerruns','run in place and throw straight punches','./exercises/fitboxen-boxersrun.gif','','','','',''],['Bicycle-Crunches','','','https://www.youtube.com/watch?v=9FGilxCbdz8','','','',''],['Jump Squats','Get into squat and jump out of this position into the air while throwing the hands up in the air as far as you can','','','','','',''],['Pikes Ups','','','https://www.youtube.com/watch?v=WQe1XOBpXOQ','','','','sec'],['Wallsit-Punches','Do a wallsit and throw straight punches (1 times = 1 punch left, 1 punch right)','','','','','',''],['Alligator Roll','','','https://www.youtube.com/watch?v=TXkzUS2jv4U','','','',''],['Flutter-Kicks','','','','','','','']]; var callbackFunction = function (result) { amount = numbers[result[0]]; if (exercise_info[result[2]][7].length > 0) //force { // console.log("force" + exercise_info[result[2]][7]); if (exercise_info[result[2]][7] == "sec" && result[1] == 0) { result[1] = 1; // console.log("FORCE IT"); rewrite = 'seconds'; $(".window_1 .symbol .content").html(rewrite); } if (exercise_info[result[2]][7] == "cnt" && result[1] == 1) { result[1] = 0; // console.log("FORCE IT"); rewrite = 'times'; $(".window_1 .symbol .content").html(rewrite); } } unittype = units[result[1]]; //$("#rays").removeClass("animate"); setTimeout(function () { $('html,body').animate({scrollTop: $('#action').offset().top - 140}, 500); $('#result').fadeIn(2000); $('#result-toolbar').fadeIn(400); toolbarhtml = '
Push your luck again.
'; //$("#result-toolbar").html(); outputhtml = "

" + amount + ' ' + unittype + '
' + exercise_info[result[2]][0] + "

"; imagehtml = ""; if (exercise_info[result[2]][1].length > 0) outputhtml += "
" + exercise_info[result[2]][1] + "
"; if (exercise_info[result[2]][2].length > 0) { toolbarhtml += "
"; imagehtml += "
"; } $("#result-image").html(imagehtml); if (exercise_info[result[2]][3].length > 0) { linktext = " "; toolbarhtml += "
" + linktext + "
"; } partnerhtml = ""; if (exercise_info[result[2]][6].length > 0) partnerhtml = "
" + exercise_info[result[2]][6] + "
"; $('#result-info').html(outputhtml); $('#partner-info').html(partnerhtml); $("#result-toolbar").html(toolbarhtml); if (result[1] == 0) $("#stopwatch").show(); if (result[1] == 1) { $("#cd_s").html(amount); $("#cd_seconds").val(amount); $("#timer").show(); } $('#startoverlay').fadeIn(2400); $('#slotmachine').removeClass("running"); $("#respin").click(function () { spinItBaby(ezslot3, true); }); }, 3500); } var ezslot3 = new EZSlots("workout", { "reelCount": 3, "winningSet": [0, 0, 0], "symbols": [numbers, units, choosen_exercises], "callback": callbackFunction }); $("#workout, #respin, #startoverlay").click(function () { spinItBaby(ezslot3, false); }); }); function removeCookies() { //console.log("removeall"); var res = document.cookie; var multiple = res.split(";"); for (var i = 0; i < multiple.length; i++) { var key = multiple[i].split("="); document.cookie = key[0] + " =; expires = Thu, 01 Jan 1970 00:00:00 UTC"; } } function loadGAonConsent() { window.ga = window.ga || function () { (ga.q = ga.q || []).push(arguments) }; ga.l = +new Date; ga('create', 'UA-36957448-7', 'auto'); ga('send', 'pageview'); var gascript = document.createElement("script"); gascript.async = true; gascript.src = "https://www.google-analytics.com/analytics.js"; document.getElementsByTagName("head")[0].appendChild(gascript, document.getElementsByTagName("head")[0]); } function delGACookie() { // Cookies.remove('_gat', { path: '/', domain: 'altgenug.st' }); document.cookie = "_gat=; Domain=online.fitboxen.at expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; document.cookie = "_ga=; Domain=online.fitboxen.at; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; document.cookie = "_gid=; Domain=online.fitboxen.at; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;"; } if (navigator.doNotTrack != 1 && navigator.doNotTrack != "yes" && window.doNotTrack != 1 && navigator.msDoNotTrack != 1) { if (document.cookie.split(';').filter(function (item) { return item.indexOf('cookieconsent_status=allow') >= 0 }).length) { loadGAonConsent(); } else delGACookie(); } else delGACookie(); window.cookieconsent.initialise({ "palette": { "popup": { "background": "#000000", "text": "#FFFFFF" }, "button": { "background": "#94bd3c", "text": "#000000" } }, "position": "top-left", "theme": "edgeless", "type": "opt-in", "content": { "message": "We use cookies for statistics.", "dismiss": "alright", "deny": "no thanks. ", "allow": "allright", "link": "privacy (in german)", "href": "https://www.fitboxe.at/datenschutz", "policy": 'Cookie-Settings', "target": '_blank' } , onPopupOpen: function () { loadGAonConsent(); // console.log("OPEN"); } , onPopupClose: function () { // console.log("close"); } , onInitialise: function (status) { var type = this.options.type; var didConsent = this.hasConsented(); if (type == 'opt-in' && didConsent) { // enable cookies loadGAonConsent(); } if (type == 'opt-out' && !didConsent) { // disable cookies delGACookie(); } } , onStatusChange: function (status, chosenBefore) { var type = this.options.type; var didConsent = this.hasConsented(); if (type == 'opt-in' && didConsent) { loadGAonConsent(); } if (type == 'opt-out' && !didConsent) { delGACookie(); } } , onRevokeChoice: function () { var type = this.options.type; if (type == 'opt-in') { delGACookie(); } if (type == 'opt-out') { loadGAonConsent(); } } } ); // 68:online.fitboxen.at:en