function changeTo(dv, changeTo) {

	dv.className = changeTo;

}

function changeOther(dv, changeTo) {

	if (document.getElementById)
	{
		
		// this is the way the standards work
		document.getElementById(dv).className = changeTo;

	}
	else if (document.all)
	{
		
		// this is the way old msie versions work
		var style2 = document.all[dv].className = changeTo;
	
	}
	else if (document.layers)
	{
		
		// this is the way nn4 works
		var style2 = document.layers[dv].className = changeTo;
		
	}
} 

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}