/* javascript for the title site 'Brockmann Consult' */
/* mp 31.07.2006 */

var brws="";

var slovo = new Array();
var zaslovo = new Array();

var sabaka="@"
var domashnij=""
var chto="latomi"
var ochjom="ter bjucs?"

bc_a = new Array();
bc_a[0]  = "to.lcbokdn-osltuncnamcrkobme"		
bc_a[1]  = "crtnbokanrcmnncdsltuno-eakobnmcr.esa"	
bc_a[2]  = "nra.ofrarcmnncosltune-dakobremfnmo"		
bc_a[3]  = "dsen.upyrcmn-onutlsdcnakobhrmdome"		
bc_a[4]  = "ola.okrcmn-osltuncnakobckfed"
bc_a[5]  = "ue.reebokae-osltuncnnmcrrmakdw"
bc_a[6]  = "uelnercman-osltuncnedkobga.w"		
bc_a[7]  = "mcae.aeibokancnsltueo-nmcrnrppldhi"		
bc_a[8]  = "mroptrbokancodutlsne-nmcrsee.ca"		
bc_a[9]  = "rafqatrcmn-oslteuncnakobsu.ld"		
bc_a[10] = "eedisheebokancnutlso-nmcrrfac.dih"
bc_a[11] = "kdsi.tlebecmn-osltuncnakorrzesntre"		
bc_a[12] = "mac.uhkercmn-osltuncnakobelezord"
bc_a[13] = "crtnbokanrcmnncdsltuno-eakobnmcr.esa"	
bc_a[14] = "sbn.mahrrcman-osltuncndekobecbeeia"
bc_a[15] = "egnfaebodmn-osltuncnakcrrbe.eu"		
bc_a[16] = "og.aebokandonutlsec-nmcrrbfal"		
bc_a[17] = "lr.okebokancdsltuno-nmcrnekfsa"
bc_a[18] = "oa.anbokae-dnutlsocnnmcrendfl"
bc_a[19] = "eahfslebokancosltund-nmcrmea.isk"	
bc_a[20] = "jsingisebdcmn-osltuncnakorrlse.ema"
bc_a[21] = "dnobokancnutlso-nmcrefi"
bc_a[22] = "kehrn.oebokandosltunc-nmcrrspaiata" /*"proabokancnsutledo-nmcrlnse"*/
bc_a[23] = "toa.trmbokancnutlso-nmcredossmh"
bc_a[24] = "btiascozbokancnuetlso-nmcrelhd.nte"





bc_1 = new Array();
bc_1[0]  = 16	
bc_1[1]  = 30	
bc_1[2]  = 23	
bc_1[3]  = 27	
bc_1[4]  = 1        
bc_1[5]  = 3	
bc_1[6]  = 15	
bc_1[7]  = 5	
bc_1[8]  = 26	
bc_1[9]  = 1	
bc_1[10] = 4        
bc_1[11] = 2	
bc_1[12] = 1	
bc_1[13] = 30
bc_1[14] = 23
bc_1[15] = 16
bc_1[16] = 20
bc_1[17] = 24
bc_1[18] = 22
bc_1[19] = 25
bc_1[20] = 18
bc_1[21] = 0
bc_1[22] = 26//21
bc_1[23] = 11
bc_1[24] = 9

bc_2 = new Array();
bc_2[0]  = 1	
bc_2[1]  = 25	
bc_2[2]  = 27	
bc_2[3]  = 4	
bc_2[4]  = 3      
bc_2[5]  = 20	
bc_2[6]  = 17	
bc_2[7]  = 29	
bc_2[8]  = 23	
bc_2[9]  = 27	
bc_2[10] = 0       
bc_2[11] = 18	
bc_2[12] = 14	
bc_2[13] = 25      
bc_2[14] = 21      
bc_2[15] = 7	
bc_2[16] = 23      
bc_2[17] = 10
bc_2[18] = 18   
bc_2[19] = 0
bc_2[20] = 5
bc_2[21] = 5
bc_2[22] = 2//23
bc_2[23] = 13
bc_2[24] = 32

