I'm not sure if it's possible, but can't you change your javascript to fire onload? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4160281#4160281 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4160281