<script language="javascript">

function showback1(a,b)

{

eval('td'+a+'').background="js/"+b+".jpg";



}

function shouback11(a,b)

{

eval('td'+a+'').background="js/"+b+".jpg";

}

</script>



以下是td调用

<td width="100" height="89" align="center" valign="bottom" id="td1" style="cursor:hand" background="js/11.jpg" onmouseover="showback1(1,1)" onmouseout="shouback11(1,11)" onclick="window.open('index.asp?id=<%=id%>')">&nbsp;</td>



其中a,b是变量