Can you please post a way to do that using javascript ! .. so everyone reading this post will be benefited..

or just direct me to some links that have the free code to do the process ! ..

thanks in advace