<!--


/**
Trigger a change in the progressbar. All images are set to the inactive-State,
and the active image is set to active state afterwards.
*/
 function changeProgress(p)
 {
	// Two Image-Arrays with the active and inactive images.
	// needs contribution of variable imageBaseUrl to allow
	// separate Images for different Agencies.
	a = new Array(new Image(),new Image(),new Image(),new Image());
    n = new Array(new Image(),new Image(),new Image(),new Image());
    a[0].src=imageBaseUrl+"progressbar_01_a.gif";
    n[0].src=imageBaseUrl+"progressbar_01_n.gif";
    a[1].src=imageBaseUrl+"progressbar_02_a.gif";
    n[1].src=imageBaseUrl+"progressbar_02_n.gif";
    a[2].src=imageBaseUrl+"progressbar_03_a.gif";
    n[2].src=imageBaseUrl+"progressbar_03_n.gif";
    a[3].src=imageBaseUrl+"progressbar_04_a.gif";
    n[3].src=imageBaseUrl+"progressbar_04_n.gif";

	for (i=0;i<4;i++)
        {
        	id = 'prog0'+(i+1);
        	document.getElementById(id).src=n[i].src;
            // document.images[i].src=n[i].src; -->
        }
		id = 'prog0'+(p+1);
        document.getElementById(id).src=a[p].src;
      // document.images[p].src=a[p].src; -->
 }
//-->
