var xmlhttp=false;
/*@cc_on @*/
/*@if (@_jscript_version >= 5)
// JScript gives us Conditional compilation, we can cope with old IE versions.
// and security blocked creation of the objects.
 try {
  xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
 } catch (e) {
  try {
   xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
  } catch (E) {
   xmlhttp = false;
  }
 }
@end @*/
if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
        xmlhttp = new XMLHttpRequest();
}
function more(id,divID) {
        if (xmlhttp) {
                d=document
                var oInputArray = new Array();
                var requestFile = "http://cssmania.com/ajax-technorati.php?id=" + id;
                xmlhttp.open("GET", requestFile ,true);
                xmlhttp.onreadystatechange= function () {
                        if (xmlhttp.readyState==1) {
                                document.getElementById(divID).innerHTML='<p><strong>Getting Technorati Contents ..... </strong></p> ';
                        }
                        if (xmlhttp.readyState==4) {
                                document.getElementById(divID).innerHTML=xmlhttp.responseText
                        }
                }
                xmlhttp.send(null)
        }
}

function nomore(id,divID) {
        if (xmlhttp) {
                d=document
                var oInputArray = new Array();
                var requestFile = "http://cssmania.com/ajax-technorati-nomore.php?id=" + id;
                xmlhttp.open("GET", requestFile ,true);
                xmlhttp.onreadystatechange= function () {
                        if (xmlhttp.readyState==1) {
                                document.getElementById(divID).innerHTML='<img src="http://cssmania.com/i/loading.gif"  width="254"  height="173"  border="0"  />';
                        }
                        if (xmlhttp.readyState==4) {
                                document.getElementById(divID).innerHTML=xmlhttp.responseText
                        }
                }
                xmlhttp.send(null)
        }
}

function addvote(id,divID,ratomatic, urlpassed) {
        if (xmlhttp) {
                d=document
                var oInputArray = new Array();
                var requestFile = "http://cssmania.com/ajax-rating.php?id=" + id + "&ratomatic=" + ratomatic + "&urlpassed=" + urlpassed;
                xmlhttp.open("GET", requestFile ,true);
                xmlhttp.onreadystatechange= function () {
                        if (xmlhttp.readyState==1) {
                                document.getElementById(divID).innerHTML='<p><strong>Vote Counting. Hold on..</strong></p> ';
                        }
                        if (xmlhttp.readyState==4) {
                                document.getElementById(divID).innerHTML=xmlhttp.responseText
                        }
                }
                xmlhttp.send(null)
        }
}