A new method for localization of the prostate during external beam radiotherapy. The method is based on insertion of a new thermo-expandable Ni-Ti stent. The radiological properties of the stent are used for precise prostate localization during treatment using electronic portal images