I guess onload hooks fire before imported scripts in
Chrome. You could
try using jQuery's document ready instead of addOnloadHook() and see
if that works.
Instead of addOnloadHook( function() { code here } ); do $j( document
).ready( function() { code here } );
It worked and solved that problem.
Thank you Roan
--
Junaid P V
http://junaidpv.in