// JavaScript Document

//bottom left ad

// Set the slideshow speed (in milliseconds)
var SlideShowSpeed = 5000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration = 1;

var Picture = new Array(); // don't change this
var Caption = new Array(); // don't change this

// Specify the image files...

Picture[1]  = 'http://employmentng.com/ads/images/Etisalat-Logo1.png';
Picture[2]  = 'http://employmentng.com/ads/images/gtbank-logo.jpg';
Picture[3]  = 'http://employmentng.com/ads/images/pwc-logo.jpg';
Picture[4]  = 'http://employmentng.com/ads/images/total-logo.jpg';



// Specify the Captions...

Caption[1]  = "";
Caption[2]  = "";
Caption[3]  = "";
Caption[4]  = "";




var tss;
var iss;
var jss = 1;
var pss = Picture.length-1;

var preLoad = new Array();
for (iss = 1; iss < pss+1; iss++){
preLoad[iss] = new Image();
preLoad[iss].src = Picture[iss];}

function runSlideShow(){
if (document.all){
document.images.PictureBox.style.filter="blendTrans(duration=2)";
document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox.src = preLoad[jss].src;
if (document.getElementById) document.getElementById("CaptionBox").innerHTML= Caption[jss];
if (document.all) document.images.PictureBox.filters.blendTrans.Play();
jss = jss + 1;
if (jss > (pss)) jss=1;
tss = setTimeout('runSlideShow()', SlideShowSpeed);
}




//top banner ad




// Set the slideshow speed (in milliseconds)
var SlideShowSpeed2 = 10000;

// Set the duration of crossfade (in seconds)
var CrossFadeDuration2 = 1;

var Picture2 = new Array(); // don't change this
var Caption2 = new Array(); // don't change this

// Specify the image files...

//Picture2[1]  = 'http://employmentng.com/ads/images/employmentAds2233.png';
//Picture2[2]  = 'http://employmentng.com/ads/images/testEngineAds22.jpg';
Picture2[1]  = 'http://employmentng.com/ads/images/BigautocardAds.jpg';
Picture2[2]  = 'http://employmentng.com/ads/images/fasttrackAds.jpg';
Picture2[3]  = 'http://employmentng.com/ads/images/kestraAds.jpg';
Picture2[4]  = 'http://employmentng.com/ads/images/VenCoreAd.jpg';



// Specify the Captions...

//Caption2[1]  = "";
//Caption2[2]  = "";
Caption2[1]  = "";
Caption2[2]  = "";
Caption2[3]  = "";
Caption2[4]  = "";




var tss2;
var iss2;
var jss2 = 1;
var pss2 = Picture2.length-1;

var preLoad2 = new Array();
for (iss2 = 1; iss2 < pss2+1; iss2++){
preLoad2[iss2] = new Image();
preLoad2[iss2].src = Picture2[iss2];}

function runSlideShow2(){
if (document.all){
document.images.PictureBox2.style.filter="blendTrans(duration=2)";
document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
document.images.PictureBox.filters.blendTrans.Apply();}
document.images.PictureBox2.src = preLoad2[jss2].src;
//if (document.getElementById) document.getElementById("CaptionBox2").innerHTML= Caption2[jss2];
if (document.all) document.images.PictureBox2.filters.blendTrans.Play();
jss2 = jss2 + 1;
if (jss2 > (pss2)) jss2=1;
tss2 = setTimeout('runSlideShow2()', SlideShowSpeed2);
}
