function myClick_original(clientid, bannerid) {
   if (!document.phpAds_used) document.phpAds_used = ',';
   phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
   document.write ("<" + "script language='JavaScript' type='text/javascript' src='");
   document.write (" http://myclicks.travelfolks.com/adjs.php?n=" + phpAds_random);
   document.write ("&amp;what=bannerid:"+bannerid+"&amp;clientid="+clientid);
   document.write ("&amp;exclude=" + document.phpAds_used);
   if (document.referer)
      document.write ("&amp;referer=" + escape(document.referer));
   document.write ("'><" + "/script>");
}

function myClick(clientid, bannerid) {
    var result = "";

    if (!document.phpAds_used) document.phpAds_used = ',';
    phpAds_random = new String (Math.random()); phpAds_random = phpAds_random.substring(2,11);
   
    result += "<" + "script language='JavaScript' type='text/javascript' src='";
    result += " http://myclicks.travelfolks.com/adjs.php?n=" + phpAds_random;
    result += "&amp;what=bannerid:"+bannerid+"&amp;clientid="+clientid;
    result += "&amp;exclude=" + document.phpAds_used;
    if (document.referer) {
        result += "&amp;referer=" + escape(document.referer);
    }
    result += "'><" + "/script>";

    document.write(result);

    //getMyClick(clientid, bannerid)
}

function getMyClick(clientid, bannerid) {
    var url = "";

    url += "http://myclicks.travelfolks.com/adjs.php?n=" + phpAds_random;
    url += "&what=bannerid:"+bannerid+"&clientid="+clientid;
    url += "&exclude=" + document.phpAds_used;
    if (document.referer) {
        url += "&referer=" + escape(document.referer);
    }

    //document.write(url);

    fn_makeHttpRequest(url, 'readMyClick', true);
}

function readMyClick(Str, clickFn) {
    alert(Str);
}