/*
 * Lanboss heme functions.
 * Script Version 2.1
 * Updated 04 March 2009.
 */


var locpath= '/rw_common/themes/LBv5/';
var wwwpath= 'http://www.lanboss.com/';
var base = 1.55;




// -=-=-=-=- Content Fillers Begin -=-=-=-=-

function HomeFeature()
{
	var bartext = '<div>'
		+ '<table class="tablelb" align="center" width="100%">'
		+ '<thead><tr>'
		+ '	<th width="20%" >Audit</th>'
		+ '	<th width="20%" >Manage</th>'
		+ '	<th width="20%" >Secure</th>'
		+ '	<th>News</th>'
		+ '</tr></thead>'
		+ '<tr class="tablebody">'

		/* First Notification area */  
		+ '	<td><a href="/products/wsaud-audit4free.html"><img src="'+locpath + 'images/product/wsAud Free-096x096x08.jpg" alt="Audit for Free, real product, really Free!!" width="81"></a><p>Audit for Free</td>'

		/* Second Notification area */
		+ '	<td><a href="/products/wsman.html"><img src="'+locpath + 'images/product/wsManT-096x096x08.jpg" alt="How are you managing your workstation estate? Manage effortlessly with Workstation Manager" width="81"></a><p>Management Made Easy</td>'

		/* Third Notification area */
		+ '	<td><a href="/products/DeviC.html"><img src="'+locpath + 'images/boxes/devic2-box150-Shadow8.jpg" alt="Get data under control" width="100" height="100" border="0"></a><p>Who is taking your data home?</td>'
	/*	+ '	<td width="20%"><a href="/products/green.html"><img src="'+locpath + 'images/product/Green-128x128x8.gif"  width="106" height="106" border="0"></a><p>Save Energy</td>' */
	/*	+ '	<td width="20%"><a href="/products/Octan.html"><img src="'+locpath + 'images/boxes/octan2-box150-Shadow.jpg" alt="Get data under control" width="100" height="100" border="0"></a><p>Who is taking your data home?</td>' */
	
		/* Scrolling News area */
		+ '	<td rowspan="2" class="tableNews"><marquee direction="up" scrollAmount="1" height="128">'
		+ '	2010-04 v5.x development starts<br />'
		+ '	2010-03 v4.24 of all products released<br />'
		+ '	2009-11 Audit for Free promotion starts<br />'
		+ '	2009-10 v4.22 of all products released<br />'
		+ '	2009-10 General Support for v3.x stopped<br />'
		+ '	2009-07 FAST IiS Approval<br />'
		+ '	2009-06 v4.21 of wsMan, wsAud released<br />'
		+ '	2009-04 Conficker Removal Scripts Added<br />'
		+ '	2009-01 v4.20 of wsMan, wsAud released<br />'
		+ '	2008-10 v4.10 of all products released<br />'
		+ '	2008-02 v4.x development starts</marquee>'
		+ '</td>'
		+ '</tr>'
		+ '</table>'
		+ '</div>';	
	document.write(bartext);
}


function SiteTools(title)
{
	var bartext = '<div>'
		+ '<ul id="site-tools">';
		
	if (title!= 'Lanboss Downloads') {
		bartext += '<li><a href="/site/files0.html">Downloads</a></li>';
		}
	else {
		bartext += '<li>Downloads</li>';
		}

	if (title!= 'Support') {
		bartext += '<li><a href="/site/support.html">Support</a></li>';
		}
	else {
		bartext += '<li>Support</li>';
		}

	if (title!= 'Contact') {
		bartext += '<li><a href="/site/contact.html">Contact</a></li>';
		}
	else {
		bartext += '<li>Contact</li>';
		}

	if (title!= 'Client Center') {
		bartext += '<li><a href="/site/client-center.html">Client Center</a></li>';
		}
	else {
		bartext += '<li>Client Center</li>';
		}
	document.write(bartext+ '</ul></div>');
}


function SidebarLogo(LogoType)
{
//	var bartext = '<div class="sideHeader">'+ title+ '</div><br />';
	var bartext = '<div class="image-center"><img src="'+locpath +'images/logo/'; 

	if (LogoType=='uni') {
		bartext += '2009uniboss-096x096x8.gif';
	}
	else if (LogoType=='lb') {
		bartext += 'LanbossSL_125x125.jpg';
	}
	else if (LogoType=='svc') {
		bartext += 'Services2-125x125.jpg';
	}

	else if (LogoType=='amm-') {
		bartext += '2009amm-.gif';
	}
	else if (LogoType=='a--s') {
		bartext += '2009a--s.gif';
	}
	else if (LogoType=='a---') {
		bartext += '2009a---.gif';
	}
	else if (LogoType=='---s') {
		bartext += '2009---s.gif';
	}
	else if (LogoType=='amms') {
		bartext += '2009amms.gif';
	}
	
	document.write(bartext+ '" width="125" height="125"/></div><br />');
}