bc_3 = new Array();
bc_3[0]  = 9    
bc_3[1]  = 17   
bc_3[2]  = 15   
bc_3[3]  = 14   
bc_3[4]  = 9    
bc_3[5]  = 11   
bc_3[6]  = 9    
bc_3[7]  = 15   
bc_3[8]  = 12   
bc_3[9]  = 10   
bc_3[10] = 14     
bc_3[11] = 15   
bc_3[12] = 13   
bc_3[13] = 17
bc_3[14] = 15
bc_3[15] = 11
bc_3[16] = 10
bc_3[17] = 11
bc_3[18] = 10
bc_3[19] = 13
bc_3[20] = 15
bc_3[21] = 4
bc_3[22] = 15//8
bc_3[23] = 12
bc_3[24] = 15


bc_staff_name = new Array();
bc_staff_name[0]=  "Tom Block";
bc_staff_name[1]=  "Dr. Carsten Brockmann";
bc_staff_name[2]=  "Norman Fomferra";
bc_staff_name[3]=  "Dr. Desmond Murphy";
bc_staff_name[4]=  "Olaf Kock";
bc_staff_name[5]=  "Uwe Kr&auml;mer";
bc_staff_name[6]=  "Dr. Uwe Lange";
bc_staff_name[7]=  "Michael Paperin";
bc_staff_name[8]=  "Marco Peters";
bc_staff_name[9]=  "Dr. Ralf Quast";
bc_staff_name[10]= "Heidi Sch&auml;fer";
bc_staff_name[11]= "Kerstin Stelzer";
bc_staff_name[12]= "Marco Z&uuml;hlke";
bc_staff_name[13]= "Dr. Carsten Brockmann";
bc_staff_name[14]= "Sabine Embacher";
bc_staff_name[15]= "Eugen Faber";
bc_staff_name[16]= "Olga Faber";
bc_staff_name[17]= "Lars Fokken";
bc_staff_name[18]= "Olaf Danne";
bc_staff_name[19]= "Kashif Saleem";
bc_staff_name[20]= "Jasmin Gei&szlig;ler";
bc_staff_name[21]= "info";
bc_staff_name[22]= "Katharina Poser";
bc_staff_name[23]= "Thomas Storm";
bc_staff_name[24]= "Bettina Scholze";

bc_staff_call = new Array();
bc_staff_call[0]=  "Tel: +49 4152 889 304";
bc_staff_call[1]=  "Tel: +49 4152 889 301";
bc_staff_call[2]=  "Tel: +49 4152 889 303";
bc_staff_call[3]=  "Tel: +49 4152 889 306";
bc_staff_call[4]=  "Tel: +49 4152 889 315";
bc_staff_call[5]=  "Tel: +49 4152 889 311";
bc_staff_call[6]=  "Tel: +49 4152 889 318";
bc_staff_call[7]=  "Tel: +49 4152 889 308";
bc_staff_call[8]=  "Tel: +49 4152 889 305";
bc_staff_call[9]=  "Tel: +49 4152 889 312";
bc_staff_call[10]= "Tel: +49 4152 889 300";
bc_staff_call[11]= "Tel: +49 4152 889 307";
bc_staff_call[12]= "Tel: +49 4152 889 312";
bc_staff_call[13]= "Tel: +49 4152 889 301";
bc_staff_call[14]= "Tel: +49 4152 889 330";
bc_staff_call[15]= "Tel: +49 4152 889 310";
bc_staff_call[16]= "Tel: +49 4152 889 309";
bc_staff_call[17]= "Tel: +49 4152 889 300";
bc_staff_call[18]= "Tel: +49 4152 889 313";
bc_staff_call[19]= "Tel: +49 4152 889 305";
bc_staff_call[20]= "Tel: +49 4152 889 314";
bc_staff_call[20]= "Tel: +49 4152 889 306";
bc_staff_call[22]= "Tel: +49 4152 889 321";
bc_staff_call[23]= "Tel: +49 4152 889 300";
bc_staff_call[24]= "Tel: +49 4152 889 323";


