// JavaScript Document

with (mainDiv) {
	// divs[number] = new Array('id of div below', 'x', 'y', 'width', 'height');
	// Dimensions are evaluable strings so they can include variables. Null strings are skipped.
	// Div 0 is the main scroller, 1=Bar, 2=Thumb.
	divs[0] = new Array('mainContentDiv', '0', '0', '520', '330');
	divs[1] = new Array('scrollBar', '758', '160', '12', '338');
	divs[2] = new Array('scrollThumb', '758', '', '12', '');
	divs[3] = new Array('upArrows', '758', '148', '', '');
	divs[4] = new Array('downArrows', '758', '499', '', '');
}

function RunFoo()
{
    document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="120" height="123">');
    document.write('<param name="movie" value="design.swf">');
	document.write('<param name="quality" value="high">');
	document.write('<param name="SCALE" value="exactfit">');
	document.write('<embed src="design.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="120" height="123"></embed>');
    document.write('</object>');
}