
/*
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 or higher.
{
  for(var i=0; i<document.images.length; i++)
  {
    var img = document.images[i]
        var imgName = img.src.toUpperCase()
        if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
    {
      var imgID = (img.id) ? "id='" + img.id + "' " : ""
          var imgClass = (img.className) ? "class='" + img.className + "' " : ""
          var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
          var imgStyle = "display:inline-block;" + img.style.cssText
          var imgAttribs = img.attributes;
      for (var j=0; j<imgAttribs.length; j++)
      {
        var imgAttrib = imgAttribs[j];
        if (imgAttrib.nodeName == "align")
        {
          if (imgAttrib.nodeValue == "left") imgStyle = "float:left;" + imgStyle
          if (imgAttrib.nodeValue == "right") imgStyle = "float:right;" + imgStyle
          break
        }
      }
      var strNewHTML = "<span " + imgID + imgClass + imgTitle
          strNewHTML += " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
          strNewHTML += "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
          strNewHTML += "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>"
          img.outerHTML = strNewHTML
          i = i-1
    }
  }
}
window.attachEvent("onload", correctPNG); 
*/

function getInfo()
{
  get_info = window.open ("", "get_info"+Math.round(Math.random()*10000000000).toString(), "");
  get_info.document.open ();
  get_info.document.writeln ('<html><head><meta http-equiv="refresh" content="0;url='+document.getElementById('extlink').href+'"></head><body></body></html>');
  get_info.document.close ();
//  document.getElementById('extlink').href=document.location.href;
  document.getElementById('extlink').href="#";
}
function getinfo()
{
  getinfo = window.open ("", "getinfo"+Math.round(Math.random()*10000000000).toString(), "");
  getinfo.document.open ();
  getinfo.document.writeln ('<html><head><meta http-equiv="refresh" content="0;url='+document.getElementById('extlin').href+'"></head><body></body></html>');
  getinfo.document.close ();
//  document.getElementById('extlin').href=document.location.href;
  document.getElementById('extlin').href="#";
}



function ajaxFunction(id)
{
  var xmlHttp;
  try
  {
  // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
  }
  catch (e)
  {
  // Internet Explorer
    try
    {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
    }
    catch (e)
    {
      try
      {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
      }
      catch (e)
      {
        alert("Your browser does not support AJAX!");
        return false;
      }
    }
  }
  xmlHttp.onreadystatechange=function()
  {
    if(xmlHttp.readyState==4)
    {
//      document.myForm.time.value=xmlHttp.responseText;
      document.getElementById("right").innerHTML=xmlHttp.responseText;
//      return xmlHttp.responseText;
    }
  }
  xmlHttp.open("GET","http://www.ultimelestiri.com/right/a/"+id,true);
//  alert("http://www.ultimelestiri.com/right/a/"+id);
  xmlHttp.send(null);
}