bc_staff_position = new Array();
bc_staff_position[0]=  "Senior Software Developer";
bc_staff_position[1]=  "Director";
bc_staff_position[2]=  "Head of Environmental Informatics Department";
bc_staff_position[3]=  "Head of Administration";
bc_staff_position[4]=  "Project Manager/Software Developer";
bc_staff_position[5]=  "Consultant and Head of IT-Services";
bc_staff_position[6]=  "Consultant";
bc_staff_position[7]=  "Consultant";
bc_staff_position[8]=  "Software Developer";
bc_staff_position[9]=  "Software Developer";
bc_staff_position[10]= "Secretary";
bc_staff_position[11]= "Head of the Geo-information Section at Brockmann and specialist in the field of remote sensing of inter-tidal flats.";
bc_staff_position[12]= "Senior Software Developer";
bc_staff_position[13]= "Managing Director";
bc_staff_position[14]= "Software Developer";
bc_staff_position[15]= "Database / Software Developer";
bc_staff_position[16]= "Consultant";
bc_staff_position[17]= "Informatics Assistant";
bc_staff_position[18]= "Software Developer and Senior Scientific Consultant";
bc_staff_position[19]= "Consultant";
bc_staff_position[20]= "Consultant";
bc_staff_position[21]= "Informant";
bc_staff_position[22]= "Consultant";
bc_staff_position[23]= "Software Developer";
bc_staff_position[24]= "Software Developer";

bc_staff_speciality = new Array();
bc_staff_speciality[0]=  "Diploma Engineer";
bc_staff_speciality[1]=  "PhD Oceanography";
bc_staff_speciality[2]=  "Specialist";
bc_staff_speciality[3]=  "PhD Biology";
bc_staff_speciality[4]=  "Database &amp; Web Specialist";
bc_staff_speciality[5]=  "Environmental Engineer";
bc_staff_speciality[6]=  "PhD Biology";
bc_staff_speciality[7]=  "Diploma Mathematician-Engineer";
bc_staff_speciality[8]=  "Diploma Engineer";
bc_staff_speciality[9]=  "PhD Physics";
bc_staff_speciality[10]= "Specialist";
bc_staff_speciality[11]= "Diploma Geographer";
bc_staff_speciality[12]= "Specialist";
bc_staff_speciality[13]= "PhD Oceanography";
bc_staff_speciality[14]= "Specialist";
bc_staff_speciality[15]= "Diploma Physicist";
bc_staff_speciality[16]= "Specialist";
bc_staff_speciality[17]= "Specialist";
bc_staff_speciality[18]= "PhD Physics";
bc_staff_speciality[19]= "Junior Developer";
bc_staff_speciality[20]= "Landscape Ecologist";
bc_staff_speciality[21]= "Informist";
bc_staff_speciality[22]= "Diploma Geographer";
bc_staff_speciality[23]= "Diploma Computer Scientist";
bc_staff_speciality[24]= "Diploma Marine Environmental Sciences";


