// JavaScript Document


var wVal4 = 0;
var lVal4 = 0;
var stopThis4 = 0;


	
function checkActiveX4() {
	
	FillAuto4(); 
	}

function FillAuto4() {
	initPictures4();
	runSlideShow4(1);
	}
	

	
/* download slideshow */

var SlideShowSpeed4 = 8888;
var CrossFadeDuration4 = .15;
var Picture4 = new Array();  


var tss4;
var iss4;
var jss4 = 1;
var pss4 = 1;
var preLoadn4 = new Array();

function initPictures4() {
	
	//Picture2[1]  = 'images/aahfn_request_speaker.jpg';
	Picture4[1]  = 'sample/Marie_Galvao.jpg';
	Picture4[2]  = 'sample/poster_presenter.jpg';
	//Picture2[3]  = 'images/newbanner2.jpg';
	//Picture2[3]  = 'images/aahfn_heart_banner.jpg';
				//aahfn_memcamp07.gif
	
	pss4 = Picture4.length-1;
		
	for (iss4 = 1; iss4 < pss4+1; iss4++){
	preLoadn4[iss4] = new Image();
	preLoadn4[iss4].src = Picture4[iss4];}
	}	
	
function runSlideShow4(active) {
	if (stopThis4 == 1 ) {
		document.images.PictureBox4.src = preLoadn4[1].src;
		//document.images.PictureBox.style.display = "none";
		return;
		}
	else {
		if (document.all) {
			document.images.PictureBox4.style.filter="blendTrans(duration=CrossFadeDuration2)";
			document.images.PictureBox4.filters.blendTrans.Apply();
			}
		document.images.PictureBox4.src = preLoadn4[jss4].src;
		if (document.all) document.images.PictureBox4.filters.blendTrans.Play();
		jss4++;
		if (jss4 > (pss4)) jss4=1;
		tss4 = setTimeout('runSlideShow4(1)', SlideShowSpeed4);	
		}
	}	