function FeatureSidebar(title)
{
	var bartext = '<h6>Explore Features</h6><p><div class="SideBar">';

	bartext += '<a href="/products/network-device-discovery.html" rel="self" >Core Functions</a><br />';
	bartext += '<a href="/products/automated-deployment.html" rel=self>Auditing</a><br />';
	bartext += '<a href="/products/self-healing-agents.html" rel=self>Monitoring</a><br />';
	bartext += '<a href="/products/datac.html" rel="self">Management</a><br />';
	bartext += '<a href="/products/datac.html" rel="self">Secure</a>';
	document.write(bartext+ '</div><br /><br />');
}



function SidebarEdu(title)
{
	var bartext = '<h6>Courses</h6><p><div class="SideBar">';

	if (title!= '101') {
		bartext += '<a href="/services/edu-course101.html" rel="self">101 - Operator</a><br />';}
	else {
		bartext += '101 - Operator<br />';}

	if (title!= '201') {
		bartext += '<a href="/services/edu-course201.html" rel="self">201 - Implementer</a><br />';}
	else {
		bartext += '201 - Implementer<br />';}

	if (title!= '401') {
		bartext += '<a href="/services/edu-course401.html" rel="self">401 - Architect</a><br />';}
	else {
		bartext += '401 - Architect<br />';}


	document.write(bartext+ '</div><br /><br />');
}


function SidebarNav_About(title)
{
	var bartext = '<h6>About Lanboss</h6><p><div class="SideBar">';

	if (title!= 'history') {
		bartext += '<a href="/about/history09.html" rel="self" title="Lanboss History">Lanboss History</a><br />';}
	else {
		bartext += 'Lanboss History<br />';}

	if (title!= 'principles') {
		bartext += '<a href="/about/principles.html" rel="self" title="Development Principles">Development Principles</a><br />';}
	else {
		bartext += 'Development Principles<br />';}

	if (title!= 'legals') {
		bartext += '<a href="/about/legals.html" rel="self" title="Legals">Website Usage &amp; Legals</a><br />';}
	else {
		bartext += 'Website Usage & Legals<br />';}

	if (title!= 'privacy') {
		bartext += '<a href="/about/privacy.html" rel="self" title="Privacy Policy">Privacy Policy</a><br />';}
	else {
		bartext += 'Privacy Policy<br />';}


		
	if (title!= 'press') {
		bartext += '<a href="/about/press.html" rel="self" title="Press Room">Press Room</a><br />';}
	else {
		bartext += 'Press Room<br />';}

	if (title!= 'uniboss') {
		document.write(bartext+ '</div><br /><br />');
	}
}


function SidebarNav_Product(title)
{
	var bartext = '<h6>Lanboss Products</h6><p><div class="SideBar">';

	if (title!= 'wsaud') {
		bartext += '<a href="/products/wsaud.html" rel="self" title="Workstation Auditor">Workstation Auditor</a><br />';}
	else {
		bartext += 'Workstation Auditor<br />';}

	if (title!= 'wsman') {
		bartext += '<a href="/products/wsman.html" rel="self" title="Workstation Manager">Workstation Manager</a><br />';}
	else {
		bartext += 'Workstation Manager<br />';}

	if (title!= 'devic') {
		bartext = bartext + '<a href="/products/devic.html" rel="self" title="DeviceCop">DeviceCop</a><br />';}
	else {
		bartext = bartext + 'DeviceCop<br />';}

	if (title!= 'octan') {
		bartext += '<a href="/products/octan.html" rel="self" title="Octane">Octane</a><br />';}
	else {
		bartext += 'Octane<br />';}

/*
	if (title!= 'green') {
		bartext += '<a href="/products/green.html" rel="self" title="Green IT">Green IT</a><br />';}
	else {
		bartext += 'Green IT<br />';}

	if (title!= 'maxxc') {
		bartext = bartext + '<a href="/products/maxxc.html" rel="self" title="Maxx Connections">Maxx Connections</a><br />';}
	else {
		bartext = bartext + 'Maxx Connections<br />';}
*/
	if (title!= 'pview') {
		bartext += '<a href="/products/pview.html" rel="self" title="Lanboss Preview">Lanboss Preview</a>';}
	else {
		bartext += 'Lanboss Preview';}

	document.write(bartext+ '</div><br /><br />');
}