bc_staff_curvit = new Array();
bc_staff_curvit[0]= "Project Manager for MERCI and CalVal Portal<br><br>Tom Block is electrotechnical engineer who received his Diploma from the TU Hamburg-Harburg. Starting his professional work on signal processing he moved soon into the software development business.<br><br>He working for Brockmann Consult since 2001 and is specialised on the development of web-based applications using Java and database management systems. <br>In the EU RTD project REVAMP Tom was responsible for the software processor. <br><br>He is leading the software development work for MERCI and is project manager for the CEOS CalVal Portal.";
bc_staff_curvit[1]= "Carsten Brockmann is Diplom Oceanographer and holds a  Ph.D. in Earth Science. He specialised on remote sensing and informatics early in his professional career. <br>Carsten Brockmann was working at the University Hamburg and the GKSS Research Centre as remote sensing expert before he founded SCICON - Brockmann und Kleeberg GbR in 1994 and Brockmann Consult in 1999.<br><br>As director of the company he is responsible for all strategic decisions. <br>He is actively involved in many projects of the company, notably all projects related to the spaceborne sensor MERIS onboard the ESA satellite ENVISAT. <br>He gives consultancy to various national and international bodies on marine remote sensing concerns.";
bc_staff_curvit[2]= "Norman Fomferra received his Diploma in Bio-Engineering and Environmental Techniques in 1993 from the Hamburg University of Applied Science. He worked first on mathematical modelling and real time simulation of bio-technical processes before started to develop an object-oriented architectural CAD-system using LISP, C and C++ under AutoCAD. <br><br>In 1996 he joined SCICON and later Brockmann Consult. <br><br>Since 2002 he is project leader of the BEAM toolbox and he became head of the department of Environmental Informatics. <br><br>Norman Fomferra is not only specialised in object oriented software development but has created the agile software development process of Brockmann Consult.";
bc_staff_curvit[3]= "Des Murphy, from Ireland, holds a BA(Mod) in Natural Sciences from the University of Dublin Trinity College and a PhD in Marine Biology from the National University of Ireland at Cork.<br><br>As Head of Administration at Brockmann Consult he is responsible for all contractual and financial aspects relating to both national and international projects, including also customer relations.<br><br>Before joining Brockmann Consult in 2000 he worked as a researcher in the Department of Applied Remote Sensing at the GKSS Research Center Geesthacht in Germany, specialising in the mapping and quantification of Wadden Sea surface types using optical remote sensing techniques.";
bc_staff_curvit[4]= "In the software development business since 1992, Olaf worked in broad areas like coaching & consulting for agile software development processes and software development for web & databases. He specialized in server-side software, usually in (but not limited to) the various Java Environments.<br><br>At BC he leverages his experience in all these fields since 2004.";
bc_staff_curvit[5]= "Diploma thesis in mathematical modelling and simulation of electrical signals in circuits. <br>Software development in C, IDL, Java, and Python on Sun Solaris, Linux, and Mac OS X. <br><br>Conduction of the MERIS System Tests 99, Planning of the L2 Verification for the MERIS Commissioning Phase, Conduction of the L2 Verification during MERIS Commissioning, Quality control in MERIS-related projects (MVA, MERIS Data Distribution etc.), Development of the Marcoast WAQS processing chain.";
bc_staff_curvit[6]= "Specialist in the fields of statistical analysis in marine biology and in GIS; trainer for HTML, MS Access and ArcView.<br>After finishing his thesis in the field of ecotoxicology, he joined a project on statistical analysis of Helgoland Roads zooplankton data, developing a zooplankton prognosis system. A professional training in GIS led him to a project on geodata management based on ISO 19115 using GIS and web techniques at the Federal Waterways Engineering and Research Institute (BAW).<br><br>Uwe Lange joined Brockmann Consult in December 2005 leading a project on the reorganization of the German Federal Marine Monitoring Programme (BLMP).<br><br>Presently, he is involved in the MarCoast project organizing a validation office for water quality services.";
bc_staff_curvit[7]= "After graduating from the Moscow University of Mathematics and Electronics he worked in the field of the processing and visualization of the satellite information. He also graduated from the Department of the History of Arts of the Moscow Correspondence University. <br><br>He has been working at Brockmann Consult since 1999. <br><br>The main line of activity is visualizing and archiving the satellite data, web-design.";
bc_staff_curvit[8]= "In 2003 he graduated the University of Applied Sciences of Hamburg with the diploma in technical informatics. <br>He joined the team at Brockmann Consult as junior developer in 2004. <br>The HIMOM project was the first project he worked on. <br><br>His main work currently concerns the BEAM software project and also tools and extensions to this software, like the MERIS Case-2 Regional processor.";
bc_staff_curvit[9]= "Dr. Ralf Quast received the diploma in Physics from the University of Hamburg in 1998. <br>He was a research assistant at the Observatory of Hamburg from July 1998 until he obtained the Ph. D. in Astronomy and Astrophysics in February 2006. Cosmological research with high-redshift quasars and the development of spectroscopic analysis software were his main interests. <br>He started being a software developer at Brockmann Consult in Mai 2005 when he implemented the aerosol retrieval algorithm for the German MERIS Application and Regional Products Projects (MAPP). <br><br>His current work mainly concerns the BEAM and GlobCOLOUR projects.";
bc_staff_curvit[10]= "Heidi Sch&auml;fer is responsible for all technical and administrative support activities in Brockmann Consult. <br>She joined the company in 2004, working part time after her retirement from her position as personal secretary of the head of the institute for Chemistry (GKSS Research Centre). <br><br>Her long term experience in the field of environmental science is valuable knowledge source for her current tasks in Brockmann Consult.";
bc_staff_curvit[11]= "Kerstin Stelzer obtained her Diploma from the University of Trier, Department of Physical Geography, with an analysis of sediment distribution in the Sylt-R&oslash;m&oslash; Basin using remote sensing data (Trier, 1998) after which she became a member of the scientific staff in the physical geography department.<br />In 2000 she moved back to northern Germany and joined the team at Brockmann Consult (2000).<br />Since 2006 she is head of the department of Geo-Information Services with the main focus on the development of value adding products for the coastal zone management.<br />Main responsibilities: Management and realisation of projects, organisation of workshops and training courses.<br />Main Projects: DeMarine, MarCoast, Ballastwater, VAE-Intertidal, WAQSS, OFEW";
bc_staff_curvit[12]= "Marco Z&uuml;hlke is Computer Scientist who received his Diploma from the University of Hamburg in 2005. Already during his study he started his professional career in developing object oriented software in C++ and Java. <br>He is specially interest in extreme programming techniques and member of the XP Group Hamburg.<br><br>Marco Z&uuml;hlke joined the MERCI team of Brockmann Consult in 2005. Later he became responsible for the scientific processors of BEAM and contributed significantly to the new BEAM4 Graph Processing Framework.";
bc_staff_curvit[13]= "Carsten Brockmann is Diplom Oceanographer and holds a  Ph.D. in Earth Science. He specialised on remote sensing and informatics early in his professional career. Carsten Brockmann was working at the University Hamburg and the GKSS Research Centre as remote sensing expert before he founded SCICON - Brockmann und Kleeberg GbR in 1994 and Brockmann Consult in 1999. <br><br>In 2001 he founded the Brockmann Consult GmbH which provides commercial software solutions for environmental processing systems.<br><br>As managing director of the company he is responsible for all strategic decisions. He is actively involved in many projects of the company, notably all projects related with software for managing the data of the spaceborne sensor MERIS onboard the ESA satellite ENVISAT.";
bc_staff_curvit[14]= "Sabine Embacher, born in Austria, has worked in various fields of electrical engineering, hardware and software development before she became staff member of Brockmann Consult in 16.1.2002. <br>Her main workfield is BEAM, MERCI and the CalVal Portal. <br>Her preffered agile developing process ist XP (extreme programming).";
bc_staff_curvit[15]= "Ewgeni Faber, from Russia, received the diploma in Physics from the University of St. Petersburg in 1978. <br>He worked for 14 years at Geo-Observatorium in St.Petersburg. <br><br>In 1995 he joined SCICON and later Brockmann Consult. <br>His field of activity is databases and datacentric webapplications. <br><br>He is responsible for the development of data management systems for NPA and LANU.";
bc_staff_curvit[16]= "Olga trained as a physicist in Russia and in 1978 obtained a Diploma from the University of St. Petersburg, Department of Polymer Physic, with her analysis of the electrical attributes of liquid crystals.<br>This was followed by a period of laboratory research on atmospheric electricity, particularly the electrical properties of clouds. <br><br>In 1999 she joined the team at Brockmann Consult, with responsibilities for data management (ENVISAT, primarily MERIS) and software testing, among others BEAM and ESOV.";
bc_staff_curvit[17]= " ";
bc_staff_curvit[18]= "Olaf Danne received his Diploma in Meteorology from the University of Hanover in 1992 and holds a PhD in Physics (1996). He specialised in remote sensing  already as a student. As PhD student and as PostDoc, he was working at GKSS with their Microwave Cloud Radar. <br>In the year 2000, he changed into the field of software development and joined Advanced Traffic Systems and Consulting GmbH, Hamburg, where he was working on client/server applications in the field of air traffic security, programming in C and Java. <br>In 2006, Olaf joined Brockmann Consult as software developer and scientific consultant. His first major field is the development of Esov NG, which is a desktop application for the calculation and visualization of satellite orbit tracks and sensor swaths. As second, he acts as 'CalVal Portal Manager', fulfilling mainly administrative and scientific duties for the CEOS CalVal Portal.";
bc_staff_curvit[19]= " ";
bc_staff_curvit[20]= " <br><br><br><br><br><br>";
bc_staff_curvit[21]= " ";
bc_staff_curvit[22]= "Katharina Poser studied Geography at the University of Kiel with a focus on coastal zone management and remote sensing. She received practical training in the area of coastal dynamics at the 'Universidad Nacional de Mar del Plata' (Argentina); another internship concentrated on ecology in the rain forest ('Fundaci&oacute;n Ecol&oacute;gica Quiriquingue', Ecuador). Supported by a scholarship from the German Academic Exchange Service (DAAD), Katharina followed one semester of the Masters program 'Integrated Management of Coasts and Seas' in Campeche, Mexico, and received practical training at the 'Center of GIS' ('Universidad de Quintana Roo', Chetumal, Mexico).<br>In September 2009 she joined the team of Brockmann Consult to write her thesis about data fusion of Landsat and MERIS images with the aim of algal bloom monitoring in the Baltic Sea. Since September 2010 she works as consultant in the project CoastColour.";
bc_staff_curvit[23]= "Thomas Storm studied computer science at the University of Paderborn; back there, his main field of research was to design and analyse social Multi-Agent-Systems. <br>Since March 2010, he is a member of Brockmann Consult and works as Java software developer.";
bc_staff_curvit[24]= "Projects involved: OLIVE, MERCI, Freshmon.";


