Hi beejay,

Please review this post to learn how to properly post your CODE so that others can easily read it with a proper layout.

The Post/Reply Formatting Box and How to use it
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=171901

Almost every bulletin board on the Internet uses these types of tags for formatting so it would be worth your time and effort to learn how they're used.

Thanks.

.