function SidebarInfo_Product(title)
{
/*	var bartext = '<h6>Product Information</h6><p><div class="SideBar">';

	if (title== 'wsaud') {
		bartext += '<a href="/products/'+ title+ '-audit4free.html" rel="self" title="Audit for Free!!!">Audit for Free!!!</a><br />';
	//	bartext += '<a href="/products/'+ title+ '-console.html" rel="self" title="Console">Console</a><br />';
	//	bartext += '<a href="/products/'+ title+ '-reports.html" rel="self" title="Reporting">Reporting</a><br />';
	}
	else if (title== 'wsman') {
		bartext += '<a href="/products/'+ title+ '-appman.html" rel="self" title="Application Management">Application Management</a><br />';
		bartext += '<a href="/products/'+ title+ '-migration.html" rel="self" title="System Migration">System Migration</a><br />';
		bartext += '<a href="/products/'+ title+ '-script.html" rel="self" title="The Script Engine">The Script Engine</a><br />';
	}

	else if (title== 'datac') {
		bartext += '<a href="/products/'+ title+ '.html" rel="self" title="DataCop Overview">Overview</a><br />';
		bartext += '<a href="/products/'+ title+ '-operation.html" rel="self" title="DataCop Operation">Operation</a><br />';
		bartext += '<a href="/products/'+ title+ '-user.html" rel="self" title="DataCop User Experience">User Experience</a><br />';
	}
	else if (title== 'devic') {
		bartext += '<a href="/products/'+ title+ '.html" rel="self" title="DeviceCop Overview">Overview</a><br />';
		bartext += '<a href="/products/'+ title+ '-operation.html" rel="self" title="DeviceCop Operation">Operation</a><br />';
		bartext += '<a href="/products/'+ title+ '-user.html" rel="self" title="DeviceCop User Experience">User Experience</a><br />';
	}

	else if  (title== 'all') {
		bartext += '<a href="/products/'+ title+ '-console.html" rel="self" title="Console">Console</a><br />';
		bartext += '<a href="/products/'+ title+ '-guide.html" rel="self" title="Reporting">Reporting</a><br />';
		bartext += '<a href="/products/'+ title+ '-quote.html" rel="self" title="Quotation">Quotation</a><br />';
	}

	bartext += '<a href="/products/core-requirements.html" rel="self" title="System Requirements">System Requirements</a><br />';

	if (title!= 'uniboss') {
		document.write(bartext+ '</div><br /><br />');
	}
/*
<a class="SideAnchor" href="/products/datac.html" rel="self" title="Data Cop">Overview</a><br />
<a class="SideAnchor" href="/products/page23/page23.html" rel="self" title="Data Cop Operation">Operation</a><br />
<a class="SideAnchor" href="/products/wsman_User.html" rel="self" title="Data Cop User Scenario">User Scenario</a><br />
<br /><br />
*/ 

}


function SidebarNav_Service(title)
{
	var bartext = '<h6>Lanboss Services</h6><p><div class="SideBar">';

//	if (title!= 'Lanboss Services') {
//		bartext += '<a href="/services/index.html" rel="self" title="Services Home">Services Home</a><br />';}
//	else {
//		bartext += 'Services Home<br />';}

	if (title!= 'consult') {
		bartext += '<a href="/services/svc-consulting.html" rel="self" title="Consulting">Consulting</a><br />';}
	else {
		bartext += 'Consulting<br />';}
	
	if (title!= 'edu') {
		bartext += '<a href="/services/svc-education.html" rel="self" title="Education">Education</a><br />';}
	else {
		bartext += 'Education<br />';}
		
	if (title!= 'support') {
		bartext += '<a href="/services/svc-support.html" rel="self" title="Support Services">Support Services</a><br />';}
	else {
		bartext += 'Support Services<br />';}

	document.write(bartext+ '</div><br /><br />');
}


function SidebarNav_Further(title)
{
	var bartext = '<h6>Further Information</h6><p><div class="SideBar">';

	if (title!= 'client') {
		bartext += '<a href="/site/client-center.html" rel="self">Client Center</a><br />';}
	else {
		bartext += 'Client Center<br />';}

	if (title!= 'prodsupport') {
		bartext += '<a href="/site/support.html" rel="self" title="Product Support">Product Support</a><br />';}
	else {
		bartext += 'Product Support<br />';}
	
	if (title!= 'downloads') {
		bartext += '<a href="/site/files0.html" rel="self" title="Downloads">Downloads</a><br />';}
	else {
		bartext += 'Downloads<br />';}

	bartext += '<br />';


	if (title!= 'about') {
		bartext += '<a href="/about/index.html" rel="self">About Lanboss</a><br />';}
	else {
		bartext += 'About Lanboss<br />';}
	
	if (title!= 'services') {
		bartext += '<a href="/services/index.html" rel="self">Services Home</a><br />';}
	else {
		bartext += 'Services Home<br />';}

	if (title!= 'product') {
		bartext += '<a href="/products/index.html" rel="self">Products Overview</a><br />';}
	else {
		bartext += 'Products Overview<br />';}
		
	if (title!= 'uniboss') {
		bartext += '<a href="/products/uniboss.html" rel="self">Uniboss Platform</a><br />';}
	else {
		bartext += 'Uniboss Platform<br />';}


/*
	bartext += '<a href="/solutions/index.html" rel="self">Lanboss Solutions</a><br />';
	bartext += '<a href="/products/feature-matrix.html" rel="self">Feature Matrix</a><br />';
	bartext += '<a href="/products/pricing.html" rel=self>Pricing</a><br />';
*/

	document.write(bartext+ '</div><br /><br />');
}

