var layerRef="null";var styleSwitch="null";var visibleVar="null";var hiddenVar="null";var pxSwitch="null";
var widthClipSwitch="null";var heightClipSwitch="null";var availWidth="null";var availHeight="null";
function initXbrowser()
	{
	if (document.layers)
		{
		layerRef="document.layers";
		styleSwitch="";
		visibleVar="show";
		hiddenVar="hide";
		pxSwitch="";
		widthClipSwitch=".clip.right";
		heightClipSwitch=".clip.bottom";
		availWidth=innerWidth;
		availHeight=innerHeight;
		}
	if (document.all)
		{
		layerRef="document.all";
		styleSwitch=".style";
		visibleVar="visible";
		hiddenVar="hidden";
		pxSwitch="px";
		widthClipSwitch=".posWidth";
		heightClipSwitch=".posHeight";
		availWidth=document.body.clientWidth;
		availHeight=document.body.clientHeight;
		}
	}	
var layerName = 'output';
var navigationEN = "<table border=1 cellpadding=8 align=center bgcolor='#111111' bordercolor=silver><tr><td nowrap><font face='Arial,Helvetica,sans-serif' size='-1'><b>www.lavaline.com / www.invertersystems.com</b><ul><li><a href='home.html'>Home</a><li><a href='overview.html'>System Overview</a><li><a href='components.html'>System Components</a><ul><li><a href='controller1.html'>LavaLINE Controller: General and Interfacing</a><li><a href='controller2.html'>LavaLINE Controller: Battery Limits</a><li><a href='controller3.html'>LavaLINE Controller: Signals And Event Storage / Report</a><li><a href='controller4.html'>LavaLINE Controller: Interaction With The Bypass Module</a><li><a href='bypass.html'>LavaLINE Bypass</a><li><a href='inverters.html'>LavaLINE Inverters</a></ul><li><a href='cabinets.html'>System Cabinets</a><ul><li><a href='detailscab.html'>Some Details</a></ul></ul><b>www.powerinnovation.com (main site)</b><ul><li><a href='http://www.powerinnovation.com'>Home</a><li><a href='http://www.powerinnovation.com/lavaline/datasheets.php'>LavaLINE Datasheets</a><li><a href='http://www.powerinnovation.com/cabinetform.php'>System Cabinet Form</a></ul><br><center><a href='javascript:closeHelp()'><b>Close Window</b></a></center></td></tr></table>";
//<li><a href='examplecab.html'>Example Cabinet</a><li><a href='ventilationcab.html'>Ventilation</a>
var navigationDE = "<table border=1 cellpadding=8 align=center bgcolor='#111111' bordercolor=silver><tr><td nowrap><font face='Arial,Helvetica,sans-serif' size='-1'><b>www.lavaline.com / www.invertersystems.com</b><ul><li><a href='../home.html'>Home</a><li><a href='index.html'>Systemüberblick</a><li><a href='komponenten.html'>Systemkomponenten</a><ul><li><a href='controller1.html'>LavaLINE Controller: Allgemeines und Interfacing</a><li><a href='controller2.html'>LavaLINE Controller: Batterieschwellen</a><li><a href='controller3.html'>LavaLINE Controller: Signale und Systemereignis-Speicher bzw. -Meldungen</a><li><a href='controller4.html'>LavaLINE Controller: Zusammenspiel mit dem Bypass-Modul</a><li><a href='bypass.html'>LavaLINE Bypass</a><li><a href='wechselrichter.html'>LavaLINE Wechselrichter</a></ul><li><a href='schrank.html'>Wechselrichterschränke</a><ul><li><a href='detailscab.html'>Einige Details</a></ul></ul><b>www.powerinnovation.com (Hauptsite)</b><ul><li><a href='http://www.powerinnovation.com'>Home</a><li><a href='http://www.powerinnovation.com/lavaline/datenblaetter.php'>LavaLINE Datenblätter</a><li><a href='http://www.powerinnovation.com/deutsch/schrankformular.php'>Systemschrank-Formular</a></ul><br><center><a href='javascript:closeHelp()'><b>Hilfe schließen</b></a></center></td></tr></table>";
//<li><a href='examplecab.html'>Example Cabinet</a><li><a href='ventilationcab.html'>Ventilation</a>
function showLayer()
	{
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="'+visibleVar+'"');
	}
function hideLayer()
	{
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility="'+hiddenVar+'"');
	}
function displayText(text)
	{
	if (eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.visibility == hiddenVar')){showLayer();}
	if (document.layers){document.layers[layerName].document.write(text);document.layers[layerName].document.close();}
	else{if (document.all){document.all[layerName].innerHTML=text;}}
	}
function getHelp()
	{
	showLayer();
	displayText(navigationEN)
	topPos = Math.round(availHeight / 2) - 250;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top="'+topPos+'"');  
	}
function getHilfe()
	{
	showLayer();
	displayText(navigationDE)
	topPos = Math.round(availHeight / 2) - 250;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top="'+topPos+'"');  
	}
function closeHelp()
	{
	topPos = - 500;
	eval(layerRef+'["'+layerName+'"]'+styleSwitch+'.top="'+topPos+'"'); 
	hideLayer();
	}	