//<SCRIPT language=JavaScript1.1 type=text/javascript>
//<!--
//  USE: function write_trailer()
//       nothing returned
function write_trailer()
{ 
    document.write( '<div id="footer"><p>' )
    document.write( '<span class=Small>Music information Search tool &copy; Generator North East Ltd 2001-06<br>' )
    document.write( '</span><a href="http://www.generator.org.uk" target="_child"><span class=Small>www.generator.org.uk</a></span></p>' )
    document.write( '<hr size="1"><p><img src="images/partners_logos_s.gif" alt="Partners logos" width="308" height="72" align="center"></p>' )
    document.write( '<p><span class=Small>Dartington Plus is a partnership between The Dartington Hall Trust, Dartington College of Arts and King Edward VI Community College.<br>' )
    document.write( 'Funded in part by Arts Council England</span></p>' )
    document.write( '</div>' )
return true;}

function write_menubar()
{ 
    document.write( '<div id="menu"><ul id="nav"><li id="eigth_main"><div class="mainMenuItem"><a href="http://www.dartingtonplus.org.uk/index.html" target="_top">Home</a></div>' )
    document.write( '</li><li id="seventh_main"><div class="mainMenuItem"><a href="#">About</a></div><ul>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/about_partners.html" target="_top">Partners</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/about_faqs.html" target="_top">FAQs</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/about_five_yr_plan.html" target="_top">Our 5 Year Plan</a></li>' )
    document.write( '</ul></li><li id="fifth_main"><div class="mainMenuItem"><a href="#">Information</a></div><ul>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/info_music_provision.html" target="_top">South West Music Provision</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/info_reports.html" target="_top">Reports</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/info_useful_websites.html" target="_top">Useful Websites</a></li>' )
    document.write( '<li><a href="http://www.artsdata.net/wwwDartington06/index.htm">META Search</a></li>' )
    document.write( '</ul></li><li id="fourth_main"><div class="mainMenuItem"><a href="#">Projects</a></div><ul>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/wwd_education.html" target="_top">Education</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/wwd_enterprise.html" target="_top">Enterprise</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/wwd_performance.html" target="_top">Performance</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/wwd_project_archive.html" target="_top">Project Archive</a></li>' )
    document.write( '</ul></li><li id="sixth_main"><div class="mainMenuItem"><a href="http://www.dartingtonplus.org.uk/contact.html" target="_top">Contact</a></div>' )
    document.write( '</li><li id="first_main"><div class="mainMenuItem"><a href="#">News</a></div><ul>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/news_archive.html" target="_top">News Archive</a></li>' )
    document.write( '<li><a href="http://www.dartingtonplus.org.uk/news_media_contacts.html" target="_top">Media Contacts</a></li>' )
    document.write( '</ul></li></ul></div>' )
return true; }


function write_sidebar()
{ 
    document.write( '<div id="sidemenu"><div id="supportUs"><b class="rtop"><b class="r1"></b> <b class="r2"></b> <b class="r3"></b> <b class="r4"></b></b>' )
    document.write( '<p class="menuTitle">support dartington + </p>' )
    document.write( '<p class="menuItem"><a href="javascript:;" onClick="MM_openBrWindow(https://secure.efundraising.org.uk/tailored/donation.asp?appeal=2223,,status=yes,scrollbars=yes,resizable=yes,width=800,height=450)" target="_top">If you would like to support Dartington Plus with a donation please click here &gt;</a></p>' )
    document.write( '<b class="rbottom"><b class="r4"></b> <b class="r3"></b> <b class="r2"></b> <b class="r1"></b></b></div><div id="fiveYrPlan">' )
    document.write( '<b class="rtop"><b class="r1"></b> <b class="r2"></b> <b class="r3"></b> <b class="r4"></b></b>' )
    document.write( '<p class="menuTitle">5 year plan </p><p class="menuItem"><a href="http://www.dartingtonplus.org.uk/about_five_yr_plan.html" target="_top">If you would like to see the Dartington Plus five-year-plan click here &gt;&gt;</a></p>' )
    document.write( '<b class="rbottom"><b class="r4"></b> <b class="r3"></b> <b class="r2"></b> <b class="r1"></b></b></div></div>' )
return true; }


// Function to reload alternative content into one of the other frames of the current frameset.
// DX 2004
function   FrameLoader(targetFileName, targetFrameName)
  {
// Param 1 is the filename of the content frame/page to be loaded as part of the current frameset.
// Param 2 is the  frame name of the current frameset into which that file is to be loaded
// returns nothing
// If the targetFileName does not exist on the server then a 404 error will be reported
// If the targetFrameName does not exist in the current frameset then nothing happens

		var currURL = unescape(window.location.pathname);
		var newURL =  targetFileName  ;
		var appVer = navigator.appVersion;
		var NS = (navigator.appName == 'Netscape') && ((appVer.indexOf('3') != -1) || (appVer.indexOf('4') != -1));
		var MSIE = (appVer.indexOf('MSIE 4') != -1);
		if (NS || MSIE)
                {
//		window.frames.side.replace(newURL);
		window.parent.frames(targetFrameName).replace(newURL);
                }
		else
                {
//			window.frames.side.href = newURL;
 			window.parent.frames(targetFrameName).location.href = newURL;
                }
}


// Function to determine the name of a frame within the current frameset.
// DX 2004
function   GetFrameName(FrameNo)
  {
// Param 1 is the Number of the frame (zero based) within the current Frameset
// returns the FrameName

//TargetFrameName = parent.frames[FrameNo].name
  var FSet = window.parent.frames  //document.parent.frames //window.all.frames
//var frm = FSet; for (i=0; i < FSet.length; i++) alert(FSet(i).name);


		var currURL = unescape(window.location.pathname);
//                  var NumFrames = FSet.length
                  var NumFrames = window.parent.frames.length //document.parent.frames.length //window.document.all.frames.length
                  var FrameName
                  if (FrameNo <= NumFrames )
                      { 
//                         FrameName = FSet(FrameNo).name
                         FrameName = window.parent.frames(FrameNo).name //document.parent.frames(FrameNo).name //window.all.frames(FrameNo).name
                      }
                  else
                      {  FrameName = ""  }

return (FrameName) ;
}


//--></SCRIPT>