function SidebarInfo_History(title)
{
	var bartext = '<h6>Product History</h6><p><div class="SideBar">';

	bartext += '<table class="tabletight" align="center" width="100%">';

	bartext += '<tr><td width="20%">2010</td><td>Preview</td><td width="20%" align="right">v3.1</td></tr>';

	bartext += '<tr><td>2009</td><td>DeviceCop</td><td align="right">v4.2</td></tr>';
	bartext += '<tr><td> </td><td>Octane</td><td align="right">v4.2</td></tr>';
	bartext += '<tr><td> </td><td>Workstation Manager</td><td align="right">v4.2</td></tr>';
	bartext += '<tr><td> </td><td>Uniboss Core</td><td align="right">v4.2</td></tr>';

	bartext += '<tr><td>2008</td><td>DeviceCop</td><td align="right">v4.1</td></tr>';
	bartext += '<tr><td> </td><td>Octane</td><td align="right">v4.1</td></tr>';
	bartext += '<tr><td> </td><td>Workstation Manager</td><td align="right">v4.1</td></tr>';
	bartext += '<tr><td> </td><td>Uniboss Core</td><td align="right">v4.1</td></tr>';

	bartext += '<tr><td>2007</td><td>DeviceCop</td><td align="right">v3.1</td></tr>';
	bartext += '<tr><td> </td><td>Octane</td><td align="right">v3.1</td></tr>';
	bartext += '<tr><td> </td><td>Workstation Manager</td><td align="right">v3.1</td></tr>';

	bartext += '<tr><td>2006</td><td>Tailoring Workflow</td><td align="right">v1.0</td></tr>';
	bartext += '<tr><td>2006</td><td>Near Real Time Sync</td><td align="right">v1.0</td></tr>';

	bartext += '<tr><td>2005</td><td>Workstation Manager</td><td align="right">v2.1</td></tr>';
	bartext += '<tr><td> </td><td>Legacy Mail Archiver</td><td align="right">v2.1</td></tr>';

	bartext += '<tr><td>2004</td><td>Workstation Manager</td><td align="right">v2.04</td></tr>';
	bartext += '<tr><td> </td><td>Workstation Auditor</td><td align="right">v2.04</td></tr>';
	bartext += '<tr><td> </td><td>Synchro Mail</td><td align="right">v2.0</td></tr>';

	bartext += '<tr><td>2003</td><td>Workstation Manager</td><td align="right">v2.0</td></tr>';
	bartext += '<tr><td> </td><td>Server Manager</td><td align="right">v2.0</td></tr>';
	bartext += '<tr><td> </td><td>Synchro</td><td align="right">v2.0</td></tr>';

	bartext += '<tr><td>2002</td><td>Auditing Toolkit</td><td align="right">v1</td></tr>';

	bartext += '<tr><td>2001</td><td>Migration Toolkit</td><td align="right">v1</td></tr>';

	bartext += '<tr><td>2000</td><td>Lanboss Preview</td><td align="right">v1</td></tr>';

	bartext += '<tr><td>1999</td><td>Lanboss Login</td><td align="right">v1</td></tr>';

	bartext += '<tr><td>1998</td><td>Company Formation</td><td> </td></tr>';

	bartext += '</table>';


	document.write(bartext+ '</div><br /><br />');
}


function Sidebar_Footer(title)
{
	var bartext = '<div class="SideFoot"><br /><br />';
	bartext += '<img src="'+locpath +'images/gen/printer.gif" alt="" /><a class="SideAnchor" href="javascript:self.print()"> Print this Page</a><br />';
	bartext += '<img src="'+locpath +'images/gen/mail.gif" alt="" /><a class="SideAnchor" href="javascript:mailpage()"> Mail this Page</a><br /><br />';
	
	if (title== 'y' || title== 'Y') {
		bartext += '<p>	<a href="http://validator.w3.org/check?uri=referer">';
		bartext += '<img src="http://www.w3.org/Icons/valid-xhtml10"';
		bartext += 'alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a></p>';
	}

	document.write(bartext+ '</div>');
}


function _PriceRow(nodes, full)
{
	/* full+= 0.005; */
	var rowtext = '<tr><td class="row-head">'+ nodes+ '</td><td>'
		+ full.toFixed(2)+ '</td><td>'
		+ (full*0.20).toFixed(2)+' </td></tr>';
	return rowtext;
}


