Free Slots Online – Play 7,780+ FREE Slots in Canada

Free Slots Online – Play 7,780+ FREE Slots in Canada

January 18, 2023 Off By editorialteam


Free Slots Online – Play 7,780+ FREE Slots in Canada Javascript is required to run this page properly. You are here: Home / Free

You’ve just discovered the biggest online free slots library. Like thousands of Canadian slots players who use VegasSlotsOnline.com every day, you now have instant access to over 7780 free online slots that you can play right here.

Our free slot games may be played in any part of the world, as long as you’re connected to the internet. You don’t need to bet real money, you can play our free online slot machines 24/7 with no download required.

And we add more free slot games every day. That’s why we’re the world’s biggest collection of free slot machines online.

Free Canadian casino slot games are fun to play whenever you have a few minutes to spare. There’s a huge number of themes, so whether you want to play free online slots that feature cats or even Thor, God of Thunder, you’ll find them all here.

At VegasSlotsOnline.com, we offer you the world’s biggest free casino games selection for Canadian players. All our free slots are no download games and will let you play for as long as you like. And if you do decide to play for real money, check out one of our recommended online slots sites.

Ready to play Vegas slots for free right now?

Read More >> << Read Less Secured

Pick a Free Slots Game and Start Playing

Video Slots

Video Slots

Video Slots

Spartacus Gladiator of Rome

WMS

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Lucky Larry’s Lobstermania 2

IGT

Video Slots

Video Slots

88 Fortunes

Shuffle Master

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Video Slots

Dolphin Treasure

Aristocrat

Video Slots

Da Vinci Diamonds Dual Play

IGT

Video Slots

Double da Vinci Diamonds

High 5 Games

Video Slots

Invaders from the Planet Moolah

WMS

Video Slots

Where’s The Gold

Aristocrat

Video Slots

Video Slots

Video Slots

Queen Of The Nile

Aristocrat

Video Slots

Video Slots

How To Play Free Slots In Canada

Wondering how to play free online casino games without downloading software?

The solution is simple: check out any of the free slot machine games listed on our site and you can play them in your browser.

We’ll guide you through the steps here to show you just how easy it is to get started:

Step One: Visit Our Free Slots Lobby

Scroll upwards to our free Vegas slots selection and pick a game to your liking. If you’re not sure what free slot game you’d like to play, you can find one with our filtering system. You can sort our free casino slots selection alphabetically, new to old, or by most popular. You can even filter our games by theme, which we have tons of. For example, if you’re into animal-themed slots, select Animals from the dropdown. This will bring up many games, with all-time classics such as Spielo’s The Wild Life slot and IGT’s Kitty Glitter. If you’re looking for certain slot machine features or games by a specific provider, you can filter by those options too.

Don’t forget, you can click the “Load More Games” button to find your perfect free slot machine. You can take your pick from 8,000 free slots, no download and no registration required.

Step Two: Load up the Game in Your Web Browser

Once you’ve found your free online slot and clicked on it, you’ll be redirected to the game in your web browser. Click on “Start Game”, and the free slots game will load up at no time at all. If you’re a beginner, we advise checking out the information tab and the paytable. These will help you understand how the online slot works. The paytable will show you what kind of prizes you can get, and which special symbols you should keep an eye on.

🤔 Did you know?

Because our free slots no download games work in your browser, they’ll work just as well on mobile, desktop, and tablet. Thanks to HTML5 software, you can enjoy our free mobile slot machines on any device.

Step Three: Start Playing Free Slots for Fun!

Once you’re happy with your free slots game, hit spin! All our Canadian casino game demos come with a generous virtual balance. This balance is known as “credits”. You can play with these slot credits for as long as you look. You can refresh them with the button at the top right of the game window.

Free slots work like real money slots, if you hit a specific combination with the symbols, you can trigger free spins rounds and other bonus features.

Top tip: If you like the online slot you’re spinning, you can pick another from the “What Will You Play Next?” column. Finding free slots to play for fun has never been so easy!

Are Free Slots Legal in Canada?

Not all kinds of online casino gaming are legal in Canada, and laws can differ from province to province. So, you might be worried about playing free slot games.

We’ve got good news: you can play the best free slot games for fun without worrying about Canadian law. As long as you’re not betting real money, then it’s not technically gambling.

Still, if you ever switch to real money game, it’s good to be familiar with online gambling laws in your location. We have a thorough Canada online gambling hub on VegasSlotsOnline that will walk you through your local gambling laws.

jackpot

Our Top Five Free Slot Machines in 2023

With 7780+ free slots online to choose from here at VegasSlotsOnline, you might be wondering where to begin. We’ve gathered our favorite titles below, so that you can get started in no time with our best five free slots no download games:

1

Cleopatra

Cleopatra is on our list of top free slot games because there are a number of features that you can trigger. Land 3, 4, or 5 scatter symbols and you can get up to 15 free spins. Any wins during the Cleopatra Bonus also get a x3 multiplier.

If you like Cleopatra, you’ll ️: Mistress of Egypt MegaJackpots, also by IGT. Enjoy cutting-edge graphics of Ancient Egypt’s most iconic queen, and free spins thanks to the jewelled scarab beetle.

2

Spartacus Gladiator of Rome

This game is different to other free casino slots because it features two reel sets. This allows you to play on a maximum of 100 lines. Get 3, 4, or 5 scatter symbols and you can trigger up to 20 free spins, and also a 20x multiplier.

If you like Spartacus Gladiator of Rome, you’ll ️: Playtech’s Gladiator free slot machine, a movie-based game where scatter symbols can trigger multipliers that can multiply your wins up to 100x.

3

Triple Diamond

Triple Diamond is popular with classic slot fans, and you’ll find original reel symbols such as the BAR and lucky number 7. The gameplay is quite simple, with no flashy bonus rounds. However, there’s still a generous top prize – land 3 triple diamond symbols on a payline and you’ll get x1199 your total stake.

If you like Triple Diamond, you’ll ️: The Da Vinci Diamonds slot by IGT. Here you’ll see famous renaissance artworks and colorful gems cascade into view and grant you wins thanks to the Tumbling Reels feature.

4

50 Dragons

In this Aristocrat slot, you can get 1000x your initial bet if you land 5 golden lions on a payline. Get 3 scatter symbols and you’ll trigger the free games feature, where you’ll be awarded 10 free spins. You can also re-trigger this feature where you’ll get an extra 5 spins for an additional 3 scatters.

If you like 50 Dragons, you’ll ️: Aristocrat’s 50 Lions, especially if mythical creatures aren’t your thing. One of our most popular free slots, 50 Lions comes with a gamble feature and free spins.

5

Hot Shot Progressive

The main highlight of this slot is its game-in-game scatter bonus. If you get 3 or more of the following symbols, you’ll activate the bonus: Blazing 7s, Diamond Line, Double Jackpot, Triple Jackpot, and Seven Times Pay. And even if you’re not lucky the first time, you’ll continue to play the game-in-game feature until you score a win.

If you like Hot Shot Progressive, you’ll ️: Blazing Clusters by Red Tiger Gaming. Released in 2021, it’s a new online slot compared to the Bally classic. Fans, however, will love the retro vibes and Wild Rush feature.

No Download Free Slots vs Real Money Games

It’s a debate as old as the very first online casino: should you play online slots for free or bet for real money? The only valid answer is that there is no better or worse – there are just different advantages.

At VegasSlotsOnline, we love to play casino slot games both ways. The two complement each other. Even if you’re a diehard real money player who’s trying to reel in some cash, there are times when you should consider playing free online slots.

Here, we discuss how both ways of playing differ from one another. You can compare free slots and real casino games side by side to know the strengths of each:

Free Online Slots

  • Playing online free slots will make you see if the game’s marketing was simply hype or if you genuinely enjoy the game’s software.
  • Free slot machines have the same mechanics as real money slot machines, which means you can test most of the features without risking your own cash.
  • Playing free casino slots is the perfect way to unwind. Simply enjoy your favorite free slots games online as entertainment – without getting caught up in chasing wins.
  • Free Vegas slots are a great way to test out the selection of games at a new online casino, and make sure the game lobby is to your liking. It saves the hassle of making a cash deposit at the casino.

Real Online Slots

  • Real money play = real money wins! When you play slots at a Canadian online casino, you have the chance to grab cash prizes that you wouldn’t otherwise when playing free slots no download games.
  • Online casinos offer hundreds of slot games, and loads of great offers, such as free spins or no deposit bonus codes. You can use casino bonus money to play online slots for free but win for real.
  • Famous progressive jackpot games aren’t available as free slots to play for fun. If you make a cash deposit, you can play these real money-exclusive jackpot slots, like Mega Moolah and Mega Fortune. That also means you have a chance at winning the jackpot prizes!
  • Slots are the most played online casino games, way bigger than blackjack, roulette, or any other online casino game out there. That also means there are more of them – thousands in fact. This means you’ll always have a variety of real money slots to choose from at online casinos.

Play Free Online Slots at Our Recommended Casinos

Though we’re the best on the web when it comes to free slots and free games, you might want to play slots for fun at one of our top-rated casino sites. This is perfect for when you want to switch to real money play. This way, you can test out the casino and decide whether it offers the games that you’d want to bet your hard-earned cash on.

You’ll need to create a login at your chosen online casino. Doing so is straightforward and you don’t have to submit any financial details to play your favorite free online slots. If you’re considering the switch to real money play, you can visit a minimum deposit casino and spin slots for as little as $10 and have the chance to win millions.

