Hi to all,
I am using sothink menu in my asp.net site. It generates a javascript. But it is giving an error:
Microsoft JScript runtime error object expected
<script type="text/javascript">
<!--
stm_bm(["menu7def",900,"","blank.gif",4,"","",0,0,250,0,1000,1,0,0,"","1108",67109119,0,1,2,"default","hand","",1,23],this);
stm_bp("p0",[0,4,0,0,0,0,9,0,100,"",-2,"",-2,50,0,0,"#999999","menubg.jpg","",1,0,0,"#000000"]);
stm_ai("p0i0",[0,"Home","","",-1,-1,0,"index.aspx","_self","","","","",9,7,0,"","",0,0,0,1,1,"menubg.jpg",1,"menubg.jpg",1,"","643635-.gif",2,0,0,0,"#FFFFF7","#000000","#FFFFFF","#575757","10pt Verdana","10pt Verdana",0,0,"","","","",0,0,0],90,31);
stm_aix("p0i1","p0i0",[0,"Catering","","",-1,-1,0,"Categories.aspx?pare_id=1","_self","","","","",0,0,0,"","",0,0,0,1,1,"menubg.jpg",1,"#FFFFFF",1,"","643635-.gif",3,3,0,0,"#FFFFF7","#FFFFFF"],90,31);
stm_bpx("p1","p0",[0,4,0,0,0,7,0,0,100,"",-2,"",-2,78,0,0,"#799BD8","transparent","081014line1a.gif",3]);
stm_ai("p1i0",[0,"Ice Machines","","",-1,-1,0,"Categories.aspx?pare_id=2","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FF9933",0,"#FF9900",0,"081014line1a.gif","081014line1a.gif",3,3,0,0,"#FFFFF7","#000000","#000000","#575757","8pt Verdana","8pt Verdana",0,0,"081014line1a.gif","081014line1a.gif","081014line1a.gif","081014line1a.gif",2,2,28],2,28);
stm_aix("p1i1","p1i0",[0,"|","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FF9933",0,"#FF9900",0,"081014line1a.gif","081014line1a.gif",3,3,0,0,"#FFFFF7","#000000","#000000","#000000"],2,28);
stm_aix("p1i2","p1i0",[0,"Hotel Products"],2,28);
stm_aix("p1i3","p1i1",[],2,28);
stm_aix("p1i4","p1i0",[0,"Glassware"],2,28);
stm_aix("p1i5","p1i1",[],2,28);
stm_aix("p1i6","p1i0",[0,"Cooking Machines"],2,28);
stm_aix("p1i7","p1i1",[],2,28);
stm_aix("p1i8","p1i0",[0,"Chefs Utensils"],2,28);
stm_aix("p1i9","p1i0",[0,"|","","",-1,-1,0,"","_self","","","","",0,0,0,"","",0,0,0,1,1,"#FF9933",0,"#FF9900",0,"081014line1a.gif","081014line1a.gif",3,3,0,0,"#FFFFF7","#000000","#000000","#FFFFFF"],2,28);
stm_aix("p1i10","p1i0",[0,"Tableware"],2,28);
stm_aix("p1i11","p1i9",[],2,28);
stm_aix("p1i12","p1i0",[0,"Refigeration"],2,28);
stm_ep();
stm_aix("p0i2","p0i1",[0,"Plastics","","",-1,-1,0,"Categories.aspx?pare_id=4","_self","","","","",0,0,0,"","",0,0,0,1,1,"menubg.jpg",1,"#2d2e26",1,"","643635-.gif",3,0],90,31);
stm_bpx("p2","p1",[]);
stm_aix("p2i0","p1i0",[0,"Confectionery Trays"],2,28);
stm_aix("p2i1","p1i1",[],2,28);
stm_aix("p2i2","p1i0",[0,"Bread Trays"],2,28);
stm_aix("p2i3","p1i1",[],2,28);
stm_aix("p2i4","p1i0",[0,"Food Trays"],2,28);
stm_aix("p2i5","p1i1",[],2,28);
stm_aix("p2i6","p1i0",[0,"Pallets"],2,28);
stm_aix("p2i7","p1i9",[],2,28);
stm_aix("p2i8","p1i0",[0,"Scoops"],2,28);
stm_ep();
stm_aix("p0i3","p0i0",[0,"Trolleys & Shelving","","",-1,-1,0,"Categories.aspx?pare_id=31","_self","","","","",0,0,0,"","",0,0,0,1,1,"#2d2e26",1,"#2d2e26",1,"","643635-.gif",3],90,31);
stm_bpx("p3","p1",[]);
stm_aix("p3i0","p1i0",[0,"Restaurant Trolleys"],2,28);
stm_aix("p3i1","p1i1",[],2,28);
stm_aix("p3i2","p1i0",[0,"Self Clearing Trolleys"],2,28);
stm_aix("p3i3","p1i1",[],2,28);
stm_aix("p3i4","p1i0",[0,"Racking Trolleys"],2,28);
stm_aix("p3i5","p1i9",[],2,28);
stm_aix("p3i6","p1i0",[0,"Modular Shelving"],2,28);
stm_aix("p3i7","p1i9",[],2,28);
stm_aix("p3i8","p1i0",[0,"Dunnage Racks"],2,28);
stm_aix("p3i9","p1i9",[],2,28);
stm_aix("p3i10","p1i0",[0,"Mild Steel Single"],2,28);
stm_aix("p3i11","p1i9",[],2,28);
stm_aix("p3i12","p1i0",[0,"Mild Steel Double"],2,28);
stm_ep();
stm_aix("p0i4","p0i3",[0,"Racks","","",-1,-1,0,"Categories.aspx?pare_id=35","_self","","","","",0,0,0,"","",0,0,0,1,1,"#2d2e26",1,"#2d2e26",1,"","643635-.gif",3],90,31);
stm_bpx("p4","p1",[]);
stm_aix("p4i0","p1i0",[0,"Cooling Racks"],2,28);
stm_aix("p4i1","p1i1",[],2,28);
stm_aix("p4i2","p1i0",[0,"Oven Racks"],2,28);
stm_ep();
stm_aix("p0i5","p0i3",[0,"Promotions"],90,31);
stm_bpx("p5","p1",[]);
stm_aix("p5i0","p1i9",[0,"Clearance Sale","","",-1,-1,0,"#"],0,28);
stm_aix("p5i1","p1i9",[],0,28);
stm_aix("p5i2","p5i0",[0,"Offers"],0,28);
stm_ep();
stm_ep();
stm_em();
//-->
</script>
getting error in the first line which is bold.Please assist me
Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.