<script>
<!--
function ChangeStarCommunity(o){
var o = document.getElementById(o);
if( document.all && typeof( document.all ) == "object" ) //IE
{
o.fireEvent("onclick");
o.click();
}
else
{
var e = document.createEvent('MouseEvent');
e.initEvent('click',false,false);
o.dispatchEvent(e);
}
}
//-->
</script> 鼠标滑过调用方式:onmouseover="ChangeStarCommunity(this.id);"