function init(){
  browserName = whichBrs();
  ekran=document.getElementById("working-screen")
  if (ekran == null) var flag1=0;
  else flag1=1
  if (browserName=='Internet_Explorer') {
    brws = "ie"
    if (flag1==1) document.getElementById("working-screen").style.filter="alpha(opacity=80)";
    if (flag1==0) document.getElementById("contact-screen").style.filter="alpha(opacity=80)";
  } else if(browserName=='Firefox') {
    brws = "ff"
    if (flag1==1) document.getElementById("working-screen").style.MozOpacity = "0.8";
    if (flag1==0) document.getElementById("contact-screen").style.MozOpacity = "0.8";
  } else if(browserName=='Netscape') {
    brws = "ns"
  } else {
    //alert("This Page is not optimized for your browser  '"+browserName+"'")	
    //brws = "notOptimized"	
  }
  MP_showDate();
}

function whichBrs() {
  var agt=navigator.userAgent.toLowerCase();
  if (agt.indexOf("opera") != -1) return 'Opera';
  if (agt.indexOf("staroffice") != -1) return 'Star_Office';
  if (agt.indexOf("beonex") != -1) return 'Beonex';
  if (agt.indexOf("chimera") != -1) return 'Chimera';
  if (agt.indexOf("netpositive") != -1) return 'NetPositive';
  if (agt.indexOf("phoenix") != -1) return 'Phoenix';
  if (agt.indexOf("firefox") != -1) return 'Firefox';
  if (agt.indexOf("safari") != -1) return 'Safari';
  if (agt.indexOf("skipstone") != -1) return 'SkipStone';
  if (agt.indexOf("msie") != -1) return 'Internet_Explorer';
  if (agt.indexOf("netscape") != -1) return 'Netscape';
  if (agt.indexOf("mozilla/5.0") != -1) return 'Mozilla';
  if (agt.indexOf('\/') != -1) {
  if (agt.substr(0,agt.indexOf('\/')) != 'mozilla') {
  return navigator.userAgent.substr(0,agt.indexOf('\/'));}
  else return 'Netscape';} else if (agt.indexOf(' ') != -1)
  return navigator.userAgent.substr(0,agt.indexOf(' '));
  else return navigator.userAgent;
}

