
<!-- THREE STEPS TO INSTALL JS SLIDESHOW SCRIPT  II:



<!--  1.  Copy the coding into the HEAD of your HTML document -->

 <!-- 2.  Add the onLoad event handler into the BODY tag -->

 <!-- 3.  Put the last coding into the BODY of your HTML document  -->



<!-- STEP ONE: Paste this code into the HEAD of your HTML document  -->


// =======================================

// set the following variables

// =======================================



// Set slideShowSpeed (milliseconds)

var slideShowSpeed = 15000



// Duration of crossfade (seconds)

var crossFadeDuration = 5

// Number of ads that can be displayed (make sure this number matches the number of ads or some could be missing

var numads = 9

// Specify the image files

var Pic = new Array() // don't touch this

var ref = new Array() // Array to hold link information
// to add more images, just continue

// the pattern, adding to the array below



Pic[0] = 'AdImages/AdOrdinanceSearch.gif'
ref[0] = 'http://cityclerk.lacity.org/ordinance/'

Pic[1] = 'AdImages/Ad311.gif'
ref[1] = 'http://publiccsd.lacity.org/'

//Pic[2] = 'AdImages/AdSpecialElection2.gif'
//ref[2] = '/election/index.htm'

Pic[2] = 'AdImages/AdCFMS.gif'
ref[2] = 'http://cityclerk.lacity.org/cps/pdf/cfms_announcement.pdf'

Pic[3] = 'AdImages/AdSubscribe.gif'
ref[3] = 'http://parc3.lacity.org/ens/index.cfm?dept=clk'

//Pic[5] = 'AdImages/AdSpecialElection1.gif'
//ref[5] = 'http://www.lavote.net/voter/voter_reg.htm'

Pic[4] = 'AdImages/AdCommittees.gif'
ref[4] = 'http://cityclerk.lacity.org/cps/pdf/clkasgn.pdf'

// Pic[7] = 'AdImages/AdBilingual.gif'
// ref[7] = '/election/index.htm' 

Pic[5] = 'AdImages/AdRecords.gif'
ref[5] = 'http://cityclerk.lacity.org/rmd/pdf/RecordsPendingDestruction.pdf'

//ic[6] = 'AdImages/AdDigitalAward2005.gif'
//ref[6] = 'http://www.centerdigitalgov.com/bestof/?loc=36'

Pic[6] = 'AdImages/AdCouncilvideos.gif'
ref[6] = 'http://lacity.org/lacity/YourGovernment/CityCouncil/CouncilMeetings/index.htm'

Pic[7] = 'AdImages/AdCoolToVote.gif'
ref[7] = 'http://cityclerk.lacity.org/'

Pic[8] = 'AdImages/AdAwardQualProdCommission_itacclerk.gif'
ref[8] = 'http://cityclerk.lacity.org/'



// =======================================

// do not edit anything below this line

// =======================================



var t

var j = 0

var p = Pic.length



var preLoad = new Array()

for (i = 0; i < p; i++){

   preLoad[i] = new Image()

   preLoad[i].src = Pic[i]

}

j = Math.round(Math.random()* numads)


function runSlideShow(){
	
	var tobj = window.document.getElementById("VU");
	tobj.innerHTML = '<A id=adimg target="_blank" href="' + ref[j] + '" name=adimg><IMG src="" border=0 name=SlideShow width="118" height="400"></A>';

   if (document.all){

     document.images.SlideShow.style.filter="blendTrans(duration=2)"

    document.images.SlideShow.style.filter="blendTrans(duration=crossFadeDuration)"

    document.images.SlideShow.filters.blendTrans.Apply()      

   }

   document.images.SlideShow.src = preLoad[j].src
	
   if (document.all){

      document.images.SlideShow.filters.blendTrans.Play()

   }

   j = j + 1

   if (j > (p-1)) j=0

   t = setTimeout('runSlideShow()', slideShowSpeed)

}









<!-- STEP TWO: Insert the onLoad event handler into your BODY tag  -->

<!-- <BODY onLoad="runSlideShow()"> -->



<!-- STEP THREE: Copy this code into the BODY of your HTML document  -->

<!--<table border="0" cellpadding="0" cellspacing="0">

<!--<tr>

<!--<td id="VU" height=150 width=150>

<!--<img src="" name='SlideShow'></td>

<!--</tr>

<!--</table>