                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                if(!window.__td){window.__MT=100;window.__ti=0;window.__td=[];window.__td.length=window.__MT;window.__noTrace=false;}
vp.eoe.comp.StampStaticImageRegistrant=function $vpfn_K5_ModUO2mSWm0FyqYP06A2$41(imageId,blackImgSrc,blueImgSrc,redImgSrc,aOfferKey)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var me=this;

this.housingImage=vp.ui.get(imageId);

this.responder=vp.eoe.topEventManager.FetchResponder(aOfferKey);



this.updateStampImage=function $vpfn_OKJeWiVOagkvd$khF43A6A12$25(evt)
{if(!window.__noTrace){__td[__ti]=arguments;__ti=__ti>=__MT?0:__ti+1;}
var newColor=vp.events.getEventData(evt,'stampColor');

if(newColor=="0000FF")
{
me.housingImage.src=blueImgSrc;
}
else if(newColor=="FF0000")
{
me.housingImage.src=redImgSrc;
}
else
{
me.housingImage.src=blackImgSrc;
}
};

me.responder.inkColorSelected.addHandler(this.updateStampImage);
};