function PriceTable(title, image, nebas)
{
/* 	Login	 6 
	Pview	 6 
	wsAud	 10 
	wsMan	 16 
	MailM	 13 
	MailA	 11 
	Octan	 8 
	MaxxC	 8 
	DCopC	 10 
	Hands	 12 
	LgnAg	 3 
	dtMan	 20 
	itMan	 24		*/ 

	var bartext = '<h2>'+ title+ ' Pricing</h2><br />';

	bartext += '<div><img class="image-left" src="'+ locpath+ 'images/boxes/'+ image
	  + '-box150-Shadow8.jpg" alt="'+ title+ ' Software Box Image">';

	bartext += '<table class="tableprice" align="right" width="300"><thead>';
	bartext += '<tr class="section-head">';
	bartext += '<th width="40%">Node Count</th>';
	bartext += '<th width="30%">Full License</th>';
	bartext += '<th width="30%">Annual Maintenance</th>';
	bartext += '</tr></thead><tbody class="row-data">';

	bartext += _PriceRow("50 - 99", nebas* base);
	bartext += _PriceRow("100 - 249", nebas* base* 0.85);
	bartext += _PriceRow("250 - 499", nebas* base* 0.85* 0.85);
	bartext += _PriceRow("500 - 999", nebas* base* 0.85* 0.85* 0.85);
	bartext += _PriceRow("1000 - 1999", nebas* base* 0.85* 0.85* 0.85* 0.85);
	bartext += _PriceRow("2000 and over", nebas* base* 0.85* 0.85* 0.85* 0.85* 0.85);

	bartext += '</tbody></table><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />';
	bartext += '<ul>';
	bartext += '<li>The product is licensed per node, irrespective of user count</li>';
	bartext += '<li>For new purchases, the 1st year of maintenance is included in the price above</li>';
	bartext += '<li>All prices are quoted in Pound Sterling (GBP)</li>';
	bartext += '<li>Prices exclude VAT or GST</li>';
	bartext += '<li>';
	bartext += '<a href="/about/tsandcs.html">Standard Terms & Conditions</a>';
	bartext += '</li>';
	bartext += '</ul>';

	bartext += '</div>';

	document.write(bartext);
}


function _VersionInfoRow(product, version)
{
	var rowtext = '<tr><td>'+ product+ '</td><td class= "tableValue" width="20%">' + version+ '</td></tr>';
	return rowtext;
}

function VersionInfoCurrent(title)
{
	var bartext = '<table class="tabletight" align="center" width="100%">';

	bartext += _VersionInfoRow("Uniboss Core","4.24");
	bartext += _VersionInfoRow("Workstation Auditor","4.24");
	bartext += _VersionInfoRow("Workstation Manager","4.24");
	bartext += _VersionInfoRow("DeviceCop","4.24");
	bartext += _VersionInfoRow("Octane","4.24");
	bartext += _VersionInfoRow("Lanboss Preview","5.1");
	
	bartext += '</table>';

	document.write(bartext);
}

function VersionInfoMaint(title)
{
	var bartext = '<table class="tabletight" align="center" width="100%">';

	bartext += _VersionInfoRow("Uniboss Core","4.1x");
	bartext += _VersionInfoRow("Workstation Auditor","4.1x");
	bartext += _VersionInfoRow("Workstation Manager","4.1x");
	bartext += _VersionInfoRow("DeviceCop","4.1x");
	bartext += _VersionInfoRow("Octane","4.1x");
	bartext += _VersionInfoRow("Lanboss Preview","4.x");
	
	bartext += '</table>';

	document.write(bartext);
}

function VersionInfoEndOfLife(title)
{
	var bartext = '<table class="tabletight" align="center" width="100%">';

	bartext += _VersionInfoRow("Workstation Manager","4.0x")
	
	bartext += _VersionInfoRow("DataCop","3.x")
	bartext += _VersionInfoRow("DeviceCop","3.x")
	bartext += _VersionInfoRow("Octane","3.x")
	bartext += _VersionInfoRow("Lanboss Preview","3.x")
	bartext += _VersionInfoRow("Migration Toolkit","2.x")
	bartext += _VersionInfoRow("Auditing Toolkit","2.x")
	
	bartext += '</table>';

	document.write(bartext);
}



function FooterOffer(title)
{
	var bartext = '<br />';
	
	bartext += '<table>';
	bartext += '<tr>';
	bartext += '<td width="96"><a href="/products/wsaud-audit4free.html" rel="self"><img src="'+ locpath+ 'images/product/wsAud Free-096x096x08.jpg" /></a></td>';

	bartext += '<td class="hotL">For a limited time, Lanboss is giving away licenses for its acclaimed Workstation Auditor for free. &nbsp; This is not a limited, beta or otherwise restricted demo version, but rather the full product, as normally sold for &asymp;&pound;15.50.</td>';

	bartext += '</tr>';
	bartext += '<tr>';
	bartext += '<td colspan="2" class="hotL">You can even purchase maintenance and use this promotional license to upgrade to one of the other Lanboss products</td>';
	bartext += '</tr>';
	bartext += '</table>';
	
	
/*	
	bartext += '<a href="/products/wsaud-audit4free.html" rel="self"><img class="image-left" src="'+ locpath+ 'images/product/wsAud Free-096x096x08.jpg" /></a>';
	bartext += '<div class="hotL">For a limited time, Lanboss is giving away licenses for its acclaimed<br />Workstation Auditor for free. &nbsp; This is not a limited, beta or otherwise<br />restricted demo version, but rather the full product, as normally sold<br />for &asymp;&pound;15.50.<br /><br />';
	bartext += '<p align="center">You can even purchase maintenance and use this promotional license to upgrade to<br />one of the other Lanboss products</p></div>';
*/
	document.write(bartext+ '<br />');
}

// -=-=-=-=- Content Fillers End -=-=-=-=-


// -=-=-=-=- Downloads Begin -=-=-=-=-

