<script>var result=0,
firstNum=[Post_Rate_Total],
secondNum=[Post_Rate_Count];
result=firstNum/secondNum;
var nresult = result.toFixed(3);
if(nresult>=1.000 && nresult<1.780)
document.write('<img src=\"http://up.cafenaghd.ir/up/cafenaghd/Template/Rank0.png\" width=\"69\" height=\"85\">');
else if(nresult >= 1.780 && nresult < 2.460)
document.write('<img src=\"http://up.cafenaghd.ir/up/cafenaghd/Template/Rank1.png\" width=\"69\" height=\"85\">');
else if(nresult >= 2.460 && nresult < 3.140)
document.write('<img src=\"http://up.cafenaghd.ir/up/cafenaghd/Template/Rank2.png\" width=\"69\" height=\"85\">');
else if(nresult >= 3.140 && nresult < 3.820)
document.write('<img src=\"http://up.cafenaghd.ir/up/cafenaghd/Template/Rank3.png\" width=\"69\" height=\"85\">');
else if(nresult >= 3.820 && nresult < 4.500)
document.write('<img src=\"http://up.cafenaghd.ir/up/cafenaghd/Template/Rank4.png\" width=\"69\" height=\"85\">');
else
document.write('<img src=\"http://up.cafenaghd.ir/up/cafenaghd/Template/Rank5.png\" width=\"69\" height=\"85\">');
</script>