Dear Mario,
Include the plugin and add the below codes in s_doPlugins section.
>>Code Start<<
if (s.events && (s.events + ",").indexOf("event1,") > -1) {
s.prop1 = "start"
}
if (s.events && (s.events + ",").indexOf("event2,") > -1) {
s.prop1 = "stop"
}
s.prop1 = s.getTimeToComplete(s.prop1, "TTC", 0);
>>Code End<<
Plugin:
>>Code Start<<
s.getTimeToComplete = new Function("v", "cn", "e", "var s=this,d=new Date,x=d,k;if(!s.ttcr){e=e?e:0;if(v=='start'||v=='stop')s.ttcr=1;x.setTime(x.getTime()+e*86400000);if(v=='start'){s.c_w(cn,d.getTime(),e?x:0);return '';}if(v=='stop'){k=s.c_r(cn);if(!s.c_w(cn,'',d)||!k)return '';v=(d.getTime()-k)/1000;var td=86400,th=3600,tm=60,r=5,u,un;if(v>td){u=td;un='days';}else if(v>th){u=th;un='hours';}else if(v>tm){r=2;u=tm;un='minutes';}else{r=.2;u=1;un='seconds';}v=v*r/u;return (Math.round(v)/r)+' '+un;}}return '';");
>>Code End<<
If the implementation requires any other plugin support, include them as well.
Note that the value will be visible only in the 2nd image request i.e. After 2nd event occurs.
Thank You
Arun