Advertisement
Similar Games
Play Now!
Rolling Domino 3D
Advertisement
Rolling Domino 3D
Rolling Domino 3D - arcade game, take control of the ball and choose its direction to knock down all the dominoes.
Advertisement
&description_url=" + encodeURIComponent(descriptionURL) + "&correlator=1732362840";
function getcookie(name) {
var cookie_start = document.cookie.indexOf(name);
var cookie_end = document.cookie.indexOf(";", cookie_start);
return cookie_start == -1 ? '' : unescape(document.cookie.substring(cookie_start + name.length + 1, (cookie_end > cookie_start ? cookie_end : document.cookie.length)));
}
function setcookie(cookieName, cookieValue, seconds, path, domain, secure) {
var expires = new Date();
expires.setTime(expires.getTime() + seconds);
document.cookie = escape(cookieName) + '=' + escape(cookieValue) +
(expires ? '; expires=' + expires.toGMTString() : '') +
(path ? '; path=' + path : '/') +
(domain ? '; domain=' + domain : '') +
(secure ? '; secure' : '');
}
function ClearPlayedGames() {
setcookie("lastplayedgames", "", -360000, "/");
return false;
}
function PlayedGames(game_id) {
var playedgames = getcookie("playedgames");
if (playedgames.indexOf("," + game_id + ",") > -1) {
playedgames = playedgames.replace("," + game_id + ",", '');
} else {
if (playedgames == "" || playedgames == ",") {
playedgames = "," + game_id + ",";
} else {
playedgames = "," + game_id + "," + playedgames;
}
}
setcookie("playedgames", playedgames, 25920000000, "/");
}
$(document).ready(function() {
PlayedGames(253);
});
window.setTimeout(function() {
__upGame_rx8(253)
}, 2000);
var descriptionURL = "http://www.avodarta.com/game/rolling-domino-3d";
var iframe = '
';
$(document).ready(function() {
$('.gamePlay-icon, .gamePlay-button, #gamePlay-content').click(function(e) {
SkipAdAndShowGame();
// $('#adsContainer').show();
$("#gamePlay-content").hide();
// $("#adsContainer").hide();
$("#game-box").html(iframe);
// $("#game-preloading").show();
// setTimeout(
// function()
// {
// $("#game-preloading").hide();
// PreRollAd.start();
// }, 550);
});
});
function SkipAdAndShowGame() {
$("#adsContainer").hide();
$("#game-box").html(iframe);
}
$(function() {
$('.ad300').eq(0).show();
if ($('.ad300').size() > 1) {
setInterval(function() {
var first = $('.ad300').eq(0);
first.hide();
$('.ad300').last().after(first);
$('.ad300').eq(0).fadeIn();
}, 3000);
}
$('.adsmall').eq(0).show();
if ($('.adsmall').size() > 1) {
setInterval(function() {
var first = $('.adsmall').eq(0);
first.hide();
$('.adsmall').last().after(first);
$('.adsmall').eq(0).fadeIn();
}, 3000);
}
})