// JavaScript Document

function isIE6() {
	var ua = navigator.userAgent.toLowerCase();
	var iebrowser = (ua.indexOf("msie") > -1 && ua.indexOf("opera") == -1);
	var version = navigator.appVersion.substring(0, navigator.appVersion.indexOf(".")) *1;
	//alert("is IE 7: "+ua.indexOf("msie 7"));
	if (version==4 && ua.indexOf("msie 6") > -1) {
		return true;
	} else {
		return false;
	}
}

function showDiv(elem) {
		//alert(elem);
		elem = elem.toLowerCase();
		flashDiv = document.getElementById("flashcontent");
		with(flashDiv) {
			style.visibility = "hidden";
			style.height = "1px";
			if(isIE6()) {
				style.overflow = "hidden";
			}
			
		}
		if(elem == "faq") {
			document.getElementById("faq").style.display = "block";
			
			/*var questions = document.getElementById("faq_quest").getElementsByTagName("a");
			for(var i=0;i<questions.length;i++) {
				questions[i].onclick = 	openAnswer;
			}*/
			
		} else {
			document.getElementById("contact").style.display = "block";
		}
}

function hideDiv(elem) {
	//if(isIE6()) {
		flashDiv.style.height = "320px"
		flashDiv.style.visibility = "visible"
		//flashDiv.style.overflow = "visible";
	/*} else {
		document.getElementById("flashcontent").removeAttribute("style");	
	}*/
	
	if(elem == "faq") {
		//document.getElementById("faq").removeAttribute("style");
		document.getElementById("faq").style.display = "none";
		
	} else {
		//document.getElementById("contact").removeAttribute("style");
		document.getElementById("contact").style.display = "none";
	}
}

function openAnswer(target) {
	popup = window.open("popup.html", "FAQ", "width=480, height=300, top=200, left=100, resizable=yes, scrollbars=yes");
	answer = target;
}

