jQuery.noConflict();

// parameters
number_of_logotypes = 20
delay_seconds = 12

function photoGallery()
{
	// update code
	logo = document.getElementById('logo-img') 
	do {
		// get a new random image index
		index = Math.floor(number_of_logotypes * Math.random()) + 1
		// path to the new image
		new_src = "images/cybtekk-logo" + index + ".jpg"
	} while(logo.src.search(new_src) != -1) // never the same twice in a row
	logo.src = new_src // change to the new logo
	setTimeout("photoGallery()", delay_seconds * 1000) // queue the next change
}

jQuery(document).ready(function(){
		setTimeout("photoGallery()", delay_seconds * 1000) // queue the rotator when page has loaded
	})