Here’s a big tip from us: don’t sign up with the first online casino you find in your search browser. We recommend the best online casinos that will let you play free Vegas slots safely.

jackpot jackpot

Play Free Casino Games from Any Device You Like

One of the breakthroughs in free online slots is that they are not just for the desktop Windows user anymore. The games are made available to play on Mac and Linux computers too. You can also play on mobile phones with different operating systems. You’ll find that the best devices to spin free slot machines into action include:

  • Android phones: Samsung’s latest line up of smartphones are perfect for playing free online slot games. This includes the budget-friendly Galaxy A Series and the sleek Galaxy S models.
  • iPhones: the latest Apple models, like the iPhone 14 have a powerful battery life, ensuring you can play free slots online for as long as you like.
  • Tablets:Samsung tablets and iPads come with bigger screens, which is always a plus when you’re playing free Vegas slots on the web.

However, if you do prefer to play free casino slots from your home computer, don’t feel like you’re missing out. The truth is that free Vegas slots often look nicer on a big monitor screen.

Most importantly, at VegasSlotsOnline.com, you can expect a stellar experience no matter how you choose to play. You can play every single one of our free slots with no download and no registration needed on desktop, mobile and tablet.

The Top Free Online Slots Features You Should Know About

Playing free slots for fun gives you a better feel for that particular Canadian casino game. Even though slots are a game of chance with random outcomes, they have different ways to win, different bonus games, varying numbers of symbols, and different jackpots.

There are some slots features that you should be a bit more mindful of when hunting for your next best online slot. Such features include wild symbols, that replace other symbols to hit winning combinations, scatter symbols, that activate free spins and bonus rounds, and multipliers, that will multiply your winnings to make your final payout much nicer.

You can learn more on the top free slots features with our glossary here:

jackpot

Winning Combination

A combination of symbols that make it possible to win a prize.

Jackpot

The biggest prize a player can win from a slot game.

Progressive Jackpot

A jackpot that keeps growing when more players spin on a particular game.

Payline

Win line set on a slot machine.

Rolls (or reels)

The vertical columns of an online slot machine. Each roller rotates independently of one another.

Automatic Mode (or auto-play)

A slot machine setting that enables the game to spin automatically, without you needing the press the spin button.

Free Spins

A bonus that allows the player to benefit from extra spins, without having to place any bets themselves.

Symbols

These are the images that cover the reels of a slot machine. They usually follow a theme.

Wild Symbol

It’s like a joker card, which will substitute for other symbols to complete winning combinations. There are different types of wilds:

  • Sticky Wild: This symbol remains “frozen” on the reels for several spins. The player benefits from its effects for a few spins.
  • Expanding Wild: A single wild symbol which, as the game progresses, will spread over the reels, increasing your chances of winning prizes.
  • Wild avalanche (or cascading wilds): This is a sequence of wilds that fall onto the reels in a “cascade”, which allows you to win extra prizes.

Scatter Symbol

This symbol appears randomly anywhere on the reels. It allows you to activate a winning combination, without being on a payline. You can win free spins or bonus games thanks to it.

Bonus Game

A mini game that appears alongside the main game of the free slot machine. It allows you to win extra prizes or jackpots.

Multiplier

A special symbol that can multiply your wins significantly during the game. Multipliers can hold small values like “x5” but can go all the way up to “x100”..

Gamble Feature

A “double or quit” game, which offers players the chance to double their winnings.

VSO Coins – Take Your Free Slots Play to the Next Level

Have you heard of VSO coins? This exclusive feature takes your free slots play up a notch. With VSO coins, you can play with one balance across games, allowing you to build your balance in real time. Here’s how it works:

  • Create an account with VegasSlotsOnline. It only takes a few minutes.
  • Once you’ve signed up, you’ll have 10,000 VSO coins to start with.
  • You can enjoy your coins on 20+ slots from Vibra Gaming.
  • Anything you win from these free slot machine games gets added to your account balance.

Sounds easy, right? And all you need is a VegasSlotsOnline account to get started. Besides playing free slots in this unique way, you can gain access to other perks. These include member-only casino bonuses, a favorite games tool, player history, and more!

Free Casino Slot Games in Canada FAQs

There is absolutely no charge to play these free slots. The only drawback to free casino slots is that you cannot win any real money by playing them online.

We have put together a collection of free slot machines that can be played with no download required. Many Canadian online casinos also offer free versions of their games.

Free versions are available to play for most popular slot games from trusted software developers. We keep thousands of great free slots here at VegasSlotsOnline.com for you to choose from.

There is no need to download anything to play most free casino games. Here at VSO, you can play all of our free slots online with no download required.

Free online slots are almost identical to their real money counterparts. The gameplay is exactly the same, though you cannot win or lose real money when playing free Vegas slots.

A few of the most popular free slot games today include the Thunderstruck II slot machine by Microgaming, Barcrest’s Rainbow Riches, and Hall of Gods by NetEnt.

We have a collection of the most popular slots that you can play right now! There are over 7780 free online slots to play from the world’s best software providers.

There is absolutely no charge to play these free slots. The only drawback to free casino slots is that you cannot win any real money by playing them online.”}},{“@type”:”Question”,”name”:”How to find where to play free slots?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”

We have put together a collection of free slot machines that can be played with no download required. Many Canadian online casinos also offer free versions of their games.”}},{“@type”:”Question”,”name”:”What slot games can I play for free?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”

Free versions are available to play for most popular slot games from trusted software developers. We keep thousands of great free slots here at VegasSlotsOnline.com for you to choose from.”}},{“@type”:”Question”,”name”:”Do I need to download to play free slots?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”

There is no need to download anything to play most free casino games. Here at VSO, you can play all of our free slots online with no download required.”}},{“@type”:”Question”,”name”:”Are free games the same as real money slots games?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”

Free online slots are almost identical to their real money counterparts. The gameplay is exactly the same, though you cannot win or lose real money when playing free Vegas slots.”}},{“@type”:”Question”,”name”:”What are the most popular free slot games?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”

A few of the most popular free slot games today include the Thunderstruck II slot machine by Microgaming, Barcrestu2019s Rainbow Riches, and Hall of Gods by NetEnt.”}},{“@type”:”Question”,”name”:”Where can I play free slot games?”,”acceptedAnswer”:{“@type”:”Answer”,”text”:”

We have a collection of the most popular slots that you can play right now! There are over 7780 free online slots to play from the worldu2019s best software providers.”}}]}]]>

**Debug info** Country : United States Iso Code : US State : California City : Torrance Language : en-ca State Code : CA IP : 162.0.229.50

