@ iconkid, this tutorial may help http://www.webmasterworld.com/javascript/4133918.htm
rtrethewey is right about learning the code