function pauseRotate(floaterid, maxid, rDef, floaterSize) {	document.getElementById('status_' + floaterid).value = 'stop';	}function displayFloater(floaterid, useId, lastid, allid, floatersize) {	if (useId>allid) {
		useId = 1;
		}
	if (useId<1) {
		useId = allid;
		}
	if (useId != lastid) {		document.getElementById('status_' + floaterid).value = 'run';		for (i=1; i<=allid; i++) {			document.getElementById(floaterid + '_' + i).style.display = 'none';			}		document.getElementById('act_' + floaterid).value = useId;		if (useId > lastid) {			document.getElementById(floaterid + '_' + lastid).style.display = 'block';			document.getElementById(floaterid + '_' + useId).style.display = 'block';			changeUp(floaterid, useId, lastid, floatersize, floatersize);			}		if (useId < lastid) {			document.getElementById(floaterid + '_' + useId).style.display = 'block';			document.getElementById(floaterid + '_' + useId).style.marginLeft = '0px';			document.getElementById(floaterid + '_' + useId).style.marginLeft = '-' + floatersize-45 + 'px';			document.getElementById(floaterid + '_' + lastid).style.display = 'block';			changeDown(floaterid, useId, lastid, floatersize);			}		}	}	function changeUp(floaterid, useId, lastid, thisPos, maxThisPos) {	if (thisPos>0) {		thisPos = thisPos - 15;		document.getElementById(floaterid + '_' + lastid).style.marginLeft = thisPos - maxThisPos + 'px';		setTimeout("changeUp('" + floaterid + "','" + useId + "','" + lastid + "', '" + thisPos + "', '" + maxThisPos + "');",40);		}
	else {
		thisPos = 0;		document.getElementById(floaterid + '_' + lastid).style.marginLeft = thisPos - maxThisPos + 'px';		}	}	function changeDown(floaterid, useId, lastid, thisPos) {	if (thisPos>0) {		thisPos = thisPos - 15;		document.getElementById(floaterid + '_' + useId).style.marginLeft = '-' + thisPos + 'px';		setTimeout("changeDown('" + floaterid + "','" + useId + "','" + lastid + "', '" + thisPos + "');",40);		}
	else {
		thisPos = 0;
		document.getElementById(floaterid + '_' + useId).style.marginLeft = '0px';		}	}	function rotateFloater(floaterid, actid, maxid, rDef, floaterSize) {	if (document.getElementById('status_' + floaterid).value == 'run') {		var timeGap = document.getElementById('rotate_' + floaterid).value;		lastid = actid*1;		actid = actid*1 + rDef*1;		if (actid > maxid) {			rDef = -1;			actid = (maxid*1 + rDef*1)			}		if (actid < 1) {			rDef = 1;			actid = 2;			}		displayFloater(floaterid, actid, lastid, maxid, floaterSize);		}	setTimeout("rotateFloater('" + floaterid + "', '" + actid + "', '" + maxid + "', '" + rDef + "', '" + floaterSize + "');", timeGap);	}
	