﻿	var cssaktiv = "";
	var css_subaktiv = "";
	var b = 0;
	var headline = "";
	var content = "";
	var leer = new Image();
	leer.src = "fileadmin/Dokumente_SPC/leistungsportfolio/leer_dummy.jpg";     /* erste Standard-Grafik */
	var identitaet = new Image();
	identitaet.src = "fileadmin/Dokumente_SPC/leistungsportfolio/identitaet.jpg"; 
	var strategie = new Image();
	strategie.src = "fileadmin/Dokumente_SPC/leistungsportfolio/strategie.jpg"; 
	var positionierung = new Image();
	positionierung.src = "fileadmin/Dokumente_SPC/leistungsportfolio/positionierung.jpg"; 
	var verankerung = new Image();
	verankerung.src = "fileadmin/Dokumente_SPC/leistungsportfolio/verankerung.jpg"; 	
	var auftritt = new Image();
	auftritt.src = "fileadmin/Dokumente_SPC/leistungsportfolio/auftritt.jpg"; 		
	var markenarchitektur = new Image();
	markenarchitektur.src = "fileadmin/Dokumente_SPC/leistungsportfolio/markenarchitektur.jpg"; 			
	var verkaufsfoerderung = new Image();
	verkaufsfoerderung.src = "fileadmin/Dokumente_SPC/leistungsportfolio/verkaufsfoerderung.jpg"; 			
	var werbung = new Image();
	werbung.src = "fileadmin/Dokumente_SPC/leistungsportfolio/werbung.jpg"; 				
	var kommunikation = new Image();
	kommunikation.src = "fileadmin/Dokumente_SPC/leistungsportfolio/kommunikation.jpg";

	function hg_rosa(cssid)
	{
		if(document.getElementById(cssid))
		{
			document.getElementById(cssid).style.backgroundColor = '#670001';
			document.getElementById(cssid).style.color = '#ffffff';
		}
	}

	function hg_rosa_weg(cssid)
	{
		if (cssid != cssaktiv && document.getElementById(cssid))
		{
			document.getElementById(cssid).style.backgroundColor = '';
			document.getElementById(cssid).style.color = '#333333';
		}
	}	
	
	function alle_ausblenden()
	{
		document.getElementById("pos_hauptnav_lp1_link").style.backgroundColor = '';
		document.getElementById("pos_hauptnav_lp2_link").style.backgroundColor = '';		
		document.getElementById("pos_hauptnav_lp3_link").style.backgroundColor = '';		
		document.getElementById("pos_hauptnav_lp1_link").style.color = '#333333';
		document.getElementById("pos_hauptnav_lp2_link").style.color = '#333333';		
		document.getElementById("pos_hauptnav_lp3_link").style.color = '#333333';		
//		document.getElementById("lp_hinweistext_rosa").style.visibility = 'hidden';				
		
	}
	
	function subnav_auf_schwarz(b)
	{
		for(z=1; z<=3; z++)
		{
			for(w=1; w<=3; w++)
			{		
				document.getElementById("pos_subnav_"+z+"_link"+w).style.color = '#333333';
				document.getElementById("pos_subnav_"+z+"_link"+w).style.backgroundColor = '';
				//document.getElementById("pos_subnav_"+z+"_link"+w).style.paddingLeft = '18px';
				//var wert = document.getElementById("pos_subnav_"+z+"_link"+w).firstChild.nodeValue;
				//wert = wert.replace(/ > /, "");
				//document.getElementById("pos_subnav_"+z+"_link"+w).firstChild.nodeValue = wert;								
			}
		}
			
		for(i=1; i<=3; i++)
		{
			document.getElementById("pos_subnav_"+b+"_link"+i).style.color = '#333333';
			document.getElementById("pos_subnav_"+b+"_link"+i).style.backgroundColor = '';
		}
	}

	function aktiv_setzen(cssid)
	{
		css_subaktiv = "";
		alle_ausblenden();
		switch (cssid)		
		{		
			case 'pos_hauptnav_lp1_link':
//				headline = "Sales promotion & sales";
				content = "We implement integrated campaigns systematically with a view to increasing brand awareness and sales performance. We coordinate all measures in a media-friendly manner to ensure efficient dialogue and bring the brand added value to life for the client. The development of business concepts and the training and integration of marketing staff ensures involvement, motivation and loyalty, while the introduction of offline and online marketing tools creates valuable leads with a high conversion rate and demonstrable sales increases. This can involve sharing corporate responsibility, through to performance-based remuneration systems.";
				bildwechsel(leer);
				subnav_auf_schwarz(1);
				break;
			case 'pos_hauptnav_lp2_link':
//				headline = "Gestalt & communication";
				content = "We develop campaigns which attract attention, stimulate demand and facilitate sales. We orchestrate these campaigns through a range of media and adapt them to the relevant contact situation. We devise corporate design systems and anchor them in companies. Our know-how in terms of data and process management ensures efficient support in every phase through appropriate product and sales literature.";				
				bildwechsel(leer);				
				subnav_auf_schwarz(2);
				break;				
			case 'pos_hauptnav_lp3_link':
//				headline = "Identity & strategy";	
				content = "We advise companies on corporate identity, branding strategy and brand and market positioning. We devise corporate design systems and anchor them in companies. We develop communication concepts, creative and sales promotion campaigns, coordinate media in the interests of efficient dialogue and bring the brand added value to life for the client. By training marketing staff, developing business concepts and introducing offline and online marketing tools, we ensure higher sales and a high conversion rate. This can involve sharing corporate responsibility, through to performance-based remuneration systems.";						
				bildwechsel(leer);				
				subnav_auf_schwarz(3);		
				break;				
		}
	    document.getElementById("lp_strichheadline1").firstChild.nodeValue = headline;
		document.getElementById("lp_strichtext1").firstChild.nodeValue = content;				
		document.getElementById(cssid).style.backgroundColor = '#670001';		
		document.getElementById(cssid).style.color = '#ffffff';

		document.getElementById("lp_strichheadline2").firstChild.nodeValue = "";
		document.getElementById("lp_text2").firstChild.nodeValue = "";						
			
		cssaktiv = cssid;
	}		
	
	function subnav_aktivsetzen(css_sub_id ,cssid)
	{
		aktiv_setzen(cssid);
		document.getElementById(css_sub_id).style.backgroundColor = '#670001';
		document.getElementById(css_sub_id).style.color = '#ffffff';
		//document.getElementById(css_sub_id).style.paddingLeft = '6px';
		//document.getElementById(css_sub_id).firstChild.nodeValue = " > "+document.getElementById(css_sub_id).firstChild.nodeValue;		
		
		switch(css_sub_id)
		{
			case 'pos_subnav_3_link3': // Identität
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Wer ist die Marke?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Am Anfang steht eine gründliche Recherche und Analyse zur Marke bzw. zum Unternehmen. Die Themen: Geschichte, Produkte, Auftritt, Unternehmenskultur, Zielgruppen, Position im Markt, Wettbewerb, Trends etc. Die wichtigsten Methoden: Interviews, Desk Research und Workshops.";				
				bildwechsel(identitaet);
				break;
			case 'pos_subnav_3_link2': // Positionierung
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Was unterscheidet eine Marke von anderen?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Aus der Bewertung der gewonnenen Informationen wird eine Positionierung erarbeitet: Sie umfasst die Bestimmung von Markenkern und Markenwerten, die Verortung eines Unternehmens, seiner Produkte und Dienstleistungen im Markt und in den Köpfen der Menschen, die Differenzierung vom Wettbewerb und die Definition von Zielen. Ableitbar sind Corporate Mission sowie die Verdichtung zu einem Claim, der in Richtung Markt zielt und ins Unternehmen hinein wirkt.";				
				bildwechsel(positionierung);
				break;			
			case 'pos_subnav_3_link1': // Strategie
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Was macht eine Marke dauerhaft erfolgreich?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Konsequenz im Handeln als Bewusstsein über das Ziel und den Weg dorthin bilden die Grundlage einer Markenstrategie. Strategien sind wichtig. Noch wichtiger aber ist ihre Verankerung im Unternehmen. Wenn Mitarbeiter zu Markenhütern und Markenbotschaftern werden, beflügelt von der Sinnhaftigkeit ihres Tuns, werden sie erfolgreich sein und das Unternehmen erfolgreicher machen.";				
				bildwechsel(strategie);				
				break;	
				
			case 'pos_subnav_2_link3': // Markenarchitektur
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Mit welchen Marken agieren?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Agiert ein Unternehmen mit mehreren Marken, gilt es, ihre Aufstellung gemäß der Gesamtstrategie zu überprüfen. Dabei geht es um Fragen der Markenstrategie, um die Fokussierung verschiedener Marktsegmente und um Sortimentspolitik.";				
				bildwechsel(markenarchitektur);				
				break;
			case 'pos_subnav_2_link2': // Auftritt
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Wie tritt eine Marke auf?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Die Frage umfasst mehr als das visuelle Erscheinungsbild. Der gesamte Look & Feel einer Marke wird stringent gestaltet: Corporate Design, Corporate Tonality, Corporate Behaviour, Architektur, Service u. v. m. Idealerweise sind rationale und emotionale Elemente harmonisch ausgewogen. Unsere Philosophie: Gestaltsysteme ergeben sich logisch und natürlich aus dem Wesen einer Marke und unterstützen sie in der kreativen Marktbearbeitung.";				
				bildwechsel(auftritt);				
				break;			
			case 'pos_subnav_2_link1': // Verankerung
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Wie lässt sich der Auftritt einer Marke dauerhaft absichern?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Der Erfolg eines Auftritts hängt von seiner Akzeptanz und konsequenten Durchsetzung ab. Wir begleiten den gesamten Prozess vom Roll-out über die Dokumentation des Auftritts bis zur Vermittlung an Mitarbeiter und externe Markenhüter. Mit Hilfe unseres „Brand Automation System“ unterstützen wir effizient und ubiquitär die Implementation aller Regeln bis hin zur hoch effizienten Steuerung kompletter Produktionsprozesse.";				
				bildwechsel(verankerung);				
				break;				

			case 'pos_subnav_1_link3': // Kommunikation
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Wie kommuniziert ein Unternehmen nach innen und außen?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Nur informierte Mitarbeiter sind engagierte Mitarbeiter. Deshalb betrachten wir die interne Kommunikation als tragenden Teil der Markenführung. Nach außen sorgen wir mit Geschäftsberichten, Imagekampagnen, Human-Resources-Maßnahmen, Public Relations u. a. für Präsenz und Sympathie der Marke bei unterschiedlichsten Zielgruppen.";				
				bildwechsel(kommunikation);				
				break;
			case 'pos_subnav_1_link2': // Werbung
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Wie macht man eine Marke attraktiv?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Wir entwickeln Kampagnen, die Aufmerksamkeit gewinnen, Begehren wecken und verkaufen. Wir inszenieren diese Kampagnen medienübergreifend und adaptieren sie auf die jeweiligen Kontaktsituationen. Unser Know-how im Management von Daten und Prozessen sorgt für die effiziente Begleitung durch entsprechende Produkt- und Verkaufsliteratur.";				
				bildwechsel(werbung);				
				break;			
			case 'pos_subnav_1_link1': // Verkaufsförderung
//				document.getElementById("lp_strichheadline2").firstChild.nodeValue = "EN: Was macht eine Marke noch erfolgreicher? Wie wird sie unmittelbar erlebbar?";
//				document.getElementById("lp_text2").firstChild.nodeValue = "EN: Neben der klassischen Werbung entwickeln wir Below-the-line-Maßnahmen konsequent im Sinn und Look der Marke: Außendienst-Tools und Schulungen, Direktmarketing-Kampagnen, Aktionen zur Stimulierung des Abverkaufs am Point of Sale, Messe-Auftritte oder Events und Foren.";				
				bildwechsel(verkaufsfoerderung);				
				break;														
		}
		
		css_subaktiv = css_sub_id;
	}
	
	function subnav_over(css_sub_id)
	{
		if (css_subaktiv != css_sub_id)
		{
			document.getElementById(css_sub_id).style.backgroundColor = '#670001';
			document.getElementById(css_sub_id).style.color = '#ffffff';
			//document.getElementById(css_sub_id).style.paddingLeft = '6px';
			//document.getElementById(css_sub_id).firstChild.nodeValue = " > "+document.getElementById(css_sub_id).firstChild.nodeValue;
		}
	}


	function subnav_out(css_sub_id, css_haupt_id)
	{
		if (css_subaktiv != css_sub_id)
		{
			document.getElementById(css_sub_id).style.backgroundColor = '';
			//document.getElementById(css_sub_id).style.paddingLeft = '18px';
			document.getElementById(css_sub_id).style.color = '#333333';
			//var wert = document.getElementById(css_sub_id).firstChild.nodeValue;
			//wert = wert.replace(/ > /, "");
			//document.getElementById(css_sub_id).firstChild.nodeValue = wert;
		}
	}	
	
	
	function bildwechsel(Bildobjekt) 
	{
	  //window.document.images["lp_bilder"].src = Bildobjekt.src;
	}
	
	
	function start_aufruf()
	{
//		alert("start aufruf");		
		if (b == 0)
		{
			hg_rosa('pos_hauptnav_lp1_link');
		}
		if (b == 1)
		{
			hg_rosa('pos_hauptnav_lp2_link');	
			hg_rosa_weg('pos_hauptnav_lp1_link');						
		}
		if (b == 2)
		{
			hg_rosa('pos_hauptnav_lp3_link');	
			hg_rosa_weg('pos_hauptnav_lp2_link');				
		}		
		if (b == 3)
		{
			subnav_over('pos_subnav_1_link1');
			hg_rosa_weg('pos_hauptnav_lp3_link');				
		}				
		if (b == 4)
		{
			subnav_over('pos_subnav_1_link2');
			subnav_out('pos_subnav_1_link1');				
		}					
		if (b == 5)
		{
			subnav_over('pos_subnav_1_link3');
			subnav_out('pos_subnav_1_link2');				
		}				
		if (b == 6)
		{
			subnav_over('pos_subnav_2_link1');
			subnav_out('pos_subnav_1_link3');				
		}				
		if (b == 7)
		{
			subnav_over('pos_subnav_2_link2');
			subnav_out('pos_subnav_2_link1');				
		}		
		if (b == 8)
		{
			subnav_over('pos_subnav_2_link3');
			subnav_out('pos_subnav_2_link2');				
		}				
		if (b == 9)
		{
			subnav_over('pos_subnav_3_link1');
			subnav_out('pos_subnav_2_link3');				
		}					
		if (b == 10)
		{
			subnav_over('pos_subnav_3_link2');
			subnav_out('pos_subnav_3_link1');				
		}				
		if (b == 11)
		{
			subnav_over('pos_subnav_3_link3');
			subnav_out('pos_subnav_3_link2');				
		}		
		if (b == 12)
		{
			subnav_out('pos_subnav_3_link3');				
		}				
		b++;

		if (b == 13)
		{
			
//			alert("löschen");			
			clearInterval(startTimer);
		}
	}
	
	var startTimer = setInterval("start_aufruf()", 300);



