<div class="block" style="background: <?php echo $color ?>;">
var deck = {
allCards: ["ch-6", "ch-7", "ch-8", "ch-9", "ch-10", "ch-v", "ch-d", "ch-k", "ch-t", "bu-6", "bu-7", "bu-8"],
randomCards: [],
randomizer: function(min, max) {
for(var i = 0; i < this.allCards.length; i++) {
var rand = Math.round(Math.random() * (max - min - 1));
this.randomCards.push(this.allCards[rand]);
this.allCards.splice(rand, 1);
}
}
};
deck.randomizer(0, deck.allCards.length);
var deck = {
allCards: ["ch-6", "ch-7", "ch-8", "ch-9", "ch-10", "ch-v", "ch-d", "ch-k", "ch-t", "bu-6", "bu-7", "bu-8"],
randomCards: [],
randomizer: function(min, max) {
for(var i = 0; i < this.allCards.length; i++) {
var rand = min + Math.round(Math.random() * (max - min - 1));
this.randomCards.push(this.allCards[rand]);
this.allCards.splice(rand, 1);
}
}
};
deck.randomizer(0, deck.allCards.length);
var deck = {
allCards: ["ch-6", "ch-7", "ch-8", "ch-9", "ch-10", "ch-v", "ch-d", "ch-k", "ch-t", "bu-6", "bu-7", "bu-8"],
randomCards: [],
randomizer: function(min, max) {
for(var i = 0; i < this.allCards.length; i++) {
var rand = Math.round(Math.random() * (this.allCards.length - 1));
this.randomCards.push(this.allCards[rand]);
this.allCards.splice(rand, 1);
}
}
};
deck.randomizer();
var deck = {
allCards: ["ch-6", "ch-7", "ch-8", "ch-9", "ch-10", "ch-v", "ch-d", "ch-k", "ch-t", "bu-6", "bu-7", "bu-8"],
randomCards: [],
randomizer: function(min, max) {
for(var i = 0; i < this.allCards.length; i++) {
var rand = min + Math.round(Math.random() * ((max > this.allCards.length ? this.allCards.length : max) - min - 1));
this.randomCards.push(this.allCards[rand]);
this.allCards.splice(rand, 1);
}
}
};
deck.randomizer(0, deck.allCards.length);
getMapOptions: function() {
return {
zoom: this.getMapZoom(),
center: this.getMapCenter(),
mapTypeId: google.maps.MapTypeId.ROADMAP,
disableDefaultUI: !0,
zoomControl: !1,
scaleControl: !1,
panControl: !1,
styles: [{
featureType: "poi",
stylers: [{
visibility: "off"
}]
}, {
featureType: "administrative.locality",
stylers: [{
visibility: "off"
}]
}, {
featureType: "poi.park",
elementType: "geometry",
stylers: [{
visibility: "on"
}, {
color: "#f3f2f1"
}]
}, {
featureType: "poi.park",
elementType: "labels",
stylers: [{
visibility: "off"
}]
}, {
featureType: "landscape.natural",
stylers: [{
visibility: "on"
}, {
color: "#f3f2f1"
}]
}, {
featureType: "landscape",
elementType: "geometry.fill",
stylers: [{
color: "#f9f8f7"
}]
}, {
featureType: "water",
stylers: [{
hue: "#0091ff"
}, {
lightness: 23
}]
}, {
featureType: "road",
elementType: "geometry.fill",
stylers: [{
hue: "#ff9900"
}, {
saturation: -62
}, {
lightness: 57
}]
}, {
featureType: "road.highway",
elementType: "geometry.stroke",
stylers: [{
saturation: -57
}, {
lightness: 45
}]
}, {
featureType: "landscape.man_made",
elementType: "geometry.stroke",
stylers: [{
color: "#d1d4d6"
}]
}]
}
},