function DownloadTable(title, build, lic, man)
{
	var spath = wwwpath+ 'files/prods/';
	var bartext = '<table class="tabletight" align="center" width="95%">';

	bartext += '<thead><tr><th width="85%">Description</th><th>File</th></tr></thead>';
	
	bartext += '<tbody>';
	bartext += '<tr>'
		+ '<td>EXE Installer for Uniboss system.  Includes Console, Proxy components and Client Agent &amp; Child Modules</td>'
		+ '<td><a href="'+ spath+ 'setupamms'+ title+ build+ '.exe" title="setupamms'+ title
		+ build+ '.exe">'
		+ '<img src="'+locpath+ 'images/bullets/btnDownload8.jpg" alt="" /></a></td>'
		+ '</tr>';
	bartext += '<tr>'
		+ '<td>Zipped Uniboss system files for overlay (manual) update of an existing Uniboss system.</td>'
		+ '<td><a href="'+ spath+ 'setupamms'+ title+ build+ '.zip" title="setupamms'+ title
		+ build+ '.zip">'
		+ '<img src="'+locpath+ 'images/bullets/btnDownload8.jpg" alt="" /></a></td>'
		+ '</tr>';
	bartext += '<tr>'
		+ '<td>Version History and Installation / Upgrade Instructions</td>'
		+ '<td><a href="'+ wwwpath+ 'files/versionamms'+ title+ '.pdf" title="versionamms'+ title+ '.pdf">'
		+ '<img src="'+locpath+ 'images/bullets/btnViewDoc8.jpg" alt="" /></a></td>'
		+ '</tr>';
		
	if (man== 'Y') {	
	  bartext += '<tr>'
		+ '<td>Get the User manual</td>'
		+ '<td><a href="'+ wwwpath+ 'files/man-user'+ title+ '.pdf" title="man-user'+ title+ '.pdf">'
		+ '<img src="'+locpath+ 'images/bullets/btnViewDoc8.jpg" alt="" /></a></td>'
	 	+ '</tr>'; } 

	if (lic== 'Y') {	
	  bartext += '<tr>'
		+ '<td>This product requires a License to work, if you do not  have a one yet, please register and apply for a demo license</td>'
        + '<td><a href="/site/client-center.html" title="Go to Client Center">'
		+ '<img src="'+locpath+ 'images/bullets/btnGetLicense8.jpg" alt="" /></a></td>'		
	 	+ '</tr>'; } 

	document.write(bartext+ '</tbody></table>');
}


function DownloadEdu(which)
{
	var bartext = '<div class="Product"><h3>Course Brochures & Booking Form</h3></div>';
	bartext += 'Please click on the thumbnail image for a full view or to save the file in PDF format or' 
	  + ' download the full pack in ZIP format:<br />';
	bartext += '<br />';
	bartext += '<table class="tableprice" align="center" width="90%">';
	bartext += '<thead><tr>'
	  + '<th width="40%">Course</th> <th width="60%">View / Download File</th>'
      + '</tr></thead><tbody>';
      
	bartext += '<tr align="center"><td>Overview</td><td>'
	  + '<a '// rel="shadowbox;player=iframe;width=900;height=1000" '
	  + 'href="/files/edu/v420 Education Overview.pdf" '
	  + 'target="_new"><img src="'+locpath+ 'images/svcs/edu/101-Oper-Thumb.jpg" alt="Education" /></a>'
	  + '</td></tr>';
	
	if (which== '101' || which== 'all') {
		bartext += '<tr align="center"><td>101 Operator</td><td>'
		  + '<a '// rel="shadowbox;player=iframe;width=900;height=1000" '
		  + 'href="/files/edu/v420 Course 101 Operator.pdf" '
		  +	'target="_new"><img src="'+locpath+ 'images/svcs/edu/101-Oper-Thumb.jpg" alt="Education" /></a>'
		  + '</td></tr>';
		}
	
	if (which== '201' || which== 'all') {
		bartext += '<tr align="center"><td>201 Implementer</td><td>'
		  + '<a '// rel="shadowbox;player=iframe;width=900;height=1000" '
		  + 'href="/files/edu/v420 Course 201 Implementer.pdf" '
		  +	'target="_new"><img src="'+locpath+ 'images/svcs/edu/201-Impl-Thumb.jpg" alt="Education" /></a>'
		  + '</td></tr>';
		}
	
	if (which== '401' || which== 'all') {
		bartext += '<tr align="center"><td>401 Architect</td><td>'
		  + '<a '// rel="shadowbox;player=iframe;width=900;height=1000" '
		  + 'href="/files/edu/v420 Course 401 Architect.pdf" '
		  + 'target="_new"><img src="'+locpath+ 'images/svcs/edu/401-Arch-Thumb.jpg" alt="Education" /></a>'
		  + '</td></tr>';
		}

	bartext += '<tr align="center"><td>Booking Form</td><td>'
	  + '<a href="/files/edu/Booking Form.pdf" '
	  + 'target="_new"><img src="'+locpath+ 'images/svcs/edu/Booking-Form-Thumb.jpg" alt="Booking Form" />'
	  + '</a></td></tr>';

	bartext += '<tr align="center"><td>All files bundle in ZIP</td><td>'
	  + '<a href="/files/edu/Lanboss Education.zip" '
	  + 'title="All files bundle in ZIP format"><img src="'+locpath+ 'images/bullets/btnDownload8.jpg" alt="Education" />'
	  + '</a></td></tr>';

	document.write(bartext+ '</tbody></table><br />');
}


