<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://www.fwwiki.org/index.php?action=history&amp;feed=atom&amp;title=CompleteMap1.css</id>
		<title>CompleteMap1.css - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://www.fwwiki.org/index.php?action=history&amp;feed=atom&amp;title=CompleteMap1.css"/>
		<link rel="alternate" type="text/html" href="https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;action=history"/>
		<updated>2026-05-08T16:41:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67209&amp;oldid=prev</id>
		<title>Istrugar: update</title>
		<link rel="alternate" type="text/html" href="https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67209&amp;oldid=prev"/>
				<updated>2017-01-25T11:43:26Z</updated>
		
		<summary type="html">&lt;p&gt;update&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 11:43, 25 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l230&quot; &gt;Line 230:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 230:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; function &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;ort_map_position&lt;/del&gt;(x, y)&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; function &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;place_map_position&lt;/ins&gt;(x, y)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; {&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  // Zumindest FF teilt Textknoten nach 2^12 Zeichen, also alle Kindknoten aneinanderreihen&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  // Zumindest FF teilt Textknoten nach 2^12 Zeichen, also alle Kindknoten aneinanderreihen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key fwwiki_org-fw_mediawiki_:diff:version:1.11a:oldid:67188:newid:67209 --&gt;
&lt;/table&gt;</summary>
		<author><name>Istrugar</name></author>	</entry>

	<entry>
		<id>https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67188&amp;oldid=prev</id>
		<title>Istrugar: update</title>
		<link rel="alternate" type="text/html" href="https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67188&amp;oldid=prev"/>
				<updated>2017-01-24T22:43:59Z</updated>
		
		<summary type="html">&lt;p&gt;update&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 22:43, 24 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot; &gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  show_map_position(crossprefix);&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  show_map_position(crossprefix);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  if (routermode) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;finde_weg&lt;/del&gt;();&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  if (routermode) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;find_way&lt;/ins&gt;();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  oldprefix = prefix;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&amp;#160;  oldprefix = prefix;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key fwwiki_org-fw_mediawiki_:diff:version:1.11a:oldid:67186:newid:67188 --&gt;
&lt;/table&gt;</summary>
		<author><name>Istrugar</name></author>	</entry>

	<entry>
		<id>https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67186&amp;oldid=prev</id>
		<title>Istrugar: update</title>
		<link rel="alternate" type="text/html" href="https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67186&amp;oldid=prev"/>
				<updated>2017-01-24T21:45:17Z</updated>
		
		<summary type="html">&lt;p&gt;update&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;' lang='en'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 21:45, 24 January 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; // Code for the [[CompleteMap]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; // Code for the [[CompleteMap]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; // Include in [[MediaWiki:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Common&lt;/del&gt;.js&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;#CompleteMap&lt;/del&gt;]]&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; // Include in [[MediaWiki:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;CompleteMap&lt;/ins&gt;.js]]&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; var routermode = false, routerloaded = false;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; var routermode = false, routerloaded = false;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; var offsetX, offsetY, prefix = '', oldprefix;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160; var offsetX, offsetY, prefix = '', oldprefix;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key fwwiki_org-fw_mediawiki_:diff:version:1.11a:oldid:67138:newid:67186 --&gt;
&lt;/table&gt;</summary>
		<author><name>Istrugar</name></author>	</entry>

	<entry>
		<id>https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67138&amp;oldid=prev</id>
		<title>Istrugar: Testing script code of MediaWiki:CompleteMap.js - should be implemented and tested</title>
		<link rel="alternate" type="text/html" href="https://www.fwwiki.org/index.php?title=CompleteMap1.css&amp;diff=67138&amp;oldid=prev"/>
				<updated>2017-01-24T14:25:43Z</updated>
		
		<summary type="html">&lt;p&gt;Testing script code of &lt;a href=&quot;/index.php/MediaWiki:CompleteMap.js&quot; title=&quot;MediaWiki:CompleteMap.js&quot;&gt;MediaWiki:CompleteMap.js&lt;/a&gt; - should be implemented and tested&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; // Code for the [[CompleteMap]]&lt;br /&gt;
 // Include in [[MediaWiki:Common.js#CompleteMap]]&amp;lt;nowiki&amp;gt;&lt;br /&gt;
 var routermode = false, routerloaded = false;&lt;br /&gt;
 var offsetX, offsetY, prefix = '', oldprefix;&lt;br /&gt;
 // Metadata-&amp;quot;Cache&amp;quot;&lt;br /&gt;
 var prefixes = Object(), crossmods = Array(), oldcrossmod = Object();&lt;br /&gt;
 var TopLeftXs = Object(), TopLeftYs = Object(), OffsetXs = Object(), OffsetYs = Object();&lt;br /&gt;
 &lt;br /&gt;
 function map_click(event)&lt;br /&gt;
 {&lt;br /&gt;
   if (this.id == 'map_horz' || this.id == 'map_vert') prefix = oldprefix;&lt;br /&gt;
   else if (this.id.substr(0, 8) == 'map_img_') prefix = this.id.substr(8);&lt;br /&gt;
   else prefix = '';&lt;br /&gt;
   offsetX = TopLeftXs[prefix + 'TopLeftX'] - 1;&lt;br /&gt;
   offsetY = TopLeftYs[prefix + 'TopLeftY'] - 1;&lt;br /&gt;
   var crossprefix = (routermode &amp;amp;&amp;amp; document.map_form.map_radio[1].checked ? 'map_dest_' : 'map_');&lt;br /&gt;
 &lt;br /&gt;
   var offX;&lt;br /&gt;
   var offY;&lt;br /&gt;
   if (window.event)			// Internet Explorer, Opera, Konqueror, Safari&lt;br /&gt;
   {&lt;br /&gt;
     offX = window.event.offsetX;&lt;br /&gt;
     offY = window.event.offsetY;&lt;br /&gt;
   } else {&lt;br /&gt;
     offX = event.layerX;&lt;br /&gt;
     offY = event.layerY;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   document.map_form.elements[crossprefix + 'x'].value = Number(this.id == 'map_vert' || this.id == 'map_dest_vert' ? document.map_form.elements[this.id.substr(0, this.id.length - 4) + 'x'].value : Math.floor((offX - 2) / 15) + offsetX + Number(!oldcrossmod[this.id.substr(0, this.id.length - 4)] ? 0 : oldcrossmod[this.id.substr(0, this.id.length - 4)][4]));&lt;br /&gt;
   document.map_form.elements[crossprefix + 'y'].value = Number(this.id == 'map_horz' || this.id == 'map_dest_horz' ? document.map_form.elements[this.id.substr(0, this.id.length - 4) + 'y'].value : Math.floor((offY - 2) / 15) + offsetY + Number(!oldcrossmod[this.id.substr(0, this.id.length - 4)] ? 0 : oldcrossmod[this.id.substr(0, this.id.length - 4)][6]));&lt;br /&gt;
&lt;br /&gt;
   show_map_position(crossprefix);&lt;br /&gt;
   if (routermode) finde_weg();&lt;br /&gt;
   oldprefix = prefix;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function get_coords_position(str, x, y)&lt;br /&gt;
 {&lt;br /&gt;
   // Auxiliary function: determining position of &amp;quot;x,y&amp;quot; in str, so that before and after the result no digit stands.&lt;br /&gt;
   if (str.indexOf(' ' + x + ',' + y + ';') &amp;gt; -1) return str.indexOf(' ' + x + ',' + y + ';') + 1;&lt;br /&gt;
   else if (str.indexOf(' ' + x + ',' + y + '&amp;lt;') &amp;gt; -1) return str.indexOf(' ' + x + ',' + y + '&amp;lt;') + 1;&lt;br /&gt;
   else if (str.indexOf('}' + x + ',' + y + ';') &amp;gt; -1) return str.indexOf('}' + x + ',' + y + ';') + 1;&lt;br /&gt;
   else return str.indexOf('}' + x + ',' + y + '&amp;lt;') + 1;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function show_map_position(crossprefix)&lt;br /&gt;
 {&lt;br /&gt;
   var map_horz = document.getElementById(crossprefix + 'horz');&lt;br /&gt;
   var map_vert = document.getElementById(crossprefix + 'vert');&lt;br /&gt;
 &lt;br /&gt;
   var area = area_map_position(document.map_form.elements[crossprefix + 'x'].value, document.map_form.elements[crossprefix + 'y'].value);&lt;br /&gt;
   if (prefix == '?') {&lt;br /&gt;
     if (document.getElementById('prefix' + area.replace(/\s/g, '_')))&lt;br /&gt;
       prefix = document.getElementById('prefix' + area.replace(/\s/g, '_')).firstChild.nodeValue;&lt;br /&gt;
     else prefix = '';&lt;br /&gt;
     offsetX = TopLeftXs[prefix + 'TopLeftX'] - 1;&lt;br /&gt;
     offsetY = TopLeftYs[prefix + 'TopLeftY'] - 1;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   var map_out_area = document.getElementById('map_out_area');&lt;br /&gt;
   var map_out_place = document.getElementById('map_out_place');&lt;br /&gt;
   if (area != '' || routermode)&lt;br /&gt;
   {&lt;br /&gt;
     map_out_area.firstChild.href = '/index.php/' + area;&lt;br /&gt;
     map_out_area.firstChild.firstChild.nodeValue = area;&lt;br /&gt;
     map_out_area.firstChild.nextSibling.nextSibling.href = '/index.php/Map:' + area;&lt;br /&gt;
     place = place_map_position(document.map_form.elements[crossprefix + 'x'].value, document.map_form.elements[crossprefix + 'y'].value);&lt;br /&gt;
     if (place != '')&lt;br /&gt;
     {&lt;br /&gt;
       map_out_place.firstChild.nextSibling.firstChild.nodeValue = place;&lt;br /&gt;
       map_out_place.firstChild.nextSibling.href = '/index.php/' + place;&lt;br /&gt;
       map_out_place.style.display = 'inline';&lt;br /&gt;
     } else&lt;br /&gt;
       map_out_place.style.display = 'none';&lt;br /&gt;
     map_out_area.style.visibility = 'visible';&lt;br /&gt;
   } else&lt;br /&gt;
     map_out_area.style.visibility = 'hidden';&lt;br /&gt;
   if (area == '' || document.map_form.elements[crossprefix + 'x'].value &amp;lt; 1 || document.map_form.elements[crossprefix + 'y'].value &amp;lt; 1)&lt;br /&gt;
   {&lt;br /&gt;
     map_horz.style.display = 'none';&lt;br /&gt;
     map_vert.style.display = 'none';&lt;br /&gt;
     return false;&lt;br /&gt;
   }&lt;br /&gt;
   var imgOffsetX = Number(OffsetXs[prefix + 'OffsetX']);&lt;br /&gt;
   var imgOffsetY = Number(OffsetYs[prefix + 'OffsetY']);&lt;br /&gt;
   var mod_left = 0, mod_top = 0, mod_width = 0, mod_height = 0;&lt;br /&gt;
   oldcrossmod[crossprefix] = null;&lt;br /&gt;
   for (var i in crossmods) {&lt;br /&gt;
     var mod = crossmods[i].split('|');&lt;br /&gt;
     if (Number(document.map_form.elements[crossprefix + 'x'].value) &amp;gt;= mod[0]&lt;br /&gt;
         &amp;amp;&amp;amp; Number(document.map_form.elements[crossprefix + 'x'].value) &amp;lt;= mod[2]&lt;br /&gt;
         &amp;amp;&amp;amp; Number(document.map_form.elements[crossprefix + 'y'].value) &amp;gt;= mod[1]&lt;br /&gt;
         &amp;amp;&amp;amp; Number(document.map_form.elements[crossprefix + 'y'].value) &amp;lt;= mod[3]) {&lt;br /&gt;
       mod_left   = Number(mod[4]);&lt;br /&gt;
       mod_width  = Number(mod[5]);&lt;br /&gt;
       mod_top    = Number(mod[6]);&lt;br /&gt;
       mod_height = Number(mod[7]);&lt;br /&gt;
       oldcrossmod[crossprefix] = mod;&lt;br /&gt;
       break;&lt;br /&gt;
     }&lt;br /&gt;
   }&lt;br /&gt;
   map_horz.style.left = String((imgOffsetX + mod_left) * 15) + 'px';&lt;br /&gt;
   map_vert.style.top = String((imgOffsetY + mod_top) * 15) + 'px';&lt;br /&gt;
   map_horz.style.width = String((mod_width ? mod_width : (document.getElementById(prefix + 'BottomRightX').firstChild.nodeValue - TopLeftXs[prefix + 'TopLeftX'] + 3)) * 15) + 'px';&lt;br /&gt;
   map_vert.style.height = String((mod_height ? mod_height : (document.getElementById(prefix + 'BottomRightY').firstChild.nodeValue - TopLeftYs[prefix + 'TopLeftY'] + 3)) * 15) + 'px';&lt;br /&gt;
   map_horz.style.top = String((Number(document.map_form.elements[crossprefix + 'y'].value) + imgOffsetY - Number(offsetY)) * 15) + 'px';&lt;br /&gt;
   map_vert.style.left = String((Number(document.map_form.elements[crossprefix + 'x'].value) + imgOffsetX - Number(offsetX)) * 15) + 'px';&lt;br /&gt;
 &lt;br /&gt;
   map_horz.style.display = 'block';&lt;br /&gt;
   map_vert.style.display = 'block';&lt;br /&gt;
 &lt;br /&gt;
   return false;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function press_map_button() {&lt;br /&gt;
   prefix = '?';&lt;br /&gt;
   show_map_position('map_');&lt;br /&gt;
   if (routermode) {&lt;br /&gt;
     prefix = '?';&lt;br /&gt;
     show_map_position('map_dest_');&lt;br /&gt;
     find_way();&lt;br /&gt;
   }&lt;br /&gt;
   return false;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function init_map()&lt;br /&gt;
 {&lt;br /&gt;
   var map_nav = document.getElementById('map_nav');&lt;br /&gt;
   if (map_nav)&lt;br /&gt;
   {&lt;br /&gt;
     map_nav.getElementsByTagName('big')[0].style.display = 'none';&lt;br /&gt;
     var map_form, map_x, map_y, map_submit, map_maplink, map_link_img;&lt;br /&gt;
     map_form = document.createElement('form');&lt;br /&gt;
     map_form.name = 'map_form';&lt;br /&gt;
     map_form.onsubmit = press_map_button;&lt;br /&gt;
     map_nav.insertBefore(map_form, map_nav.firstChild);&lt;br /&gt;
     map_form.appendChild(map_nav.getElementsByTagName('table')[0]);&lt;br /&gt;
 &lt;br /&gt;
     map_x = document.createElement('input');	map_y = document.createElement('input');&lt;br /&gt;
     map_x.type = 'text';			map_y.type = 'text';&lt;br /&gt;
     map_x.id = 'map_x'; 			map_y.id = 'map_y';&lt;br /&gt;
     map_x.size = '3';				map_y.size = '3';&lt;br /&gt;
     map_x.style.textAlign = 'right';		map_y.style.textAlign = 'right';&lt;br /&gt;
 &lt;br /&gt;
     with (document.getElementById('map_start')) {&lt;br /&gt;
       appendChild(document.createTextNode('X: '));&lt;br /&gt;
       appendChild(map_x);&lt;br /&gt;
       appendChild(document.createTextNode(' Y: '));&lt;br /&gt;
       appendChild(map_y);&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
     map_submit = document.createElement('input');&lt;br /&gt;
     map_submit.type = 'submit';&lt;br /&gt;
     map_submit.value = 'OK';&lt;br /&gt;
     document.getElementById('map_button').appendChild(map_submit);&lt;br /&gt;
     &lt;br /&gt;
     map_maplink = document.createElement('a');&lt;br /&gt;
     map_link_img = document.createElement('img');&lt;br /&gt;
     map_link_img.src = 'http://www.fwwiki.org/images/0/03/12px-Earth.png';&lt;br /&gt;
     map_link_img.border = '0';&lt;br /&gt;
     map_maplink.appendChild(map_link_img);&lt;br /&gt;
     document.getElementById('map_out_area').appendChild(map_maplink);&lt;br /&gt;
 &lt;br /&gt;
     n = document.getElementById('map').firstChild;&lt;br /&gt;
     do {&lt;br /&gt;
       if (n.nodeName == 'DIV') n.onclick = map_click;&lt;br /&gt;
     } while (n = n.nextSibling);&lt;br /&gt;
 &lt;br /&gt;
     init_map_metadata(document.getElementById('metadata'));&lt;br /&gt;
 &lt;br /&gt;
     document.getElementById('map_link_normal').firstChild.href = 'javascript:switch_mode(0);';&lt;br /&gt;
     document.getElementById('map_link_normal').style.display = 'inline';&lt;br /&gt;
     document.getElementById('map_link_router').firstChild.href = 'javascript:switch_mode(1);';&lt;br /&gt;
     document.getElementById('map_link_router').style.display = 'inline';&lt;br /&gt;
 &lt;br /&gt;
     document.getElementById('map_dest').firstChild.style.display = 'none';&lt;br /&gt;
   }&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function init_map_metadata(n) {&lt;br /&gt;
   n = n.firstChild;&lt;br /&gt;
   do {&lt;br /&gt;
     if (n.id) {&lt;br /&gt;
       if (n.id.substr(0, 6) == 'prefix') prefixes[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 8) == 'TopLeftX') TopLeftXs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 8) == 'TopLeftY') TopLeftYs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 7) == 'OffsetX') OffsetXs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 7) == 'OffsetY') OffsetYs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
     }&lt;br /&gt;
     switch (n.className) {&lt;br /&gt;
       case 'crossmod':&lt;br /&gt;
         crossmods[crossmods.length] = n.firstChild.nodeValue;&lt;br /&gt;
         break;&lt;br /&gt;
     }&lt;br /&gt;
     // Recursion, because it can give wrapping &amp;lt;p&amp;gt; and &amp;lt;pre&amp;gt; tags.&lt;br /&gt;
     if (n.tagName) init_map_metadata(n);&lt;br /&gt;
   } while (n = n.nextSibling);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function switch_mode(mode) {&lt;br /&gt;
   if (mode == routermode) return;&lt;br /&gt;
   routermode = mode;&lt;br /&gt;
   var tmp = document.getElementById('map_link_normal').parentNode.getAttribute('style');&lt;br /&gt;
   document.getElementById('map_link_normal').parentNode.setAttribute('style', document.getElementById('map_link_router').parentNode.getAttribute('style'));&lt;br /&gt;
   document.getElementById('map_link_router').parentNode.setAttribute('style', tmp);&lt;br /&gt;
   if (mode == 1 &amp;amp;&amp;amp; !routerloaded) init_router();&lt;br /&gt;
   document.getElementById('map_dest').style.display = (mode == 1 ? 'block' : 'none');&lt;br /&gt;
   document.getElementById('map_tools').style.display = (mode == 1 ? 'block' : 'none');&lt;br /&gt;
   document.getElementById('map_out_route').style.display = (mode == 1 ? 'inline' : 'none');&lt;br /&gt;
   document.getElementById('map_out_area').style.display = (mode == 1 ? 'none' : 'inline');&lt;br /&gt;
   document.getElementById('map_label_start').style.display = (mode == 1 ? 'inline' : 'none');&lt;br /&gt;
   document.getElementById('map_label_dest').style.display = (mode == 1 ? 'inline' : 'none');&lt;br /&gt;
   document.getElementById('map_label_mouse').style.display = (mode == 1 ? 'inline' : 'none');&lt;br /&gt;
   document.getElementById('map_path').style.display = (mode == 1 ? 'inline' : 'none');&lt;br /&gt;
   document.getElementById('map_dest_horz').style.display = document.getElementById('map_dest_vert').style.display = (mode == 1 &amp;amp;&amp;amp; document.map_form.elements['map_dest_x'].value &amp;gt; 0 &amp;amp;&amp;amp; document.map_form.elements['map_dest_y'].value &amp;gt; 0 &amp;amp;&amp;amp; area_map_position(document.map_form.elements['map_dest_x'].value, document.map_form.elements['map_dest_y'].value) ? 'block' : 'none');&lt;br /&gt;
   if (!mode) press_map_button();&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function area_map_position(x, y)&lt;br /&gt;
 {&lt;br /&gt;
   // Zumindest FF teilt Textknoten nach 2^12 Zeichen, also alle Kindknoten aneinanderreihen&lt;br /&gt;
   var ret = '', n = document.getElementById('coordlist').firstChild;&lt;br /&gt;
   do {&lt;br /&gt;
     ret = ret + n.nodeValue;&lt;br /&gt;
   } while (n = n.nextSibling);&lt;br /&gt;
   ret = ret.substring(0, get_coords_position(ret, x, y));&lt;br /&gt;
   ret = ret.substring(ret.lastIndexOf('{') + 13);			// 13 is the length of &amp;quot;arealink|&amp;quot; + 1&lt;br /&gt;
   ret = ret.substring(0, ret.indexOf('}'));&lt;br /&gt;
   return ret;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 function ort_map_position(x, y)&lt;br /&gt;
 {&lt;br /&gt;
   // Zumindest FF teilt Textknoten nach 2^12 Zeichen, also alle Kindknoten aneinanderreihen&lt;br /&gt;
   var ret = '', n = document.getElementById('sitelist').firstChild;&lt;br /&gt;
   do {&lt;br /&gt;
     ret = ret + n.nodeValue;&lt;br /&gt;
   } while (n = n.nextSibling);&lt;br /&gt;
   ret = ret.substring(0, get_coords_position(ret, x, y));&lt;br /&gt;
   ret = ret.substring(ret.lastIndexOf('[') + 1);&lt;br /&gt;
   ret = ret.substring(0, ret.indexOf(']'));&lt;br /&gt;
   return ret;&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 addOnloadHook(init_map);&lt;br /&gt;
 &lt;br /&gt;
 // &amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>Istrugar</name></author>	</entry>

	</feed>