unable to call java script onload

Hello,

I am using sugar crm community edition  6.5.17.

I create new custome module and create one javascript for show and hide.

but its not working.

Can anybody guide's me how to call .js file in editviewdefs and when i can put .js file.