﻿function rankover(num)
{
    showclass(num,3)
    showdata(num,3)
}

function showclass(num,total) 
{
		for(i=1;i<=total;i++) {
			document.getElementById("pid_"+i).className = "p_h" ;
		}
		document.getElementById("pid_"+num).className = "p_hh" ;
}

function showdata(num,total) 
{
	for (i=1;i<=total;i++) {
			document.getElementById("p_h"+i).style.display = "none" ;
		}
		document.getElementById("p_h"+num).style.display = "block" ;
}

