<!--
var sEditorName;
var sEditorEmail;
var sPublisherName;
var sPublisherEmail;
var sUpdatedDate;
var sInfoText;
var bHelpOK;
var bHaveMenu = false;

document.Linked=1;

ns4 = (document.layers)? true:false;
ie4 = (document.all)? true:false;
isMac = (navigator.appVersion.indexOf("Mac") != -1);
isUnix = (navigator.appVersion.indexOf("SunOS") != -1);
isDhtml = (ns4 || (ie4 && !isMac));


// Set if the help tab shall appear on the web page.
function SetHelp(aHelp)
{
	bHelpOK=aHelp;
}

// Set when the web page have been updated.
function SetUpdated(aUpdated)
{
	sUpdatedDate=aUpdated;
}

// Write the update information.
function WriteUpdated()
{
	if(sUpdatedDate)
	{		
		document.write(sUpdate + ': '+sUpdatedDate);
	}	
}

// Set the publisher information.
function SetPublisher(aName,aEmail)
{
	sPublisherName=aName;
	sPublisherEmail=aEmail;
}

// Set the editor information.
function SetEditor(aName,aEmail)
{
	sEditorName=aName;
	sEditorEmail=aEmail;
}

// Set the information in the page foot, at the left side.
function SetInfo(aInfo)
{
	sInfoText=aInfo;
}

// Write publisher and editor information in the page foot, at the right side.
function WriteFoot()
{
	if(!sPublisherName)
	{
	    if(sEditorEmail)
		{
		  document.write('<span class="footfont2">' + sEditorPublisher + ': </span><a href="'+sEditorEmail+'" class="footfont1"><span  class="footfont1">'+sEditorName+'</span></a>');
		}
		else
		{
		  document.write('<span class="footfont2">' + sEditorPublisher + ': </span><span  class="footfont1">'+sEditorName+'</span>');
		}
	}
	else
	{
		if(sEditorEmail)
		{
		  document.write('<span class="footfont2">' + sEditor + ': </span><a href="'+sEditorEmail+'" class="footfont1"><span  class="footfont1">'+sEditorName+'</span></a><span class="footfont2"> | ' + sPublisher + ': </span><a href="'+sPublisherEmail+'" class="footfont1"><span class="footfont2">'+sPublisherName+'</span></a>');
		}
		else
		{
		  document.write('<span class="footfont2">' + sEditor + ': </span><span class="footfont1">'+sEditorName+'</span><span class="footfont2"> | ' + sPublisher + ': </span><a href="'+sPublisherEmail+'" class="footfont1"><span class="footfont1">'+sPublisherName+'</span></a>');
		}
	}
}

// Write text in the page foot left side.
function WriteInfo()
{
	if(sInfoText)
	{
	  document.write('<span  class="footfont1">'+sInfoText+'</span>');
	}
	else
	{
	  document.write('<span  class="footfont1">&nbsp;</span>');
	}
}


var help_vis;

// Toggle (hide / show) the help pop up message box.
function ToggleHelp() 
{
	//netscape code
	if (document.layers) 
	{
		help_vis = document.layers['divHelp'].visibility;
		if (help_vis == 'hide') 
		{
			document.layers['divHelp'].visibility = 'visible';
		}
		else 
		{
			document.layers['divHelp'].visibility = 'hidden';
		}
	}
	//explorer code
	if (document.all) 
	{
		help_vis = divHelp.style.visibility;
		if (help_vis == 'hidden') 
		{
			divHelp.style.visibility = 'visible';
		}
		else 
		{
			divHelp.style.visibility = 'hidden';
		}
	}
}

// Move the help message box.
function MoveMessageBox()
{
  if (window.event.srcElement.id == "helpTitleId")
  { 
	//netscape code
	if (document.layers) 
	{
	  document.layers['divHelp'].left = window.event.x;
	  document.layers['divHelp'].top = window.event.y;
	}

	//explorer code
	if (document.all) 
	{
      divHelp.style.left = window.event.x;
      divHelp.style.top = window.event.y;
	}
  }
}

// Make the help messagebox opacity to 60 %.
function StartMoving()
{
  if (window.event.srcElement.id == "helpTitleId")
  { 
    document.all.divHelp.style.filter = "alpha(opacity=60)";
  } 
}

// Make the help messagebox solid.
function EndMoving()
{ 
  document.all.divHelp.style.filter = "alpha(opacity=100)";
}

// Show the help tab or not.
function WriteHelp()
{
  if (bHelpOK)
  {
    document.write('<a href="javascript:ToggleHelp()" title="' + sHelpTabTipText +'"onmouseover="window.status= \'' + sHelpTabTipText + '\';return true" onmouseout="window.status= \'\';return true">');
	if (scCurrentLang == scEng)
	{
      document.write('<img src="http://www.ericsson-if.se/ssi_corporatebar/images/help_eng.gif" border="0" id="HelpTabId"></a>');
	}
	else
	{
      document.write('<img src="http://www.ericsson-if.se/ssi_corporatebar/images/help.gif" border="0" id="HelpTabId"></a>');
	}
  }
  else
  {
    document.write('<img src="http://www.ericsson-if.se/ssi_corporatebar/images/blank.gif" border="0" width="5" height="10">');
  }
}


// Show the menu line in the page foot.
function WriteMenuLine()
{
  if (bHaveMenu)
  {
    document.write('<td width="1" align="left" style="border-right:1px solid black">');
  }
  else
  {
    document.write('<td width="1" align="left">');
  }
}

// Write the end of menu in the page foot.
function WriteMenuEnd()
{
  if (bHaveMenu)
  {
    document.write('</td></tr></table>');
  }
}

//-->


