function clear_this(id,text){
	   var value = document.getElementById(id).value;
       if(value == text) {
        document.getElementById(id).value = '';
       }
	}
    function fill_this(id,text) {
        var value = document.getElementById(id).value;
        if(value == '') {
            document.getElementById(id).value = text;
        }
    }
function showHint(str,str1)
    {
        var resultDiv = "txtHint"+str;
        var userAgent = "<?php echo $_SERVER['HTTP_USER_AGENT']; ?>";
        var ipAddress = "<?php echo $_SERVER['REMOTE_ADDR']; ?>";
        var xmlhttp;
          xmlhttp=new XMLHttpRequest();
          xmlhttp.onreadystatechange=function()
          {
          if (xmlhttp.readyState==4 && xmlhttp.status==200)
            {
            alert(xmlhttp.responseText);
            }
          }
        xmlhttp.open("GET","http://www.freetemplatehome.com/rating-submit.php?tempid="+str+"&&value="+str1+"&&useragent="+userAgent+"&&ip="+ipAddress,true);
        xmlhttp.send();
    }
