document.write('<link rel="stylesheet" type="text/css" href="http://bar2.feerik.com/bar2.css" />');

var i = 0; var sites = Array();

if(!window.location.href.match(new RegExp('ohmydollz.com',"g"))&&!window.location.href.match(new RegExp('suceursdesang',"g"))) sites[i++] = Array("OhMyDollz", "http://es.ohmydollz.com/?aw=bar", "bar_doll");
//if(!window.location.href.match(new RegExp('ageofmagic.net',"g"))) sites[i++] = Array("Age Of Magic", "http://www.ageofmagic.net/?aw=bar", "bar_aom");
if(!window.location.href.match(new RegExp('poneyvallee.com',"g"))&&!window.location.href.match(new RegExp('suceursdesang',"g"))) sites[i++] = Array("Poney Vall&eacute;e", "http://es.poneyvallee.com/?aw=bar", "bar_poney");
if(!window.location.href.match(new RegExp('ilodino.es',"g"))) sites[i++] = Array("Ilodino", "http://www.ilodino.es/?aw=bar", "bar_dino");
if(!window.location.href.match(new RegExp('gt.eredan.com',"g"))) sites[i++] = Array("Eredan GT", "http://gt.eredan.com/es/?aw=bar", "bar_eredan_gt");
if(!window.location.href.match(new RegExp('itcg.eredan.com',"g"))) sites[i++] = Array("Eredan iTCG", "http://itcg.eredan.com/es/?aw=bar", "bar_eredan_itcg");

//var dtgt = Math.random();
//if(!window.location.href.match(new RegExp('eredan.com',"g")) && (dtgt > 0.5 || window.location.href.match(new RegExp('dragontopia.fr',"g"))) && !window.location.href.match(new RegExp('ohmydollz.com',"g")) ) 
//sites[i++] = Array("Eredan GT", "http://gt.eredan.com/es/?aw=bar", "bar_eredan_gt");
//else if(!window.location.href.match(new RegExp('dragontopia.fr',"g"))) 
//sites[i++] = Array("Dragontopia", "http://www.dragontopia.fr/?aw=bar", "bar_dt")
//if(!window.location.href.match(new RegExp('mafiarox.com',"g"))&&!window.location.href.match(new RegExp('ohmydollz.com',"g"))&&!window.location.href.match(new RegExp('poneyvallee.com',"g"))&&!window.location.href.match(new RegExp('ekoloko',"g"))) sites[i++] = Array("Mafiarox", "http://www.mafiarox.com/?aw=bar", "bar_mafia");
//else if(!window.location.href.match(new RegExp('piratefight.com',"g"))&&!window.location.href.match(new RegExp('ekoloko',"g"))) sites[i++] = Array("Pirates", "http://www.piratefight.com/?aw=bar", "bar_pirate");

var pct = Math.round(100 / (sites.length+1));
var s = '<table id="bar_reseau" class="bar_sprite sprite-fond" width="100%" height="24" cellpadding="0" cellspacing="0" border="0"><tr><td width="*" align="center" valign="middle"><table width="100%" height="22" cellpadding="0" cellspacing="0" border="0"><tr>';
s += '<td width="'+pct+'%" align="center"><a href="http://bloges.feerik.com" target="_blank"><img src="http://bar2.feerik.com/feerik.png"align="absmiddle" border="0"></a></td>';
for(i=0;i<sites.length;i++){
	var A = sites[i];
	s += '<td width="'+pct+'%" align="center"><a href="'+A[1]+'" target="_blank" class="bar_sprite '+A[2]+'">'+A[0]+'</a></td>';
}
s += '</tr><tr height="2"><td colspan="8"></td></tr></table></td></tr></table>';
document.write(s);