<!-- Script by hscripts.com -->
<!-- Copyright of HIOXINDIA -->
<!-- More scripts @www.hscripts.com -->
<script type="text/javascript">
var httpa;
var browser = navigator.appName;
function createRequestObject(){
var request_o; //declare the variable to hold the object.
if(browser == "Microsoft Internet Explorer"){
/* Create the object using MSIE's method */
request_o = new ActiveXObject("Microsoft.XMLHTTP");
}else{
/* Create the object using other browser's method */
request_o = new XMLHttpRequest();
}
return request_o; //return the object
}
function setrating(val,id)
{
httpa = createRequestObject();
var str="hupanddown/addrating.php?id="+id+"&value="+val;
httpa.open('get', str);
httpa.onreadystatechange = handleResponse;
httpa.send(null);
}
function handleResponse() {
if(httpa.readyState == 4){
var response = httpa.responseText;
document.getElementById('prc').value=response;
}
}
function ctck()
{
var sds = document.getElementById("dum");
if(sds == null){alert("Vous utilisez un logiciel libre. Vous n'etes pas autorise a retirer l'etiquette");}
var sdss = document.getElementById("dumdiv");
if(sdss == null){alert("Vous utilisez un logiciel libre. Vous n'etes pas autorise a retirer l'etiquette");}
}
document.onload="ctck()";
</script>
<!-- Script by hscripts.com -->