document.write( '<h4>' 
+'Kiva tutorial'
+'</h4>'
+'<ul>'
	+'<li class="treenode">'
	+'<a href="/help/help_tut_intro.html">'
	+'Introduction'
	+'</a>'
	+'</li>'
	+'<ul>'
		+'<li>'
		+'<a href="/help/help_tut_loggingin.html">'
		+'Logging in'
		+'</a>'
		+'</li>'
		+'<li>'
		+'<a href="/help/help_tut_loggingout.html">'
		+'Logging out'
		+'</a>'
		+'</li>'
		+'<li>'
		+'<a href="/help/help_tut_kivamembers.html">'
		+'Kiva members'
		+'</a>'
		+'</li>'
		+'<li class="treenode">'
		+'<a href="/help/help_tut_myprofile.html"">'
		+'My profile'
		+'</a>'
		+'<ul>'
			+'<li>'
			+'<a href="/help/help_tut_myprofile_password.html">'
			+'Changing your password'
			+'</a>'
			+'</li>'
			+'<li>'
			+'<a href="/help/help_tut_myprofile_picture.html">'
			+'Changing your picture'
			+'</a>'
			+'</li>'
		+'</ul>'
	+'</ul>'
	
	+'<li class="treenode">'
	+'<a href="/help/help_tut_posts.html">'
	+'Posts'
	+'</a>'
	+'</li>'
	+'<ul>'
		+'<li class="treenode" >'
		+'<a href="/help/help_tut_discussions.html">'
		+'Discussions'
		+'</a>'
		+'<ul>'
			+'<li>'
			+'<a href="/help/help_tut_discussions_newthread.html">'
			+'Starting a new thread'
			+'</a>'
			+'</li>'
			+'<li>'
			+'<a href="/help/help_tut_discussions_reading.html">'
			+'Reading posts in a thread'
			+'</a>'
			+'</li>'
			+'<li>'
			+'<a href="/help/help_tut_discussions_replying.html">'
			+'Replying to posts in a thread'
			+'</a>'
			+'</li>'
			+'<li>'
			+'<a href="/help/help_tut_discussions_upload.html">'
			+'Adding files, links and pictures'
			+'</a>'
			+'</li>'
			+'<li>'
			+'<a href="/help/help_tut_discussions_preview.html">'
			+'Previewing posts'
			+'</a>'
			+'</li>'
		+'</ul>'
		+'</li>'
		+'<li class="treenode">'
		+'<a href="/help/help_tut_meetings.html">'
		+'Meetings'
		+'</a>'
		+'<ul>'
			+'<li>'
			+'<a href="/help/help_tut_meetings_reschedule.html">'
			+'Rescheduling a meeting'
			+'</a>'
			+'</li>'
			+'<li>'
			+'<a href="/help/help_tut_meetings_cancel.html">'
			+'Canceling a meeting'
			+'</a>'
			+'</li>'
		+'</ul>'
		+'</li>'
		+'<li class="treenode">'
		+'<a href="/help/help_tut_worklog.html">'
		+'Work logs'
		+'</a>'
//		+'<ul>'
//			+'<li>'
//			+'<a href="/help/help_tut_worklog_summaries.html"">'
//			+'Worklog summaries'
//			+'</a>'
//			+'</li>'
//		+'</ul>'
		+'</li>'
	+'</li>'
	+'</ul>'		
	+'<li class="treenode">'
	+'<a href="/help/help_tut_search.html">'
	+'Search'
	+'</a>'
	+'<ul>'
		+'<li>'
		+'<a href="/help/help_tut_search_advanced.html">'
		+'Advanced search'
		+'</a>'
		+'</li>'
	+'</ul>'	
	+'</li>'
	+'<li class="treenode">'
	+'<a href="/help/help_tut_views.html">'
	+'Views'
	+'</a>'
	+'<ul>'
		+'<li>'
		+'<a href="/help/help_tut_views_creating.html">'
		+'Creating views'
		+'</a>'
		+'</li>'
		+'<li>'
		+'<a href="/help/help_tut_views_saving.html">'
		+'Saving views'
		+'</a>'
		+'</li>'
		+'<li>'
		+'<a href="/help/help_tut_views_ordering.html">'
		+'Organizing views on your home page'
		+'</a>'
		+'</li>'
	+'</ul>'	
	+'</li>'
//	+'<li class="treenode" >'
//	+'<a href="/help/help_tut_clusters.html">'
//	+'Clusters'
//	+'</a>'
//	+'<ul>'
//		+'<li>'
//		+'<a href="/help/help_tut_clusters_creating.html">'
//		+'Creating clusters'
//		+'</a>'
//		+'</li>'
//		+'<li>'
//		+'<a href="/help/help_tut_clusters_viewing.html">'
//		+'Viewing clusters'
//		+'</a>'
//		+'</li>'
//		+'<li>'
//		+'<a href="/help/help_tut_clusters_managing.html">'
//		+'Managing clusters'
//		+'</a>'
//		+'</li>'
//	+'</ul>'	
//	+'</li>'	
	+'<li class="treenode" >'
	+'<a href="/help/help_tut_groups.html">'
	+'Groups'
	+'</a>'
	+'<ul>'
		+'<li>'
		+'<a href="/help/help_tut_groups_creating.html">'
		+'Creating and changing groups'
		+'</a>'
		+'</li>'
		+'<li>'
		+'<a href="/help/help_tut_groups_notifications.html">'
		+'Notifications'
		+'</a>'
		+'</li>'
	+'</ul>'
	+'</li>'
	+'<li class="treenode">'
	+'<a href="/help/help_tut_calendar.html">'
	+'The calendar'
	+'</a>'
	+'<ul>'
		+'<li>'
		+'<a href="/help/help_tut_calendar_group.html">'
		+'Class and group calendars'
		+'</a>'
		+'</li>'
		+'<li>'
		+'<a href="/help/help_tut_calendar_details.html">'
		+'Viewing/hiding details'
		+'</a>'
		+'</li>'
	+'</ul>'
	+'</li>'
	+'</ul>'

	+'<br />'	
	+'<h4>'
	+'Frequently Asked Questions'
	+'</h4>'
	+'<ul>'
	+'<li>'
	+'<a href="/help/help_tut_faq.html">'
	+'FAQ'
	+'</a>'
	+'</li>'
	+'</ul>'

//	+'<br />'	
// 	+'<h4>'
// 	+'Quick help collection'
// 	+'</h4>'
// 	+'<ul>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_discussion.html">'
// 	+'Discussion'
// 	+'</a>'
// 	+'</li>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_groups.html">'
// 	+'Groups'
// 	+'</a>'
// 	+'</li>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_meeting.html">'
// 	+'Meeting'
// 	+'</a>'
// 	+'</li>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_uploadphoto.html">'
// 	+'Upload photo'
// 	+'</a>'
// 	+'</li>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_postbuttons.html">'
// 	+'Post options'
// 	+'</a>'
// 	+'</li>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_quoteinreply.html">'
// 	+'Quote in reply'
// 	+'</a>'
// 	+'</li>'
// 	+'<li>'
// 	+'<a href="quickhelp/help_recipients.html">'
// 	+'Recipients'
// 	+'</a>'
// 	+'</li>'
// +'</ul>'
);

function resize_textarea(t)
{
	if (t.value.length>0)
	{
     	agt=navigator.userAgent.toLowerCase(); 
	
      	a = t.value.split('\n');
      	b = 1;	
      	for( x = 0; x < a.length; x++ )
      	{
      		if( a[x].length >= t.cols) { b += Math.ceil(a[x].length/t.cols); }
      	}
      	b += a.length;
      	
		if( agt.indexOf('opera') == -1 )
		{
			if( b > 7 ) 
				t.rows = b;
			else
				t.rows = 7;
		}
	}
}