var changeContent = function () {
	$(this.myObjID + '-toggle').update(this.myObjContent);
}

var toggleBlind = function (id, closedText, openText) {

	var	closedText = ((typeof closedText == 'undefined') ? 'Next' : closedText),
			openText = ((typeof openText == 'undefined') ? '' : openText),
			onCompleteFunc = function () { };

	if (openText != closedText) {
		var onCompleteFunc = changeContent;
	}

	if (!$(id).visible()) {
		Effect.BlindDown(id, {
			myObjID: id,
			myObjContent: openText,
			duration: 0.618,
			transition: Effect.Transitions.EaseFromTo,
			afterFinish: onCompleteFunc
		});
	} else {
		Effect.BlindUp(id, {
			myObjID: id,
			myObjContent: closedText,
			duration: 0.45,
			transition: Effect.Transitions.EaseFromTo,
			afterFinish: onCompleteFunc
		});
	}

	return false;

};
