IE does not like elements with duplicate name or the duplicate id.
Change the lower part of your page to avoid duplicate ids. Then pass the appropriate id to the script.
LOWER PART OF PAGE:
<td width=200 align=center bgcolor=fff789><ul id="containerul"><li>View<ul><li>data[7]</li></ul></li></ul>
<script type="text/javascript">
initiate('containerul'); // This must be placed immediately after the menu in order to format it properly.
</script>
<td width=200 align=center bgcolor=fff789><ul id="containerul2"><li>View<ul><li>data[7]</li></ul></li></ul>
<script type="text/javascript">
initiate('containerul2'); // This must be placed immediately after the menu in order to format it properly.
</script>
change initiate function to accept a passed parameter (instead of hard-coding containerul)
function initiate(myid){
cookieCount=0;
if(document.cookie){
cookieArray=document.cookie.split(";");
cookieArray2=new Array();
for(i in cookieArray){
cookieArray2[cookieArray.split("=")[0].replace(/ /g,"")]=cookieArray.split("=")[1].replace(/ /g,"");
}
}
cookieArray=(document.cookie.indexOf("state=")>=0)?cookieArray2["state"].split(","):new Array();
temp=document.getElementById(myid);