“),X=new RegExp(F),V=new RegExp(“^”+I+”$”),G={ID:new RegExp(“^#(“+I+”)”),CLASS:new RegExp(“^\.(“+I+”)”),TAG:new RegExp(“^(“+I+”|[*])”),ATTR:new RegExp(“^”+W),PSEUDO:new RegExp(“^”+F),CHILD:new RegExp(“^:(only|first|last|nth|nth-last)-(child|of-type)(?:\(“+M+”*(even|odd|(([+-]|)(\d*)n|)”+M+”*(?:([+-]|)”+M+”*(\d+)|))”+M+”*\)|)”,”i”),bool:new RegExp(“^(?:”+R+”)$”,”i”),needsContext:new RegExp(“^”+M+”*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\(“+M+”*((?:-\d)?\d*)”+M+”*\)|)(?=[^-]|$)”,”i”)},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^hd$/i,K=/^[^{]+{s*[native w/,Z=/^(?:#([w-]+)|(w+)|.([w-]+))$/,ee=/[+~]/,te=new RegExp(“\\[\da-fA-F]{1,6}”+M+”?|\\([^\r\n\f])”,”g”),ne=function(e,t){var n=”0x”+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([-x1fx7f]|^-?d)|^-$|[^-x1fx7f-uFFFFw-]/g,ie=function(e,t){return t?””===e?”ufffd”:e.slice(0,-1)+”\”+e.charCodeAt(e.length-1).toString(16)+” “:”\”+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&”fieldset”===e.nodeName.toLowerCase()},{dir:”parentNode”,next:”legend”});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],”string”!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+” “]&&(!v||!v.test(t))&&(1!==p||”object”!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute(“id”))?s=s.replace(re,ie):e.setAttribute(“id”,s=S)),o=(l=h(t)).length;while(o–)l[o]=(s?”#”+s:”:scope”)+” “+xe(l[o]);c=l.join(“,”)}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute(“id”)}}}return g(t.replace($,”$1″),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+” “)>b.cacheLength&&delete e[r.shift()],e[t+” “]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement(“fieldset”);try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split(“|”),r=n.length;while(r–)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return”input”===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return(“input”===t||”button”===t)&&e.type===n}}function ge(t){return function(e){return”form”in e?e.parentNode&&!1===e.disabled?”label”in e?”label”in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:”label”in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i–)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&”undefined”!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||”HTML”)},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener(“unload”,oe,!1):n.attachEvent&&n.attachEvent(“onunload”,oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement(“div”)),”undefined”!=typeof e.querySelectorAll&&!e.querySelectorAll(“:scope fieldset div”).length}),d.attributes=ce(function(e){return e.className=”i”,!e.getAttribute(“className”)}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment(“”)),!e.getElementsByTagName(“*”).length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute(“id”)===t}},b.find.ID=function(e,t){if(“undefined”!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=”undefined”!=typeof e.getAttributeNode&&e.getAttributeNode(“id”);return t&&t.value===n}},b.find.ID=function(e,t){if(“undefined”!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode(“id”))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode(“id”))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return”undefined”!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(“*”===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(“undefined”!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML=””,e.querySelectorAll(“[msallowcapture^=”]”).length&&v.push(“[*^$]=”+M+”*(?:”|””)”),e.querySelectorAll(“[selected]”).length||v.push(“\[“+M+”*(?:value|”+R+”)”),e.querySelectorAll(“[id~=”+S+”-]”).length||v.push(“~=”),(t=C.createElement(“input”)).setAttribute(“name”,””),e.appendChild(t),e.querySelectorAll(“[name=”]”).length||v.push(“\[“+M+”*name”+M+”*=”+M+”*(?:”|””)”),e.querySelectorAll(“:checked”).length||v.push(“:checked”),e.querySelectorAll(“a#”+S+”+*”).length||v.push(“.#.+[+~]”),e.querySelectorAll(“\f”),v.push(“[\r\n\f]”)}),ce(function(e){e.innerHTML=”“;var t=C.createElement(“input”);t.setAttribute(“type”,”hidden”),e.appendChild(t).setAttribute(“name”,”D”),e.querySelectorAll(“[name=d]”).length&&v.push(“name”+M+”*[*^$|!~]?=”),2!==e.querySelectorAll(“:enabled”).length&&v.push(“:enabled”,”:disabled”),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(“:disabled”).length&&v.push(“:enabled”,”:disabled”),e.querySelectorAll(“*,:x”),v.push(“,.*:”)})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,”*”),c.call(e,”[s!=”]:x”),s.push(“!=”,F)}),v=v.length&&new RegExp(v.join(“|”)),s=s.length&&new RegExp(s.join(“|”)),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+” “]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0″:{dir:”parentNode”,first:!0},” “:{dir:”parentNode”},”+”:{dir:”previousSibling”,first:!0},”~”:{dir:”previousSibling”}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||””).replace(te,ne),”~=”===e[2]&&(e[3]=” “+e[3]+” “),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),”nth”===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(“even”===e[3]||”odd”===e[3])),e[5]=+(e[7]+e[8]||”odd”===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||””:n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(“)”,n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return”*”===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+” “];return t||(t=new RegExp(“(^|”+M+”)”+e+”(“+M+”|$)”))&&m(e,function(e){return t.test(“string”==typeof e.className&&e.className||”undefined”!=typeof e.getAttribute&&e.getAttribute(“class”)||””)})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?”!=”===r:!r||(t+=””,”=”===r?t===i:”!=”===r?t!==i:”^=”===r?i&&0===t.indexOf(i):”*=”===r?i&&-1]*|#([w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||j,”string”==typeof e){if(!(r=””===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,j=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e“,””],col:[2,”

“,””],tr:[2,”
“,””],td:[3,”
“,””],_default:[0,””,””]};function ve(e,t){var n;return n=”undefined”!=typeof e.getElementsByTagName?e.getElementsByTagName(t||”*”):”undefined”!=typeof e.querySelectorAll?e.querySelectorAll(t||”*”):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n0}(e)?function(t,e){var n=e._settings;d(n.callback_enter,t),n.load_delay?x(t,e):A(t,e)}(e.target,t):function(t,e){var n=e._settings;d(n.callback_exit,t),n.load_delay&&L(t)}(e.target,t)})},{root:(e=t._settings).container===document?null:e.container,rootMargin:e.thresholds||e.threshold+”px”}),!0);var e},N=[“IMG”,”IFRAME”],C=function(t,e){return function(t){return t.filter(function(t){return!c(t)})}((n=t||function(t){return t.container.querySelectorAll(t.elements_selector)}(e),Array.prototype.slice.call(n)));var n},M=function(t,e){this._settings=function(t){return _extends({},r,t)}(t),this._loadingCount=0,O(this),this.update(e)};return M.prototype={update:function(t){var n,o=this,r=this._settings;(this._elements=C(t,r),!e&&this._observer)?(function(t){return t.use_native&&”loading”in HTMLImageElement.prototype}(r)&&((n=this)._elements.forEach(function(t){-1!==N.indexOf(t.tagName)&&(t.setAttribute(“loading”,”lazy”),z(t,n))}),this._elements=C(t,r)),this._elements.forEach(function(t){o._observer.observe(t)})):this.loadAll()},destroy:function(){var t=this;this._observer&&(this._elements.forEach(function(e){t._observer.unobserve(e)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){z(t,this,e)},loadAll:function(){var t=this;this._elements.forEach(function(e){A(e,t)})}},t&&function(t,e){if(e)if(e.length)for(var n,o=0;n=e[o];o+=1)a(t,n);else a(t,e)}(M,window.lazyLoadOptions),M}); /* SLIIIDE FOR MOBILE MENU */ !function(z){var O=function(){var t=window.navigator.userAgent,n=t.indexOf(“MSIE “);if(02)return a=s[1]?fe._ceo(s[1].deps):[Te],a.unshift(s[0]),a._cxp=d,a;if(p=d.tagElse,c=s[1]?d.tag&&d.tag.cvtArgs?d.tag.cvtArgs(p,1)[d.ind]:s[1](s[0].data,s[0],fe):s[0]._ocp,g)return s&&c!==r&&fe._ucp(n,r,f,d),f;s=c}return s&&se(s)&&(o=function(){return s.apply(this&&this!==e?this:u,arguments)},l(o,s),o._vw=u),o||s}}function m(e){return e&&(e.fn?e:this.getRsc(“templates”,e)||le(e))}function h(e,t,n,r){var o,a,s,d,p=”number”==typeof n&&t.tmpl.bnds[n-1],u=t._lc;if(void 0===r&&p&&p._lr&&(r=””),void 0!==r?n=r={props:{},args:[r]}:p&&(n=p(t.data,t,fe)),p=p._bd&&p,e||p){if(o=u&&u.tag,n.view=t,!o){if(o=l(new fe._tg,{_:{bnd:p,unlinked:!0,lt:n.lt},inline:!u,tagName:”:”,convert:e,flow:!0,tagCtx:n,tagCtxs:[n],_is:”tag”}),s=n.args.length,s>1)for(d=o.bindTo=[];s–;)d.unshift(s);u&&(u.tag=o,o.linkCtx=u),n.ctx=Q(n.ctx,(u?u.view:t).ctx),i(o,n)}o._er=r&&a,o.ctx=n.ctx||o.ctx||{},n.ctx=void 0,a=o.cvtArgs()[0],o._er=r&&a}else a=n.args[0];return a=p&&t._.onRender?t._.onRender(a,t,o):a,void 0!=a?a:””}function _(e,t){var n,r,i,o,a,s,d,l=this;if(l.tagName){if(s=l,l=(s.tagCtxs||[l])[e||0],!l)return}else s=l.tag;if(a=s.bindFrom,o=l.args,(d=s.convert)&&””+d===d&&(d=”true”===d?void 0:l.view.getRsc(“converters”,d)||S(“Unknown converter: ‘”+d+”‘”)),d&&!t&&(o=o.slice()),a){for(i=[],n=a.length;n–;)r=a[n],i.unshift(b(l,r));t&&(o=i)}if(d){if(d=d.apply(s,i||o),void 0===d)return o;if(a=a||[0],n=a.length,de(d)&&d.length===n||(d=[d],a=[0],n=1),t)o=d;else for(;n–;)r=a[n],+r===r&&(o[r]=d[n])}return o}function b(e,t){return e=e[+t===t?”args”:”props”],e&&e[t]}function x(e){return this.cvtArgs(e,1)}function w(e,t){var n,r,i=this;if(“”+t===t){for(;void 0===n&&i;)r=i.tmpl&&i.tmpl[e],n=r&&r[t],i=i.parent;return n||oe[e][t]}}function y(e,t,n,r,o,a){function s(e){var t=d[e];if(void 0!==t)for(t=de(t)?t:[t],m=t.length;m–;)J=t[m],isNaN(parseInt(J))||(t[m]=parseInt(J));return t||[0]}t=t||ie;var d,l,p,u,c,f,g,m,h,w,y,k,C,T,j,A,N,P,R,F,V,$,M,I,D,J,U,q,K,L,B=0,H=””,W=t._lc||!1,Z=t.ctx,z=n||t.tmpl,G=”number”==typeof r&&t.tmpl.bnds[r-1];for(“tag”===e._is?(d=e,e=d.tagName,r=d.tagCtxs,p=d.template):(l=t.getRsc(“tags”,e)||S(“Unknown tag: {{“+e+”}} “),p=l.template),void 0===a&&G&&(G._lr=l.lateRender&&G._lr!==!1||G._lr)&&(a=””),void 0!==a?(H+=a,r=a=[{props:{},args:[],params:{props:{}}}]):G&&(r=G(t.data,t,fe)),g=r.length;B=0)}return l?(l=!R,l?i:P+'”‘):d?(d=!F,d?i:P+'”‘):(b?(_[m]=O++,c=f[++m]={bd:[]},b):””)+(E?m?””:(g=I.slice(g,O),(o?(o=s=a=!1,”b”):”b,”)+g+(g=O+i.length,u&&t.push(c.bd=[]),”b”)):C?(m&&D(e),u&&t.pop(),o=”_”+w,s=x,g=O+i.length,u&&(u=c.bd=t[o]=[],u.skp=!x),w+”:”):w?w.split(“^”).join(“.”).replace(fe.rPath,S)+(A?(c=f[++m]={bd:[]},h[m]=Q,A):y):y?y:V?(V=h[m]||V,h[m]=!1,c=f[–m],V+(A?(c=f[++m],h[m]=Q,A):””)):N?(h[m]||D(e),”,”):p?””:(l=R,d=F,'”‘))}D(e)}var o,a,s,d,l,p,u=t&&t[0],c={bd:u},f={0:c},g=0,v=(n?n.links:u&&(u.links=u.links||{}))||ie.tmpl.links,m=0,h={},_={};return”@”===e[0]&&(e=e.replace(De,”.”)),p=(e+(n?” “:””)).replace(fe.rPrm,i),!m&&p||D(e)}function B(e,t,n){var r,i,o,a,s,d,l,p,u,c,f,g,v,m,h,_,b,x,w,y,k,C,T,j,A,N,P,R,V,$,M,E,O,I=0,S=ve.useViews||t.useViews||t.tags||t.templates||t.helpers||t.converters,J=””,q={},L=e.length;for(“”+t===t?(x=n?’data-link=”‘+t.replace(je,” “).slice(1,-1)+'”‘:t,t=0):(x=t.tmplName||”unnamed”,t.allowCode&&(q.allowCode=!0),t.debug&&(q.debug=!0),f=t.bnds,b=t.tmpls),r=0;r”:a+o):(k&&(w=F(C,q),w.tmplName=x+”/”+o,w.useViews=w.useViews||S,B(k,w),S=w.useViews,b.push(w)),A||(y=o,S=S||o&&(!ce[o]||!ce[o].flow),j=J,J=””),T=e[r+1],T=T&&”else”===T[0]),V=R?”;ntry{nret+=”:”n+”,m=””,h=””,N&&(g||$||a&&a!==Ke||M)){if(P=new Function(“data,view,j,u”,”// “+x+” “+ ++I+” “+o+E+”{“+s+”};”+O),P._er=R,P._tag=o,P._bd=!!g,P._lr=M,n)return P;U(P,g),_=’c(“‘+a+'”,view,’,c=!0,m=_+I+”,”,h=”)”}if(J+=N?(n?(R?”try{n”:””)+”return “:V)+(c?(c=void 0,S=u=!0,_+(P?(f[I-1]=P,I):”{“+s+”}”)+”)”):”>”===o?(l=!0,”h(“+v[0]+”)”):(p=!0,”((v=”+v[0]+”)!=null?v:”+(n?”null)”:'””)’))):(d=!0,”n{view:view,content:false,tmpl:”+(k?b.length:”false”)+”,”+s+”},”),y&&!T){if(J=”[“+J.slice(0,-1)+”]”,_=’t(“‘+y+'”,view,this,’,n||g){if(J=new Function(“data,view,j,u”,” // “+x+” “+I+” “+y+E+J+O),J._er=R,J._tag=y,g&&U(f[I-1]=J,g),J._lr=M,n)return J;m=_+I+”,undefined,”,h=”)”}J=j+V+_+(g&&I||J)+”)”,g=0,y=0}R&&!T&&(S=!0,J+=”;n}catch(e){ret”+(n?”urn “:”+=”)+m+”j._err(e,view,”+R+”)”+h+”;}”+(n?””:”ret=ret”))}J=”// “+x+(q.debug?”ndebugger;”:””)+”nvar v”+(d?”,t=j._tag”:””)+(u?”,c=j._cnvt”:””)+(l?”,h=j._html”:””)+(n?(i[8]?”, ob”:””)+”;n”:’,ret=””‘)+J+(n?”n”:”;nreturn ret;”);try{J=new Function(“data,view,j,u”,J)}catch(Q){D(“Compiled template code:nn”+J+’n: “‘+(Q.message||Q)+'”‘)}return t&&(t.fn=J,t.useViews=!!S),J}function Q(e,t){return e&&e!==t?t?l(l({},t),e):e:t&&l({},t)}function H(e,n){var r,i,o=[];if(typeof e===Le||se(e))for(r in e)i=e[r],r===ae||!e.hasOwnProperty(r)||n.props.noFunctions&&t.isFunction(i)||o.push({key:r,prop:i});return W(o,n)}function W(e,n){var r,i,o,a=n.tag,s=n.props,d=n.params.props,l=s.filter,p=s.sort,u=p===!0,c=parseInt(s.step),f=s.reverse?-1:1;if(!de(e))return e;if(u||p&&””+p===p?(r=e.map(function(e,t){return e=u?e:g(e,p),{i:t,v:””+e===e?e.toLowerCase():e}}),r.sort(function(e,t){return e.v>t.v?f:e.ve.length?e.length:+o,e=e.slice(i,o)),c>1){for(i=0,o=e.length,r=[];i<"'&=]/,Me=/^on[A-Z]|^convert(Back)?$/,Ee=/^#d+_`[sS]*/d+_`$/,Oe=Ve,Ie=/[&]/g,Se=/&(amp|gt|lt);/g,De=/[['"]?|['"]?]/g,Je=0,Ue={"&":"&","":">“,””:””,”‘”:”'”,'”‘:”””,”`”:”`”,”=”:”=”},qe={amp:”&”,gt:”>”,lt:”<"},Ke="html",Le="object",Be="data-jsv-tmpl",Qe="jsvTmpl",He="For #index in nested block use #getIndex().",We={},Ze=e.jsrender,ze=Ze&&t&&!t.render,Ge={template:{compile:A},tag:{compile:T},viewModel:{compile:R},helper:{},converter:{}};if(oe={jsviews:Ce,sub:{rPath:/^(!*?)(?:null|true|false|d[d.]*|([w$]+|.|~([w$]+)|#(view|([w$]+))?)([w$.^]*?)(?:[.[^]([w$]+)]?)?)$/g,rPrm:/(()(?=s*()|(?:([([])s*)?(?:(^?)(~?[w$.^]+)?s*((++|--)|+|-|~(?![w$])|&&||||===|!==|==|!=|=|[%*:?/]|(=))s*|(!*?(@)?[#~]?[w$.^]+)([([])?)|(,s*)|((?)\?(?:(')|("))|(?:s*(([)]])(?=[.^]|s*$|[^([])|[)]])([([]?))|(s+)/g,View:k,Err:d,tmplFn:J,parse:L,extend:l,extendCtx:Q,syntaxErr:D,onStore:{template:function(e,t){null===t?delete We[e]:e&&(We[e]=t)}},addSetting:$,settings:{allowCode:!1},advSet:a,_thp:i,_gm:r,_tg:function(){},_cnvt:h,_tag:y,_er:S,_err:I,_cp:o,_sq:function(e){return"constructor"===e&&D(""),e}},settings:{delimiters:p,advanced:function(e){return e?(l(ve,e),fe.advSet(),me):ve}},map:M},(d.prototype=new Error).constructor=d,c.depends=function(){return[this.get("item"),"index"]},f.depends="index",k.prototype={get:u,getIndex:f,ctxPrm:v,getRsc:w,_getTmpl:m,_getOb:g,_is:"view"},fe=oe.sub,me=oe.settings,!(Ze||t&&t.render)){for(ne in Ge)V(ne,Ge[ne]);if(pe=oe.converters,ue=oe.helpers,ce=oe.tags,fe._tg.prototype={baseApply:j,cvtArgs:_,bndArgs:x,ctxPrm:v},ie=fe.topView=new k,t){if(t.fn.render=Z,ae=t.expando,t.observable){if(Ce!==(Ce=t.views.jsviews))throw"JsObservable requires JsRender "+Ce;l(fe,t.views.sub),oe.map=t.views.map}}else t={},te&&(e.jsrender=t),t.renderFile=t.__express=t.compile=function(){throw"Node.js: use npm jsrender, or jsrender-node.js"},t.isFunction=function(e){return"function"==typeof e},t.isArray=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},fe._jq=function(e){e!==t&&(l(e,t),t=e,t.fn.render=Z,delete t.jsrender,ae=t.expando)},t.jsrender=Ce;ge=fe.settings,ge.allowCode=!1,se=t.isFunction,t.render=We,t.views=oe,t.templates=le=oe.templates;for(ye in ge)$(ye);(me.debugMode=function(e){return void 0===e?ge.debugMode:(ge.debugMode=e,ge.onError=e+""===e?function(){return e}:se(e)?e:void 0,me)})(!1),ve=ge.advanced={useViews:!1,_jsv:!1},ce({"if":{render:function(e){var t=this,n=t.tagCtx,r=t.rendering.done||!e&&(n.args.length||!n.index)?"":(t.rendering.done=!0,void(t.selected=n.index));return r},contentCtx:!0,flow:!0},"for":{sortDataMap:M(W),init:function(e,t){var n,r,i,o=this,a=o.tagCtxs;for(n=a.length;n--;)r=a[n],i=r.props,r.argDefault=void 0===i.end||r.args.length>0,r.argDefault!==!1&&de(r.args[0])&&(void 0!==i.sort||r.params.props.start||r.params.props.end||void 0!==i.step||i.filter||i.reverse)&&(i.dataMap=o.sortDataMap)},render:function(e){var t,n,r,i,o,a=this,s=a.tagCtx,d=s.argDefault===!1,l=s.props,p=d||s.args.length,u=””,c=0;if(!a.rendering.done){if(t=p?e:s.view.data,d)for(d=l.reverse?”unshift”:”push”,i=+l.end,o=+l.step||1,t=[],r=+l.start||0;(i-r)*o>0;r+=o)t[d](r);void 0!==t&&(n=de(t),u+=s.render(t,!p||l.noIteration),c+=n?t.length:1),(a.rendering.done=c)&&(a.selected=s.index)}return u},flow:!0},props:{baseTag:”for”,dataMap:M(H),init:a,flow:!0},include:{flow:!0},”*”:{render:o,flow:!0},”:*”:{render:o,flow:!0},dbg:ue.dbg=pe.dbg=s}),pe({html:X,attr:X,encode:Y,unencode:ee,url:function(e){return void 0!=e?encodeURI(“”+e):null===e?e:””}})}return ge=fe.settings,de=(t||Ze).isArray,me.delimiters(“{{“,”}}”,”^”),ze&&Ze.views.sub._jq(t),t||Ze},window); // Ajax Star Rating Script – http://coursesweb.net var sratings = Array(); // store the items with rating var ar_elm = Array(); // store the items that will be send to rtgAjax() var srated = ”; // store the rated value that will be send to rtgAjax() var i_elm = 0; // Index for elements aded in ar_elm var itemrated_rtg = ”; // store the rating of rated item // gets all DIVs, then add in $ar_elm the DIVs with class=”srtgs”, and ID which begins with “rt_”, and sends to rtgAjax() var getRtgsElm = function () { obj_div = document.getElementsByTagName(‘div’); for(var i=0; i0) rtgAjax(ar_elm, srated); // if items in $ar_elm pass them to rtgAjax() }; // shows the stars when the user is voting function rateStars(spn) { var i_sp = spn.id.replace(‘d_’, ”)*1; // gets the number from id if(spn.parentNode.parentNode) { var star_sp = spn.parentNode.parentNode.childNodes[0]; // gets the element with stars if(itemrated_rtg == ” && spn.parentNode.parentNode.parentNode) itemrated_rtg = spn.parentNode.parentNode.parentNode.innerHTML; // store the rating of rated item if(spn.parentNode.parentNode.parentNode) spn.parentNode.parentNode.parentNode.childNodes[0].innerHTML = ‘‘+l18n.rate+’:’+(i_sp+1)+”; // shows the choosed rating // Modify the length and background of the zone with vizible stars (different for Firefox) if (navigator.userAgent.indexOf(“Firefox”)!=-1) star_sp.setAttribute(‘style’, ‘width:’+((i_sp+1)*9.4)+’px; background:url(“‘+SITE_URL+’ratingfiles/star1.png”)’); else { star_sp.style.width = ((i_sp+1)*9.4)+’px’; star_sp.style.background = ‘url(“‘+SITE_URL+’ratingfiles/star1.png”)’; } } } // add the ratting data to element in page function addRtgData(elm, totalrate, nrrates, renot) { var avgrating = (nrrates>0) ? totalrate/nrrates : 5; // sets average rating and length of area with stars // convert in string, if has more that 3 characters, convert it in number with decimals avgrating = avgrating+”; if(avgrating.length>3) { avgrating *= 1; avgrating = avgrating.toFixed(1); } var star_n = 9.4*avgrating; // HTML code for rating, add 10 SPAN tags, each one for a half of star, only if renot=0 var d_rtg = ”; if(renot==0) { for(var i=0; i<10; i++) { d_rtg += ' '; } d_rtg = ''+d_rtg+''; } var rate_text = l18n.rate_this_game; // check if we are in free pages if($('.bingo_page').length){ rate_text = l18n.rate_bingo_selection; }else if($('.top-online-casinos').length){ rate_text = l18n.rate_this_page; } else if($('.real_money_page').length){ rate_text = l18n.rate_casino_selection; }else if($('.pachislots').length){ rate_text = l18n.rate_pachislots_selection; } else if($('.pokies_page').length){ rate_text = l18n.rate_pokies_selection; } else if( $('.free-games-container').length ) { rate_text = l18n.rate_this_game_selection; } else if($('.ndb-table').length){ rate_text = l18n.rate_bonus_selection; } if(!nrrates || nrrates <= 0) { nrrates = 5; avgrating = 10; } // Create and add HTML with stars, and rating data var htmlrtg = ''+(avgrating * 5) / 10+''+nrrates+''+rate_text+'  '+d_rtg+'(‘+nrrates+’ ‘+l18n.votes+’)’ if(sratings[elm]) sratings[elm].innerHTML = htmlrtg; $(‘#rating-name’).appendTo(‘.srtgs’); } // Sends data to rtgAjax(), that will be send to PHP to register the vote function rateIt(spn) { var elm = Array(); elm[0] = spn.parentNode.parentNode.parentNode.id; // gets the item-name that will be rated var nota = spn.id.replace(‘d_’, ”)*1+1; // gets the rating value from id spn.parentNode.parentNode.parentNode.innerHTML = ‘‘+l18n.thanks_rating+”; rtgAjax(elm, nota); } // Function called by onmouseout to shows initial rating function reRating(evt, elm, totalrate, nrrates) { itemrated_rtg = ”; // empty itemrated_rtg to can store other data // if event from element with class=”d_rtg’, calls addRtgData() // Different for IE if(evt.srcElement) { if(evt.srcElement.className=’d_rtg’) addRtgData(elm, totalrate, nrrates, 0); } else if(evt.target.className==’d_rtg’) addRtgData(elm, totalrate, nrrates, 0); } /*** Ajax ***/ // sends data to PHP and receives the response function rtgAjax(elm, ratev) { var cerere_http = (window.XMLHttpRequest) ? new XMLHttpRequest() : new ActiveXObject(“Microsoft.XMLHTTP”); // get XMLHttpRequest object // define data to be send via POST to PHP (Array with name=value pairs) var datasend = Array(); for(var i=0; i‘); if (lazyLoadInstance) { lazyLoadInstance.update(); } if(placement) { $(‘.newsletter-data-type’).val(placement); } } function openNewsletterPopup(fullscreen, force, placement) { if (spuReadCookieVariation(‘spu_box_popup’)) return; if($(‘body’).hasClass(‘variation1’)) { if( !$(‘.other-casinos-popup’).is(“:visible”) && !$(‘#blx032-exit-modal’).is(“:visible”) && !$(‘#blx037-exit-modal’).is(“:visible”) && ! spuReadCookieVariation(‘spu_box_popup_subscribed’) ) { openNewsletterPopup1(); } } else if($(‘body’).hasClass(‘variation2’)) { openNewsletterPopup2(); } else if($(‘body’).hasClass(‘variation3’)) { if( $(‘body’).hasClass(‘is-mobile’) && ! fullscreen && ! $(‘.other-casinos-popup’).is(“:visible”) && ! spuReadCookieVariation(‘spu_box_popup_subscribed’) ){ openNewsletterPopupMobile(); } else { openNewsletterPopup3(); } } if(placement) { $(‘.newsletter-data-type’).val(placement); } } function addEventToTacToggler() { var elements = document.getElementsByClassName(‘.tc-toggler’); for (let i=0; i 0) { if ($box.popup_id == $box.page_id) days = 1; if ($boxes[id].days) days = $boxes[id].days; spuCreateCookieVariation($box.popup_id, true, days); } }); $(‘.VariationPopups .close’).click(function () { var days = parseInt($box.data(‘cookie’)); if (days > 0) { if ($box.popup_id == $box.page_id) days = 1; if ($boxes[id].days) days = $boxes[id].days; spuCreateCookieVariation($box.popup_id, true, days); } }); var triggerSecondsCheck = function () { if (timer) { clearTimeout(timer); } timer = window.setTimeout(function () { openNewsletterPopup(false, false, ‘popup’); }, triggerSeconds * 1000); } var cookieValue = spuReadCookieVariation(popup_id); var acceptCookie = spuReadCookieVariation(‘cookies’); if (cookieValue == undefined && acceptCookie) { triggerSecondsCheck(); } return false; }); } }); /* IF IE ADD ATTRIBUTE */ if(navigator.userAgent.indexOf(‘MSIE’)!==-1 || navigator.appVersion.indexOf(‘Trident/’) > -1){ var doc = document.documentElement; doc.setAttribute(‘data-useragent’, ‘ie’); } //FAQ ACCORDION $(‘.single-question’).on(‘click’, ‘.question’, function() { if($(this).parent().hasClass(‘open’)){ $(this).parent().removeClass(‘open’); $(this).parent().find(‘.answer’).slideUp(); }else{ $(this).parent().addClass(‘open’); $(this).parent().find(‘.answer’).slideDown(); } }); /* Hide header on scroll for mobile */ $(document).ready(function(){ hideMenu(); }); $(window).resize(function(){ hideMenu() }); function hideMenu(){ if( window.innerWidth currentScrollPos) { document.querySelector(“header”).style.top = “0”; } else { if( window.innerWidth 767 && window.pageYOffset > 40) { document.querySelector(“header”).style.top = “-99px”; } else if( window.innerWidth 200){ document.querySelector(“header”).style.top = “-100px”; } } prevScrollpos = currentScrollPos; } }else{ document.querySelector(“header”).style.top = “0”; } } // MARQUEE (function(factory){“use strict”;if(typeof define===”function”&&define.amd){define([“jquery”],factory)}else if(typeof exports!==”undefined”){module.exports=factory(require(“jquery”))}else{factory(jQuery)}})(function($){$.fn.marquee=function(options){return this.each(function(){var o=$.extend({},$.fn.marquee.defaults,options),$this=$(this),$marqueeWrapper,containerWidth,animationCss,verticalDir,elWidth,loopCount=3,playState=”animation-play-state”,css3AnimationIsSupported=false,_prefixedEvent=function(element,type,callback){var pfx=[“webkit”,”moz”,”MS”,”o”,””];for(var p=0;p2){$marqueeWrapper.css(“transform”,”translateX(“+(o.direction===”left”?0:”-“+elWidth+”px”)+”)”)}animationCss={transform:”translateX(“+(o.direction===”left”?”-“+elWidth+”px”:0)+”)”}}else if(o.startVisible){if(loopCount===2){if(animationCss3Str){animationCss3Str=animationName+” “+o.duration/1e3+”s “+o.delayBeforeStart/1e3+”s “+o.css3easing}animationCss={transform:”translateX(“+(o.direction===”left”?”-“+elWidth+”px”:containerWidth+”px”)+”)”};loopCount++}else if(loopCount===3){o.duration=o._completeDuration;if(animationCss3Str){animationName=animationName+”0″;keyframeString=$.trim(keyframeString)+”0 “;animationCss3Str=animationName+” “+o.duration/1e3+”s 0s infinite “+o.css3easing}_rePositionHorizontally()}}else{_rePositionHorizontally();animationCss={transform:”translateX(“+(o.direction===”left”?”-“+elWidth+”px”:containerWidth+”px”)+”)”}}}$this.trigger(“beforeStarting”);if(css3AnimationIsSupported){$marqueeWrapper.css(animationString,animationCss3Str);var keyframeCss=keyframeString+” { 100% “+_objToString(animationCss)+”}”,$styles=$marqueeWrapper.find(“style”);if($styles.length!==0){$styles.filter(“:last”).html(keyframeCss)}else{$(“head”).append(“”+keyframeCss+””)}_prefixedEvent($marqueeWrapper[0],”AnimationIteration”,function(){$this.trigger(“finished”)});_prefixedEvent($marqueeWrapper[0],”AnimationEnd”,function(){animate();$this.trigger(“finished”)})}else{$marqueeWrapper.animate(animationCss,o.duration,o.easing,function(){$this.trigger(“finished”);if(o.pauseOnCycle){_startAnimationWithDelay()}else{animate()}})}$this.data(“runningStatus”,”resumed”)};$this.on(“pause”,methods.pause);$this.on(“resume”,methods.resume);if(o.pauseOnHover){$this.on(“mouseenter”,methods.pause);$this.on(“mouseleave”,methods.resume)}if(css3AnimationIsSupported&&o.allowCss3Support){animate()}else{_startAnimationWithDelay()}})};$.fn.marquee.defaults={allowCss3Support:true,css3easing:”linear”,easing:”linear”,delayBeforeStart:1e3,direction:”left”,duplicated:false,duration:5e3,speed:0,gap:20,pauseOnCycle:false,pauseOnHover:false,startVisible:false}});1 ]]> VegasSlotsOnline.com

Why Become a Member?

Explore all account benefits

Already have an account? Sign In

Ready for VSO Coins?

Register for Free

Explore all account benefits

Uh-oh 🙁

We had a technical issue and couldn’t send you the activation email. Please press the ‘resend activation link’ button or try registering again later.

Go to VegasSlotsOnline Homepage 2B1967E6-7E01-4952-9111-127196947A2B

Reset Password

Enter your email and we will send you a link to reset your password

Back to log-in

9DF735DE-8D1C-45D2-9D78-43B6D21A42A9

Reset Password

Enter your new password. Your password must be 8 characters or longer and must contain at least one uppercase and lowercase character.

B293DEE9-3813-4A97-AD8F-0F329F9EDEDA

Reset Password

Password has been reset. You can now log into your account. You will be redirected to the Homepage in 10 sec.

Learn more’; }); const coinIcon = document.getElementById(‘coin-icon’); if(coinIcon){ coinIcon.removeEventListener(‘mouseover’, showTooltipBottom); coinIcon.addEventListener(‘mouseover’, showTooltipBottom); coinIcon.paramText = ‘Play with VSO Coins
Learn more’; } const userCoinBalance = document.getElementById(‘user-coin-balance’); if(userCoinBalance){ userCoinBalance.removeEventListener(‘mouseover’, showTooltipBottom); userCoinBalance.addEventListener(‘mouseover’, showTooltipBottom); userCoinBalance.paramText = ‘Play with VSO Coins
Learn more’; } if(coinTooltip) { if (!showCoinTooltipCookie || showCoinTooltipCookie !== ‘false’) { coinTooltip.style.display = ‘block’; } } if(coinTooltipMobile) { if (!showCoinTooltipCookie || showCoinTooltipCookie !== ‘false’) { coinTooltipMobile.style.display = ‘block’; } } if(closeCoinTooltip) { closeCoinTooltip.addEventListener(‘click’, function (e) { e.preventDefault(); e.stopPropagation(); document.cookie = “addCoinsTooltip=false; path=/”; coinTooltip.remove(); coinTooltipMobile.remove(); }); } if(closeCoinTooltipMobile) { closeCoinTooltipMobile.addEventListener(‘click’, function (e) { e.preventDefault(); e.stopPropagation(); document.cookie = “addCoinsTooltip=false; path=/”; coinTooltip.remove(); coinTooltipMobile.remove(); }); } if(addCoins) { addCoins.addEventListener(‘click’, e => addCoinsFunction(e)); } if(addCoinsMobile) { addCoinsMobile.addEventListener(‘click’, e => addCoinsFunction(e)); } if(addCoinsDashboard) { addCoinsDashboard.addEventListener(‘click’, e => addCoinsFunction(e)); } if(addCoinsLanding) { addCoinsLanding.addEventListener(‘click’, e => addCoinsFunction(e)); } function addCoinsFunction(e) { e.preventDefault(); e.stopPropagation(); document.cookie = “addCoinsTooltip=false; path=/”; coinTooltip.remove(); coinTooltipMobile.remove(); if(addCoins) { addCoins.remove(); } if(addCoinsMobile) { addCoinsMobile.remove(); } if(addCoinsDashboard) { addCoinsDashboard.remove(); document.getElementById(‘dashboard-coins’).classList.add(‘single’); } if(addCoinsLanding) { addCoinsLanding.remove(); } let formData = new FormData; formData.append(‘action’, ‘add_coins’); var xmlHttp = new XMLHttpRequest(); xmlHttp.overrideMimeType(“application/json”); xmlHttp.onreadystatechange = function () { if (xmlHttp.readyState == 4) { var response = JSON.parse(xmlHttp.responseText); var user_balance = document.getElementsByClassName(“user-coin-balance”); for (var i = 0; i total) { setTimeout(function() { event.target.style.visibility = “hidden”; }, 600) } }); } function getCookie(cname) { var name = cname + “=”; var decodedCookie = decodeURIComponent(document.cookie); var ca = decodedCookie.split(‘;’); for(var i = 0; i = total) { setTimeout(function() { event.target.style.visibility = “hidden”; }, 600) } }); } if(vsoCoinsShowMore) { vsoCoinsShowMore.addEventListener(‘click’, function (event) { event.preventDefault(); let offset = parseInt(event.target.getAttribute(‘data-offset’)), limit = parseInt(event.target.getAttribute(‘data-limit’)), total = parseInt(event.target.getAttribute(‘data-total’)), language = event.target.getAttribute(‘data-language’), vsoLanguage = event.target.getAttribute(‘data-vso-language’), siteLang = new SiteUrl(), formData = new FormData; formData.append(‘offset’, offset); formData.append(‘limit’, limit); formData.append(‘language’, language); formData.append(‘site_lang’, siteLang.getIso639Language()); if (vsoLanguage !== null) formData.append(‘vso_language’, vsoLanguage); formData.append(‘action’, ‘get_vso_coins_games’); var xmlHttp = new XMLHttpRequest(); xmlHttp.overrideMimeType(“application/json”); xmlHttp.onreadystatechange = function () { if (xmlHttp.readyState == 4) { var response = JSON.parse(xmlHttp.responseText); if(response.game_boxes) { response.game_boxes.forEach(function(box) { const row = document.createElement(‘div’); row.className = ‘single-game fadeIn animated’; row.innerHTML = box; document.querySelector(‘.show-more-append’).appendChild(row); }); } } }; xmlHttp.open(“post”, “/includes/user-login/connector/ajax.php”); xmlHttp.send(formData); event.target.setAttribute(‘data-offset’, offset + limit); if(offset + limit >= total) { setTimeout(function() { event.target.style.visibility = “hidden”; }, 600) } }); } function loginApiCall(event) { performLoginApiCall(event, handleLoginApiResponse); } function changePasswordSocialRegApiCall(event) { disableElementsWithCssClass(‘js-btn-disable-on-load’, true); performLoginApiCall(event, function (xmlHttp, formData, inputElements) { if (xmlHttp.readyState == 4) { disableElementsWithCssClass(‘js-btn-disable-on-load’, false); var response = JSON.parse(xmlHttp.responseText); if (response && response.response_code == 200) { showOneElementInGroup(‘.change-password-social-form’, ‘#change-password-social-form-success’); } else if (response && response.message) { notify(response.message, response.success); } else { notify(‘Error occurred, please try again later.’, false); } } }); } function disableElementsWithCssClass(cssClass, disabled) { var elements = document.getElementsByClassName(cssClass); for (var i = 0; i < elements.length; i++) { elements[i].disabled = disabled; } } function showOneElementInGroup(groupIdentifier, elementIdentifier) { var elements = document.querySelectorAll(groupIdentifier); for (var i=0; i elemToShow.classList.add('opacity-1'), 100); } } // Ajax API Connection performLoginApiCall = function(event, callback) { event.preventDefault(); event.stopPropagation(); var elements = event.srcElement.getElementsByTagName('input'); var formData = new FormData(); for(var i = 0; i < elements.length; i++) { let parent = document.getElementById("nickname-undertext"); if(parent){ let parentNode = parent.parentNode; toggleError(parentNode, false) } toggleError(elements[i], false); if(elements[i].type === 'checkbox') { if(elements[i].checked) { if(elements[i].name === 'terms_and_conditions' && elements[i].checked){ emailCheckbox = true; } if(elements[i].name === 'marketing_opt_in' && elements[i].checked){ socialCheckbox = true; } formData.append(elements[i].name, elements[i].value); } else { formData.append(elements[i].name, 0); } } else if(elements[i].type === 'radio') { if(elements[i].checked) { formData.append(elements[i].name, elements[i].value); } } else if(elements[i].name) { formData.append(elements[i].name, elements[i].value); } } var selects = event.srcElement.getElementsByTagName('select'); for(var i = 0; i 0 && repeatPasswordInput.value.length){ //Iterate trough rules for (var i = 0; i = 8 && passwordInput.value === repeatPasswordInput.value){ toggleError(repeatPasswordInput, false) }else{ if(passwordInput.value !== repeatPasswordInput.value){ showInputError(repeatPasswordInput, 'The password confirmation does not match.') }else if(password.length ValidatePassword(e), doneTypingInterval); }) }); $(document).ready(function() { $("#signup-password-confirmation").on('keyup', function(e){ clearTimeout(typingTimer); typingTimer = setTimeout(()=>ValidatePassword(e), doneTypingInterval); }) }); $(document).ready(function() { $(“#signup-password”).on(‘keydown’, function(){clearTimeout(typingTimer)}) }); $(document).ready(function() { $(“#signup-password-confirmation”).on(‘keydown’, function(){clearTimeout(typingTimer)}) }); function handleLoginApiResponse(xmlHttp, formData, inputElements) { var display_error = document.getElementsByClassName(‘signin-modal__error’); var shown_errors = Array.from(document.getElementsByClassName(‘signin-modal__error–is-visible’)); if(shown_errors.length > 0){ shown_errors.forEach(error => { error.remove(); }); } let elements = []; let errors = []; disableElementsWithCssClass(‘js-btn-disable-on-load’, true); var buttonAction = formData.get(‘action’); showLoader(buttonAction) if (xmlHttp.readyState == 4) { disableElementsWithCssClass(‘js-btn-disable-on-load’, false); var response = JSON.parse(xmlHttp.responseText); if (response.message) { notify(response.message, response.success, response.message_undo); } if (!response.success) { hideLoader(buttonAction) if ( response.errors && response.errors.notification_sent && response.errors.notification_sent.length ) { showSigninForm(‘activation-email-error’); document.getElementById(‘resend-email-input-email-error’).value = formData.get(’email’); delete response.errors.notification_sent; } Object.keys(response.errors).forEach(key => { response.errors[key].forEach(function (error) { for (var i = 0; i 0){ for (var i = 0; i < elements.length; i++) { elements[i].querySelector('.field-error-message').innerHTML = errors[i]; elements[i].classList.add("signin-modal__error--is-visible") } for (var x = 0; x { if(singleWrap.classList.contains('active')){ singleWrap.classList.remove('active'); } }); const headerDropdown = event.target.nextElementSibling; const dropdownParent = event.target.parentNode; if(!dropdownParent.classList.contains('active')){ if(dropdownParent.classList.contains('alert')){ dropdownParent.classList.remove('alert'); } dropdownParent.classList.add('active'); headerDropdown.classList.remove('fadeOut'); headerDropdown.classList.add('fadeIn'); }else{ headerDropdown.classList.remove('fadeIn'); headerDropdown.classList.add('fadeOut'); dropdownParent.classList.remove('active'); } }*/ /* Add/remove games */ function saveGame(event, game_id, site_lang){ if (document.getElementById('game-notification')) { const notification = document.getElementById('game-notification'); notification.classList.remove('fadeIn'); notification.classList.add('fadeOut'); setTimeout(function(){ notification.remove(); }, 1000); } if(event.target.classList.contains('loved')){ event.preventDefault(); let formData = new FormData; formData.append('game_id', game_id); formData.append('lang', site_lang); formData.append('type', 'delete'); formData.append('action', 'update_fav_games'); var xmlHttp = new XMLHttpRequest(); xmlHttp.overrideMimeType("application/json"); xmlHttp.onreadystatechange = function () { if (xmlHttp.readyState == 4) { var response = JSON.parse(xmlHttp.responseText); if(response.status) { event.target.classList.remove('loved') createNote(event, 'remove'); } } }; xmlHttp.open("post", "/includes/user-login/connector/ajax.php"); xmlHttp.send(formData); } else{ event.preventDefault(); let formData = new FormData; formData.append('game_id', game_id); formData.append('lang', site_lang); formData.append('type', 'add'); formData.append('action', 'update_fav_games'); var xmlHttp = new XMLHttpRequest(); xmlHttp.overrideMimeType("application/json"); xmlHttp.onreadystatechange = function () { if (xmlHttp.readyState == 4) { var response = JSON.parse(xmlHttp.responseText); if(response.status) { event.target.classList.add('loved'); createNote(event, 'add'); } } }; xmlHttp.open("post", "/includes/user-login/connector/ajax.php"); xmlHttp.send(formData); } } function createNote(event, state) { if (window.innerWidth > 480 && document.querySelector(‘.flash-inner’) !== null && event.target.parentNode.classList.contains(‘desktop-links’)) { var block = document.querySelector(‘.flash-inner’); }else if(window.innerWidth > 480 && !event.target.parentNode.classList.contains(‘desktop-links’)){ var elements = event.target.parentNode.parentNode.getElementsByClassName(‘game-image’); if (elements && elements[0]){ var block = elements[0]; } else { var block = event.target.parentNode.parentNode.childNodes[3]; } }else{ block = body; } var div = document.createElement(‘div’); var fav_games_url = document.getElementsByClassName(‘fav-games-link’)[0].href; const favoriteText = (siteUrl.getVsoLanguage() === ‘en’) ? ‘Favorite Games’ : ‘Favourite Games’; if(state == ‘add’){ div.innerHTML = ‘n’ + ‘ n’+ ‘

Game has been added to your ‘ + favoriteText + ‘n’; }else{ div.innerHTML += ‘n’ + ‘ n’+ ‘

Game has been removed from your ‘ + favoriteText + ‘n’; } div.innerHTML +=’ n’+ ‘

img’).click(function(event) { $(‘#blx037-overlay, #blx037-exit-modal’).removeClass(‘cv-visible’); }); $(‘a[href*=”/go/”], a[href*=”/go-“], a[href*=”/redirect/”]’).mousedown(function(event){ createCookie(‘cv-blx037-clickout’, ‘clickout’, ’30’); }); // Variables var endedSlots = 3; var positionSteps = [50, 40, 35, 30, 27, 23, 20, 17, 14, 10, 7, 5, 4, 3, 2, 1]; var exitHasShown37 = false; // Start light animation function runCircles() { var nmrCircles = 0; var time = 50; $(‘#blx037-exit-modal .circle’).each(function(index, el) { var _this = $(this); setTimeout(function() { if(_this.prev(‘.circle’).length) { _this.prev(‘.circle’).removeClass(‘cv-visible’); } else { $(‘#blx037-exit-modal .circle:last’).removeClass(‘cv-visible’); } _this.addClass(‘cv-visible’); if(++nmrCircles == $(‘#blx037-exit-modal .circle’).length) { runCircles(); } }, time); time += 50; }); }; // Add 5 lights and animate them (half second difference from each other) function activateLights() { runCircles(); setTimeout(function() { runCircles(); setTimeout(function() { runCircles(); setTimeout(function() { runCircles(); setTimeout(function() { runCircles(); }, 500); }, 500); }, 500); }, 500); }; // Add 5 lights and animate them (half second difference from each other function createCircles() { var initialLeft = 26; var initialTop = 19; for (var i = 0; i < 16; i++) { //top circles $('#blx037-exit-modal').append(''); }; for (var i = 0; i < 11; i++) { //right circles $('#blx037-exit-modal').append(''); }; initialLeft = 598; for (var i = 0; i < 16; i++) { //bottom circles $('#blx037-exit-modal').append(''); }; initialTop = 411; for (var i = 0; i < 11; i++) { //left circles $('#blx037-exit-modal').append(''); }; }; // Animate the slots function animate(selector, repeatIndex, repeatForValue, acceleration, positionSteps, stepIndex) { postitionY = parseFloat(selector.css('backgroundPosition').split(' ')[1]); postitionY -= positionSteps[stepIndex]; selector.css({'backgroundPosition': '0 ' + postitionY + 'px'}); if(--repeatIndex < 0) { acceleration += 1; repeatIndex = repeatForValue; ++stepIndex; } if(stepIndex span').html(''); $('div#blx037-exit-modal a.cv-button').removeClass('fadeOut spinAgain').addClass('win bounceIn won'); $('div#blx037-exit-modal a.cv-button').html('Claim Bonus'); $('div#blx037-exit-modal a.cv-button').attr('href', 'https://www.vegasslotsonline.com/go/casino-extreme/?page_id=exit-popup'); $('div#blx037-exit-modal a.cv-button').attr('target', '_blank'); $('div#blx037-exit-modal a.cv-button').css('cursor', 'pointer'); $('a.cv-button').css({'display': 'block'}); activateLights(); } }; // when the user clickout it hides the modal $('div#blx037-exit-modal a.cv-button.won').click(function(event) { $('#blx037-exit-modal, #blx037-overlay').css({display: 'none'}); $('#blx037-exit-modal, #blx037-overlay').removeClass('cv-visible'); $('div.flash.flash-inner iframe').removeClass('cv-special-invisible'); }); // when the user clicks on the overlay it hides the modal $('#blx037-overlay').click(function(event) { $('#blx037-exit-modal, #blx037-overlay').css({display: 'none'}); $('#blx037-exit-modal, #blx037-overlay').removeClass('cv-visible'); $('div.flash.flash-inner iframe').removeClass('cv-special-invisible'); }); // Event listener support var addEvent = function(obj, evt, fn) { if(obj.addEventListener) { obj.addEventListener(evt, fn, false); } else if(obj.attachEvent) { obj.attachEvent("on" + evt, fn); } }; // Show the exit modal (if not shown previously and if there is no other popup visible at that moment) var exitPopupFire = function(force) { if(!ageVerified) return false; if( force || (readCookie('cv-blx037-clickout') === null && !$('.VariationPopups:visible').length && !$('#cv-blx6-popup:visible').length && !$('#cv-modal26:visible').length && !$('#cv-modal36:visible').length && !$('.other-casinos-popup:visible').length ) ) { exitHasShown37 = true; // show exit modal $('#blx037-exit-modal, #blx037-overlay').addClass('cv-visible'); if (lazyLoadInstance) { lazyLoadInstance.update(); } // hide flash game $('div.flash.flash-inner iframe').addClass('cv-special-invisible'); // add exit pop-up cookie, that lasts 30 days createCookie('cv-blx037-exit-popup', 'showed', '30'); // Start animation 1s later setTimeout(function(){ animate($($('#blx037-exit-modal .cv-slot-box')[0]), 5, 15, 5, [50, 40, 35, 30, 27, 23, 20, 17, 14, 10, 7, 5, 4, 3, 2, 1], 0); animate($($('#blx037-exit-modal .cv-slot-box')[1]), 8, 20, 5, [60, 50, 40, 30, 27, 23, 20, 17, 14, 10, 7, 5, 4, 3, 2, 1], 0); animate($($('#blx037-exit-modal .cv-slot-box')[2]), 10, 25, 5, [50, 40, 35, 30, 27, 23, 20, 17, 14, 10, 7, 5, 4, 3, 2, 1], 0); }, 1000); } }; if( window.location.search.indexOf('?test=exit_popup') != -1 ){ exitPopupFire(true); } var exitCursorY; var exitRegionSize = 0.25; // % of the page which is classed as the top // check if exit pop-up was not previously shown if(readCookie('cv-blx037-exit-popup') === null) { // create the circles html createCircles(); document.onmousemove = function(e){ var top = window.pageYOffset || document.documentElement.scrollTop; exitCursorY = e.pageY-top; }; // when the user intends to exit it fires the script setTimeout(function() { addEvent(document, "mouseout", function(e) { e = e ? e : window.event; var from = e.relatedTarget || e.toElement; if (!from || from.nodeName == "HTML") { if((window.innerHeight*exitRegionSize) > exitCursorY && !exitHasShown37) { exitPopupFire(); } } }); }, 0); } ]]> offset ) ? $back_to_top.addClass(‘cd-is-visible’) : $back_to_top.removeClass(‘cd-is-visible cd-fade-out’); }); $back_to_top.on(‘click’, function(event){ event.preventDefault(); $(‘body,html’).animate({ scrollTop: 0 , }, scroll_top_duration ); }); /* HEADER SEARCH */ $(function() { var cache = {}; var headerSearchItemTpl = $.templates(‘#header-search-item-tpl-game’); var $headerSearch = $(‘#header-search’); var $headerSearchItems = $(‘#header-search-items’); var $headerSearchItemsContainer = $(‘#header-search-items-container’); var $headerSearchNoResults = $(‘#header-search-no-results’); var $headerSearchReset = $(‘#header-search-reset’); var $headerSearchLoader = $(‘#header-search-loader’); var $headerSearchError = $(‘#header-search-error’); var $headerSearchForm = $(‘#header-search-form’); var $headerSearchInput = $(‘#header-search-input’); var SearchResultStatus = { NOT_READY: 0, LOADING: 1, HAS_DATA: 2, NO_DATA: 3, ERROR: 4 }; var search = { xhr: null, loading: false, result: null, status: SearchResultStatus.NOT_READY, isLoading: function() { return search.status === SearchResultStatus.LOADING && search.xhr && search.xhr.readyState !== 3; }, abort: function() { if (search.isLoading()) { search.xhr.abort(); search.status = SearchResultStatus.NOT_READY; } } }; var ui = { itemsContainer: { visible: false, show: function() { ui.itemsContainer.visible = true; $headerSearchItemsContainer.show(); }, hide: function() { ui.itemsContainer.visible = false; $headerSearchItemsContainer.hide(); }, isVisible: function() { return ui.itemsContainer.visible; }, showBasedOnSearchStatus: function() { var elementIsVisible; switch (search.status) { case SearchResultStatus.NOT_READY: elementIsVisible = false; ui.itemsContainer.elements.items.hide(); ui.itemsContainer.elements.noResults.hide(); ui.itemsContainer.elements.error.hide(); ui.itemsContainer.elements.loader.hide(); break; case SearchResultStatus.LOADING: elementIsVisible = true; ui.itemsContainer.elements.items.hide(); ui.itemsContainer.elements.noResults.hide(); ui.itemsContainer.elements.error.hide(); ui.itemsContainer.elements.loader.show(); break; case SearchResultStatus.HAS_DATA: elementIsVisible = true; ui.itemsContainer.elements.items.show(); ui.itemsContainer.elements.noResults.hide(); ui.itemsContainer.elements.error.hide(); ui.itemsContainer.elements.loader.hide(); break; case SearchResultStatus.ERROR: elementIsVisible = true; ui.itemsContainer.elements.items.hide(); ui.itemsContainer.elements.noResults.hide(); ui.itemsContainer.elements.error.show(); ui.itemsContainer.elements.loader.hide(); break; case SearchResultStatus.NO_DATA: elementIsVisible = true; ui.itemsContainer.elements.items.hide(); ui.itemsContainer.elements.noResults.show(); ui.itemsContainer.elements.error.hide(); ui.itemsContainer.elements.loader.hide(); break; } if (elementIsVisible) { ui.itemsContainer.show(); } else { ui.itemsContainer.hide(); } }, elements: { items: { append: function($node) { $node.appendTo($headerSearchItems); }, empty: function() { $headerSearchItems.empty(); }, hide: function() { $headerSearchItems.hide(); }, show: function() { $headerSearchItems.show(); } }, noResults: { show: function() { $headerSearchNoResults.show(); }, hide: function() { $headerSearchNoResults.hide(); } }, error: { show: function() { $headerSearchError.show(); }, hide: function() { $headerSearchError.hide(); } }, loader: { show: function() { $headerSearchLoader.show(); }, hide: function() { $headerSearchLoader.hide(); } }, } }, reset: { show: function() { $headerSearchReset.removeClass(‘header-search-hidden’); }, hide: function() { $headerSearchReset.addClass(‘header-search-hidden’); }, toggleBasedOnInput: function() { if (ui.input.isValueEmpty()) { ui.reset.hide(); } else { ui.reset.show(); } } }, input: { value: null, empty: function() { $headerSearchInput.val(”); ui.input.value = null; search.abort(); ui.reset.hide(); search.status = SearchResultStatus.NOT_READY; //ui.input.focus(); }, focus: function() { $headerSearchInput.focus(); }, getValue: function() { if (ui.input.value === null) { var searchVal = $headerSearchInput.val(); ui.input.value = $.trim(searchVal); } return ui.input.value; }, isValueEmpty: function() { return ui.input.getValue() === ”; } } }; function processSearchResults(data) { ui.itemsContainer.hide(); ui.itemsContainer.elements.items.empty(); for (var i = 0, total = data.length; i 767) { $(‘body’).removeClass(‘blured-other’).css(‘overflow-y’, ‘auto’); $(‘.blured-overlay-other’).css(‘z-index’, ’99’); } } }); $headerSearchInput.focus(function () { ui.reset.toggleBasedOnInput(); ui.itemsContainer.showBasedOnSearchStatus(); if ($(window).width() > 767) { $(‘body’).addClass(‘blured-other’).css(‘overflow-y’, ‘hidden’); $(‘html’).addClass(‘class-of-html’); $(‘.blured-overlay-other’).css(‘z-index’, ‘999’); } }); $(‘.js-header-search-toggle’).click(function() { $(‘body’).css(‘overflow-y’, ‘hidden’); $(‘html’).addClass(‘class-of-html’); }); $headerSearchReset.click(function() { resetInput(); }); $(‘#header-search-container’).click(function() { ui.input.focus(); }); ui.reset.toggleBasedOnInput(); ui.itemsContainer.showBasedOnSearchStatus(); }); }); $(window).scroll(function(){ stickyNavigation() }); $(window).on(‘load’, function () { stickyNavigation() }); function stickyNavigation(){ var scrollTop = $(window).scrollTop(); if(scrollTop > 100) $(‘.desktop-menu’).addClass(‘sticky-menu’); else $(‘.desktop-menu’).removeClass(‘sticky-menu’); } $(‘.drop-down-icon, .megamenu__dropdown-trigger’).on(‘click’, function () { if ($(window).width()



Source