﻿var refreshAppenCodeTimerID;
var refreshCount;
refreshCount=0;
function setAppenCode()
{
    var appencode=document.getElementById('imgAppendCode');
    if(appencode!=null)
    try
    {
        appencode.src="/gifcode.aspx?rand="+Math.random();
        refreshCount++;
    }
    catch(ex)
    {
       alert(ex);
    }
}