i have blogs hosted on wordpress and i want to put ad script based on java script but it doesn`t work, the script is automaticaly eliminated.. can anybody help me on this
A hosted wordpress blog is not allowed to have custom javascript, iframes, plugins or forms. This for security reasons. If you do need these features you'll need to host your own blog. There is no way around this.
You can try this free blogging host (not Wordpress) that accepts user's ads and javascripts into templates: www.blogospheerix.com. Read this post www.blogospheerix.com/blog/blog/entry/make_money_online_blogging and this template guide: www.blogospheerix.com/blog/blog/resource/apache_roller/roller-template-guide.pdf
You can try wordpress themes with in-built adsense elements. Or you can search for adsense plugin for wordpress. In either case dont forget to replace the ad code with your code.