﻿


/*
 * Projekt   CarePlus web - Online Prämienrechner für Krankenkassen
 * 
 * Homepage  http://www.bambus-software.ch/
 *
 * LEGAL NOTICE
 * Copyright © 2004 - 2006 by Bambus Software GmbH. All rights reserved. 
 * Do not copy or redistribute, protected by law.
 * 
 * $Revision:: 23             $ 
 *     $Date:: 4.05.06 18:11  $ 
 *   $Author:: Hef            $
*/

var Mandant = { 
                Buttons: [
                  { 
                    name:     'Print',
                    visible:  false,
                    icon:     'printer',
                    func:     'print',
                    text:     Localisation['js_button_print'],
                    tooltip:  Localisation['js_button_print_tooltip']
                  },
                  
//                  //Lem 1.2.07: Ersetzt durch neues GUI-Layout (Carena). X'heit: Not used
//                  { 
//                    name:     'PrintPDF',
//                    visible:  true,
//                    icon:     'printer',
//                    func:     'printPdf',
//                    text:     Localisation['js_button_printpdf'],
//                    tooltip:  Localisation['js_button_printpdf_tooltip']
//                  },                  
                  
                  {
                    name:     'Mail',
                    visible:  true,
                    icon:     'mail',
                    func:     'mail',
                    text:     Localisation['js_button_email'],
                    tooltip:  Localisation['js_button_email_tooltip']
                  }, 
                  
                  {
                    name:     'Antrag',
                    visible:  true,
                    icon:     'mail',
                    func:     'antrag',
                    text:     Localisation['js_button_antrag'],
                    tooltip:  Localisation['js_button_antrag_tooltip']
                  },
                  
                  {
                    name:     'Speichern',
                    visible:  true,
                    icon:     'save',
                    func:     'save',
                    text:     Localisation['js_button_save'],
                    tooltip:  Localisation['js_button_save_tooltip']
                  }
                ],
                
                Toolbar : {
                
                  Laden : {
                    visible : false
                  },
                
                  LadenExtended: {
                    visible : true
                  },
                                  
                  NeueOfferte : {
                    visible : true
                  }
                },  
                
                Header : {
                  Unfall_HP : function() {  //Status der Checkbox Unfall/Arbeitnehmer bei der HP; true/false
                    return true;
                  },
                  
                  Unfall_NotHP : function () { //Status der Checkbox Unfall/Arbeitnehmer bei Personen ungleich HP; true/false
                    return false;
                  }
                },

                Print: false,
                MaxVariantenCount: 2,

                GoogleAnalytics: {
                  Enabled: false,
                  Account: 'UA-xxxx-x',
                  Domain: '.xxxx.ch'
                }

              };
              
var MandantCode = {              
  installPrivacyToolTip : function() {
    var el = document.getElementById('privacytooltip');
    var myTooltip = new YAHOO.widget.Tooltip(el, {    
        context:el.parentNode,    
        showDelay:100, 
        hidedelay:2000,
        autodismissdelay: 40000 } );   
  }
};
              
window.onload = MandantCode.installPrivacyToolTip;              
              

