﻿

		
function image_map(pr)  {
			if(pr==1)
			{
				document.getElementById("image_maps").innerHTML = "<img src=\"images/image_map1.gif\" width=\"470\" height=\"321\" border=\"0\" alt=\"Vše\" usemap=\"#image_map1_Map\"></a><map name=\"image_map1_Map\"><area shape=\"rect\" alt=\"Příslušenství\" coords=\"351,184,464,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4026\"><area shape=\"rect\" alt=\"Odsávání\" coords=\"231,184,347,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4810\"><area shape=\"rect\" alt=\"Míchání\" coords=\"117,184,227,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4811\"><area shape=\"rect\" alt=\"Sanace\" coords=\"11,184,113,299\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4812\"><area shape=\"rect\" alt=\"Tesařské stroje\" coords=\"351,49,465,180\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4948\"><area shape=\"rect\" alt=\"Řezání\" coords=\"231,49,348,181\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4814\"><area shape=\"rect\" alt=\"Broušení/dělení materiálu\" coords=\"117,49,228,180\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4815\"><area shape=\"rect\" alt=\"Vrtání/šroubování\" coords=\"11,49,114,181\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4813\"><area shape=\"rect\" alt=\"Použití\" coords=\"346,4,411,26\" href=\"#\" onClick=\"image_map(4)\"><area shape=\"rect\" alt=\"Renovace/sanace\" coords=\"220,4,344,26\" href=\"#\" onClick=\"image_map(3)\"><area shape=\"rect\" alt=\"Tesařství/dřevostavba\" coords=\"68,4,218,26\" href=\"#\" onClick=\"image_map(2)\"><area shape=\"rect\" alt=\"Vše\" coords=\"0,4,66,26\" href=\"#\" onClick=\"image_map(1)\"></map>";
			}
			else if (pr==2)
			{
				document.getElementById("image_maps").innerHTML = "<img src=\"images/image_map2.gif\" width=\"470\" height=\"321\" border=\"0\" alt=\"Tesařství/dřevostavba\" usemap=\"#image_map2_Map\"></a><map name=\"image_map2_Map\"><area shape=\"rect\" alt=\"Všechny produkty\" coords=\"351,184,464,298\" href=\"#\" onClick=\"image_map(1)\"><area shape=\"rect\" alt=\"Příslušenství\" coords=\"231,184,347,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4026\"><area shape=\"rect\" alt=\"Vrtací systémy\" coords=\"117,184,227,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4805\"><area shape=\"rect\" alt=\"Tesařské hoblíky\" coords=\"11,184,113,299\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4784\"><area shape=\"rect\" alt=\"Řetězová dlabačka\" coords=\"351,49,465,180\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4890\"><area shape=\"rect\" alt=\"Sedlová frézka\" coords=\"231,49,348,181\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4926\"><area shape=\"rect\" alt=\"Řezání\" coords=\"117,49,228,180\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4814\"><area shape=\"rect\" alt=\"Vrtání\" coords=\"11,49,114,181\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4041\"><area shape=\"rect\" alt=\"Použití\" coords=\"346,4,411,26\" href=\"#\" onClick=\"image_map(4)\"><area shape=\"rect\" alt=\"Renovace/sanace\" coords=\"220,4,344,26\" href=\"#\" onClick=\"image_map(3)\"><area shape=\"rect\" alt=\"Tesařství/dřevostavba\" coords=\"68,4,218,26\" href=\"#\" onClick=\"image_map(2)\"><area shape=\"rect\" alt=\"Vše\" coords=\"0,4,66,26\" href=\"#\" onClick=\"image_map(1)\"></map>";

			}
			else if (pr==3)
			{
				document.getElementById("image_maps").innerHTML = "<img src=\"images/image_map3.gif\" width=\"470\" height=\"321\" border=\"0\" alt=\"Renovace/sanace\" usemap=\"#image_map3_Map\"></a><map name=\"image_map3_Map\"><area shape=\"rect\" alt=\"Všechny produkty\" coords=\"351,184,464,298\" href=\"#\" onClick=\"image_map(1)\"><area shape=\"rect\" alt=\"Příslušenství\" coords=\"231,184,347,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4026\"><area shape=\"rect\" alt=\"Kombinovaná kladiva\" coords=\"117,184,227,298\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4806\"><area shape=\"rect\" alt=\"Úhlové brusky\" coords=\"11,184,113,299\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4032\"><area shape=\"rect\" alt=\"Vysavače\" coords=\"351,49,465,180\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4810\"><area shape=\"rect\" alt=\"Míchadla\" coords=\"231,49,348,181\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4781\"><area shape=\"rect\" alt=\"Sanační frézky\" coords=\"117,49,228,180\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4812\"><area shape=\"rect\" alt=\"Sanační bruska\" coords=\"11,49,114,181\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4921\"><area shape=\"rect\" alt=\"Použití\" coords=\"346,4,411,26\" href=\"#\" onClick=\"image_map(4)\"><area shape=\"rect\" alt=\"Renovace/sanace\" coords=\"220,4,344,26\" href=\"#\" onClick=\"image_map(3)\"><area shape=\"rect\" alt=\"Tesařství/dřevostavba\" coords=\"68,4,218,26\" href=\"#\" onClick=\"image_map(2)\"><area shape=\"rect\" alt=\"Vše\" coords=\"0,4,66,26\" href=\"#\" onClick=\"image_map(1)\"></map>";

			}
			else if (pr==4)
			{
				document.getElementById("image_maps").innerHTML = "<table id=\"Tabelle_01\" width=\"471\" height=\"322\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td colspan=\"12\"><img src=\"/images/protool_haus/protool_haus_01.gif\" alt=\"\" width=\"470\" height=\"52\" border=\"0\" usemap=\"#Map6\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"52\" alt=\"\"></td></tr><tr><td rowspan=\"8\"><img src=\"/images/protool_haus/protool_haus_02.gif\" width=\"60\" height=\"269\" alt=\"\"></td><td colspan=\"2\"><img src=\"/images/protool_haus/protool_haus_03.jpg\" width=\"75\" height=\"63\" alt=\"\"></td><td colspan=\"2\"><img src=\"/images/protool_haus/protool_haus_04.gif\" alt=\"\" width=\"44\" height=\"63\" border=\"0\" usemap=\"#Map2\"></td><td colspan=\"6\"><img src=\"/images/protool_haus/protool_haus_05.jpg\" width=\"229\" height=\"63\" alt=\"\"></td><td rowspan=\"8\"><img src=\"/images/protool_haus/protool_haus_06.gif\" width=\"62\" height=\"269\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"63\" alt=\"\"></td></tr><tr><td colspan=\"6\"><img src=\"/images/protool_haus/protool_haus_07.jpg\" width=\"192\" height=\"93\" alt=\"\"></td><td colspan=\"4\"><img src=\"/images/protool_haus/protool_haus_08.jpg\" width=\"156\" height=\"93\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"93\" alt=\"\"></td></tr><tr>	<td colspan=\"8\"><img src=\"/images/protool_haus/protool_haus_09.jpg\" width=\"272\" height=\"22\" alt=\"\"></td><td rowspan=\"3\"><img src=\"/images/protool_haus/protool_haus_10.gif\" alt=\"\" width=\"42\" height=\"65\" border=\"0\" usemap=\"#Map5\"></td><td rowspan=\"6\"><img src=\"/images/protool_haus/protool_haus_11.jpg\" width=\"34\" height=\"113\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"22\" alt=\"\"></td></tr><tr><td colspan=\"3\"><img src=\"/images/protool_haus/protool_haus_12.jpg\" width=\"91\" height=\"16\" alt=\"\"></td><td colspan=\"2\" rowspan=\"3\"><img src=\"/images/protool_haus/protool_haus_13.gif\" alt=\"\" width=\"37\" height=\"66\" border=\"0\" usemap=\"#Map3\"></td><td colspan=\"3\"><img src=\"/images/protool_haus/protool_haus_14.jpg\" width=\"144\" height=\"16\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"16\" alt=\"\"></td></tr><tr><td rowspan=\"3\"><img src=\"/images/protool_haus/protool_haus_15.gif\" alt=\"\" width=\"49\" height=\"60\" border=\"0\" usemap=\"#Map\"></td>	<td colspan=\"2\" rowspan=\"4\"><img src=\"/images/protool_haus/protool_haus_16.jpg\" width=\"42\" height=\"75\" alt=\"\"></td><td rowspan=\"4\"><img src=\"/images/protool_haus/protool_haus_17.jpg\" width=\"64\" height=\"75\" alt=\"\"></td><td rowspan=\"4\"><img src=\"/images/protool_haus/protool_haus_18.gif\" alt=\"\" width=\"40\" height=\"75\" border=\"0\" usemap=\"#Map4\"></td><td rowspan=\"4\"><img src=\"/images/protool_haus/protool_haus_19.jpg\" width=\"40\" height=\"75\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"27\" alt=\"\"></td></tr><tr><td rowspan=\"3\"><img src=\"/images/protool_haus/protool_haus_20.jpg\" width=\"42\" height=\"48\" alt=\"\"></td>	<td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"23\" alt=\"\"></td></tr><tr><td colspan=\"2\" rowspan=\"2\"><img src=\"/images/protool_haus/protool_haus_21.jpg\" width=\"37\" height=\"25\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"10\" alt=\"\"></td>	</tr><tr><td><img src=\"/images/protool_haus/protool_haus_22.jpg\" width=\"49\" height=\"15\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"1\" height=\"15\" alt=\"\"></td></tr><tr><td><img src=\"/images/protool_haus/spacer.gif\" width=\"60\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"49\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"26\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"16\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"28\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"9\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"64\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"40\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"40\" height=\"1\" alt=\"\"></td><td>	<img src=\"/images/protool_haus/spacer.gif\" width=\"42\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"34\" height=\"1\" alt=\"\"></td><td><img src=\"/images/protool_haus/spacer.gif\" width=\"62\" height=\"1\" alt=\"\"></td><td></td></tr></table><!-- End ImageReady Slices --><map name=\"Map\"><area shape=\"poly\" coords=\"15,54,12,42,11,31,12,21,10,11,18,8,26,3,34,3,33,11,37,18,39,33,31,34,24,41,29,54\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4814\" onClick=\"this.blur()\" onMouseOver=\"popLayer(1)\" id=\"Řezání\" alt=\"\" onMouseOut=\"hideLayer()\"></map><map name=\"Map2\"><area shape=\"poly\" coords=\"26,8,16,13,12,23,11,30,11,41,6,54,13,58,18,46,24,38,37,39,40,31,38,23,30,14\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4813\" onClick=\"this.blur()\" alt=\"\" onMouseOver=\"popLayer(0)\" id=\"Bohren/Schrauben\" onMouseOut=\"hideLayer()\"></map><map name=\"Map3\"><area shape=\"poly\" coords=\"8,13,10,28,10,40,5,58,22,59,24,47,23,37,23,23,30,17,29,7,15,8\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4815\" onClick=\"this.blur()\" alt=\"\" onMouseOver=\"popLayer(2)\" id=\"Trennen/Schleifen\" onMouseOut=\"hideLayer()\"></map><map name=\"Map4\"><area shape=\"poly\" coords=\"15,64,13,56,14,46,7,35,18,25,16,12,23,12,32,20,32,33,32,46,31,57,28,66\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4811\" onClick=\"this.blur()\" alt=\"\" onMouseOver=\"popLayer(3)\" id=\"Rühren/Mischen\" onMouseOut=\"hideLayer()\"></map><map name=\"Map5\"><area shape=\"poly\" coords=\"35,53,24,49,24,40,26,34,31,33,36,40,36,49\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4810\" onClick=\"this.blur()\" alt=\"\" onMouseOver=\"popLayer(4)\" onMouseOut=\"hideLayer()\" id=\"Odsávání\"><area shape=\"poly\" coords=\"10,58,15,42,11,28,7,13,14,11,22,8,25,15,27,25,24,40,26,57\" href=\"/mediandoweb/index.cfm?ID_O_TREE_GROUP=4812\" onClick=\"this.blur()\" id=\"Sanace\" alt=\"\" onMouseOver=\"popLayer(5)\" onMouseOut=\"hideLayer()\"></map><map name=\"Map6\"><area shape=\"rect\" alt=\"Použití\" coords=\"346,4,411,26\" href=\"#\" onClick=\"image_map(4)\"><area shape=\"rect\" alt=\"Renovace/sanace\" coords=\"220,4,344,26\" href=\"#\" onClick=\"image_map(3)\"><area shape=\"rect\" alt=\"Tesařství/dřevostavba\" coords=\"68,4,218,26\" href=\"#\" onClick=\"image_map(2)\"><area shape=\"rect\" alt=\"Vše\" coords=\"0,4,66,26\" href=\"#\" onClick=\"image_map(1)\"></map><span id=\"preview\"></span>";

			}
			else
			{
				alert("test nix");
			}	
			 
			
		}

		
		
		<!-- Original:  Patrick Lewis, mod: W. Jansen -->
		<!-- Begin
		
		// :::::::: welcher Browser ? ::::::::
		if (document.layers) {navigator.family = "nn4"}
		if (document.all) {navigator.family = "ie4"}
		if (window.navigator.userAgent.toLowerCase().match("gecko")) {navigator.family = "gecko"}
		
		//  ::::::::  PopUp-Texte (Reihenfolge der Links) ::::::::
		descarray = new Array(
		
		//  ::::::::  Texte f&uuml;r die Info-Box ab hier ::::::::
		//  ::::::::  WICHTIG !!! bis zum Komma: ohne Zeilenumbruch ::::::::
		
		"<table width='250'><TR><TD><b>Výkonné stroje</b> pro každé použití<br></TD></TR><tr><td>Po kliknutí na tuto postavu se dostanete na přehled našich produktů pro vrtání a šroubování:<br><br> - Vrtačky<br> - Příklepové vrtačky<br> - Akumulátorové vrtací šroubováky<br> - Vrtací kladiva<br> - Vrtací systémy<br></td></tr></table>",
		"<table width='200'><TR><TD><b>Pily</b> pro prvotřídní řez<br></TD></TR><tr><td>Po kliknutí na tuto postavu se dostanete na přehled našich pil:<br><br> - Listové pily<br> - Kotoučové pily<br> - Ruční pásová pila<br> - Tesařská řetězová pila<br></td></tr></table>",
		"<table width='200'><TR><TD><b>Vynikající výsledky</b> při broušení a dělení materiálu<br></TD></TR><tr><td>Po kliknutí na tuto postavu se dostanete na přehled našich produktů pro broušení a dělení materiálu:<br><br> - Úhlové brusky<br> - Přímé brusky<br> - Prostřihovač<br> - Nůžky na plech<br></td></tr></table>",
		"<table width='200'><TR><TD><b>Účinné rozmíchání každého materiálu</b><br></TD></TR><tr><td>Po kliknutí na tuto postavu se dostanete na přehled našich produktů pro míchání:<br><br> - Míchadla<br> - Míchací systém ProJet<br> - Míchací centrum<br></td></tr></table>",
		"<table width='200'><TR><TD><b>Silný sací výkon, ochrana zdraví</b> speciálisté pro stavbu<br></TD></TR><tr><td>Po kliknutí na tuto postavu se dostanete na přehled našich produktů pro Vysávání:<br><br> - vysavače<br></td></tr></table>",
		"<table width='200'><TR><TD><b>Perfektní řešení</b> pro sanace a renovace<br></TD></TR><tr><td>Po kliknutí na tuto postavu se dostanete na přehled našich produktů pro sanace a renovace:<br><br> - Sanační brusky<br> - Sanační frézky<br></td></tr></table>"

		
		);
		//  ::::::::  Texte f&uuml;r die Info-Box bis hier ::::::::
		
		
		overdiv="0";
		
		//  :::::::: kreiert Tabelle f&uuml;r die PopUp-Box ::::::::
		function popLayer(a){
		if(!descarray[a]){descarray[a]="<font color=red>Dieses PopUp (Nr"+a+") ist nicht korrekt definiert - Beschreibung fehlt</font>";}
		if (navigator.family == "gecko") {pad="0"; bord="1 bordercolor=black";}
		else {pad="1"; bord="0";}
		desc = "<table cellspacing=0 cellpadding="+pad+" border="+bord+"  bgcolor=#000000><tr><td>\n"
				+"<table cellspacing=0 cellpadding=10 border=0 width=100%><tr><td bgcolor=#FFFFFF><center><font size=-1>\n"        
			 +descarray[a]
				+"\n</td></tr></table>\n"
				+"</td></tr></table>";
		if(navigator.family =="nn4") {
				document.object1.document.write(desc);
				document.object1.document.close();
				document.object1.left=x+40;
				document.object1.top=y-125;
				}
		else if(navigator.family =="ie4"){
				object1.innerHTML=desc;
				object1.style.pixelLeft=x+40;
				object1.style.pixelTop=y-125;
				}
		else if(navigator.family =="gecko"){
				document.getElementById("object1").innerHTML=desc;
				document.getElementById("object1").style.left=x+40;
				document.getElementById("object1").style.top=y-125;
				}
		}
		//  :::::::: versteckt die PopUp-Box ::::::::
		function hideLayer(){
		if (overdiv == "0") {
				if(navigator.family =="nn4") {eval(document.object1.top="-500");}
				else if(navigator.family =="ie4"){object1.innerHTML="";}
				else if(navigator.family =="gecko") {document.getElementById("object1").style.top="-500";}
				}
		}
		
		//  :::::::: &uuml;berwacht Maus-Position / plaziert die Box dementsprechend ::::::::
		var isNav = (navigator.appName.indexOf("Netscape") !=-1);
		function handlerMM(e){
		x = (isNav) ? e.pageX : event.clientX + document.body.scrollLeft;
		y = (isNav) ? e.pageY : event.clientY + document.body.scrollTop;
		}
		if (isNav){document.captureEvents(Event.MOUSEMOVE);}
		document.onmousemove = handlerMM;
		//  End -->
		