function MP_showDate() { 
 var Jetzt = new Date();
 var Tag = Jetzt.getDate();
 var Monat = Jetzt.getMonth() + 1;
 var Jahr = Jetzt.getYear();
 if(brws == "ns" || brws == "ff") Jahr = Jahr+1900;
 var Vortag  = ((Tag < 10) ? "0" : "");
 var Vormon  = ((Monat < 10) ? ".0" : ".");
 var Datum = Vortag + Tag + Vormon + Monat  + "." + Jahr;
 //var Bota = "<font face='Garamond, Arial' size=2 color=#FFFFDD>"+Datum+"</font>"
 if(brws == "ie" || brws == "ff") {
   document.getElementById("y_datum").innerHTML = Datum;
 }
 else if(brws == "ns"){
   document.y_datum.document.open();
   document.y_datum.document.write(Bota);
   document.y_datum.document.close();
 }
 window.setTimeout("MP_showDate()",100000);
}

startMenu = function() {
  if (document.all&&document.getElementById) {
    cssmenu = document.getElementById("content-line");
    for (i=0; i<cssmenu.childNodes.length; i++) {
      node = cssmenu.childNodes[i];
      if (node.nodeName=="LI") {
        node.onmouseover=function() {
          this.className+=" over";
        }
        node.onmouseout=function(){                  
          this.className=this.className.replace(" over", "")
        }
      }
    }
  }
}

