What error message are you getting? After a quick glance through I think one of the more beneficial things you could do is separate your classes into separate files. You also appear to switch between myItem and myItemname when calling methods on your Item object.
Grn Xtrm commented: Thanks for walking me through the process. +1
Ancient Dragon commented: Nice suggestion :) +36
Rashakil Fol commented: You have no sense of humour. -2
nav33n commented: You do have sense of humour ;) +10
verruckt24 commented: I like the way you say this, straight to the face +3
Killer_Typo commented: pretty much +7
Rashakil Fol commented: Every post you make bumps the thread to the top. -2