need help with tinyMCE integration

i have this setup to run many textareas on a page with two editor definitons

as part of this, there is a 'built in script' that uses a pair of jquery scripts to actuate button rows and to set cookies...

i am wondering if these, 3 scripts and page php code can be tweeked to allow the open / close of these editors to work in each individual instnace on any given page we have things set up on..

origninal demo


uses these files

which i have installed locally

my page, only one text area expands - the one as defined here, in the JS n hte web page for the editor "tinyMCE"

how can we add more of these definations, the variables and get these to actually work, opening and closing the rows for the second defination of editor, and then each text area we assign these editor definations to?

many thanks

 <script type="text/javascript" src="<?php echo SCRIPT_SECUREURL ?>js/jquery.min.js"></script>
		<script type="text/javascript" src="<?php echo SCRIPT_SECUREURL ?>js/tiny_mce/tiny_mce.js"></script>
		<script type="text/javascript" src="<?php echo SCRIPT_SECUREURL ?>js/jquery.cookie.js"></script>
        <script type="text/javascript">
		$(function() {
			// cookie expiration date
			var cookieExpireDate = new Date();
			cookieExpireDate.setTime(cookieExpireDate.getTime() + (365 * 3 * 24 * 60 * 60 * 1000));

			var tinyMCEInstances = $('.tinyMCE').before('<a class="tinyMceAdvToggle" href="javascript:;">'+($.cookie('mcePDWToggleToolbars') ? 'Hide':'Show')+' Advanced Options<'+'/a>');
			var tinyMCEAdvToggle = $('.tinyMceAdvToggle').click(function(){
				var advButtonsVisible = !$.cookie('mcePDWToggleToolbars');
				$.each(tinyMCEInstances,function(i, obj) {
					var thisEditor = tinyMCE.getInstanceById(this.name); 

				//put focus in the right editor (otherwise IE always puts focus and scrolls tolast editor if multiple editors are on page)
				var currentEditorId = $(this).next('.tinyMCE').attr('name');
				var currentEditor = tinymce.getInstanceById(currentEditorId); 

				if (!advButtonsVisible) {
					tinyMCEAdvToggle.text('Show Advanced Options');
				else { 
					tinyMCEAdvToggle.text('Hide Advanced Options');
				return false;