//<[CDATA[



  var officina = {

    src: 'http://www.vek-sh.de/flash/officina.swf'

  };





  // You probably want to switch this on, but read <http://wiki.novemberborn.net/sifr3/DetectingCSSLoad> first.

  //sIFR.useStyleCheck = true;

  sIFR.activate(officina);

  

  

  sIFR.replace(officina, {

  	selector: 'h2',

  	css: [

      '.sIFR-root { color: #4f4794; font-size: 24px; text-align: left; margin-bottom: 0; padding-bottom: 0;}'

      ,'a { text-decoration: none; }'

      ,'a:link { color: #4f4794; }'

      ,'a:hover { color: #CCCCCC; }'

    ],

  	wmode: 'transparent',

		onReplacement: retainEditLinks

  	});

  	

  	sIFR.replace(officina, {

  	selector: '.unavi',

  	css: [

      '.sIFR-root { color: #4f4794; font-size: 18px; text-align: left; margin-bottom: 0; padding-bottom: 0;}'

      ,'a { text-decoration: none; }'

      ,'a:link { color: #4f4794; }'

      ,'a:hover { color: #CCCCCC; }'

    ],

  	wmode: 'transparent',

		onReplacement: retainEditLinks

  	});

  	

  	 sIFR.replace(officina, {

  	selector: 'h3',

  	css: [

      '.sIFR-root { color: #4f4794; font-size: 18px; text-align: left; margin-bottom: 0; padding-bottom: 0;}'

      ,'a { text-decoration: none; }'

      ,'a:link { color: #4f4794; }'

      ,'a:hover { color: #CCCCCC; }'

    ],

  	wmode: 'transparent',

		onReplacement: retainEditLinks

  	});

  	

  sIFR.replace(officina, {

  	selector: '.topchange',

  	css: [

      '.sIFR-root { color: #4f4794; font-size: 14px; text-align: left; margin-bottom: 0; margin-left: 0; padding-bottom: 0; display: block;}'

      ,'a { color: #4f4794; font-weight: normal; text-decoration:none;  display: block;}'

      ,'a:link { color: #4f4794; font-weight: normal; text-decoration:none; }'

      ,'a:hover { color: #4f4794; text-decoration:underline;}'

    ],

  	wmode: 'transparent',

		onReplacement: retainEditLinks

  	});

  	

  

  if (parent != null && parent.cmsEditMode)

	{

		

  sIFR.replace(officina, {

  	selector: '.navichange',

  	css: [

      '.sIFR-root { font-size: 16px; font-weight: normal; text-align: left; margin-bottom: 0; padding-bottom: 0;}'

      ,'a { color: #000000; font-weight: normal; text-decoration:none; }'

      ,'a:link { color: #000000; font-weight: normal; text-decoration:none; }'

      ,'a:hover { color: #000000; text-decoration:underline;}'

    ],

  	wmode: 'transparent',

		onReplacement: retainEditLinks

  	});

  }

  else

  	{

		

  sIFR.replace(officina, {

  	selector: '.navichange',

  	css: [

      '.sIFR-root { font-size: 16px; font-weight: normal; text-align: left; margin-bottom: 0; padding-bottom: 0;}'

      ,'a { color: #ffffff; font-weight: normal; text-decoration:none; }'

      ,'a:link { color: #ffffff; font-weight: normal; text-decoration:none; }'

      ,'a:hover { color: #ffffff; text-decoration:underline;}'

    ],

  	wmode: 'transparent',

		onReplacement: retainEditLinks

  	});

  }





function retainEditLinks(flashInteractor)

{

	if (parent != null && parent.cmsEditMode)

	{

		var neu = document.getElementById(flashInteractor.getFlashElement().id+'_alternate').getElementsByTagName("a")[0];	

		document.getElementById(flashInteractor.getFlashElement().id+'_alternate').parentNode.insertBefore(neu,document.getElementById(flashInteractor.getFlashElement().id));

	}	

}  

  //]]>
