// Modify the hmenu variable to add more tab into the menu.
// hmenulink specifies the page that each tab on the menu will go to
var hmenu = 'Home|News|Employment|Contact';
var hmenulink = 'home.htm|news.htm|employment.htm|contact.htm';

var vmenu = 'Home|Product Overview|Awards|Case Studies|FAQ|Download Evaluation|Partners|Contacts';
var vmenulink = 'default.htm|product.htm|awards.htm|case_studies.htm|faq.htm|evaluation/|partners.htm|contacts.htm';

function drawHMenu(n)
{
var t =	'' +
'		<link href="scripts/stdpage.css" rel="stylesheet" media="all" type="text/css">' +
'<table width="100%" border="0" cellspacing="0" cellpadding="3" style="MARGIN: 0px">' +
'	<tr>' +
'		<td height="10" colspan="3" class="midArea" style="padding: 0px; BACKGROUND-IMAGE: none; BACKGROUND-COLOR: #f5faff">' +
'			<table width="100%" border="0" cellspacing="0" cellpadding="0">' +
'				<tr>' +
'					<td style="PADDING-LEFT: 20px">' +
'						<img src="images/Samliteonly.jpg" hspace="10" align="left"> ' +
'						<div style="MARGIN-TOP: 5px; FONT-WEIGHT: bold; FONT-SIZE: 14pt; COLOR: #0068c8">' +
'								Software Asset Management' +
'						</div>' +
'						<!-- <div style="FONT-SIZE: 8pt; COLOR: #ddeeff"> -->' +
'						<div style="FONT-SIZE: 8pt; COLOR: #0068c8">' +
'							Version 4.0 ' +
'						</div>' +
'					</td>' +
'					<td width="175" style="padding: 0px;" valign="top">' +
'						<IMG id="imgUserIcon" src="images/toprightlogo.jpg" align="right" runat="server" border="0" hspace="0">' +
'					</td>' +
'				</tr>' +
'			</table>' +
'		</td>' +
'	</tr>' +
'</table>'


document.write(t);
}



function drawVMenu(n)
{
var t =	'<td valign="top" width="200" nowrap="nowrap" style="padding-left: 5px; background-color: #f5faff;" rowspan="2">'+
	'	<table width="100%" height="100%" border="0" cellspacing="0" cellpadding="5">'

var s = vmenu.split('|');
var l = vmenulink.split('|');

for(var i = 0; i < s.length; i++)
{

var q = window.location.toString();
t += '<tr>' +
'	<td style="height: 1px; padding: 5px;" class="' + (q.indexOf(l[i]) >= 0 ? 'MenuActive' : 'MenuItem') + '" nowrap="nowrap">' +
'		<a href="' + l[i] + '">' + s[i] + '</a>' +
'	</td>' +
'</tr>'

}

t += '<tr><td class="MenuItem" style="height: 100%;" valign="top">' +
	'<br><br><br>' +
	'<a href="evaluation/"><img src="images/try_samlite_s.gif" border="0"></a>' +
	'</td>' +
	'</tr></table></td>'


t += '<td style="border-top: 1px solid #808080; font-size: 1px;">&nbsp;</td></tr><tr>';

document.write(t);
}


function drawFooter()
{
var t=	'<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0">'+
	'<tr>'+
	'<td height="3" bgcolor="#3C64B4"><img src="images/blank.gif" /></td>'+
	'</tr>'+
	'</table>'


//document.write(t);
}

function ShowConverter()
{
	var sUrl = "ucc.htm";
	var sFeatures = "height=390,width=620,status=no,toolbar=no,menubar=no,location=no,resizable=yes";
	window.open(sUrl, "UCC", sFeatures, false);
}