// -=-=-=-=- Downloads End -=-=-=-=-


function contacts()
{
	document.write('Hello<a href="mailto:'+encryptedemail_id33+'?subject=Lanboss Info Request">Information Request</a>Link 1');
	document.write('<a href="mailto:'+encryptedemail_id33+'?subject=Lanboss Support Request">Contact Us</a><br />');
	document.write('<a href="mailto:'+encryptedemail_id33+'?subject=Lanboss Support Request">Contact Support</a>');

}

function mailpage()
{
mail_str = "mailto:?subject=Check out this page on the Lanboss Site - " + document.title;
mail_str += "&body=I thought you might be interested in this page from the Lanboss Site " + document.title;
mail_str += ".  You can view it at: " + location.href; 
location.href = mail_str;
}




/*
 * Functions to work with Roy's Cumulus Tag Cloud
 */

function lbCloudParam(sobj)
{
	sobj.addParam("allowScriptAccess", "always");
	sobj.addParam("wmode",		"transparent"); 
	sobj.addVariable("tcolor",	"0x333333");
	sobj.addVariable("tcolor2",	"0xff0000");
	sobj.addVariable("hicolor",	"0xffcc00");
	sobj.addVariable("tspeed",	"100");
	sobj.addVariable("distr",	"true");
	sobj.addVariable("mode",	"both");
	<!--   -->
}

/*
Application Management	
Asset Tracking
Bill 198 (Patriot Act)
Energy Consumption
Estate Valuation
Hardware Auditing
Helpdesk Tools
Information Security
Patch Management
Reducing Costs
Security Loopholes
Software Licenses
Standards Conformity
Strategy Planning
System Migration
User Monitoring
*/

function _AddTag(href, style, tagName)
{
	return "<a href='" + href+ ".html' style='"+ style+ "'>"+ tagName+ "</a>";
}


function lbCloudTags(sobj)
{
	sobj.addVariable("tagcloud", "<tags>"+
		/* Main Form */
		_AddTag("app-management",		"11", "Application Management")+ 			
		_AddTag("asset-tracking",		"12", "Asset Tracking")+ 			
		_AddTag("bill198",				"12", "Bill 198 (Patriot Act)")+ 			
		_AddTag("energy-consumption",	"12", "Energy Consumption")+ 			
		_AddTag("estate-valuation",		"12", "Estate Valuation")+ 			
		_AddTag("hardware-audit",		"14", "Hardware Auditing")+ 			
		_AddTag("helpdesk-tools",		"14", "Helpdesk Tools")+ 			
		_AddTag("information-security",	"12", "Information Security")+ 	
		_AddTag("patch-management",		"12", "Patch Management")+ 
		_AddTag("reduce-costs",			"11", "Reducing Costs")+ 
		_AddTag("software-licenses",	"12", "Software Licenses")+ 			
		_AddTag("security-loopholes",	"14s", "Security Loopholes")+ 			
		_AddTag("standards-conformity",	"12", "Standards Conformity")+ 			
		_AddTag("strategy-planning",	"12", "Strategy Planning")+ 			
		_AddTag("system-migration",		"12", "System Migration")+ 			
		_AddTag("user-monitoring",		"11", "User Monitoring")+ 			



		/* AUDIT */
		/* Software - FAST 
		_AddTag("software-audit",				"16", "Software Audit")+ 			
		_AddTag("app-organiser",				"12", "Application Organisation")+ 			

		/* Estate General Information 
		_AddTag("image-quality",				"12", "Imaging")+ 			
		_AddTag("mergers-acquisitions",		"12", "Mergers and Acquisitions")+ 			
		_AddTag("migration-planning",			"12", "Migration Planning")+ 		


		/* MONITOR 
		_AddTag("device-mon",					"12", "Device Monitoring")+ 			
		_AddTag("app-mon",						"14", "Application Monitoring")+ 			
		_AddTag("app-ins-mon",					"14", "Monitor Software Installation")+ 			


		/* MANAGE 
		_AddTag("device-install",					"12", "Driver Installation")+ 			
		_AddTag("device-management",		"14", "Manage Devices")+ 			
		_AddTag("software-removal",				"15", "Software Removal")+ 			
		_AddTag("software-rollout",				"12", "Software Rollout")+ 			


		/* SECURE 
		_AddTag("device-control",				"14", "Device Control")+ 			
		_AddTag("admin-lockdown",				"14", "Lock Down Local Admin")+ 			
		_AddTag("reset-local-pwd",				"16", "Reset Local Passwords")+ 			
		_AddTag("remove-malware",			"14", "Remove Malware")+ 			




		_AddTag("budget-planning",			"14", "Budget Planning")+ 

		_AddTag("information-security",		"14", "Information Security")+ 			

/*  Migration detail topics:
		_AddTag("server-consolidation",		"14", "Server Consolidation")+ 			
		_AddTag("switch-domains",				"14", "Switch Domains")+ 			

	"<a href='unc-management.html' style='12'>Manage UNCs</a>"+
	"<a href='user-sessions.html' style='12'>User Sessions</a>"+  */
	"</tags>");
	<!--   -->
}



