Do you even know what that code is suppose to do? Or did you copy it from somewhere?
Better learn how to debug code.