/* [INCLUDE FILE] tabnav */
function fixLinks(){
if (document.getElementById("tabPanel") == null){return;}

var server = document.location.hostname;
var anchors = document.getElementById("tabPanel").getElementsByTagName("a");

for(var i = 0;i < anchors.length;i++){
var a = anchors[i];
var href = a.href;
var id = a.id;
var title = a.title;

if ((href.indexOf("#") != -1) && (href.indexOf("filler") == -1)){// jump ref
var index = href.indexOf("#") + 1;
href = "javascript:show('" + href.substring(index) + "');";
a.setAttribute("href",href);
}

if (href.indexOf("#filler") != -1){
a.href = "#";
}
}
}

function hideDivs(exempt){

if (!document.getElementsByTagName) return null;
if (!exempt) exempt = "";
var divs = document.getElementById("tabPanel").getElementsByTagName("div");

  for(var i = 0;i < divs.length;i++){
var div = divs[i];
var id = div.id;
var tabId = document.getElementById(id + "Nav");

// hide irrelevant tabs
if (id != exempt && id.indexOf("tab_") != -1){
div.className = "hidden";
tabId.className = "";
}
}

}

function show(what){

if (document.getElementById("tabPanel") == null){return;}

// set default tab value
if (!what) what = "tab_Gameinfo";

showWhat = document.getElementById(what);
showWhat.className = "";

tabId = document.getElementById(what + "Nav");
tabId.className = "selected";

hideDivs(what);

}/* [INCLUDE FILE] oas/oas_gamepages */
//configuration
OAS_url ='http://ads.miniclip.com/RealMedia/ads/';
OAS_listpos = 'Bottom2,Middle';
OAS_sitepage = 'miniclip.com/gamepages';
//end of configuration
OAS_version = 10;
OAS_rn = '001234567890';OAS_rns = '1234567890';
OAS_rn = new String (Math.random());OAS_rns = OAS_rn.substring (2,11);
function OAS_NORMAL(pos){
document.write('<A HREF="' + OAS_url + 'click_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + OAS_query + '" TARGET=_top>');
document.write('<IMG SRC="' + OAS_url + 'adstream_nx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + '!' + pos + OAS_query + '" BORDER=0 ALT="Click!"></A>');
}

OAS_version = 11;
if (navigator.userAgent.indexOf('Mozilla/3') != -1)
OAS_version = 10;
if (OAS_version >= 11)
document.write('<SC'+'RIPT LANGUAGE=JavaScript1.1 SRC="' + OAS_url + 'adstream_mjx.ads/' + OAS_sitepage + '/1' + OAS_rns + '@' + OAS_listpos + OAS_query + '"><\/SCRIPT>');

 document.write('');
function OAS_AD(pos){
if (OAS_version >= 11 && typeof(OAS_RICH) !='undefined')
  OAS_RICH(pos);
else
  OAS_NORMAL(pos);
}