function lbCloudTagsApp(sobj)
{
	sobj.addVariable("tagcloud", "<tags>"+
		_AddTag("app-management",		 "9", "Application Management")+ 			
		_AddTag("app-organiser",		 "8", "Application Organisation")+ 			
		_AddTag("app-usage",			"14", "Usage Metering")+ 			
		_AddTag("driver-install",		"12", "Driver Installation")+ 			
		_AddTag("estate-valuation",		"14", "Estate Valuation")+ 			
		_AddTag("license-compliance",	"10", "License Compliance")+ 			
		_AddTag("software-audit",		"16", "Software Audit")+ 			
		_AddTag("software-removal",		"10", "Software Removal")+ 			
		_AddTag("software-rollout",		"12", "Software Rollout")+ 			
		_AddTag("standards-conformity",	"10", "Standards Conformity")+ 			
		"</tags>"
	);
	<!--   -->
}


function lbCloudTagsMig(sobj)
{
	var		tagcloud;
	tagcloud= "<tags>"+
		_AddTag('app-management', 8, 'Application Management')+ 
		_AddTag('app-organiser', 8, 'Application Organisation')+ 
		_AddTag('app-usage', 8, 'App Usage Monitoring')+ 

	sobj.addVariable("tagcloud", tagcloud+
	"<a href='app-usage-monitor.html' style='10'>App Usage Monitoring</a>"+
	"<a href='driver-install.html' style='10'>Driver Installation</a>"+
	"<a href='estate-valuation.html' style='10'>Estate Valuation</a>"+
	"<a href='license-compliance.html' style='12'>License Compliance</a>"+
	"<a href='software-removal.html' style='12'>Software Removal</a>"+
	"<a href='software-audit.html' style='12'>Software Audit</a>"+
	"<a href='software-rollout.html' style='12'>Software Rollout</a>"+
	"<a href='standards-conformity.html' style='12'>Standards Conformity</a>"+
	"</tags>");
	<!--   -->
}




// Font Sizer

var min=8;
var max=18;
	
function increaseFontSizeBody() {
/*
<div id="FontSize" style="text-align:right;">
<b>Select Your Font Size</b></br>
<a href="javascript:decreaseFontSizeBody();"><img src="assets/font-dec.gif" alt="Decrease Font Size" style="border:0px;" /></a>
<a href="javascript:increaseFontSizeBody();"><img src="assets/font-inc.gif" alt="Increase Font Size" style="border:0px;" /></a>
</div>
*/
	var p = document.getElementsByTagName('body');
	for(i=0; i<p.length; i++) {
		if(p[i].style.fontSize) {
			var s = parseInt(p[i].style.fontSize.replace("px",""));
		} else {
			var s = 12;
		}
		if(s!=max) {
			s += 1;
		}
		p[i].style.fontSize = s+"px"
	}
}

function decreaseFontSizeBody() {
/*
<div id="FontSize" style="text-align:right;">
<b>Select Your Font Size</b></br>
<a href="javascript:decreaseFontSizeBody();"><img src="assets/font-dec.gif" alt="Decrease Font Size" style="border:0px;" /></a>
<a href="javascript:increaseFontSizeBody();"><img src="assets/font-inc.gif" alt="Increase Font Size" style="border:0px;" /></a>
</div>
*/
	var p = document.getElementsByTagName('body');

	for(i=0; i<p.length; i++) {
		if(p[i].style.fontSize) {
			var s = parseInt(p[i].style.fontSize.replace("px",""));
		} else {
			var s = 12;
		}
		if(s!=min) {
			s -= 1;
		}
		p[i].style.fontSize = s+"px"
	}   
}	

function addCss(cssCode) { /*snippet from: http://www.tomhoppe.com/2008/03/dynamically-adding-css-through.html*/
/*
addCss(".db_menuContent,.db_infoboxContent{height: 0;}");

<link rel="stylesheet" type="text/css" href="assets/add_to_assets/style.css">
<script type="text/javascript" src="assets/add_to_assets/mootools.js"></script>
<script type="text/javascript" src="assets/add_to_assets/mooefx.js"></script>s
*/
	var styleElement = document.createElement("style");
	
	styleElement.type = "text/css";
	if (styleElement.styleSheet) {
		styleElement.styleSheet.cssText = cssCode;
	} else {
		styleElement.appendChild(document.createTextNode(cssCode));
	}
	
	document.getElementsByTagName("head")[0].appendChild(styleElement);
}

