Maybe I haven't had sufficient coffee yet but I still don't get it.
The OP posts a a vague question and some link to some blog.
The blog has free ready made codez !!! And still there is a problem?
Joined: Mar 01, 2012
guys don't worry now i had completed and solved this by my self and it is resulting quite good......
and i never told to write whole code for me in question just asked about initialization of the variables used in it......