Okay it appears that function file has no closing tag for whatever reason as it must be calling other files to close the tag.
Anyways I added your code to the bottom of the functions file and added the category list and see what happened.
http://www.chinawholesalectronics.com/
Now how it looks and works is not a bad thing for me but be nice to know how to change it to a drop down menu.