<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://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://fwwiki.org/index.php?action=history&amp;feed=atom&amp;title=CompleteMap1.css"/>
	<link rel="alternate" type="text/html" href="https://fwwiki.org/index.php?title=CompleteMap1.css&amp;action=history"/>
	<updated>2026-11-15T01:47:14Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://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://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 style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;   &lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  function &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;ort_map_position&lt;/del&gt;(x, y)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  function &lt;ins style=&quot;font-weight: bold; text-decoration: none;&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  {&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    // Zumindest FF teilt Textknoten nach 2^12 Zeichen, also alle Kindknoten aneinanderreihen&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    // Zumindest FF teilt Textknoten nach 2^12 Zeichen, also alle Kindknoten aneinanderreihen&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Istrugar</name></author>
	</entry>
	<entry>
		<id>https://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://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 style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    show_map_position(crossprefix);&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    show_map_position(crossprefix);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;    if (routermode) &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;finde_weg&lt;/del&gt;();&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;    if (routermode) &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;find_way&lt;/ins&gt;();&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    oldprefix = prefix;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;    oldprefix = prefix;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  }&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Istrugar</name></author>
	</entry>
	<entry>
		<id>https://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://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 style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; 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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  // Code for the [[CompleteMap]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  // Code for the [[CompleteMap]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  // Include in [[MediaWiki:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Common&lt;/del&gt;.js&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#CompleteMap&lt;/del&gt;]]&amp;lt;nowiki&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; 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;  // Include in [[MediaWiki:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&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=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  var routermode = false, routerloaded = false;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  var routermode = false, routerloaded = false;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  var offsetX, offsetY, prefix = &amp;#039;&amp;#039;, oldprefix;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;  var offsetX, offsetY, prefix = &amp;#039;&amp;#039;, oldprefix;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Istrugar</name></author>
	</entry>
	<entry>
		<id>https://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://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 = &amp;#039;&amp;#039;, 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 == &amp;#039;map_horz&amp;#039; || this.id == &amp;#039;map_vert&amp;#039;) prefix = oldprefix;&lt;br /&gt;
   else if (this.id.substr(0, 8) == &amp;#039;map_img_&amp;#039;) prefix = this.id.substr(8);&lt;br /&gt;
   else prefix = &amp;#039;&amp;#039;;&lt;br /&gt;
   offsetX = TopLeftXs[prefix + &amp;#039;TopLeftX&amp;#039;] - 1;&lt;br /&gt;
   offsetY = TopLeftYs[prefix + &amp;#039;TopLeftY&amp;#039;] - 1;&lt;br /&gt;
   var crossprefix = (routermode &amp;amp;&amp;amp; document.map_form.map_radio[1].checked ? &amp;#039;map_dest_&amp;#039; : &amp;#039;map_&amp;#039;);&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 + &amp;#039;x&amp;#039;].value = Number(this.id == &amp;#039;map_vert&amp;#039; || this.id == &amp;#039;map_dest_vert&amp;#039; ? document.map_form.elements[this.id.substr(0, this.id.length - 4) + &amp;#039;x&amp;#039;].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 + &amp;#039;y&amp;#039;].value = Number(this.id == &amp;#039;map_horz&amp;#039; || this.id == &amp;#039;map_dest_horz&amp;#039; ? document.map_form.elements[this.id.substr(0, this.id.length - 4) + &amp;#039;y&amp;#039;].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(&amp;#039; &amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;;&amp;#039;) &amp;gt; -1) return str.indexOf(&amp;#039; &amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;;&amp;#039;) + 1;&lt;br /&gt;
   else if (str.indexOf(&amp;#039; &amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;&amp;lt;&amp;#039;) &amp;gt; -1) return str.indexOf(&amp;#039; &amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;&amp;lt;&amp;#039;) + 1;&lt;br /&gt;
   else if (str.indexOf(&amp;#039;}&amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;;&amp;#039;) &amp;gt; -1) return str.indexOf(&amp;#039;}&amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;;&amp;#039;) + 1;&lt;br /&gt;
   else return str.indexOf(&amp;#039;}&amp;#039; + x + &amp;#039;,&amp;#039; + y + &amp;#039;&amp;lt;&amp;#039;) + 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 + &amp;#039;horz&amp;#039;);&lt;br /&gt;
   var map_vert = document.getElementById(crossprefix + &amp;#039;vert&amp;#039;);&lt;br /&gt;
 &lt;br /&gt;
   var area = area_map_position(document.map_form.elements[crossprefix + &amp;#039;x&amp;#039;].value, document.map_form.elements[crossprefix + &amp;#039;y&amp;#039;].value);&lt;br /&gt;
   if (prefix == &amp;#039;?&amp;#039;) {&lt;br /&gt;
     if (document.getElementById(&amp;#039;prefix&amp;#039; + area.replace(/\s/g, &amp;#039;_&amp;#039;)))&lt;br /&gt;
       prefix = document.getElementById(&amp;#039;prefix&amp;#039; + area.replace(/\s/g, &amp;#039;_&amp;#039;)).firstChild.nodeValue;&lt;br /&gt;
     else prefix = &amp;#039;&amp;#039;;&lt;br /&gt;
     offsetX = TopLeftXs[prefix + &amp;#039;TopLeftX&amp;#039;] - 1;&lt;br /&gt;
     offsetY = TopLeftYs[prefix + &amp;#039;TopLeftY&amp;#039;] - 1;&lt;br /&gt;
   }&lt;br /&gt;
&lt;br /&gt;
   var map_out_area = document.getElementById(&amp;#039;map_out_area&amp;#039;);&lt;br /&gt;
   var map_out_place = document.getElementById(&amp;#039;map_out_place&amp;#039;);&lt;br /&gt;
   if (area != &amp;#039;&amp;#039; || routermode)&lt;br /&gt;
   {&lt;br /&gt;
     map_out_area.firstChild.href = &amp;#039;/index.php/&amp;#039; + area;&lt;br /&gt;
     map_out_area.firstChild.firstChild.nodeValue = area;&lt;br /&gt;
     map_out_area.firstChild.nextSibling.nextSibling.href = &amp;#039;/index.php/Map:&amp;#039; + area;&lt;br /&gt;
     place = place_map_position(document.map_form.elements[crossprefix + &amp;#039;x&amp;#039;].value, document.map_form.elements[crossprefix + &amp;#039;y&amp;#039;].value);&lt;br /&gt;
     if (place != &amp;#039;&amp;#039;)&lt;br /&gt;
     {&lt;br /&gt;
       map_out_place.firstChild.nextSibling.firstChild.nodeValue = place;&lt;br /&gt;
       map_out_place.firstChild.nextSibling.href = &amp;#039;/index.php/&amp;#039; + place;&lt;br /&gt;
       map_out_place.style.display = &amp;#039;inline&amp;#039;;&lt;br /&gt;
     } else&lt;br /&gt;
       map_out_place.style.display = &amp;#039;none&amp;#039;;&lt;br /&gt;
     map_out_area.style.visibility = &amp;#039;visible&amp;#039;;&lt;br /&gt;
   } else&lt;br /&gt;
     map_out_area.style.visibility = &amp;#039;hidden&amp;#039;;&lt;br /&gt;
   if (area == &amp;#039;&amp;#039; || document.map_form.elements[crossprefix + &amp;#039;x&amp;#039;].value &amp;lt; 1 || document.map_form.elements[crossprefix + &amp;#039;y&amp;#039;].value &amp;lt; 1)&lt;br /&gt;
   {&lt;br /&gt;
     map_horz.style.display = &amp;#039;none&amp;#039;;&lt;br /&gt;
     map_vert.style.display = &amp;#039;none&amp;#039;;&lt;br /&gt;
     return false;&lt;br /&gt;
   }&lt;br /&gt;
   var imgOffsetX = Number(OffsetXs[prefix + &amp;#039;OffsetX&amp;#039;]);&lt;br /&gt;
   var imgOffsetY = Number(OffsetYs[prefix + &amp;#039;OffsetY&amp;#039;]);&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(&amp;#039;|&amp;#039;);&lt;br /&gt;
     if (Number(document.map_form.elements[crossprefix + &amp;#039;x&amp;#039;].value) &amp;gt;= mod[0]&lt;br /&gt;
         &amp;amp;&amp;amp; Number(document.map_form.elements[crossprefix + &amp;#039;x&amp;#039;].value) &amp;lt;= mod[2]&lt;br /&gt;
         &amp;amp;&amp;amp; Number(document.map_form.elements[crossprefix + &amp;#039;y&amp;#039;].value) &amp;gt;= mod[1]&lt;br /&gt;
         &amp;amp;&amp;amp; Number(document.map_form.elements[crossprefix + &amp;#039;y&amp;#039;].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) + &amp;#039;px&amp;#039;;&lt;br /&gt;
   map_vert.style.top = String((imgOffsetY + mod_top) * 15) + &amp;#039;px&amp;#039;;&lt;br /&gt;
   map_horz.style.width = String((mod_width ? mod_width : (document.getElementById(prefix + &amp;#039;BottomRightX&amp;#039;).firstChild.nodeValue - TopLeftXs[prefix + &amp;#039;TopLeftX&amp;#039;] + 3)) * 15) + &amp;#039;px&amp;#039;;&lt;br /&gt;
   map_vert.style.height = String((mod_height ? mod_height : (document.getElementById(prefix + &amp;#039;BottomRightY&amp;#039;).firstChild.nodeValue - TopLeftYs[prefix + &amp;#039;TopLeftY&amp;#039;] + 3)) * 15) + &amp;#039;px&amp;#039;;&lt;br /&gt;
   map_horz.style.top = String((Number(document.map_form.elements[crossprefix + &amp;#039;y&amp;#039;].value) + imgOffsetY - Number(offsetY)) * 15) + &amp;#039;px&amp;#039;;&lt;br /&gt;
   map_vert.style.left = String((Number(document.map_form.elements[crossprefix + &amp;#039;x&amp;#039;].value) + imgOffsetX - Number(offsetX)) * 15) + &amp;#039;px&amp;#039;;&lt;br /&gt;
 &lt;br /&gt;
   map_horz.style.display = &amp;#039;block&amp;#039;;&lt;br /&gt;
   map_vert.style.display = &amp;#039;block&amp;#039;;&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 = &amp;#039;?&amp;#039;;&lt;br /&gt;
   show_map_position(&amp;#039;map_&amp;#039;);&lt;br /&gt;
   if (routermode) {&lt;br /&gt;
     prefix = &amp;#039;?&amp;#039;;&lt;br /&gt;
     show_map_position(&amp;#039;map_dest_&amp;#039;);&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(&amp;#039;map_nav&amp;#039;);&lt;br /&gt;
   if (map_nav)&lt;br /&gt;
   {&lt;br /&gt;
     map_nav.getElementsByTagName(&amp;#039;big&amp;#039;)[0].style.display = &amp;#039;none&amp;#039;;&lt;br /&gt;
     var map_form, map_x, map_y, map_submit, map_maplink, map_link_img;&lt;br /&gt;
     map_form = document.createElement(&amp;#039;form&amp;#039;);&lt;br /&gt;
     map_form.name = &amp;#039;map_form&amp;#039;;&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(&amp;#039;table&amp;#039;)[0]);&lt;br /&gt;
 &lt;br /&gt;
     map_x = document.createElement(&amp;#039;input&amp;#039;);	map_y = document.createElement(&amp;#039;input&amp;#039;);&lt;br /&gt;
     map_x.type = &amp;#039;text&amp;#039;;			map_y.type = &amp;#039;text&amp;#039;;&lt;br /&gt;
     map_x.id = &amp;#039;map_x&amp;#039;; 			map_y.id = &amp;#039;map_y&amp;#039;;&lt;br /&gt;
     map_x.size = &amp;#039;3&amp;#039;;				map_y.size = &amp;#039;3&amp;#039;;&lt;br /&gt;
     map_x.style.textAlign = &amp;#039;right&amp;#039;;		map_y.style.textAlign = &amp;#039;right&amp;#039;;&lt;br /&gt;
 &lt;br /&gt;
     with (document.getElementById(&amp;#039;map_start&amp;#039;)) {&lt;br /&gt;
       appendChild(document.createTextNode(&amp;#039;X: &amp;#039;));&lt;br /&gt;
       appendChild(map_x);&lt;br /&gt;
       appendChild(document.createTextNode(&amp;#039; Y: &amp;#039;));&lt;br /&gt;
       appendChild(map_y);&lt;br /&gt;
     }&lt;br /&gt;
 &lt;br /&gt;
     map_submit = document.createElement(&amp;#039;input&amp;#039;);&lt;br /&gt;
     map_submit.type = &amp;#039;submit&amp;#039;;&lt;br /&gt;
     map_submit.value = &amp;#039;OK&amp;#039;;&lt;br /&gt;
     document.getElementById(&amp;#039;map_button&amp;#039;).appendChild(map_submit);&lt;br /&gt;
     &lt;br /&gt;
     map_maplink = document.createElement(&amp;#039;a&amp;#039;);&lt;br /&gt;
     map_link_img = document.createElement(&amp;#039;img&amp;#039;);&lt;br /&gt;
     map_link_img.src = &amp;#039;http://www.fwwiki.org/images/0/03/12px-Earth.png&amp;#039;;&lt;br /&gt;
     map_link_img.border = &amp;#039;0&amp;#039;;&lt;br /&gt;
     map_maplink.appendChild(map_link_img);&lt;br /&gt;
     document.getElementById(&amp;#039;map_out_area&amp;#039;).appendChild(map_maplink);&lt;br /&gt;
 &lt;br /&gt;
     n = document.getElementById(&amp;#039;map&amp;#039;).firstChild;&lt;br /&gt;
     do {&lt;br /&gt;
       if (n.nodeName == &amp;#039;DIV&amp;#039;) n.onclick = map_click;&lt;br /&gt;
     } while (n = n.nextSibling);&lt;br /&gt;
 &lt;br /&gt;
     init_map_metadata(document.getElementById(&amp;#039;metadata&amp;#039;));&lt;br /&gt;
 &lt;br /&gt;
     document.getElementById(&amp;#039;map_link_normal&amp;#039;).firstChild.href = &amp;#039;javascript:switch_mode(0);&amp;#039;;&lt;br /&gt;
     document.getElementById(&amp;#039;map_link_normal&amp;#039;).style.display = &amp;#039;inline&amp;#039;;&lt;br /&gt;
     document.getElementById(&amp;#039;map_link_router&amp;#039;).firstChild.href = &amp;#039;javascript:switch_mode(1);&amp;#039;;&lt;br /&gt;
     document.getElementById(&amp;#039;map_link_router&amp;#039;).style.display = &amp;#039;inline&amp;#039;;&lt;br /&gt;
 &lt;br /&gt;
     document.getElementById(&amp;#039;map_dest&amp;#039;).firstChild.style.display = &amp;#039;none&amp;#039;;&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) == &amp;#039;prefix&amp;#039;) prefixes[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 8) == &amp;#039;TopLeftX&amp;#039;) TopLeftXs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 8) == &amp;#039;TopLeftY&amp;#039;) TopLeftYs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 7) == &amp;#039;OffsetX&amp;#039;) OffsetXs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
       if (n.id.substr(n.id.length - 7) == &amp;#039;OffsetY&amp;#039;) OffsetYs[n.id] = n.firstChild.nodeValue;&lt;br /&gt;
     }&lt;br /&gt;
     switch (n.className) {&lt;br /&gt;
       case &amp;#039;crossmod&amp;#039;:&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(&amp;#039;map_link_normal&amp;#039;).parentNode.getAttribute(&amp;#039;style&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_link_normal&amp;#039;).parentNode.setAttribute(&amp;#039;style&amp;#039;, document.getElementById(&amp;#039;map_link_router&amp;#039;).parentNode.getAttribute(&amp;#039;style&amp;#039;));&lt;br /&gt;
   document.getElementById(&amp;#039;map_link_router&amp;#039;).parentNode.setAttribute(&amp;#039;style&amp;#039;, tmp);&lt;br /&gt;
   if (mode == 1 &amp;amp;&amp;amp; !routerloaded) init_router();&lt;br /&gt;
   document.getElementById(&amp;#039;map_dest&amp;#039;).style.display = (mode == 1 ? &amp;#039;block&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_tools&amp;#039;).style.display = (mode == 1 ? &amp;#039;block&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_out_route&amp;#039;).style.display = (mode == 1 ? &amp;#039;inline&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_out_area&amp;#039;).style.display = (mode == 1 ? &amp;#039;none&amp;#039; : &amp;#039;inline&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_label_start&amp;#039;).style.display = (mode == 1 ? &amp;#039;inline&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_label_dest&amp;#039;).style.display = (mode == 1 ? &amp;#039;inline&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_label_mouse&amp;#039;).style.display = (mode == 1 ? &amp;#039;inline&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_path&amp;#039;).style.display = (mode == 1 ? &amp;#039;inline&amp;#039; : &amp;#039;none&amp;#039;);&lt;br /&gt;
   document.getElementById(&amp;#039;map_dest_horz&amp;#039;).style.display = document.getElementById(&amp;#039;map_dest_vert&amp;#039;).style.display = (mode == 1 &amp;amp;&amp;amp; document.map_form.elements[&amp;#039;map_dest_x&amp;#039;].value &amp;gt; 0 &amp;amp;&amp;amp; document.map_form.elements[&amp;#039;map_dest_y&amp;#039;].value &amp;gt; 0 &amp;amp;&amp;amp; area_map_position(document.map_form.elements[&amp;#039;map_dest_x&amp;#039;].value, document.map_form.elements[&amp;#039;map_dest_y&amp;#039;].value) ? &amp;#039;block&amp;#039; : &amp;#039;none&amp;#039;);&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 = &amp;#039;&amp;#039;, n = document.getElementById(&amp;#039;coordlist&amp;#039;).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(&amp;#039;{&amp;#039;) + 13);			// 13 is the length of &amp;quot;arealink|&amp;quot; + 1&lt;br /&gt;
   ret = ret.substring(0, ret.indexOf(&amp;#039;}&amp;#039;));&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 = &amp;#039;&amp;#039;, n = document.getElementById(&amp;#039;sitelist&amp;#039;).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(&amp;#039;[&amp;#039;) + 1);&lt;br /&gt;
   ret = ret.substring(0, ret.indexOf(&amp;#039;]&amp;#039;));&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>