addEventHandler("onResourceStart", getRootElement(), "clothesStart") function clothesStart ( resourcename )