
	// Rollingpictures support
	var ps_rolpic_current = new Array();
	var ps_rolpic_list = new Array();
	
	function psRollingPicButtons(prefix) {
		var rol_prefix = "ROL_PIC_" + prefix + "_";
		document.getElementById(rol_prefix + "back").style.display = (ps_rolpic_current[prefix] < 1) ? "none" : "block";
		document.getElementById(rol_prefix + "forward").style.display = (ps_rolpic_current[prefix] > (ps_rolpic_list[prefix].length - 2)) ? "none" : "block";
	}

	function psRollingPicBack(prefix) {
		if (ps_rolpic_current[prefix] > 0) {
			ps_rolpic_current[prefix]--;
			document.getElementById("ROL_PIC_" + prefix).style.backgroundImage = "url(" + ps_rolpic_list[prefix][ps_rolpic_current[prefix]] + ")";
		}
		psRollingPicButtons(prefix);
	}

	function psRollingPicForward(prefix) {
		if (ps_rolpic_current[prefix] < (ps_rolpic_list[prefix].length - 1)) {
			ps_rolpic_current[prefix]++;
			document.getElementById("ROL_PIC_" + prefix).style.backgroundImage = "url(" + ps_rolpic_list[prefix][ps_rolpic_current[prefix]] + ")";
		}
		psRollingPicButtons(prefix);
	}

