<!--
var photos=new Array()
var photoslink=new Array()
var which=0
var firsttime = 0
var wnd = 0

function run(){
if (firsttime>0)
	forward()
setTimeout("run()",4000)
firsttime = 1	
}

window.onerror = handleevent

function handleevent()
{
	return true
}

function applyeffect(){
if (document.all){
document.images.photoslider.filters.revealTrans.Transition=Math.floor(Math.random()*23)
document.images.photoslider.filters.revealTrans.stop()
document.images.photoslider.filters.revealTrans.apply()
}
}

function playeffect(){
if (document.all)
document.images.photoslider.filters.revealTrans.play()
}

function forward()
{
	if (which>=photos.length-1)
		which=-1
	if (which<photos.length-1)
	{
		
		applyeffect()
		which++
		document.images.photoslider.src=photos[which]
		playeffect()
	}
}

function transport(){
	if (photoslink[which].length>0)
	{
		window.open(photoslink[which],'New_Window'+wnd,'toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes')
		wnd++
	}
}
//-->