<!-- Begin pop-up sizes and options

var paragraph_1 	= "yes"			// show the first paragraph
var paragraph_2 	= "no"			// show the second paragraph
var showimage		= "yes"			// show sidebar image
var showscroller	= "yes"			// show the scroller
var scrollspacing	= "20"			// nudge sidebar down
var bordercolor		= "666666"		// scroller and image border colour
var showdate		= "yes"			// show the date on the page
var dateLR			= "left"		// date left or right
var dateX			= "8"			// date x location
var dateY			= "80"			// date y location
var showsearch		= "yes"			// show the search form
var searchLR		= "left"		// search form left or right
var searchX			= "10"			// search form x location
var searchY			= "210"			// search form y location
var searchwidth		= "160"			// width of the search form
var searchtext		= "Web Search"	// search form header

// nudge spacer
document.write('<img src="images/spacer.gif" height="'+scrollspacing+'" width="10"><br>')

// paragraph 1
if (paragraph_1 == "yes") 
{
	document.write('<span class="sidebartitle">')
	document.write('Looking for 3DView?')
	document.write('<br></span><span class="sidebartext">')
	document.write('Our 3D volume viewer is still free and is available from the Research section of this web site, or directly from <a href="volume_rendering.htm">here</a>.<br>')
	document.write('</span><br><br>')
}

// scroller
if (showscroller == "yes") 
{
	document.write('<TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#'+bordercolor+'" style="border-collapse:collapse"><tr><td>')
	Tscroll_init (0)
	document.write('</td></tr></table>')
	document.write('<br><br>')
}

// picture
if (showimage == "yes") 
{
	document.write('<br><TABLE cellpadding="0" cellspacing="0" border="1" bordercolor="#'+bordercolor+'" style="border-collapse: collapse"><tr><td>')
	document.write('<a href="volume_rendering.htm"><IMG SRC="images/3dview_tiny.jpg" border="0" width="150"></a><br>')
	document.write('</td></tr></table>')
	document.write('<br><br>')
}

// paragraph 2
if (paragraph_2 == "yes") 
{
	document.write('<span class="sidebartitle">')
	document.write('Looking for 3DView?')
	document.write('<br></span><span class="sidebartext">')
	document.write('Our original 3D volume viewer is still free and is available from the Research section of this web site, or directly from <a href="volume_rendering.htm">here</a>.<br>')
	document.write('</span><br><br>')
}

// search form
if (showsearch == "yes") 
{
	document.write('<div id="search" style="'+searchLR+': '+searchX+'px; POSITION: absolute; TOP: '+searchY+'px; width: auto; z-index: 1;">')
	document.write('<TABLE cellpadding="0" cellspacing="2" border="0" width="'+searchwidth+'"><tr><td colspan="2" class="sidebartext">')
	document.write(''+searchtext+'<br>')
	document.write('</td></tr><tr><td align="left">')
	document.write('<form action="http://www.google.com/search" name="f" target="_blank" style="margin: 0px">')
	document.write('<input type="hidden" name="any selected">')
	document.write('<input size="15" name="q" value="" class="searchform">&nbsp;<input type=submit value="Go!" name="btnG" class="searchbutton"><br>')
	document.write('</form>')
	document.write('</td></tr></table>')
	document.write('</div>')
}

// date
if (showdate == "yes") 
{
	document.write('<div id="date-location" style="'+dateLR+': '+dateX+'px; POSITION: absolute; TOP: '+dateY+'px">');
	var d=new Date()
	var weekday=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
	var monthname=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
	document.write("<span class=\"date-font\"><nobr>" + weekday[d.getDay()] + " ")
	document.write(d.getDate() + " ")
	document.write(monthname[d.getMonth()] + " ")
	document.write(d.getFullYear())
	document.write("</nobr><br></span>")
	document.write('</div>');
}

// -- end -->