<!--
var ServerPath = "";
var text = "";

function dw(s) {
	document.write(s);
	text += s;
}

// *** Menu Construction Function ***
function Menu(h1, ht, text, href, secure, newWin) {
	this.h1 = h1;
	this.ht = ht;
	this.text = text;
	this.href = href;
	this.secure = secure;
	this.newWin = newWin;
}

function Item(text, href, secure, newWin) {
	this.text = text;
	this.href = href;
	this.secure = secure;
	this.newWin = newWin;
}

function drawMenu()
{
	//alert
	dw('<div id="myslidemenu" class="jqueryslidemenu"><ul>');
	
		
	//Draw Menu
	for (i = 0; i < menu.length; i++)
	{
		dw('<li><a href="javascript:');
		if (menu[i][0].secure) {
			dw('doSecureLink');
		}
		else {
			dw('doLink');
		}
		
		dw('(\''+menu[i][0].href+'\');"');
		
		if (menu[i][0].newWin) {
			
		}
		
		dw('>' + menu[i][0].text + '</a><ul>');
		
		for (j = 1; j < menu[i].length; j++) {
			dw('<li><a href="javascript:');
			if (menu[i][j].secure)
				dw('doSecureLink');
			else
				dw('doLink');
			
			dw('(\''+ menu[i][j].href +'\');">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;'+menu[i][j].text+'</a></li>');
		}
		
		dw('</ul></li>');		
	}
	
	dw('</ul></div>');
}

//-->