function showAnswer(num,popup) {
	var answerElem = popup.document.getElementById("answer_window");
	if(answerElem.hasChildNodes()) {
		var childs = answerElem.getElementsByTagName("p");
		for(var i=0;i<childs.length;i++) {
			answerElem.removeChild(childs[i]);
		}
	}
	
	var answerArr = new Array();
	
	if(opener.lang == "de") {
		answerArr[0] = "Eine einzige sehr starke Marke ist besser als zwei gute Marken. Vereint in einer Marke entsteht mehr Marketing-Power und positive Synergien k&ouml;nnen gen&uuml;tzt werden.<br/>F&uumlr den Fachhandel ist es einfacher, eine Marke einzukaufen, zu pflegen, zu bewerben als zwei. Er kann damit Geld sparen und es macht seinen Sortimentsaufbau einfacher.";
		answerArr[1] = "Die Positionierung lautet, wie bei allem von Mammut: \"Absolute Alpine\". Mammut verfolgt das Ziel qualitativ hochstehende und funktionelle Ausr&uuml;stung f&uuml;r Alpinisten &amp; Outdoor-Fans zu kreieren.";
		answerArr[2] = "Mammut will sich als Komplettanbieter auf h&ouml;chstem Niveau positionieren und die Hartwarenkompetenz mit den Schuhen weiter ausbauen.<br/>Gemeinsam als ein starker Brand ist es einfacher ein bekannter globaler Brand zu sein.";
		answerArr[3] = "Die Schuhkompetenz von Mammut basiert auf der 100 j&auml;hrigen Erfahrung der Marke Raichle. W&auml;hrend dem letzten Jahrhundert stellte Raichle Berg- und Wanderschuhe her und ist damit bis heute sehr erfolgreich. Seit 6 Jahren ist die Marke Raichle in Besitz der Mammut Sports Group AG. Die kompetente und erfahrene Mannschaft von Raichle ist aber geblieben und wurde durch neue zus&auml;tzliche Mitarbeiter verst&auml;rkt.";
		answerArr[4] = "Die Marke Raichle wird als Kompetenz-Label weitergef&uuml;hrt und weiterhin innen im Schuh, auf dem Hangtag, im Schuh-Karton und im Web erw&auml;hnt. Raichle Technology soll dem Konsumenten aufzeigen, dass im Schuh 100 Jahre Tradition und Schuhmacher-Know-how steckt.";
		answerArr[5] = "Das Jubil&auml;um wird gemeinsam mit der Lancierung der Mammut Footwear Linie an der OutDoor gefeiert.<br/><br/>Wichtige Meilensteine der 100 j&auml;hrigen Raichle Geschichte sind:<br/>- 1909 Firmengr&uuml;ndung durch Louis Raichle in Kreuzlingen,CH<br/>- 1924 erster Wanderschuh wird produziert<br/>- 1968 Schalen-Skischuh \"Fiber-Jet\" wird lanciert<br/>- 1986 Snowboard Hardboot wird lanciert<br/>- 2001 Er&ouml;ffnung des Technologiezentrum Frauenfeld mit Fokussierung auf \"Outdoor  Footwear\"<br/>- 2003 &uuml;bernahme durch die Mammut Sports Group AG - Raichle is back in Switzerland";
		answerArr[6] = "Details zu den Kontaktpersonen/Ausdienstmitarbeitern finden Sie in der Rubrik Kontakte. Ihr zust&auml;ndiger Aussendienstmitarbeiter wird Sie in K&uuml;rze kontaktieren.";
		answerArr[7] = "Wir wollen den Schritt ebenfalls dazu benutzen, eine punktuelle, gezielte Bereinigung unserer Kunden-Strukturen durchzuf&uuml;hren. Wir wollen noch mehr darauf achten, dass unsere Kunden zufrieden und gl&uuml;cklich mit den Schuhen sind.";
		answerArr[8] = "Der Schufachhandel ist weiterhin ein wichtiger Eckpfeiler in der Handelsstruktur von Mammut Footwear.";
		answerArr[9] = "60% der Kollektion sind komplett &uuml;berarbeitet.<br/>40% der kollektion bleiben praktisch unver&auml;ndert - mit erfolgreichen Modellen, die z.T. leicht &uuml;berarbeitet in der Kollektion bestehen bleiben<br/>Highlights sind:<br/>- aus dem Kompetenzfeld \"Mountaineering\", einer der leichtesten Bergschuhe - <strong>Mamook GTX</strong><br/>- aus dem Segment \"Multifunction\" das Highlight-Thema \"<strong>Urban Climbing</strong>\".";
		answerArr[10] = "Weil die Kollektion qualitativ, funktionell und visuell ausgereift, von Athleten getestet und im Handel bew&auml;hrt ist.<br/>Zus&auml;tzlich hat die Marke Mammut ein sehr hohes Brand-Image, besitzt eine sehr effiziente Vertriebspower, betreibt &uuml;berdurchschnittlich hohe Marketingausgaben und kommuniziert dies mit grosser Kommunikationspower auch gegen&uuml;ber dem Konsumenten entsprechend stark. Im Jahr 2009 wird das Thema Mammut Footwear DAS Kommunikations-Thema sein!";
		answerArr[11] = "Die Verbindung entsteht &uuml;ber die Urban Climbing Line, welche von der Designsprache der Sohle und dem Schaft an die Kletterschuhe angelehnt ist. Da es sich um das gleiche Entwicklungsteam handelt, ist ein Know-How Transfer auf hohem Niveau gew&auml;hrleistet.";
		answerArr[12] = "Die Mammut Designsprache wird &uuml;ber alle Bereiche hinweg <strong>einheitlich</strong> gestaltet.";
		answerArr[13] = "Die Information ist weltweit zeitgleich (6 Wochen vor der OutDoor-Messe) lanciert worden. Damit ist zum einen gen&uuml;gend Zeit zur Vorbereitung auf diesen Schritt f&uuml;r Sommer 2009 vorhanden und zum anderen wird der Verkauf an die Konsumenten f&uuml;r die Saison Sommer 2008 und Winter 08/09 nicht gest&ouml;rt.";
		answerArr[14] = "Verkaufsstart an die Konsumenten ist ab Februar 2009";
		answerArr[15] = "Die Wintersaison 08/09 bis Ende Januar 2009 l&auml;uft noch unter Raichle, wobei einige Bestseller ab Herbst 2008 rollierend zu Mammut umgestellt werden.";
		answerArr[16] = "Die Saisonbestellung wird normal ausgeliefert. Die Marke Raichle wird beim Konsumenten bis Ende Wintersaison 08/09 (Februar 09) beworben.";
		answerArr[17] = "Die Lancierung wird von uns zum einen durch POS-Material f&uuml;r die Verkaufsfl&auml;chen und zum anderen mit massiver Konsumentenwerbung ab Februar 09 unterst&uuml;tzt.";
		answerArr[18] = "Die Marketingmassnahmen werden mit Einf&uuml;hrungsangeboten unterst&uuml;tzt.";
		
	} else if(opener.lang == "en") {
		answerArr[0] = "A single very strong brand is better than two good brands. United in one brand, more marketing power is created and positive synergies can be used.<br/>It is easier for retailers to buy, maintain and promote one brand than two. They can thus save money and it makes product range structuring simpler. ";
		answerArr[1] = "As with everything from Mammut, the positioning is: \"Absolute Alpine\". Mammut pursues the aim of creating qualitatively superior and functional equipment for alpinists & outdoor fans.";
		answerArr[2] = "Mammut wants to position itself as a premium full liner and further extend its hardware expertise with boots.<br/>Jointly as a strong brand, it is easier to become a well-known global brand. ";
		answerArr[3] = "Mammut's boot expertise is based on the 100 years of experience of the Raichle brand. Raichle has been manufacturing mountain and walking boots for the last century and is still doing so with great success today. The Raichle brand has been in the possession of the Mammut Sports Group AG for six years now. The competent, experienced Raichle team has however remained and been reinforced with additional new staff. ";
		answerArr[4] = "The Raichle brand will continue to feature as an expertise label and will continue to be mentioned inside the shoe, on the tag, in the shoe box and on the Web. Raichle technology is intended to demonstrate to consumers that the boots are the product of a century of tradition and shoemaking know-how.";
		answerArr[5] = "The Jubilee will be jointly celebrated with the launch of the Mammut Footwear Line at the OutDoor.<br/><br/>Major milestones in Raichle's 100 year history include:<br/>- 1909 company foundation by Louis Raichle in Kreuzlingen,CH<br/>- 1924 first walking boot is produced<br/>- 1968 \"Fiber-Jet\" shell-type ski boot is launched<br/>- 986 Snowboard Hardboot is launched<br/>- 2001 opening of the Frauenfed Technology Centre focusing on \"Outdoor Footwear\"<br/>- 2003 Takeover by the Mammut Sports Group AG - Raichle is back in Switzerland";
		answerArr[6] = "Details of contact persons/field force staff can be found in the Contacts section. The field force representative responsible for you will be in touch shortly.";
		answerArr[7] = "We also wish to use this step to conduct a selective, targeted adjustment of our dealer structures. We wish to focus more on assuring that our dealers are satisfied and happy with the boots. ";
		answerArr[8] = "The retail shoe trade will continue to be an important cornerstone in the Mammut Footwear trading structure.";
		answerArr[9] = "60% of the collection has been completely revamped.<br/>40% of the collection has remained practically unchanged - with successful models, some of which with slight reworking, remaining in the collection.<br/>Highlights include:<br/>- from the \"Mountaineering\" competence sector, one of the lightest climbing boots - <strong>Mamook GTX</strong><br/>- from the \"Multifunction\" sector the highlight theme \"<strong>Urban Climbing</strong>\". ";
		answerArr[10] = "Because the collection offers perfected quality, function and looks, has been tested by athletes and has a proven track record in the trade.<br/>The Mammut brand also has an extremely high brand image, very efficient sales power, an above-average marketing spend conveyed by high communication power, that is also correspondingly effective also with regard to consumers. In 2009, Mammut Footwear is going to be THE communication theme!";
		answerArr[11] = "A link is established via the Urban Climbing Line, which is akin to the climbing boot in the design idiom of the sole and shaft. As the development team is the same, a high level of know-how transfer is assured.";
		answerArr[12] = "The Mammut design idiom will be uniformly implemented throughout all sectors.";
		answerArr[13] = "The information was issued at the same time (6 weeks before the OutDoor Exhibition) all over the world. It thus allows enough time to prepare for this step for summer 2009 while, on the other hand, sales to consumers for the summer season 2008 and winter 08/09 will not be affected.";
		answerArr[14] = "The consumer sales start is scheduled from February 2009 onwards.";
		answerArr[15] = "The winter season 08/09 to the end of January 2009 will still run under the name Raichle, with, from Autumn 2008 onwards some bestsellers being rolled into conversion to Mammut.";
		answerArr[16] = "The season order will be supplied as usual. The Raichle brand will be advertised to consumers up to the end of the winter season 08/09 (February 09).";
		answerArr[17] = "The launch will be supported by us in the form of POS material for stores on the one hand and, on the other, a massive consumer advertising campaign from February 09 onwards.";
		answerArr[18] = "The marketing campaign will be supported by introductory offers.";
		
	} else if(opener.lang == "fr") {
		answerArr[0] = "Une marque tr&egrave;s forte unique est mieux que deux bonnes marques. Une seule marque permet plus de puissance marketing et les synergies positives qui en d&eacute;coulent peuvent &ecirc;tre exploit&eacute;es. Pour le commerce sp&eacute;cialis&eacute;, il est plus simple de soigner une marque et d'en faire la publicit&eacute; que d'avoir deux marques &agrave; g&eacute;rer. Cela permet d'&eacute;conomiser de l'argent et de simplifier l'assortiment des magasins.";
		answerArr[1] = "Comme pour tout ce qui est de Mammut, le positionnement suit la devise suivante: \"Absolute Alpine\". Mammut a pour objectif de cr&eacute;er des &eacute;quipements fonctionnels et de grande qualit&eacute; pour les alpinistes et les amateurs d'activit&eacute;s en plein air. ";
		answerArr[2] = "En tant que fournisseur complet, Mammut entend se hisser au plus haut niveau et renforcer sa comp&eacute;tence en mati&egrave;re de chaussures. Il est plus facile d'&ecirc;tre une marque connue sur le plan international en &eacute;tant une marque forte.";
		answerArr[3] = "La comp&eacute;tence de Mammut en mati&egrave;re de chaussures repose sur l'exp&eacute;rience d'un si&egrave;cle de la marque Raichle. Durant les 100 derni&egrave;res ann&eacute;es, Raichle a fabriqu&eacute; des chaussures de montagne et de randonn&eacute;e et conna&icirc;t toujours un grand succ&egrave;s. Depuis 6 ans, la marque Raichle appartient &agrave; Mammut Sports Group AG. L'&eacute;quipe comp&eacute;tente et exp&eacute;riment&eacute;e de Raichle est toutefois toujours la m&ecirc;me et a &eacute;t&eacute; renforc&eacute;e par des collaborateurs suppl&eacute;mentaires.";
		answerArr[4] = "La marque Raichle continuera &agrave; &ecirc;tre g&eacute;r&eacute;e en tant que label de comp&eacute;tence et sera mentionn&eacute;e &agrave; l'int&eacute;rieur des chaussures, sur l'&eacute;tiquette, sur le carton des chaussures et sur le Web. La technologie Raichle doit montrer aux consommateurs que dans les chaussures se cachent 100 ann&eacute;es de tradition et de savoir-faire en mati&egrave;re de chaussures.";
		answerArr[5] = "L'anniversaire sera f&ecirc;t&eacute; en m&ecirc;me temps que le lancement de la ligne Mammut Footwear<br/>Etapes importantes de l'histoire de Raichle:<br/>- 1909 Fondation de l'entreprise par Louis Raichle &agrave; Kreuzlingen, CH<br/>- 1924 Production de la premi&egrave;re chaussure de randonn&eacute;e<br/>- 1968 La chaussure de ski \"Fiber-Jet\" est lanc&eacute;e<br/>- 1986 La Snowboard Hardboot est lanc&eacute;e<br/>- 2001 Inauguration du centre de technologie de Frauenfeld, avec focalisation sur \"Outdoor  Footwear\"<br/>- 2003 Reprise par Mammut Sports Group AG - Raichle est de retour en Suisse";
		answerArr[6] = "Vous trouverez des d&eacute;tails sur les personnes de contact/collaborateurs du service ext&eacute;rieur dans la rubrique \"contacts\". Votre collaborateur du service ext&eacute;rieur attitr&eacute; vous contactera bient&ocirc;t. ";
		answerArr[7] = "Nous voulons &eacute;galement profiter de l'occasion pour effectuer un &eacute;purage ponctuel et cibl&eacute; de nos structures de client&egrave;le. Nous voulons encore plus veiller &agrave; ce que nos clients soient satisfaits de leurs chaussures.";
		answerArr[8] = "Le commerce sp&eacute;cialis&eacute; des chaussures est toujours un &eacute;l&eacute;ment important de la structure commerciale de Mammut Footwear.";
		answerArr[9] = "60% de la collection ont &eacute;t&eacute; compl&egrave;tement retravaill&eacute;s.<br/>40% de la collection restent quasiment inchang&eacute;s - avec les mod&egrave;les appr&eacute;ci&eacute;s qui ont &eacute;t&eacute; en partie l&eacute;g&egrave;rement remani&eacute;s et qui restent dans la collection.<br/>Les produits phares:<br/>- dans le domaine de comp&eacute;tence \"Mountaineering\", avec la chaussure de montagne la plus l&eacute;g&egrave;re - <strong>Mamook GTX</strong><br/>- dans le segment \"Multifunction\" le th&egrave;me phare \"<strong>Urban Climbing</strong>\". ";
		answerArr[10] = "Parce que la collection est de qualit&eacute;, fonctionnelle et belle et parce qu'elle a &eacute;t&eacute; test&eacute;e par des athl&egrave;tes et a fait ses preuves dans le commerce. Par ailleurs, la marque Mammut jouit d'une forte image de marque, a un potentiel de commercialisation puissant, poursuit des objectifs de marketing au-dessus de la moyenne et a une forte capacit&eacute; de communication &eacute;galement envers les consommateurs. En 2009, Mammut Footwear sera LE th&egrave;me de communication!";
		answerArr[11] = "Le lien est fait par le biais de la Urban Climbing Line qui s'appuie sur les chaussures d'escalade pour le design de la semelle et de la tige. Comme il s'agit de la m&ecirc;me &eacute;quipe de concepteurs, un transfert de savoir-faire au niveau &eacute;lev&eacute; est assur&eacute;. ";
		answerArr[12] = "Le design Mammut est con&ccedil;u de mani&egrave;re uniforme pour tous les domaines.";
		answerArr[13] = "L'information a &eacute;t&eacute; diffus&eacute;e en m&ecirc;me temps dans le monde (6 semaines avant la foire OutDoor). Ainsi, on a suffisamment de temps pour la pr&eacute;paration de cette &eacute;tape pour l'&eacute;t&eacute; 2009 et par ailleurs, la vente aux consommateurs de la saison &eacute;t&eacute; 2008 et hiver 08/09 n'est pas perturb&eacute;e. ";
		answerArr[14] = "La vente aux consommateurs commencera &agrave; partir de f&eacute;vrier 2009.";
		answerArr[15] = "La saison d'hiver 08/09 jusqu'&agrave; fin janvier 2009 se fera encore sous le nom de marque Raichle. Certains produits se vendant bien seront toutefois remplac&eacute;s petit &agrave; petit par Mammut &agrave; partir d'automne 2008.";
		answerArr[16] = "Les commandes se d&eacute;rouleront normalement. La marque Raichle sera vant&eacute;e aux consommateurs jusqu'&agrave; la fin de la saison d'hiver 08/09 (f&eacute;vrier 09).";
		answerArr[17] = "Le lancement sera soutenu par nous-m&ecirc;mes via le mat&eacute;riel POS aux surfaces de vente et &eacute;galement, &agrave; partir de f&eacute;vrier 09, par de la publicit&eacute; massive destin&eacute;e aux consommateurs.";
		answerArr[18] = "Les mesures de marketing seront soutenues par des offres de lancement.";
	}
	
	
	
	
	if(answerElem.hasChildNodes()) {
		var elemsDel = answerElem.getElementsByTagName("p");
		for(var i=0;i<elemsDel.length;i++) {
			answerElem.removeChild(elemsDel[i]);
		}
	}
	answerElem.style.display = "block";
	
	var pElem = document.createElement("p");
	var pElem2 = document.createElement("p");
	pElem.innerHTML = answerArr[num];
	
	//close btn
	var linkElem = document.createElement("a");
	linkElem.setAttribute("href","#");
	linkElem.setAttribute("alt","Fenster schliessen");
	if(opener.lang == "de") {
		linkElem.innerHTML = "Schliessen";
	} else if(opener.lang == "en") {
		linkElem.innerHTML = "Close";
	} else if(opener.lang == "fr") {
		linkElem.innerHTML = "Fermer";
	}
	
	pElem2.appendChild(linkElem);
	
	answerElem.appendChild(pElem);
	answerElem.appendChild(pElem2);
	
	linkElem.onclick = function() {
		answerElem.removeChild(pElem);
		answerElem.removeChild(pElem2);
		window.close();
	}
}