if (window.attachEvent)
window.attachEvent("onload", startMenu)
else
window.onload=startMenu;

function searchByGoogle() {
  var wert = document.getElementById("searching-field").value;
  wert = wert.replace(/\+/g, "%2B");
  wert = wert.replace(/%/g, "%25");
  var zakaz = wert.replace(/\s/g, "+");
  zakaz = "http://www.google.de/search?q=" + zakaz;
  zakaz = zakaz + "+site%3Abrockmann-consult.de";
  alert(zakaz)
  window.location.href = zakaz;
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v3.0
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function name_index(name) {
  switch (name) {
    case "tom":         return 0;
    case "carsten":     return 1;
    case "norman":      return 2;
    case "des":         return 3;
    case "olafk":       return 4;
    case "uwek":        return 5;
    case "uwel":        return 6;
    case "michael":     return 7;    
    case "marcop":      return 8;
    case "ralf":        return 9;
    case "heidi":       return 10;
    case "kerstin":     return 11;
    case "marcoz":      return 12;     
    case "brockmann":   return 13;
    case "sabine":      return 14;
    case "eugen":       return 15;
    case "olga":        return 16;
    case "lars":        return 17;
    case "olafd":       return 18;  
    case "kashifs":     return 19;
    case "jasming":     return 20; 
    case "info":        return 21;
    case "katharina":   return 22;
    case "thomasstorm": return 23;
	case "bettina":     return 24;     
    default:
      return -1;
  }	
}

function post_schicken(name) {
  var nr = name_index(name);
  raskodirujka(bc_a[nr],bc_1[nr],bc_2[nr],bc_3[nr]);
}


function show_info(name) {	
 var Bota = "<span class='img-float'><img src='images/staff/"+name+".jpg'></span>" 
 Bota = Bota + "<h2>"+bc_staff_name[name_index(name)]+"</h2>";
 Bota = Bota + "<h3><i>"+bc_staff_speciality[name_index(name)]+"</i></h3>";
 Bota = Bota + "<h3>"+bc_staff_position[name_index(name)]+"</h3>";
 Bota = Bota + "<p>&nbsp;</p><p>"+bc_staff_curvit[name_index(name)]+"</p>";
 Bota = Bota + "<p>&nbsp;</p><p>&nbsp;</p><p align='right'>"+bc_staff_call[name_index(name)]+"<img src='images/blue_colour.gif' width='320' height='1'><br><a href='javascript:post_schicken(&#34"+name+"&#34);'>@:&nbsp;&nbsp;&nbsp;send mail to "+bc_staff_name[name_index(name)]+"</a></p>";
 if(brws == "ie" || brws == "ff") {
   document.getElementById("staff-rama").innerHTML = Bota;
 }
 else if(brws == "ns"){
   document.staff-rama.document.open();
   document.staff-rama.document.write(Bota);
   document.staff-rama.document.close();
 }	
//<a href="javascript:raskodirujka('kregeteddrlrhnu.tu',16,4,13);">..</a>
}



/*
document.location = http://www.google.com/search?q=site%3Awww.brockmann-consult.de+michael
all SPACE change to '+'
*/




function raskodirujka(c, k1, k2, nmr){
  domashnij=""
  
  dlina = c.length
  for (var i = 0; i < dlina+4; i++) {
    slovo[i]='%'
  }
  ces=Math.floor(dlina/2)

  if ((dlina - 2*ces) > 0) {

    for (var i = 0; i < ces; i++) {
      slovo[2*i]=c.substr(i, 1)
      slovo[2*i+1]=c.substr(dlina-i-1, 1)
    }
    slovo[dlina-1]=c.substr(dlina-ces-1, 1)

  } else {
    for (var i = 0; i < ces; i++) {
      slovo[2*i]=c.substr(i, 1)
      slovo[2*i+1]=c.substr(dlina-i-1, 1)
    }
  }

  derzhava = slovo[k1] + slovo[k2]
  slovo[k1]='%'
  slovo[k2]='%'
  
  j=0
  for (var i = 0; i < dlina+4; i++) {
    if (slovo[i]!='%') {
      zaslovo[j] = slovo[i]
      j++;
    }
  }
  for (var i = 0; i < nmr; i++) {
      domashnij = domashnij + zaslovo[i]
  }
  domashnij = domashnij + sabaka
  for (var i = nmr; i < j; i++) {
      domashnij = domashnij + zaslovo[i]
  }
  
  domashnij = domashnij + '.' + derzhava

  poshliNa(domashnij)
}

function poshliNa(kuda){
  delaj = chto.substr(4,1)+chto.substr(1,1)+chto.substr(5,1)+chto.substr(0,1)+chto.substr(2,1)+chto.substr(3,1)
  kak= ochjom.substr(9,1)+ochjom.substr(8,1)+ochjom.substr(6,1)+ochjom.substr(4,1)+ochjom.substr(5,1)+ochjom.substr(1,1)+ochjom.substr(7,1)+ochjom.substr(0,1)
  window.location.href=delaj+':'+domashnij+kak+'= '; 	
}

/********************************************************/
/******************* Searching Functions ****************/
function searchByGoogle() {
  var wert = document.getElementById("searching-field").value;
  theForm = document.getElementById("searching-form");
  theForm.action="http://www.google.com/search";
  document.getElementById("searching-field").value = wert + " site:brockmann-consult.de";
  theForm.submit();
}

function goSearch(e){
  var keynum;
  if(window.event){ // IE
    keynum = e.keyCode;
  }
  else if(e.which){ // Netscape/Firefox/Opera
    keynum = e.which;
  }
  if (keynum==13){
    searchByGoogle();
  }
}

function sanitizeSearch() {
  var wert = document.getElementById("searching-field").value;
  pos = wert.indexOf(" site:brockmann-consult.de");
  if(pos > -1) {
    document.getElementById("searching-field").value = wert.substring(0,pos);
  }
}	
/********************************************************/
