// Browsercheck
function browserCheck() {
	var agt = navigator.userAgent.toLowerCase();
	this.ie4 = (document.all) ? true : false;
	this.ns4 = (document.layers) ? true : false;
	this.dom2 = (document.getElementById) ? true : false;
	this.ie5 = (this.ie4 && this.dom2) ? true : false;
	this.ns6 = (!this.ie4 && this.dom2) ? true : false;
	this.mac = (agt.indexOf('mac') != -1) ? true : false;
}
var is = new browserCheck();

if (is.ns6) {
	document.all = document.getElementsByTagName("*");
}

//Stylesheets according to Browser
if (is.ns6){							//netscape6
	document.writeln('<link rel="stylesheet" type="text/css" href="/ns6.css">');
}else if (is.ns4){				//netscape4
	document.writeln('<link rel="stylesheet" type="text/css" href="/netscape.css">');
}else if (document.all){	//explorer
	document.writeln('<link rel="stylesheet" type="text/css" href="/ie.css">');
}


//Preload & define images for rollover effect
//erst Haupt-, dann Untermenuepunkte	
if (document.images) {
	  
	  pimg_9 = new Image
      pimg_9_on = new Image
      pimg_11 = new Image
      pimg_11_on = new Image
	  pimg_12 = new Image
      pimg_12_on = new Image
	  pimg_13 = new Image
      pimg_13_on = new Image
	  pimg_14 = new Image
      pimg_14_on = new Image
	  pimg_15 = new Image
      pimg_15_on = new Image
	  pimg_16 = new Image
      pimg_16_on = new Image
	  
	  pimg_9.src = "images/img_9.gif"
	  pimg_9_on.src = "images/img_9_on.gif"
	  pimg_11.src = "images/img_11.gif"
	  pimg_11_on.src = "images/img_11_on.gif"
	  pimg_12.src = "images/img_12.gif"
	  pimg_12_on.src = "images/img_12_on.gif"
	  pimg_13.src = "images/img_13.gif"
	  pimg_13_on.src = "images/img_13_on.gif"
	  pimg_14.src = "images/img_14.gif"
	  pimg_14_on.src = "images/img_14_on.gif"
	  pimg_15.src = "images/img_15.gif"
	  pimg_15_on.src = "images/img_15_on.gif"
	  pimg_16.src = "images/img_16.gif"
	  pimg_16_on.src = "images/img_16_on.gif"
	  
	  pl_pm = new Image
      pl_pm_on = new Image
      pl_it = new Image
      pl_it_on = new Image
	  pl_sol = new Image
      pl_sol_on = new Image
	  pl_bc = new Image
      pl_bc_on = new Image
	  pl_sbc = new Image
      pl_sbc_on = new Image
	  
	  pl_pm.src = "images/l_pm.gif"
	  pl_pm_on.src = "images/l_pm_on.gif"
	  pl_it.src = "images/l_it.gif"
	  pl_it_on.src = "images/l_it_on.gif"
	  pl_sol.src = "images/l_sol.gif"
	  pl_sol_on.src = "images/l_sol_on.gif"
	  pl_bc.src = "images/l_bc.gif"
	  pl_bc_on.src = "images/l_bc_on.gif"
	  pl_sbc.src = "images/l_sbc.gif"
	  pl_sbc_on.src = "images/l_sbc_on.gif"
	  
	  pl_secana = new Image
      pl_secana_on = new Image
      pl_busim = new Image
      pl_busim_on = new Image
	  pl_not = new Image
      pl_not_on = new Image
	  pl_hva = new Image
      pl_hva_on = new Image
	  pl_test = new Image
      pl_test_on = new Image
	  pl_iea = new Image
      pl_iea_on = new Image
	  
	  pl_secana.src = "images/l_secana.gif"
	  pl_secana_on.src = "images/l_secana_on.gif"
	  pl_busim.src = "images/l_busim.gif"
	  pl_busim_on.src = "images/l_busim_on.gif"
	  pl_not.src = "images/l_not.gif"
	  pl_not_on.src = "images/l_not_on.gif"
	  pl_hva.src = "images/l_hva.gif"
	  pl_hva_on.src = "images/l_hva_on.gif"
	  pl_test.src = "images/l_test.gif"
	  pl_test_on.src = "images/l_test_on.gif"
	  pl_iea.src = "images/l_iea.gif"
	  pl_iea_on.src = "images/l_iea_on.gif"
	  
	  pl_db = new Image
      pl_db_on = new Image
      pl_serv = new Image
      pl_serv_on = new Image
	  pl_net = new Image
      pl_net_on = new Image
	  pl_sec = new Image
      pl_sec_on = new Image
	  pl_int = new Image
      pl_int_on = new Image
	  
	  pl_db.src = "images/l_db.gif"
	  pl_db_on.src = "images/l_db_on.gif"
	  pl_serv.src = "images/l_serv.gif"
	  pl_serv_on.src = "images/l_serv_on.gif"
	  pl_net.src = "images/l_net.gif"
	  pl_net_on.src = "images/l_net_on.gif"
	  pl_sec.src = "images/l_sec.gif"
	  pl_sec_on.src = "images/l_sec_on.gif"
	  pl_int.src = "images/l_int.gif"
	  pl_int_on.src = "images/l_int_on.gif"
	  
	  pdb = new Image
      pdb_on = new Image
      pserv = new Image
      pserv_on = new Image
	  pcl = new Image
      pcl_on = new Image
	  pnet = new Image
      pnet_on = new Image
	  psec = new Image
      psec_on = new Image
	  pint = new Image
      pint_on = new Image
	  
	  pdb.src = "images/db.gif"
	  pdb_on.src = "images/db_on.gif"
	  pserv.src = "images/serv.gif"
	  pserv_on.src = "images/serv_on.gif"
	  pcl.src = "images/cl.gif"
	  pcl_on.src = "images/cl_on.gif"
	  pnet.src = "images/net.gif"
	  pnet_on.src = "images/net_on.gif"
	  psec.src = "images/sec.gif"
	  psec_on.src = "images/sec_on.gif"
	  pint.src = "images/int.gif"
	  pint_on.src = "images/int_on.gif"
	  
	  pl_ver = new Image
      pl_ver_on = new Image
	  pl_za = new Image
      pl_za_on = new Image
	  pl_kost = new Image
      pl_kost_on = new Image
	  pl_si = new Image
      pl_si_on = new Image
      pl_fl = new Image
      pl_fl_on = new Image
	  pl_per = new Image
      pl_per_on = new Image
	 
	  
	  pl_ver.src = "images/l_ver.gif"
	  pl_ver_on.src = "images/l_ver_on.gif"
	  pl_za.src = "images/l_za.gif"
	  pl_za_on.src = "images/l_za_on.gif"
	  pl_kost.src = "images/l_kost.gif"
	  pl_kost_on.src = "images/l_kost_on.gif"
	  pl_si.src = "images/l_si.gif"
	  pl_si_on.src = "images/l_si_on.gif"
	  pl_fl.src = "images/l_fl.gif"
	  pl_fl_on.src = "images/l_fl_on.gif"
	  pl_per.src = "images/l_per.gif"
	  pl_per_on.src = "images/l_per_on.gif"
	  
	  punternehm = new Image
      punternehm_on = new Image
	  pkontakt = new Image
      pkontakt_on = new Image
	  pimpress = new Image
      pimpress_on = new Image
	  pleist = new Image
      pleist_on = new Image
	  psitemap = new Image
      psitemap_on = new Image
	  
	  punternehm.src = "images/unternehm.gif"
      punternehm_on.src = "images/unternehm_on.gif"
	  pkontakt.src = "images/kontakt.gif"
      pkontakt_on.src = "images/kontakt_on.gif"
	  pimpress.src = "images/impress.gif"
      pimpress_on.src = "images/impress_on.gif"
	  pleist.src = "images/leist.gif"
      pleist_on.src = "images/leist_on.gif"
	  psitemap.src = "images/sitemap.gif"
      psitemap_on.src = "images/sitemap_on.gif"
	  
	  pu_c = new Image
      pu_c_on = new Image
	  pu_r = new Image
      pu_r_on = new Image
	  pu_p = new Image
      pu_p_on = new Image
	  pu_j = new Image
      pu_j_on = new Image
      pu_n = new Image
      pu_n_on = new Image
	  pu_agb = new Image
      pu_agb_on = new Image
	 
	  pu_c.src = "images/u_c.gif"
	  pu_c_on.src = "images/u_c_on.gif"
	  pu_r.src = "images/u_r.gif"
	  pu_r_on.src = "images/u_r_on.gif"
	  pu_p.src = "images/u_p.gif"
	  pu_p_on.src = "images/u_p_on.gif"
	  pu_j.src = "images/u_j.gif"
	  pu_j_on.src = "images/u_j_on.gif"
	  pu_n.src = "images/u_n.gif"
	  pu_n_on.src = "images/u_n_on.gif"
	  pu_agb.src = "images/u_agb.gif"
	  pu_agb_on.src = "images/u_agb_on.gif"
	  
	  pk_a = new Image
      pk_a_on = new Image
	  pk_f = new Image
      pk_f_on = new Image
	  pk_d = new Image
      pk_d_on = new Image
	 
	  pk_a.src = "images/k_a.gif"
	  pk_a_on.src = "images/k_a_on.gif"
	  pk_f.src = "images/k_f.gif"
	  pk_f_on.src = "images/k_f_on.gif"
	  pk_d.src = "images/k_d.gif"
	  pk_d_on.src = "images/k_d_on.gif"
	  
	  pl_sys = new Image
      pl_sys_on = new Image
	  pl_ts = new Image
      pl_ts_on = new Image
	  pl_mess = new Image
      pl_mess_on = new Image
	  pl_asp = new Image
      pl_asp_on = new Image
	  pl_ss = new Image
      pl_ss_on = new Image
	  
	  pl_sys.src = "images/l_sys.gif"
	  pl_sys_on.src = "images/l_sys_on.gif"
	  pl_ts.src = "images/l_ts.gif"
	  pl_ts_on.src = "images/l_ts_on.gif"
	  pl_mess.src = "images/l_mess.gif"
	  pl_mess_on.src = "images/l_mess_on.gif"
	  pl_asp.src = "images/l_asp.gif"
	  pl_asp_on.src = "images/l_asp_on.gif"
	  pl_ss.src = "images/l_ss.gif"
	  pl_ss_on.src = "images/l_ss_on.gif"
	  
	  pl_tc = new Image
      pl_tc_on = new Image
	  pl_fc = new Image
      pl_fc_on = new Image
	  pl_verk = new Image
      pl_verk_on = new Image
	  pl_lw = new Image
      pl_lw_on = new Image
	  pl_netz = new Image
      pl_netz_on = new Image
	  
	  pl_tc.src = "images/l_tc.gif"
	  pl_tc_on.src = "images/l_tc_on.gif"
	  pl_fc.src = "images/l_fc.gif"
	  pl_fc_on.src = "images/l_fc_on.gif"
	  pl_verk.src = "images/l_verk.gif"
	  pl_verk_on.src = "images/l_verk_on.gif"
	  pl_lw.src = "images/l_lw.gif"
	  pl_lw_on.src = "images/l_lw_on.gif"
	  pl_netz.src = "images/l_netz.gif"
	  pl_netz_on.src = "images/l_netz_on.gif"
	  
	  pl_vp = new Image
      pl_vp_on = new Image
	  pl_dat = new Image
      pl_dat_on = new Image
	  pl_sich = new Image
      pl_sich_on = new Image
	  pl_cs = new Image
      pl_cs_on = new Image
	  pl_vpn = new Image
      pl_vpn_on = new Image
      pl_hb = new Image
      pl_hb_on = new Image
	  
	  pl_vp.src = "images/l_vp.gif"
	  pl_vp_on.src = "images/l_vp_on.gif"
	  pl_dat.src = "images/l_dat.gif"
	  pl_dat_on.src = "images/l_dat_on.gif"
	  pl_sich.src = "images/l_sich.gif"
	  pl_sich_on.src = "images/l_sich_on.gif"
	  pl_cs.src = "images/l_cs.gif"
	  pl_cs_on.src = "images/l_cs_on.gif"
	  pl_vpn.src = "images/l_vpn.gif"
	  pl_vpn_on.src = "images/l_vpn_on.gif"
	  pl_hb.src = "images/l_hb.gif"
	  pl_hb_on.src = "images/l_hb_on.gif"
	  
	  pl_pan = new Image
      pl_pan_on = new Image
	  pl_pkl = new Image
      pl_pkl_on = new Image
	  pl_po = new Image
      pl_po_on = new Image
	  pl_pko = new Image
      pl_pko_on = new Image
	  pl_pc = new Image
      pl_pc_on = new Image
      pl_rm = new Image
      pl_rm_on = new Image
	  pl_fw = new Image
      pl_fw_on = new Image
	  
	  pl_pan.src = "images/l_pan.gif"
	  pl_pan_on.src = "images/l_pan_on.gif"
	  pl_pkl.src = "images/l_pkl.gif"
	  pl_pkl_on.src = "images/l_pkl_on.gif"
	  pl_po.src = "images/l_po.gif"
	  pl_po_on.src = "images/l_po_on.gif"
	  pl_pko.src = "images/l_pko.gif"
	  pl_pko_on.src = "images/l_pko_on.gif"
	  pl_pc.src = "images/l_pc.gif"
	  pl_pc_on.src = "images/l_pc_on.gif"
	  pl_rm.src = "images/l_rm.gif"
	  pl_rm_on.src = "images/l_rm_on.gif"
	  pl_fw.src = "images/l_fw.gif"
	  pl_fw_on.src = "images/l_fw_on.gif"
	  
	  u_his = new Image
      u_his_on = new Image
	  u_u_p = new Image
      u_u_p_on = new Image
	  pl_po = new Image
      pl_po_on = new Image
	  pl_pko = new Image
      pl_pko_on = new Image
	  pl_pc = new Image
      pl_pc_on = new Image
      pl_rm = new Image
      pl_rm_on = new Image
	  pl_fw = new Image
      pl_fw_on = new Image
	  
	  u_his.src = "images/u_h.gif"
	  u_his_on.src = "images/u_h_on.gif"
	  u_u_p.src = "images/u_u_p.gif"
	  u_u_p_on.src = "images/u_u_p.gif"
	  pl_po.src = "images/l_po.gif"
	  pl_po_on.src = "images/l_po_on.gif"
	  pl_pko.src = "images/l_pko.gif"
	  pl_pko_on.src = "images/l_pko_on.gif"
	  pl_pc.src = "images/l_pc.gif"
	  pl_pc_on.src = "images/l_pc_on.gif"
	  pl_rm.src = "images/l_rm.gif"
	  pl_rm_on.src = "images/l_rm_on.gif"
	  pl_fw.src = "images/l_fw.gif"
	  pl_fw_on.src = "images/l_fw_on.gif"
	  	 
      }


function act(imgName) {							//makes rollover image active
  if (document.images)
    document.images[imgName].src = eval("p" + imgName + "_on.src");
}

function inact(imgName) {						//makes rollover image inactive
  if (document.images)
    document.images[imgName].src = eval("p" + imgName + ".src");
}


