<%
function touxianvalue(jingyuan) 
                  if jingyuan<=50 then
				     touxian="小野人"
				  elseif jingyuan>50 and jingyuan<=150 then
				     touxian="野人"
				  elseif jingyuan>150 and jingyuan<=500 then
				     touxian="土人"
				  elseif jingyuan>500 and jingyuan<=1000 then
				     touxian="咕噜"
				  elseif jingyuan>1000 and jingyuan<=2000 then
				     touxian="大咕噜"
				  elseif jingyuan>2000 and jingyuan<=4000 then
				     touxian="咕噜队长"
				  elseif jingyuan>4000 and jingyuan<=8000 then
				     touxian="初级守卫"
				  elseif jingyuan>8000 and jingyuan<=10000 then
				     touxian="守卫队长"
				  elseif jingyuan>10000 and jingyuan<=11000 then
				     touxian="斗士"
				  elseif jingyuan>11000 and jingyuan<=12000 then
				     touxian="大斗士"
				  elseif jingyuan>12000 and jingyuan<=14000 then
				     touxian="斗士长"
				  elseif jingyuan>14000 and jingyuan<=16000 then
				     touxian="骑士"
				  elseif jingyuan>16000 and jingyuan<=18000 then
				     touxian="青铜骑士"
				  elseif jingyuan>18000 and jingyuan<=20000 then
				     touxian="白银骑士"
				  elseif jingyuan>20000 and jingyuan<=22000 then
				     touxian="黄金骑士"
				  elseif jingyuan>22000 and jingyuan<=24000 then
				     touxian="圣骑士"
				  elseif jingyuan>24000 and jingyuan<=26000 then
				     touxian="神秘头衔"
				  elseif jingyuan>26000 and jingyuan<=28000 then
				     touxian="神秘头衔"
				  elseif jingyuan>28000 then
				     touxian="神秘头衔"					 					 					 					 					 					 					 					 					 
				  end if
				  touxianvalue=touxian
end function
'#############################################
function jibievalue(jingyuan)
				  if jingyuan<=50 then
				     jibie="<img src=../../bbs/userheadimg/class1.gif width=63 height=10>"
				  elseif jingyuan>50 and jingyuan<=150 then
				     jibie="<img src=../../bbs/userheadimg/class2.gif width=63 height=10>"
				  elseif jingyuan>150 and jingyuan<=500 then
				     jibie="<img src=../../bbs/userheadimg/class3.gif width=63 height=10>"
				  elseif jingyuan>500 and jingyuan<=1000 then
				     jibie="<img src=../../bbs/userheadimg/class4.gif width=63 height=10>"
				  elseif jingyuan>1000 and jingyuan<=2000 then
				     jibie="<img src=../../bbs/userheadimg/class5.gif width=63 height=10>"
				  elseif jingyuan>2000 and jingyuan<=4000 then
				     jibie="<img src=../../bbs/userheadimg/class6.gif width=63 height=10>"
				  elseif jingyuan>4000 and jingyuan<=8000 then
				     jibie="<img src=../../bbs/userheadimg/class7.gif width=63 height=10>"
				  elseif jingyuan>8000 and jingyuan<=10000 then
				     jibie="<img src=../../bbs/userheadimg/class8.gif width=63 height=10>"
				  elseif jingyuan>10000 and jingyuan<=11000 then
				     jibie="<img src=../../bbs/userheadimg/class9.gif width=63 height=10>"
				  elseif jingyuan>11000 and jingyuan<=12000 then
				     jibie="<img src=../../bbs/userheadimg/class10.gif width=63 height=10>"
				  elseif jingyuan>12000 and jingyuan<=14000 then
				     jibie="<img src=../../bbs/userheadimg/class11.gif width=63 height=10>"
				  elseif jingyuan>14000 and jingyuan<=16000 then
				     jibie="<img src=../../bbs/userheadimg/class12.gif width=63 height=10>"
				  elseif jingyuan>16000 and jingyuan<=18000 then
				     jibie="<img src=../../bbs/userheadimg/class13.gif width=63 height=10>"
				  elseif jingyuan>18000 and jingyuan<=20000 then
				     jibie="<img src=../../bbs/userheadimg/class14.gif width=63 height=10>"
				  elseif jingyuan>20000 and jingyuan<=22000 then
				     jibie="<img src=../../bbs/userheadimg/class15.gif width=63 height=10>"
				  elseif jingyuan>22000 and jingyuan<=24000 then
				     jibie="<img src=../../bbs/userheadimg/class16.gif width=63 height=10>"
				  elseif jingyuan>24000 and jingyuan<=26000 then
				     jibie="<img src=../../bbs/userheadimg/class17.gif width=63 height=10>"
				  elseif jingyuan>26000 and jingyuan<=28000 then
				     jibie="<img src=../../bbs/userheadimg/class18.gif width=63 height=10>"
				  elseif jingyuan>28000 then
				     jibie="<img src=../../bbs/userheadimg/class19.gif width=63 height=10>"					 					 					 					 					 					 					 					 					 
				  end if
				  jibievalue=jibie
end function
%>