
var wVal1 = 0;
var lVal1 = 0;
var stopThis1 = 0;


	
function checkActiveX() {
	
	FillAuto(); 
	}

function FillAuto() {
	initPictures();
	runSlideShow(1);
	}
	

	
/* download slideshow */

var SlideShowSpeed1 = 2000;
var CrossFadeDuration1 = .1;
var Picture1 = new Array();  
var url = new Array();  

var tss1;
var iss1;
var jss1 = 1;
var pss1 = 1;
var preLoad1 = new Array();

function initPictures() {

	
	Picture1[1]  = 'images/job_red.jpg';
	Picture1[2]  = 'images/job_white.jpg';
//	Picture1[2]  = 'images/gazb.jpg';
				
    //url[1]  = '#';
	url[1]  = 'members/resource_careers.php';
	url[2]  = '#';
//	url[2]  = 'gazette.php';
//	url[3]  = 'three.html';

	pss1 = Picture1.length-1;
		
	for (iss1 = 1; iss1 < pss1+1; iss1++){
	preLoad1[iss1] = new Image();
	preLoad1[iss1].src = Picture1[iss1];}
	}	
	
function runSlideShow(active) {
	if (stopThis1 == 1 ) {
		document.images.PictureBox1.src = preLoad1[1].src;
		//document.images.PictureBox.style.display = "none";
		return;
		}
	else {
		if (document.all) {
			document.images.PictureBox1.style.filter="blendTrans(duration=CrossFadeDuration1)";
			document.images.PictureBox1.filters.blendTrans.Apply();
			}
		document.getElementById("rot_career").setAttribute("href", url[jss1]);	
		document.images.PictureBox1.src = preLoad1[jss1].src;
		if (document.all) document.images.PictureBox1.filters.blendTrans.Play();
		jss1++;
		if (jss1 > (pss1)) jss1=1;
		tss1 = setTimeout('runSlideShow(1)', SlideShowSpeed1);	
		}
	}	




