TabBar - IE error 49324 Object doesn't accept this method

Greetings,
I’m using the newest version of the tabBar, (I got from a previous post); and in the test on Safari and Firefox everything works fine but in IE version 8.0, the error console says: “The Object do not accept this property or method” in the line corresponding to tabbar = new dhtmlXTabBar("tabbar", "top");

Can you help me to fix this?
Here is the example of my tabBar:

<link rel="STYLESHEET" type="text/css" href="/pathtomyjs/dhtmlxSuite2.5/dhtmlxTabbar/codebase/dhtmlxtabbar.css">
<script src="/pathtomyjs/dhtmlxSuite2.5/dhtmlxTabbar/codebase/dhtmlxcommon.js"></script>
<script src="/pathtomyjs/dhtmlxSuite2.5/dhtmlxTabbar/codebase/dhtmlxtabbar.js"></script>

<div id="tabbar" style="width:100%; height:530px;"></div>

 tabbar = new dhtmlXTabBar("tabbar", "top");
    tabbar.setSkin('modern');
    tabbar.setHrefMode("iframes-on-demand");
    tabbar.setImagePath("/pathtomyjs/dhtmlxSuite2.5/dhtmlxTabbar/codebase/imgs/");
    tabbar.addTab("a1","Tab1","100px");
    tabbar.addTab("a2","Tab2","100px");    
    tabbar.addTab("a3","Tab3","100px");
    tabbar.addTab("a4","Tab4","100px");
    tabbar.addTab("a5","Tab5","140px");
    tabbar.setContentHref("a1","mypage");
    tabbar.setContentHref("a2","mypage");
    tabbar.setContentHref("a3","mypage");
    tabbar.setContentHref("a4","mypage");
    tabbar.setContentHref("a5","mypage");
    tabbar.setTabActive("a4");

Thanks

Hello,

try to change the id of tabbar container (in your sample the id is the same as tabbar’s name):

tabbar = new dhtmlXTabBar(“parentId”, “top”);

Thanks!, It worked
Thanks for the quick reply