<!--
/*BOF5678901234567890123456789012345678901234567890123456789012345678901234567*/
/*******************************************************************************
    Project       : P308237
    File          : ServiceMenuFunctions.js
    Path          : DOCROOT/inc/js
    Creation Date : 2009-01-01
    Last Update   : 2009-01-01
    Status        : productive
    Version       : 1.0
    (c) Copyright : All rights reserved by Codewalk ICT Consulting.
                    In particular, partial or complete copying or usage
                    of the following content requires prior written approval
                    of Codewalk ICT Consulting.
*******************************************************************************/
/*------------------------------------------------------------------------------
	multisection display menu controller for the Services Menu
------------------------------------------------------------------------------*/
function openCurtain(curtain)
{
	switch (curtain)
	{
		case  1:
		 document.getElementById('ServicesMenuICurtain').style.backgroundImage = 'none';
		 document.getElementById('ServicesMenuIBackground').style.backgroundImage = 'url(pic/rot100.png)';
		 break;
		case  2:
		 document.getElementById('ServicesMenuIICurtain').style.backgroundImage = 'none';
		 document.getElementById('ServicesMenuIIBackground').style.backgroundImage = 'url(pic/blau100.png)';
		 break;
		case  3:
		 document.getElementById('ServicesMenuIIICurtain').style.backgroundImage = 'none';
		 document.getElementById('ServicesMenuIIIBackground').style.backgroundImage = 'url(pic/gelb100.png)';
		 break;
		default: break;
	}
}
/*----------------------------------------------------------------------------*/
function closeCurtain(curtain)
{
	switch (curtain)
	{
		case  1:
		 document.getElementById('ServicesMenuICurtain').style.backgroundImage = 'url(pic/rot080.png)';
		 document.getElementById('ServicesMenuIBackground').style.backgroundImage = 'url(pic/grau100.png)';
		 break;
		case  2:
		 document.getElementById('ServicesMenuIICurtain').style.backgroundImage = 'url(pic/blau080.png)';
		 document.getElementById('ServicesMenuIIBackground').style.backgroundImage = 'url(pic/grau100.png)';
		 break;
		case  3:
		 document.getElementById('ServicesMenuIIICurtain').style.backgroundImage = 'url(pic/gelb080.png)';
		 document.getElementById('ServicesMenuIIIBackground').style.backgroundImage = 'url(pic/grau100.png)';
		 break;
		default: break;
	}
}
/*-------------------------------------------------------------------------EOF*/
-->
