<!--

ini_ = new Array (20);
for (i=1;i<=20;i++){
  ini_[i]=0;
}

function load_zone(zone, token, filerout, offsety){
  if (ini_[zone]==0){
   $('#loading_'+zone).show();
   $.post("ile/load_zone", {zone: zone, token: token, filerout: filerout}, function(data)
   {
       data = data.replace(/§a/gi, '<area  title="header=[Place ');
       data = data.replace(/§b/gi, '] body=[<center>');
       data = data.replace(/§c/gi, '</center>] offsety=[-'+offsety+']" shape="rect" coords="');
       data = data.replace(/§d/gi, '" href="ile/ajplace/');
       data = data.replace(/§e/gi, '/'+token+'/'+filerout+'" alt="" />');
       data = data.replace(/§i1/gi, '/uploads/avatars/mini/');
       data = data.replace(/§i2/gi, '/images/');

       $("#square_"+zone+"").append( data );
       $('#loading_'+zone).hide();
   });
   ini_[zone] = 1;
 }
}

function displayMoreInfo()
{
    $('#moreInfo').show();
    $('.closeInfoIle').show();
    $('.openInfoIle').hide();
}
function hideMoreInfo()
{
    $('#moreInfo').hide();
    $('.closeInfoIle').hide();
    $('.openInfoIle').show();
}

function closeConfirmPlace()
{
    $('.confirmPlace').hide();
}

function blinkMsg1()
{
    $('#msg1').hide();
    $('#msg2').show();
    setTimeout("blinkMsg2()",3000)
}
function blinkMsg2()
{
    $('#msg1').show();
    $('#msg2').hide();
    setTimeout("blinkMsg1()",3000)
}
blinkMsg2();

//-->

