function CCI(idn,bg,fg,nm,io)
{
	var x;
	x = document.getElementById(''+nm+'t'+idn);
	x.style.color = fg;
	
	x = document.getElementById(''+nm+'r'+idn);
	x.bgColor = bg;
	if(io==1)
		x.style.cursor = 'hand';
	else
		x.style.cursor='auto';
}
function runSlideShow()
{
	if ( pau > 0 )
	{
		document.images.SlideShow.src = preLoad[j].src;
		j = j + 1;
		if (j > (p-1)) j=0;
	}
	t = setTimeout('runSlideShow()', speed);
}
function ppause()
{
	if ( pau > 0 ) pau = 0;
		else pau = 1;
}
function slower()
{
	if ( speed < 2000 ) speed = speed + 100;
		else speed=2000;
}
function faster()
{
	if ( speed > 150 ) speed = speed - 100;
		else speed=0;
}

var myimages=new Array();
var gotolink="#";

function changeimage(towhat,url){
	if (document.images){
		document.images.targetimage.src=towhat.src;
		gotolink=url;
	}
}
function warp(){
	window.location=gotolink;
}


function preloadimages(){
	for (i=0;i<preloadimages.arguments.length;i++){
		myimages[i]=new Image();
		myimages[i].src=preloadimages.arguments[i];
	}
}
