Advertisement
Similar Games
Play Now!
FootyZag
Advertisement
FootyZag
Pass the ball to your teammate and score! Complete challenging levels and unlock crazier and stronger teams. Make sure not to pass the ball to the opponent team!
Advertisement
&description_url=" + encodeURIComponent(descriptionURL) + "&correlator=1732446120";
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(1207);
});
window.setTimeout(function() {
__upGame_rx8(1207)
}, 2000);
var descriptionURL = "http://www.avodarta.com/game/footyzag";
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);
}
})