	
	// RollingBoxes support
	var ps_rol_current = new Array();
	var ps_rol_count = new Array();

	function psRollingBoxButtons(prefix) {
		var rol_prefix = "ROL_BOX_" + prefix + "_";
		document.getElementById(rol_prefix + "back").style.display = (ps_rol_current[prefix] < 2) ? "none" : "block";
		document.getElementById(rol_prefix + "forward").style.display = (ps_rol_current[prefix] > (ps_rol_count[prefix] - 3)) ? "none" : "block";
	}
	
	function psRollingBoxBack(prefix) {
		if (ps_rol_current[prefix] > 1) {
			ps_rol_current[prefix]--;
			var rol_prefix = "ROL_BOX_" + prefix + "_";
			document.getElementById(rol_prefix + (3 + ps_rol_current[prefix])).style.display = "none";
			document.getElementById(rol_prefix + (3 + ps_rol_current[prefix])).className = document.getElementById(rol_prefix + (2 + ps_rol_current[prefix])).className.replace(/ rol_no_border/g, "");
			document.getElementById(rol_prefix + (2 + ps_rol_current[prefix])).className += " rol_no_border";
			document.getElementById(rol_prefix + (ps_rol_current[prefix])).style.display = "block";
		}
		psRollingBoxButtons(prefix);
	}

	function psRollingBoxForward(prefix) {
		if (ps_rol_current[prefix] < (ps_rol_count[prefix] - 2)) {
			var rol_prefix = "ROL_BOX_" + prefix + "_";
			document.getElementById(rol_prefix + (ps_rol_current[prefix])).style.display = "none";
			document.getElementById(rol_prefix + (2 + ps_rol_current[prefix])).className = document.getElementById(rol_prefix + (2 + ps_rol_current[prefix])).className.replace(/ rol_no_border/g, "");
			document.getElementById(rol_prefix + (3 + ps_rol_current[prefix])).className += " rol_no_border";
			document.getElementById(rol_prefix + (3 + ps_rol_current[prefix])).style.display = "block";
			ps_rol_current[prefix]++;
		}
		psRollingBoxButtons(prefix);
	}