var url, pass_js;
url=window.location.href
pass_js=false
langchange=0
var translatestring=""
var keystring=""
var run_on_load_flag=0
deadly_webkit_css_bug = false
opra=(navigator.userAgent.indexOf ("Opera") > -1);
links=(navigator.appName.indexOf ("Links") > -1);
safari=(navigator.userAgent.indexOf("Safari") > -1);
chrome= safari && (navigator.userAgent.indexOf("Chrome") > -1);
arora = safari && (navigator.userAgent.indexOf("Arora") > -1)
safariwin=safari && (navigator.userAgent.indexOf("Windows") > -1);
konq=(navigator.userAgent.indexOf("Konqueror")>-1);
winxp=(navigator.userAgent.indexOf("Windows NT 5.")>-1);
today=new Date()
qq='"'
joke= (today.getDate() == "1" && today.getMonth() == "3")
browserversion=parseFloat (navigator.appVersion)
if (opra)
{
if ( (p=navigator.userAgent.indexOf ("Version/")) > -1) browserversion = parseFloat(navigator.userAgent.substring(p+8,100))
}
konqold=konq
konqnew=konq
if (konq)
{
browserversion=navigator.userAgent
if (browserversion.indexOf('Konqueror/') != 0)
{
browserversion=browserversion.substring(browserversion.indexOf('Konqueror/')+10,browserversion.length)
for (i=1; i<browserversion.length ; i++)
{if (browserversion.substring(i,i+1) == ';') {break}}
browserversion=browserversion.substring(0,i);
}
else
{
browserversion=3.3
}
konqold=browserversion < 3.5;
konqnew=browserversion > 3.4;
}
if (chrome)
{
browserversion=navigator.userAgent
if ((p=browserversion.indexOf('Chrome/')) != 0)
browserversion=parseInt(browserversion.substring(p+7,browserversion.length))
else
browserversion=2
}
gecko=(navigator.userAgent.indexOf ('Gecko') > -1 && !safari && !konq);
gecko21=(gecko &&(navigator.userAgent.indexOf("rv:2.1")>0))
gecko20=(gecko &&(navigator.userAgent.indexOf("rv:2.0")>0))
gecko192=(gecko &&(navigator.userAgent.indexOf("rv:1.9.2")>0))
gecko191=(gecko &&(navigator.userAgent.indexOf("rv:1.9.1")>0)) || gecko192
gecko19=(gecko &&(navigator.userAgent.indexOf("rv:1.9")>0))
gecko18=(gecko &&(navigator.userAgent.indexOf("rv:1.8")>0))
gecko17=(gecko &&(navigator.userAgent.indexOf("rv:1.7")>0))
camino=gecko && ((navigator.userAgent.indexOf("Camino")>0))
if (gecko)
{
browserversion=navigator.userAgent.substr(navigator.userAgent.indexOf("rv:")+3,10)
browserversion=parseFloat(browserversion.substring(0,browserversion.indexOf(".")) +
browserversion.substring(browserversion.indexOf(".")+1,10))
}
msie=(navigator.appName=='Microsoft Internet Explorer' && !opra);
operamini3=false
if (opra && (navigator.appName == "Microsoft Internet Explorer"))
{
x=navigator.userAgent
x=x.substring(x.indexOf("Opera")+6)
if ((browserversion=parseFloat(x)) < 9.5) browserversion=8
}
if (opra && (navigator.appName == "Microsoft Internet Explorer") && (navigator.appVersion.indexOf("Linux i686")>0) && (navigator.appVersion.indexOf("X11")<0)) operamini3=true
operamini4=(navigator.appVersion.indexOf("Opera Mini")>0) || (navigator.appVersion.indexOf("iPhone")>0)
msie9=msie && (navigator.userAgent.indexOf("MSIE 9") > -1)
msie8=msie && (navigator.userAgent.indexOf("MSIE 8") > -1)
msie7=msie && (navigator.userAgent.indexOf("MSIE 7") > -1)
msie6=msie && (!msie7) && (navigator.userAgent.indexOf("MSIE 6") > -1)
msie5=msie && (navigator.userAgent.indexOf("MSIE 5") > -1)
msie55=msie && (navigator.userAgent.indexOf("MSIE 5.5") > -1)
msie50=msie && (navigator.userAgent.indexOf("MSIE 5.0") > -1)
msie4=msie && (navigator.userAgent.indexOf("MSIE 4.0") > -1)
msiebad=msie4 || msie5 || msie6
msiegood=msie && !msiebad
if (msie) {browserversion=parseFloat (navigator.userAgent.substr(navigator.userAgent.indexOf("MSIE")+5,10))}
var ntoggle=0
var toggle_enable=true && (!links)
toggle_enable=gecko || (opra && browserversion > 9) || konq || (msie6 || msie7 || msie8 || msie9 ) || safari
toggle_in_onload=false
var do_index_stunt = toggle_enable
toggle_enable=toggle_enable && (window.location.href.indexOf("spice_")<0)
languageselection=gecko || (opra && browserversion > 9) || konq || msie6 || msie7 || msie8 || safariwin || (safari && (window.location.href.indexOf("spice_xhanzi")<0))
languageselection=!msie5 && !msie4 && (!opra || browserversion > 9) && !(msie6 && (window.location.href.indexOf("spice_kana")>0))
if (get_param(location.href,"pinyin") == "enable")
{  pinyindisplay=true   }
else if (get_param(location.href,"pinyin") == "disable")
{  pinyindisplay=false   }
else
{ pinyindisplay= gecko || (opra && browserversion > 9) || safari || (msie && !msiebad) }
var globdbg=false
if (window.location.protocol == "file:")
{
globdbg = ((window.location.href.indexOf("/home/gk")>-1) ||
(window.location.href.indexOf("/home/gernot")>-1) ||
(window.location.href.indexOf("/bbb/")>-1))
}
if (get_param (window.location.href,"dbg") != "") globdbg = (parseInt(get_param (window.location.href,"dbg"))>0)
var dbgcolor=(globdbg)?((msie || (opra && browserversion < 10))?"yellow":"rgba(255,255,0,0.5)"):"transparent"
var dbgcolor1=(globdbg)?((msie || (opra && browserversion < 10))?"orange":"rgba(255,128,0,0.5)"):"transparent"
var onresize_count=0
styleselection=!msie4 && !msie5
if (msie) { document.createElement("BOT") }
if (msie8) { document.createElement("WBR") }
today=new Date()
try { online_demo=1+2*Math.floor(Math.random()*2.5) }
catch (foo) {online_demo=1}
if (online_demo>3) online_demo=3
if ((today.getDay() == 5) || (today.getDate() == 13)) online_demo++
if (window.location.protocol == "file:") online_demo=0
online_demo=0
document.writeln ('<STYLE type="text/css">');
document.writeln ('DIV.nojscript, DIV#nojscript {display: none}');
document.writeln ('TABLE.nofloat {clear:none}');
document.writeln ('HTML > BODY DIV#navigbox {padding-top: 0ex} ');
document.writeln ('HTML BODY LABEL {font-weight:bold; width:2em }')
document.writeln ('HTML BODY TR.nolangs LABEL {font-weight:normal;}')
document.writeln ('HTML>BODY DIV#navigbox LI.main:hover {cursor:pointer}')
if (online_demo > 0 )
{
if (msiebad) document.writeln ('HTML BODY DIV#internbox { padding-right:80px }')
else document.writeln ('HTML BODY DIV#internbox { padding-right:100px }')
}
document.writeln ('DIV#mainbox {top: 2.5ex; padding-bottom: 1ex; padding-top: 2.5em; border-bottom: 0}');
if (ie && !ie7)
document.writeln ('DIV#internbox {bottom: auto; left: 8.01em; width:auto; right: 0px; top: 0px; border: solid #f2f2f2; border-width: 0pt 25px 2pt 0pt;}');
else
document.writeln ('DIV#internbox {bottom: auto; left: 8.01em; width:auto; right: 0px; top: 0px; border: solid #f2f2f2; border-width: 0pt 0pc 2pt 0pt;}');
if (!camino && !arora )
{
document.writeln ('HTML BODY *[title]:hover, BLOCKQUOTE.cdv A[title]:hover {opacity: 0.75 }');
document.writeln ('.simplelinks TABLE *[title]:hover { opacity: 0.75}');
document.writeln ('A[title]:hover, IMG[title]:hover, FORM SPAN[title]:hover { opacity: 1}');
document.writeln ('IMG[title]:hover { opacity: 1 !important}');
document.writeln ("*[title]:hover {opacity: 0.65}")
document.writeln ("DIV#internbox *[title]:hover {opacity:1}")
document.writeln ("HTML BODY *.nohover[title]:hover {opacity: 1}")
document.writeln ("A:link:active,A:visited:active, A.fakea:active {opacity: 0.65}")
if (chrome && browserversion>=3) { document.writeln (".idxlist A:link:active, .idxlist A:visited:active, DIV#nametab DIV A:link:active, DIV#nametab DIV A:visited:active {opacity: 1}") }
document.writeln ("DIV#internbox A:link:active, DIV#internbox A:visited:active {opacity: 1}")
document.writeln ("DIV#navigbox A:link:active, DIV#navigbox A:visited:active {opacity: 1}")
document.writeln ("DIV.welcome {opacity: 0.65; }")
if (window.location.href.indexOf("spice_hebraic")>0) document.writeln (".langar {opacity: 0.55; }")
if (window.location.href.indexOf("spice_arabic")>0) document.writeln (".langhe {opacity: 0.55; }")
}
if (pinyindisplay) document.writeln ('DIV#pinyin {display:block}')
if (konqold) document.writeln ('DIV.welcome {margin-left: 1em}')
if (msiebad)
{
document.writeln ("BODY {background-attachment: fixed; background-repeat: repeat}")
document.writeln ("DIV#navigbox {height: 1500px; background-repeat: repeat; background-color: rgb(150,82,37);}")
document.writeln ("DIV#navigbox LI A {margin: 0}")
document.writeln ("DIV#navigbox LI {margin: 8px 0}")
document.writeln ("DIV#navigbox A:hover SPAN.x {display:none}")
document.writeln ("DIV#navigbox LI LI {margin: -0px 0; border:0 }")
document.writeln ("DIV#internbox {background: rgb(150,82,37) repeat url(../pictures/tile.soft.jpg);}");
document.writeln ("DIV#internbox {padding-left: 8.51em; left:0; right: 22px; text-align: center; border-right: none}");
document.writeln ("HTML DIV#navigbox A:hover SPAN.x {display: none}");
document.writeln ("DIV#mainbox {padding-top: 4em; border-left: 2pt; margin-left: 2pt;}");
if (msie6)
{
document.writeln ("DIV#mainbox {padding-top: 3.5em; padding-bottom: 1em}");
document.writeln ("DIV#internbox {left:0; padding-right: 0px; border: 0px; right:42px;}");
document.writeln ("DIV#padbox {z-index:15; background: red;  height: 100%; display: block; width: 8.01em; padding:0; margin:0; float:left }");
document.writeln ("TABLE.semitic SPAN {font-size: 80%; display:block; padding-left: 1em}");
document.writeln ("TABLE.indic SPAN {font-size: 80%; display:block}");
}
}
else
{
document.writeln ("DIV#navigbox LI.main A:hover {font-style: inherit}")
}
if (msie7||msie8)
{
document.writeln ("WBR:before {content: '\u200B'; white-space: normal }")
document.writeln ('*[title]:hover, BLOCKQUOTE.cdv A[title]:hover {-ms-opacity: 0.75 }');
document.writeln ('.simplelinks TABLE *[title]:hover { -ms-opacity: 0.75}');
document.writeln ('A[title]:hover, IMG[title]:hover, FORM SPAN[title]:hover { -ms-opacity: 1}');
document.writeln ("*[title]:hover {-ms-opacity: 0.65}")
document.writeln ("A:link:active,A:visited:active, A.fakea:active {-ms-opacity: 0.65}")
document.writeln ("DIV#internbox A:link:active, DIV#internbox A:visited:active {-ms-opacity: 1}")
document.writeln ("DIV#navigbox A:link:active, DIV#navigbox A:visited:active {-ms-opacity: 1}")
document.writeln ("DIV.welcome {-ms-opacity: 0.65; }")
if (window.location.href.indexOf("spice_hebraic")>0) document.writeln (".langar {-ms-opacity: 0.55;}")
if (window.location.href.indexOf("spice_arabic")>0) document.writeln (".langhe {-ms-opacity: 0.55;}")
}
if (safari)
{
document.writeln ("DIV#navigbox {height: 1600px}")
document.writeln ("BODY {background-attachment: fixed;}")
document.writeln ('TABLE.nofloat {clear:right}');
if (safariwin)
{
if (chrome) document.writeln ("*[lang=bo], *[lang=ljb], *[lang=dz], .bokludge { font-family: Jomolhari }")
document.writeln (".msiekludge,.msiegreek,.ronew {font-family: Microsoft Sans Serif}")
document.writeln ("*[title]:hover {background-color: #FFB; ; opacity: 0.8}")
document.writeln ("FORM LABEL[title]:hover {background-color:#FFB !important; opacity:0.75}")
}
if (!chrome)
{
document.writeln (".idxlist A:link:active, .idxlist A:visited:active {opacity: 1}") /* don't even ask for that */
document.writeln (".nametab A:link:active, .nametab A:visited:active {opacity: 1}") /* don't even ask for that */
}
document.writeln ("BODY DIV.nametab {display:block; -webkit-column-width: 7.2em; -webkit-column-gap: 2em; margin: 2em 0; }")
document.writeln ("BODY DIV.nametab > DIV {display: block; padding: 0; border: none}")
document.writeln ("BODY DIV.nametab > DIV > P {margin:0; padding:0; padding-top: .8ex; text-indent: 0em; -webkit-column-break-inside:avoid; -webkit-break-inside:avoid}")
document.writeln ("BODY DIV.nametab > DIV > P > SPAN {display: block; padding-top:0; text-indent: 0}")
document.writeln ("BODY DIV.nametab > DIV > P > SPAN A {display: block; text-indent: -1em; padding-top:0; padding-left: 1em}")
document.writeln (".idxlist {display:block; -webkit-column-width: 18em; -webkit-column-gap: 2em; -webkit-column-count: 3}")
document.writeln (".idxlist.linxlist {-webkit-column-width: 8em; -webkit-column-count: 6}")
document.writeln ("DL.idxlist DD   {-webkit-column-break-inside:avoid; -webkit-break-inside:avoid; column-break-inside:avoid; break-inside:avoid; }")
document.writeln ("DL.idxlist DT, DL.idxlist DT *   {-webkit-column-break-inside:avoid; -webkit-break-inside:avoid; -webkit-column-break-after:avoid; -webkit-break-after:avoid;}")
document.writeln ("DIV#navigbox LI.main {-webkit-border-radius: 5px}")
if (globdbg)
{
document.writeln ("DIV#navigbox LI.main {-webkit-border-radius: 10px !important; padding:0; width:6.2em; margin-left:0.9em}")
document.writeln ("DIV#navigbox LI.main A {-webkit-border-radius: 10px !important}")
document.writeln ("DIV#navigbox >UL>LI, DIV#navigbox >UL>LI A {-webkit-border-radius: 10px }")
document.writeln ("DIV#navigbox >UL>LI:hover, DIV#navigbox >UL>LI:hover A:hover {-webkit-border-radius: 10px 0px 0px 10px}")
document.writeln ("DIV#navigbox LI.main+LI+LI:hover, DIV#navigbox LI.main+LI+LI+LI+LI:hover {-webkit-border-radius: 10px }")
document.writeln ("DIV#navigbox LI.main+LI+LI:hover>A:hover, DIV#navigbox LI.main+LI+LI+LI+LI:hover>A:hover {-webkit-border-radius: 10px }")
}
document.writeln ("INPUT.jamo {-webkit-border-radius: 5px;}")
if (chrome && globdbg) {document.writeln ("HTML BODY DIV#internbox SPAN.chromefix A[title] {font-weight: normal; font-size: 150% !important}")}
if (chrome) {document.writeln ("SPAN.x {padding-bottom: 5mm !important}")}
if  ((navigator.userAgent.indexOf("Epiphany") > -1) ) {document.writeln ("SPAN.x {padding-bottom: 4ex !important; z-index:666 !important}")}
}
if (globdbg)
{
document.writeln('SPAN[title]:lang(ur), SPAN[title]:lang(ks), SPAN[title]:lang(scl), SPAN[title]:lang(x-posto) {font-family: "Nafees"}')
document.writeln('TABLE.semitic TR:lang(ur) TD:first-child+TD, TABLE.semitic TR:lang(ks) TD:first-child+TD, TABLE.semitic TR:lang(scl) TD:first-child+TD, TABLE.semitic TR:lang(x-posto) TD:first-child+TD {font-family: "Nafees"}')
document.writeln('DIV.preamble DT B {background: yellow}')
document.writeln('DIV.preamble DT B {background: '+dbgcolor+'}')
document.writeln('HTML DIV#lao {display:block}')
}
if (globdbg || window.location.href.indexOf("index.html")>0 || window.location.href.indexOf("spice_")>0) document.writeln('LI.monolingual {display:block}')
if (get_param(window.location.href,"style") == "mini")
{
if (!camino && !arora )
{
document.writeln ("DIV.nojscript A , DIV.nojscript A:active {opacity:1 !important; background: transparent none !important}")
document.writeln ("DIV.nojscript A:link:active, DIV.nojscript A:visited:active {opacity:1 !important; background: transparent none !important}")
document.writeln ("DIV.nojscript {opacity: 0.7;}")
if (gecko)
{
if (gecko18)
{
document.writeln ("DIV.nojscript { -moz-border-radius: 5px; }")
document.writeln ("DIV.welcome { margin-right: 8.5em }")
}
else document.writeln ("DIV.nojscript { -moz-border-radius: 1em; }")
}
else if (safari)
{
document.writeln ("DIV.nojscript { -webkit-border-radius: 1em; }")
}
else if (msie6 || msie7)
{
document.writeln ("DIV.nojscript A:active  {background: red xurl(../pictures/tile.yellow.jpg) !important")
document.writeln ("DIV.nojscript:active {background: red !important")
document.writeln ("HTML BODY DIV.nojscript:hover {background: url(../pictures/tile.yellow.jpg) !important")
}
else if (msie8)
{
document.writeln ("DIV.nojscript {-ms-opacity: 0.7;}")
}
}
}
if (gecko )
{
if (gecko && browserversion >= 19) document.writeln ("XBR:before {content: '\u200B'; white-space: normal; }")
document.writeln ("DIV#navigbox {height: 6000pt;background-color: rgb(150,82,37);}")
document.writeln ("DIV#navigbox LI.main {-moz-border-radius: 5px}")
document.writeln ("DIV#navigbox LI.main A {-moz-border-radius: 5px}")
if (browserversion >=20) {document.writeln ("SPAN.x {padding-bottom: 2.3ex !important}")}
if (browserversion >= 19)
{
document.writeln ("DIV#navigbox LI.main {-moz-border-radius: 10px}")
document.writeln ("DIV#navigbox LI.main A {-moz-border-radius: 10px}")
}
document.writeln ("DIV#navigbox UL A {outline:none !important}")
document.writeln ("INPUT.jamo {-moz-border-radius: 5px;}")
document.writeln ("DIV#navigbox LI.main:hover {background: url(../pictures/tile.bright.jpg) fixed #FC8; color: black; border: 2pt;}")
document.writeln ("DIV#navigbox LI.main A:hover {background: none transparent}")
wlh=window.location.href
document.writeln ("LI {-moz-float-edge: content-box}")
document.writeln ("HTML BODY DIV#navigbox LI A {padding-top:7px; padding-bottom: 3px}")
document.writeln ("UL.toclist LI {-moz-float-edge: margin-box}")
document.writeln ("LI.geo {-moz-float-edge: content-box}")
if (!gecko17)
{
document.writeln ("BODY DIV.nametab {display:block; -moz-column-width: 7.2em; -moz-column-gap: 2em; margin: 2em 0; }")
document.writeln ("BODY DIV.nametab > DIV {display: block; padding: 0; border: none}")
document.writeln ("BODY DIV.nametab > DIV > P {margin:0; padding:0; padding-top: .8ex; text-indent: 0em}")
document.writeln ("BODY DIV.nametab P.ini  {  margin-top: 0ex; margin-bottom:-1.5ex;; position:relative; top: -1ex ; }")
document.writeln ("BODY DIV.nametab P.seper  {  margin-bottom: 2ex; margin-top:0; }")
document.writeln ("BODY DIV.nametab > DIV > P > SPAN {display: table-row; text-indent: 0}")
document.writeln ("BODY DIV.nametab > DIV > P > SPAN A {display: table-cell; text-indent: -1em; padding-left: 1em}")
document.writeln (".idxlist {display:block; -moz-column-width: 18em; -moz-column-gap: 2em; -moz-column-count: 3}")
document.writeln ("HTML BODY DIV DIV.idxlist.linxlist {-moz-column-width: 8em !important; -moz-column-count: 6}")
}
document.writeln (".gem1 {padding-right: 1em}")
document.writeln (".gem2 {padding-right: 2em}")
document.writeln (".gem3 {padding-right: 3em}")
document.writeln (".gem4 {padding-right: 4em}")
document.writeln (".gem5 {padding-right: 5em}")
document.writeln (".gem6 {padding-right: 6em}")
document.writeln (".gem7 {padding-right: 7em}")
document.writeln (".gem8 {padding-right: 8em}")
document.writeln (".gem9 {padding-right: 9em}")
document.writeln (".gem10 {padding-right: 10em}")
document.writeln (".gem15 {padding-right: 15em}")
}
if (!gecko)
{
document.writeln ('DIV#mainbox {padding-top: 2ex}')
document.writeln ('.ast:before, *[lang=ine]:before, *[lang=dra]:before, *[lang=gem]:before, *[lang=sla]:before, *[lang=fiu]:before, *[lang=sem]:before {content: "*"; margin:0}')
}
if (opra )
{
document.writeln (".operanobr {white-space:nowrap}")
document.writeln ("DIV.nametab SPAN.ini A SPAN {text-decoration: none}")
document.writeln ("BR[clear=right] {clear:none !important}")
if (browserversion >= 11.1)
{
document.writeln (".idxlist {display:block; column-width: 18em; column-gap: 2em; column-count: 3}")
document.writeln (".idxlist.linxlist {column-width: 8em; column-count: 6}")
document.writeln ("DIV.idxlist > P { break-inside: avoid }")
document.writeln ("DL.idxlist DD   {column-break-inside:avoid; break-inside:avoid; }")
document.writeln ("DL.idxlist DT, DL.idxlist DT *   {break-inside:avoid; break-after:avoid;}")
document.writeln ("BODY DIV.nametab > DIV {display: block; padding: 0; border: none}")
document.writeln ("BODY DIV.nametab > DIV > P {margin:0; padding:0;  padding-top: .8ex; text-indent: 0em; break-inside: avoid}")
document.writeln ("BODY DIV.nametab SPAN.ini  {  margin-top: -0.5ex;; }")
document.writeln ("BODY DIV.nametab SPAN.seper  {  margin-bottom: 1.5ex; }")
document.writeln ("BODY DIV.nametab > DIV > P > SPAN {display: block; padding-top:0; text-indent: 0}")
document.writeln ("BODY DIV.nametab > DIV > P > SPAN A {display: block; text-indent: -1em; padding-top:0; padding-left: 1em}")
document.writeln ("BODY DIV.nametab {display:block; column-width: 7.2em; column-gap: 2em; margin: 2em 0; }")
}
document.writeln ("P.operaindentfix {text-indent:0 !important}")
document.writeln ("P.operaindentfix:first-letter {margin-left:1.5em}")
if (globdbg) document.writeln ("P.operaindentfix:first-letter {background:lime}")
if (globdbg) document.writeln ("P.operaindentfix:first-letter {background:rgba(128,255,0,0.5)}")
if (browserversion < 11) document.writeln ('WBR:before {content: "\u200B"; white-space: normal }')
else document.writeln ('NOBR WBR:before, WBR.operaforce {content: "\u200B"; white-space: normal }')
document.writeln ('#submit_opera {width:0; opacity:0}')
if (browserversion >= 9)
{
document.writeln ("DIV#navigbox A:hover > SPAN.x { padding-top: 2px;}")
}
else if (browserversion >= 8)
{
document.writeln ("DIV#navigbox A:hover > SPAN.x { min-height: 5ex;}")
document.writeln ("DIV#navigbox A:hover > SPAN.x {border-top: 1.5ex solid transparent;}")
}
}
if (toggle_enable)
{
document.writeln ("A#toggle {display:inline; }")
}
if (operamini4)
{
document.writeln ("DIV#navigbox, DIV#internbox {display:none}")
document.writeln ("DIV#mainbox {position: static; background: white none}")
document.writeln ("TABLE.wrapper, DIV.nofloat TD TABLE.image, TABLE.image {float: none}")
document.writeln ("P.spicenavig {width:150px }")
document.writeln ("P.footer {text-align: left}")
document.writeln ("DIV.valid, TABLE.valid {display:none}")
document.writeln ("DIV.nametab, DIV.nametab DIV, DIV.nametab P {display:block; padding:0}")
document.writeln ("DIV.nametab SPAN, DIV.nametab A {display:inline}")
document.writeln ("DIV.nametab SPAN.ini A SPAN {background: #FC4}")
}
if (konq)
{
document.writeln ("DIV#navigbox {height: 1600px}")
document.writeln ("HTML BODY DIV#navigbox LI A {padding-top:7px; padding-bottom: 3px}")
document.writeln ('TABLE.nofloat {clear:right}');
if (browserversion <4) document.writeln (".namaratnatrayaya {display:none}")
document.writeln ("BODY {background-attachment: fixed;}")
document.writeln (".msiekludge,.msiegreek {font-family: Code2000,FreeSerif, FreeSans}")
document.writeln ("*[lang=ine], *[lang=gem], *[lang=dra], *[lang=sla], *[lang=sem], *[lang=fiu] {font-family: Code2000, 'Microsoft Sans Serif', FreeSerif, FreeSans}")
}
if (arora)
{
document.writeln (".msiekludge,.msiegreek {font-family: Code2000, 'Microsoft Sans Serif', FreeSerif, FreeSans}")
}
if (konq || (msie && !winxp && !msie8) )
{
document.writeln (".rocomp {display: inline}")
document.writeln (".ronew {display: none}")
}
if (msie8 || konq || safari) document.writeln ("HTML DIV.switchoff TABLE.lang TR.ii TD[lang=vi] {display: table-cell}")
liemph="{color: red}"
if (opra) document.writeln ("LI.opera "+liemph)
if (gecko) document.writeln ("LI.gecko "+liemph)
if (gecko17) document.writeln ("LI.gecko17 "+liemph)
if (gecko18) document.writeln ("LI.gecko18 "+liemph)
if (gecko19) document.writeln ("LI.gecko19 "+liemph)
if (gecko19 && browserversion < 19.1) document.writeln ("LI.gecko190 "+liemph)
if (gecko20) document.writeln ("LI.gecko20 "+liemph)
if (msie) document.writeln ("LI.msie "+liemph)
if (msie5) document.writeln ("LI.msie5 "+liemph)
if (msie6) document.writeln ("LI.msie6 "+liemph)
if (msie7) document.writeln ("LI.msie7 "+liemph)
if (msie8) document.writeln ("LI.msie8 "+liemph)
if (konq) document.writeln ("LI.khtml "+liemph)
if (chrome) document.writeln ("LI.chrome "+liemph)
if (chrome && browserversion >=5 ) document.writeln ("LI.chrome5 "+liemph)
if (konqold) document.writeln ("LI.khtml33 "+liemph)
if (safari) document.writeln ("LI.webkit "+liemph)
if (arora) document.writeln ("LI.arora "+liemph)
document.writeln ("LI.all "+liemph)
document.writeln ('<\/STYLE>')
try {foo="bar"} catch (foo) {}
u1=window.location.href;
u0=u1
if (u1.indexOf("//") > 0)
{
start=u1.indexOf ("://")
if (start == u1.length)
{
start=0
}
else
{
start=start+5
}
for (i=start; i<u1.length-1; i++)
{
if (u1.substring(i,i+2) == "//")
{
u1 = u1.substring(0,i) + u1.substring(i+1,u1.length)
i--
}
}
}
if (window.location.protocol == "http:" && !links)
{
u1=substitute_string (u1,"//www-ang","//www")
u1=substitute_string (u1,"//webdb","//www")
u1=substitute_string (u1,".lvevalu.",".")
u1=substitute_string (u1,"//lvevalu.","//www.")
u1=substitute_string (u1,"chemiestudium-graz.at","uni-graz.at")
u1=substitute_string (u1,"kfunigraz.ac.at","uni-graz.at")
u1=substitute_string (u1,"uni-graz.ac.at","uni-graz.at")
u1=substitute_string (u1,"%7E","~")
u1=substitute_string (u1,"%7e","~")
}
if (window.location.search=="?noframes" && !links) u1=substitute_string (u1,"?noframes","?style=flow")
if (u0 != u1)
{
try {
self.location.replace(u1)
}
catch (foo)
{
self.location.href=u1
}
}
function kill_transparency()
{
var e=document.getElementsByTagName("img");
for(var i=0;i<e.length;i++)
{
osrc=e[i].src
if (osrc.indexOf("anybrowser.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("UniEncGrey.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("valid-css.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("wdglogo-small.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("validome.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("w3c-valid.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("search.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("google_analytics.png")>0) {e[i].src = makeopaque(e[i].src)}
if (osrc.indexOf("mni.png")>0) {e[i].src = makeopaque(e[i].src)}
}
}
function set_stylesheet (style)
{
if (style == "mini") {if (!globdbg && !confirm ("Dieser Stil enfernt alle Navigationselemente.\nEine Wiederherstellung ist nur von der Hauptseite aus m\u00F6glich.\nIst das in Ihrem Sinn?")) return}
nnew=put_param(window.location.href,"style",style)
nnew=prepare_derived_url(nnew)
if (msiebad && (style=="" || style=="default"))
{
self.location.href=nnew
add_style_to_links (style)
return
}
try
{
self.location.replace(nnew)
}
catch (foo)
{
self.location.href=nnew
}
add_style_to_links (style)
}
function add_style_to_links (style)
{
if (style=="default" || style=="") return
var key=new Array()
key[0]="style"
if (style == "mini" && (e=document.getElementById("nojscript")))
{
}
}
function propagate_parameters_to_links()
{
var key=new Array()
var p=get_param (window.location.href, "propagate")
var s=get_param (window.location.href, "style")
if (p=="" && s=="") return
if ( s!="" ) key[0]="style"
if ( p!="" )
{
if (p==1) p="all"
else if (p==2) p="All"
else p="+"+p+"+"
key[key.length]="propagate"
if ( (p=="all" || p=="All" || p.indexOf("+spice+")>-1) && (get_param (window.location.href, "spice") !="")) key[key.length]="spice"
if ( (p=="All" || p.indexOf("+showlangs+")>-1) && (get_param (window.location.href, "showlangs")) !="") key[key.length]="showlangs"
if ( (p=="all" || p=="All" || p.indexOf("+dbg+")>-1) && (get_param (window.location.href, "dbg") !="")) key[key.length]="dbg"
if ( (p=="all" || p=="All" || p.indexOf("+spicenames+")>-1) && (get_param (window.location.href, "spicenames")) !="") key[key.length]="spicenames"
if ( (p=="all" || p=="All" || p.indexOf("+shownames+")>-1) && (get_param (window.location.href, "shownames")) !="") key[key.length]="shownames"
}
propagate_keys_to_links(key)
return
}
function propagate_keys_to_links(key)
{
var e=document.getElementsByTagName("a");
var i,j,v
var c=0
var val = new Array()
for (i=0;i<key.length; i++)
{
val[i]=get_param(window.location.href,key[i])
if (key[i] == "spicenames" && ((p=val[i].indexOf("++"))>-1))
{
var lett=false
v=""
for (j=p;j<val[i].length; j++)
{
if (lett || val[i].charAt(j) !="+")
{
lett=true
v+=val[i].charAt(j)
}
}
val[i]=v
}
}
for(i=0;i<e.length;i++)
{
otarget=e[i].href
prot=otarget.substring(0,otarget.indexOf(":")+1)
protok=(prot=="file:" || (otarget.indexOf("http://www.uni-graz.at/~katzer/germ/")==0) || (otarget.indexOf("http://www.uni-graz.at/~katzer/engl/")==0))
myself=window.location.href
if (myself.indexOf("#") > 0) myself=myself.substring(0,myself.indexOf("#"))
if (myself.indexOf("?") > 0) myself=myself.substring(0,myself.indexOf("?"))
notmyself = (otarget.indexOf(myself+"#") < 0 ) && (otarget.indexOf(myself+"?") < 0 )
if (otarget != "" && protok && notmyself)
{
ntarget=otarget
for (j=0; j<key.length; j++)
{
if (get_param(ntarget, key[j]) == "")
{
ntarget = put_param (ntarget, key[j], val[j])
}
else if (key[j] == "spicenames")
{
ntarget = put_param (ntarget, key[j], get_param(ntarget, key[j]) +"++"+ val[j])
}
}
e[i].href=ntarget
c++
}
}
}
function swap_stylesheet (style)
{
var i, main;
var e=document.getElementsByTagName("link");
for(var i=0;i<e.length;i++)
{
r=e[i].getAttribute("rel").toLowerCase()
t=e[i].getAttribute("title")
if (t) t=t.toLowerCase()
if (r.indexOf("style")>-1 && r.indexOf("alt")>-1 && t)
{
e[i].disabled=true
e[i].disabled=(t!=style)
}
}
}
function put_param (old, name, value)
{
if (value=="default") value=""
oldval=get_param (old, name)
if (oldval==value) return old
if (value=="") return remove_param (old, name)
if (oldval != "")
{
nnew = substitute_string (old, name+"="+oldval, name+"="+value)
}
else
{
o3=old.length
o4=old.indexOf("#")
o5=old.indexOf("?")
if (o4 < 0)
{
if (o5 < 0)
{ nnew = old + "?" + name + "=" + value }
else
{ nnew = old + "&" + name + "=" + value }
}
else
{
if (o5 < 0)
{ nnew = old.substring (0,o4) + "?" + name + "=" + value + old.substring (o4,o3) }
else
{ nnew = old.substring (0,o4) + "&" + name + "=" + value + old.substring (o4,o3) }
}
}
return (nnew)
}
function remove_param (old, name)
{
o1=old.indexOf("?")
ol=old.length
val=get_param(old,name)
if (val=="") return old
string=name+"="+val
o2=old.indexOf(string)
sl=string.length
o3=o2+sl
xr=old.substring(o3,o3+1)
if (xr=="&") o3++
if (xr==''||xr=="#") o2--
nnew=old.substring(0,o2) + old.substring(o3,ol)
return nnew
}
function get_param (old, name)
{
o1=old.indexOf ("?")
ol=old.length
if (o1 < 0)
{
value=""
}
else
{
o2=o1 + old.substring (o1, ol).indexOf(name+"=")
if (o2 < o1)
{
value=""
}
else
{
value=old.substring(o2,ol)
value=value.substring(value.indexOf("=")+1,value.length)
if (value.indexOf("#")>0) value=value.substring(0,value.indexOf("#"))
if (value.indexOf("&")>0) value=value.substring(0,value.indexOf("&"))
}
}
return value
}
function write_style_selection ()
{
if (styleselection)
{
document.writeln('<LI id=styleselect> <A href="spice_display.html">Display <SPAN class=x><SPAN>Das Layout dieser Seite ver&auml;ndern<\/SPAN><\/SPAN><\/A>')
document.writeln('<UL>')
document.writeln('<LI><A lang="en" href="javascript:set_stylesheet('+"'default'"+')">Default <SPAN lang="de" class=x><SPAN>Hintergrundbilder und fixer Navigations&shy;block<\/SPAN><\/SPAN><\/A><\/LI>')
document.writeln('<LI><A lang="en" href="javascript:set_stylesheet('+"'nobg'"+')">Plain <SPAN lang="de" class=x><SPAN>Keine Hintergrundbilder<\/SPAN><\/SPAN><\/A><\/LI>')
document.writeln('<LI><A lang="en" href="javascript:set_stylesheet('+"'flow'"+')">Flow <SPAN lang="de" class=x><SPAN>Keine positions&shy;fixen Elemente<\/SPAN><\/SPAN><\/A><\/LI>')
document.writeln('<LI><A lang="en" href="javascript:set_stylesheet('+"'mini'"+')">Mini <SPAN lang="de" class=x><SPAN>Gar keine Navigations&shy;elemente<\/SPAN><\/SPAN><\/A><\/LI>')
document.writeln('<\/UL><\/LI>')
}
}
function makeopaque(string)
{
l=string.length
p=l-4
if (string.substring(p,l) == '.png') { string=string.substring(0,p) + "-opaque.png" }
return string
}
function transfer_param (old, nnew, name)
{
return put_param (nnew, name, get_param (old, name))
}
function substitute_string (xstring, xold, xnew)
{
var xstring, xold, xnew;
var lold,lstring, idx, corr;
idx = xstring.indexOf(xold)
if (idx == -1) return xstring
lold=xold.length
lstring=xstring.length
corr = xstring.substring(0,idx) + xnew + xstring.substring(idx+lold,lstring)
return corr
}
function translate ()
{ var the_url, i, j ;
if (links) return false;
newurl = substitute_string (window.location.href, '/germ/', '/engl/')
if (toggle_enable)
{
if ((p=get_param(newurl,"shownames")) == 0)
{
if (togglestatus=="none") newurl= put_param (newurl, "shownames", "")
else if (togglestatus=="block") newurl= put_param (newurl, "shownames", "show")
else newurl= put_param (newurl, "shownames", "show")
}
}
if (languageselection & (window.location.href.indexOf("spice_hanzi") > 0))
{
s1=""
s1=s1 + ((translatestring.indexOf("zh+")) >= 0?"zh+":"")
s1=s1 + ((translatestring.indexOf("zh-hk+")) >= 0?"zh-hk+":"")
s1=s1 + ((translatestring.indexOf("ja+")) >= 0?"ja+":"")
newurl=put_param(newurl,"showlangs",s1)
s2=""
s2=s2 + ((translatestring.indexOf("zhlo+")) >= 0?"zhlo+":"")
s2=s2 + ((translatestring.indexOf("zhhi+")) >= 0?"zhhi+":"")
newurl=put_param(newurl,"showtypes",s2)
s3= ((translatestring.indexOf("disable") >= 0)?"disable":"enable")
newurl=put_param(newurl,"pinyin",s3)
}
else if (languageselection && (window.location.href.indexOf("spice_large") > 0 || (window.location.href.indexOf("spice_alph")>0)))
{
if (translatestring != "")
{
if (translatestring.charAt(0)=='+') translatestring = translatestring.substring(1,translatestring.length);
newurl= put_param (newurl, "showlangs", translatestring)
}
if (keystring != "") newurl= put_param (newurl, "spice", keystring)
}
else if (languageselection && (window.location.href.indexOf("spice_kana") > 0))
{
if (document.getElementById("translit").checked) {newurl=put_param(newurl,"translit","true")} else {newurl=remove_param (newurl,"translit")}
if (document.getElementById("onlykanji").checked) {newurl=put_param(newurl,"onlykanji","true")} else {newurl=remove_param (newurl,"onlykanji")}
if (document.getElementById("nokanji").checked) {newurl=put_param(newurl,"nokanji","true")} else {newurl=remove_param (newurl,"nokanji")}
if (document.getElementById("katakana").checked) {newurl=put_param(newurl,"katakana","true")} else {newurl=remove_param (newurl,"katakana")}
}
else if (languageselection && (window.location.href.indexOf("spice_indic") > 0))
{
if (translatestring != "") newurl= put_param (newurl, "showlangs", translatestring)
newurl=remove_param (newurl, "script")
if (radio=document.getElementById("selectform").scr)
{
scriptval='??'
for (i=1; i<radio.length; i++) {if (radio[i].checked) scriptval=radio[i].value}
if (scriptval != '??') newurl=put_param(newurl,"script",scriptval)
}
}
else if (translatestring != "")
{
if (translatestring.charAt(0)=='+') translatestring = translatestring.substring(1,translatestring.length);
newurl= put_param (newurl, "showlangs", translatestring)
}
else if ((e=document.getElementById('trvpic')) && e.src)
{
for (i=0; i<e.src.length; i++) {if (e.src.charAt(i) == '/') i1=i+1}
newurl=put_param (newurl, 'travimg', e.src.substring(i1,e.src.length))
}
window.location.href= newurl
}
function prepare_derived_url (newurl)
{
if (toggle_enable)
{
if ((p=get_param(newurl,"shownames")) == 0)
{
if (togglestatus=="none") newurl= put_param (newurl, "shownames", "")
else if (togglestatus=="block") newurl= put_param (newurl, "shownames", "show")
else newurl= put_param (newurl, "shownames", "show")
}
}
if (languageselection && (window.location.href.indexOf("spice_hanzi") > 0))
{
s1=""
s1=s1 + ((translatestring.indexOf("zh+")) >= 0?"zh+":"")
s1=s1 + ((translatestring.indexOf("zh-hk+")) >= 0?"zh-hk+":"")
s1=s1 + ((translatestring.indexOf("ja+")) >= 0?"ja+":"")
newurl=put_param(newurl,"showlangs",s1)
s2=""
s2=s2 + ((translatestring.indexOf("zhlo+")) >= 0?"zhlo+":"")
s2=s2 + ((translatestring.indexOf("zhhi+")) >= 0?"zhhi+":"")
newurl=put_param(newurl,"showtypes",s2)
s3 = ((translatestring.indexOf("disable") >= 0)?"disable":"enable")
newurl=put_param(newurl,"pinyin",s3)
}
else if (languageselection && (window.location.href.indexOf("spice_kana") > 0))
{
if (document.getElementById("translit").checked) {newurl=put_param(newurl,"translit","true")} else {newurl=remove_param (newurl,"translit")}
if (document.getElementById("onlykanji").checked) {newurl=put_param(newurl,"onlykanji","true")} else {newurl=remove_param (newurl,"onlykanji")}
if (document.getElementById("nokanji").checked) {newurl=put_param(newurl,"nokanji","true")} else {newurl=remove_param (newurl,"nokanji")}
if (document.getElementById("katakana").checked) {newurl=put_param(newurl,"katakana","true")} else {newurl=remove_param (newurl,"katakana")}
}
else if (languageselection && (window.location.href.indexOf("spice_indic") > 0))
{
if (translatestring != "") newurl= put_param (newurl, "showlangs", translatestring)
newurl=remove_param (newurl, "script")
if (radio=document.getElementById("selectform").scr)
{
scriptval='??'
for (i=1; i<radio.length; i++) {if (radio[i].checked) scriptval=radio[i].value}
if (scriptval != '??') newurl=put_param(newurl,"script",scriptval)
}
}
else if (translatestring != "")
{
if (translatestring.charAt(0)=='+') translatestring = translatestring.substring(1,translatestring.length);
newurl= put_param (newurl, "showlangs", translatestring)
}
else if ((e=document.getElementById('trvpic')) && e.src)
{
for (i=0; i<e.src.length; i++) {if (e.src.charAt(i) == '/') i1=i+1}
newurl=put_param (newurl, 'travimg', e.src.substring(i1,e.src.length))
}
return newurl
}
function get_firefox ()
{
if (msiebad)
{
document.writeln ('<A style="display: block; margin: 2px; float: right; border:0" href="http://www.mozilla.org/products/firefox/"><IMG style="border:0" alt="Get Firefox!" title="Firefox &ndash; der bessere Browser!"  src="../getfirefox_small.gif"><\/A>')
}
}
function write_online_demo ()
{
switch (online_demo)
{
case 0:
break
case 1:
document.writeln ('<div id="akct-at"><a href="http://ueberwachungsstaat.at/" title="Stoppt die Online-&Uuml;berwachung in &Ouml;sterreich! Jetzt klicken &amp; handeln!"><img src="http://wiki.helge.at/images/c/c5/Ueberwt.gif" width=100 height=80 alt="Stoppt die Online-&Uuml;berwachung!"></a>')
document.writeln ('<a id="akpreload-at" href="http://wiki.helge.at/Online-Demo" title="Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien"><img src="http://wiki.helge.at/images/0/06/Ueberwi.gif" alt="Infos und Materialien" ></a></div>')
break
case 2:
document.writeln ('<div id="akct-at"><a id="akpeel-at" href="http://ueberwachungsstaat.at/" title="Stoppt die Online-&Uuml;berwachung in &Ouml;sterreich! Jetzt klicken &amp; handeln!"><img src="http://wiki.helge.at/images/c/c5/Ueberwt.gif" width=110 height=80 alt="Stoppt die Online-&Uuml;berwachung!"></a>')
document.writeln ('<a id="akpreload-at" href="http://wiki.helge.at/Online-Demo" title="Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien"><img src="http://wiki.helge.at/images/0/06/Ueberwi.gif" alt="Infos und Materialien"></a></div>')
break
case 3:
document.writeln ('<div id="akct-de"><a href="http://www.vorratsdatenspeicherung.de?lang=de" title="Stoppt die Vorratsdatenspeicherung in Deutschland! Jetzt klicken &amp; handeln!"><img src="http://wiki.vorratsdatenspeicherung.de/images/Akvst.gif" width=100 height=80 alt="Stoppt die Vorratsdatenspeicherung!"></a>')
document.writeln ('<a id="akpreload-de" href="http://wiki.vorratsdatenspeicherung.de/?title=Online-Demo" title="Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien"><img src="http://wiki.vorratsdatenspeicherung.de/images/Akvsi.gif" alt="Infos und Materialien"></a></div>')
break
case 4:
document.writeln ('<div id="akct-de"><a id="akpeel-de" href="http://www.vorratsdatenspeicherung.de?lang=de" title="Stoppt die Vorratsdatenspeicherung in Deutschland! Jetzt klicken &amp; handeln!"><img src="http://wiki.vorratsdatenspeicherung.de/images/Akvst.gif" width=100 height=80 alt="Stoppt die Vorratsdatenspeicherung!" ></a>')
document.writeln ('<a id="akpreload-de" href="http://wiki.vorratsdatenspeicherung.de/?title=Online-Demo" title="Willst du auch an der Aktion teilnehmen? Hier findest du alle relevanten Infos und Materialien"><img src="http://wiki.vorratsdatenspeicherung.de/images/Akvsi.gif" alt="Infos und Materialien"></a></div>')
break
}
}
function countCharacters(n)
{
if (n.nodeType == 3 /*Node.TEXT_NODE*/)
return n.length;
var numchars = 0;
for(var m = n.firstChild; m != null; m = m.nextSibling)
{
numchars += countCharacters(m);
}
return numchars;
}
function check_if_empty (string)
{
if (string == "") {return true}
for (i=0; i<string.length; i++)
{
if (string == " ") {return true}
if (string.charAt(0) == " ")
{
i--
string=string.substring (1,string.length)
}
else
{
return false
}
}
}
function check_search_string ()
{
return (!check_if_empty (this.q.value))
}
function scrollup ()
{   var old_url, anchor
var xxx="nexxxary"
if (msiebad) kill_transparency();
if ( (e=document.getElementById("form_div"))) e.style.display="block"
if (opra) register_opera_event_handlers();
if (links) return
if (languageselection && document.getElementById('lselect')) document.getElementById('lselect').style.display='inline'
today=new Date()
if (today.getDate() == "10" && today.getMonth() == 11)
{
{ShowHideTodestag()};
if (e=document.getElementById("todestag"))
{
e.title="10. Dezember: Tag der Menschenrechte"
}
}
if (opra || gecko) fix_multicolumn_ini()
if ((e=document.getElementById("search_form")) && e.action.indexOf("/search")>0)
{
e.action = "http://www.google.com/cse?"
e.onsubmit= check_search_string
if (el=document.getElementsByName ("hl")) {}
if (el=document.getElementsByName ("lr"))
{
e1=document.createElement ("INPUT")
e1.name="cx"
e1.type="hidden"
e1.value="011581551592337715855:aqsu71gkghw"
el[0].parentNode.replaceChild(e1,el[0])
}
}
if (safari || konq)
{
try {fix_webkit_shy()}
catch (foo) {}
}
if (opra)
{
try {fix_opera_quotes(); fix_opera_shy(); fix_opera_punctuation(); fix_opera_indent(); fix_opera_br()}
catch (foo) {}
}
window.onresize = adjust_images
adjust_images()
propagate_parameters_to_links ()
if (run_on_load_flag) run_on_load();
if (gecko && browserversion >= 19)
{
wbr=document.getElementsByTagName("WBR")
if (wbr.length > 0)
{
for (; wbr.length > 0;)
{
newnode=document.createElement("XBR")
wbr[0].parentNode.replaceChild(newnode,wbr[0])
}
}
}
if (konq)
{
wbr=document.getElementsByTagName("WBR")
if (wbr.length > 0)
{
for (i=0; i<wbr.length ; i++)
{
if (wbr[i].firstChild && (wbr[i].firstChild.nodeName == "#text"))
{
wbr[i].firstChild.nodeValue = "\u200B"+wbr[i].firstChild.nodeValue
}
}
}
}
if (msie8 || safari) try
{
xwbr=document.getElementsByTagName("WBR")
if (xwbr.length > 0)
{
j=0
k=0
for (i=xwbr.length; i>00; i--)
{
if (p=xwbr[j].previousSibling)
{
char1=p.nodeValue.substr(p.nodeValue.length-1,1)
if (char1 != "-")
{
if ((n=xwbr[j].nextSibling) && (n.nodeName=="#text")) char2=n.nodeValue.substr(0,1)
else char2="x"
zwsp = document.createElement("SPAN")
if (char2==" " && msie) {zwsp.innerHTML="\u200B "; }
else if (char2==" ") {zwsp.innerHTML=" "; n.nodeValue=n.nodeValue.substr(1,n.nodeValue.length)}
else zwsp.innerHTML="\u200B"
zwsp.style.whiteSpace="normal"
zwsp.style.display='inline'
if (msie || (safari && char2==" ")) {xwbr[j].parentNode.replaceChild(zwsp,xwbr[j]); k++}
}
else j++
}
}
}
}
catch (foo) {}
if (document.getElementsByClassName && (li=document.getElementsByClassName("main")[0])) li.onclick=li_main_click
if (toggle_enable)
{
var sn1, sn2, td, tr, lang, cl;
sn1=get_param(window.location.href,"shownames")
sn2=get_param(window.location.href,"spicenames")
fake=(gecko && (browserversion < 19.05))
if (fake) fake_gecko_langs()
if (do_index_stunt && sn2 != "")
{
sn2="+"+sn2+"+"
sn2=substitute_string (sn2,"+indic+","apt+as+bh+bn+bo+brx+doi+dz+grt+gu+hi+kha+ks+lus+mni+nbi+nbu+ne+njm+nmf+pa+ur+mr+or+kn+kok+ml+ta+te+tcy")
td=document.getElementsByTagName("td")
for (i=0; i<td.length;i++)
{
tr=td[i].parentNode
lang=td[i].lang
if ((q=lang.indexOf("-"))>-1) {lang=lang.substring(0,q)}
if (lang != "" && sn2.indexOf("+"+lang+"+")>-1)
{
test=!tr.attributes["class"]
if (konq) test=(tr.className == "")
if (test)
{
tr.className = 'i'
}
else
{
a=" i"
if (tr.className.indexOf("mergeX")>-1 && (lang != "ja") && (lang != "mni")) a=" ii"
if ((tr.className.indexOf("merge2")>-1) && (lang=="vi")) a=" ii"
if (msie) tr.firstChild.style.display='inline'
if (tr.className.indexOf(" i") < 0 ) tr.className += a
if (tr.className.indexOf("ii") > 0 && lang == "ja" ) tr.className = "mergeX i"
}
}
}
}
if (sn1 == "show" || sn2=="show") {toggle_display_linktext()}
if (sn1 != "show" && sn2 != "show" && toggle_in_onload) toggle_display_namelist()
}
if (gecko && (browserversion < 19.05 || browserversion >= 20))
{
var langnames = new Array()
langnames["doi"]="Dogri"
langnames["ks"]="Kashmiri"
langnames["kok"]="Konkani"
langnames["new"]="Nepalbhasa"
langnames["brx"]="Bodo"
langnames["bh"]="Maithili"
langnames["sd"]="Sindhi"
langnames["mni"]="Manipuri"
langnames["bpy"]="Bishnupriya"
langnames["syl"]="Sylheti"
langnames["raj"]="Rajasthani"
langnames["ljb"]="Ladakhi"
langnames["trp"]="Kokborok"
langnames["tcy"]="Tulu"
if (browserversion < 19.05 || true)
{
if((e=document.getElementById("fake_this_to_hi1")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi2")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi3")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi4")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi5")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi6")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi7")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi8")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_hi9")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="hi-"+ln
if((e=document.getElementById("fake_this_to_bn1")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_bn2")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_bn3")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_bn4")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_bn5")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_bn6")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_bn7")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bn-"+ln
if((e=document.getElementById("fake_this_to_kn")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="kn-"+ln
if((e=document.getElementById("fake_this_to_bo")) && ((ln=langnames[e.lang]) || (ln=langnames[e.lang.substring(0,e.lang.indexOf("-"))]))) e.lang="bo-"+ln
}
}
if (document.getElementById("languageselect"))
{
if (get_param (window.location.href,"showlangs") != "")
{
apply_languages()
}
else
{
if ((msie6))
{
try
{
if (window.location.href.indexOf("spice_small")>0) document.getElementById("la").checked=true
for (i=0; i<langs.length; i++)
{
if (inputs[i]) inputs[i].checked=!inputs[i].disabled
}
if (window.location.href.indexOf("spice_arabic")>0) document.getElementById("he").checked=false
if (window.location.href.indexOf("spice_hebraic")>0) document.getElementById("ar").checked=false
}
catch (foo) {}
}
else
{
if (window.location.href.indexOf("hanzi")<0) apply_languages()
translatestring=""
}
}
}
try
{
for (i=0; i<langs.length; i++)
{
c=0
if (e=document.getElementById("count"+langs[i]))
{
c=parseInt(e.firstChild.nodeValue)
}
if (l=document.getElementById(langs[i]))
{
l.parentNode.title+= ' \u202d  ('+c+')'
}
}
}
catch (foo) {}
if ((gecko || konq || opra || safari ))
{
if (window.location.href.indexOf("#") > 0)
{
window.location.href=window.location.href
}
}
if (styl == "mini")
{
if (e=document.getElementById("nojscript"))
{
e.firstChild.firstChild.nodeValue ="Gernot Katzers Gew\u00FCrz- seiten"
e.firstChild.href ="index.html?style=mini"
set_style(e,"display","block")
if (gecko18)
{
set_style(e,"position","absolute")
set_style(e,"right","0%")
set_style(e,"left","auto")
}
}
x=window.location.hash
if (x != "")
{
x=x.substring(1,x.length)
position (x)
}
return
}
if (styl == "flow")
{
n=document.getElementById('navigbox');
h1=get_style(n,"height")
if (window.innerHeight) {h2=window.innerHeight+"px"}
else {h2=document.documentElement.clientHeight+"px"}
if (h2 != 0)
{
try {n.style.height="100%"} catch (foo) {}
h3=get_style(n,"height")
if (opra) h3=h2
if (msie) {h3=h2; n.style.height=h3}
setStyleByClass("DIV","nojscript","height",h3)
setStyleByClass("DIV","nojscript","display","block")
if (h2 == h3) window.onresize=rq
set_style (document.getElementById("mainbox"),"margin-top","2em")
}
if (gecko)
{
x=window.location.hash
if (x != "")
{
x=x.substring(1,x.length)
position (x)
}
}
return
}
url = window.location.href;
if (((url.indexOf("#") > 0) && (styl!="flow") && (styl!="mini")))
{
anchor=window.location.hash
if (safari || konq)
{
scrollamount=32
if (window.location.href.indexOf("spice_bot.html") > 0) scrollamount = 50
try
{
ib=document.getElementById("internbox")
scrollamount=ib.offsetHeight + 2
}
catch (foo) {}
setTimeout ("window.scrollBy (0,-scrollamount);", 10);
}
else
{
wait=100
if (msie && !msiebad)
{
wait=250
n=countCharacters(document.body)
wait=n/80
if (wait < 250) wait=250
if (window.location.href.indexOf("spice_") > -1) wait=2*wait
if (wait > 3000) wait=3000
}
scroll_this_window(1.0,wait)
}
}
else if (url.indexOf("?bottom") > 0)
position ('bottom')
}
function li_main_click()
{
var el=this.firstChild
if (el.nodeName.toUpperCase() != "A") el=el.nextSibling
window.location.href=el.href
}
function fix_multicolumn_ini ()
{
if (!gecko && !safari && !opra) return
if (gecko17) return
if (opra && browserversion < 11.1) return
var e=document.getElementById ("nametab")
if (!e) return
el=e.getElementsByTagName ("SPAN")
var cn=""
for (i=el.length-1; i>=0; i-- )
{
if (el[i].parentNode.nodeName.toUpperCase() == "P")
{
if (el[i].className == "ini")
{
if (cn) el[i].className = "ini "+cn
cn="seper"
}
else
{
if (cn) el[i].className = cn
cn=""
}
el[i].parentNode.className=el[i].className
}
}
}
function fix_webkit_shy()
{
var e,j,i,t,tt
j=0
if (konq )  { fix_opera_shy(); return}
if (chrome && browserversion <8 )  { fix_opera_shy(); return}
if ( !chrome )  { fix_opera_shy(); return}
e=document.getElementsByTagName ("*")
j=0
for (i=0; i<e.length; i++)
{
if ((t=e[i].firstChild )&& t.nodeName == "#text" && (tt=e[i].nextSibling) && tt.nodeName == "#text")
{
if (t.nodeValue.substr(t.length-1,1) == "\u00AD" )
{
t.nodeValue=t.nodeValue.substring (0,t.nodeValue.length-1)
tt.nodeValue = "\u00AD" + tt.nodeValue
j++
if (globdbg) e[i].style.backgroundColor="rgba(0,255,0,0.3)"
}
else if (chrome && browserversion >=8 && t.nodeValue.indexOf("\u00AD") > -1 && tt.nodeValue.charAt(0) == " " && e[i].id.indexOf("text") == -1 )
{
for (j=t.nodeValue.length-1; j>0; j--)
{
if (t.nodeValue.charAt(j) == " ") j=-2
if (t.nodeValue.charAt(j) == "\u00AD")
{
tt.nodeValue = "\u200B" + tt.nodeValue
if (globdbg) e[i].style.backgroundColor="rgba(0,128,0,0.3)"
j=-3
}
}
}
}
}
if (globdbg && j>0) window.status+="A:"+j+" "
}
function fix_opera_shy()
{
var e,j,i,t
j=0
if (!opra && !konq &&  !safari) return
e=document.getElementsByTagName ("a")
j=0
for (i=0; i<e.length; i++)
{
if ((t=e[i].firstChild )&& t.nodeName == "#text")
{
if (t.nodeValue.substr(t.length-1,1) == "\u00AD")
{
t.nodeValue+="\u200B"
j++
if (globdbg) e[i].style.backgroundColor="rgba(128,255,0,0.5)"
}
}
}
if (globdbg && j>0) window.status+="A:"+j+" "
}
function fix_opera_br()
{
var br,j,i
if (!opra) return
br=document.getElementsByTagName ("br")
j=0
for (i=0; i<br.length; i++)
{
if (br[i].attributes.clear && br[i].attributes.clear.value == "right")
{
br[i].attributes.clear.value = "none"
j++
}
}
if (globdbg && j>0) window.status+="BR:"+j+" "
}
function fix_opera_quotes()
{
var q,j,i
if (!opra) return
q=document.getElementsByTagName ("q")
j=0
for (i=0; i<q.length; i++)
{
if (q[i].nextSibling)
{
if (q[i].nextSibling.nodeValue.substring(0,2) == " (")
{
q[i].nextSibling.nodeValue = "\u200B"+q[i].nextSibling.nodeValue;
j++
if (globdbg) q[i].style.backgroundColor="lime"
if (globdbg) q[i].style.backgroundColor="rgba(128,255,0,0.5)"
}
}
}
if (globdbg && j>0) window.status+="Q:"+j+" "
}
function fix_opera_indent()
{
if (!opra) return
var e,j,i,t
e=document.getElementsByTagName ("p")
j=0
for (i=0; i<e.length; i++)
{
if (parseInt(get_style(e[i],"text-indent")) >0)
{
t=e[i].previousSibling
if (t && t.nodeName=="#text") t=t.previousSibling
if (t && t.nodeName.toLowerCase() == "table")
{
if (get_style (t,"float") == "right")
{
e[i].className+=" operaindentfix"
if (e[i].nextSibling && e[i].nextSibling.nodeName.toLowerCase() =="p") e[i].nextSibling.className+=" operaindentfix"
j++
}
}
}
}
if (globdbg && j>0) window.status+="P:"+j+" "
}
function fix_opera_punctuation()
{
if (!opra) return
var punct="\"'()[],:.?!;"
var e=document.getElementsByTagName("*")
var j=0
var i,t,v,z
for (i=0; i<e.length; i++)
{
if (e[i].nodeName && e[i].nodeName != "#text" && get_style(e[i],"white-space") == "nowrap")
{
n=e[i].nextSibling
if (n && n.nodeName=="#comment") n=n.nextSibling
if (n && n.nodeName=="#text" && (v=n.nodeValue) && v.length)
{
if (punct.indexOf(v.substr(0,1)) > -1)
{
t=e[i].lastChild
z=1
if (punct.indexOf(v.substr(1,1)) > -1) z++
if (t && t.nodeName!="#text") t=t.lastChild
if (t && t.nodeName=="#text")
{
t.nodeValue+=v.substr(0,z)
n.nodeValue = v.substr(z,v.length)
if (globdbg) t.parentNode.style.backgroundColor="lime"
if (globdbg) t.parentNode.style.backgroundColor="rgba(128,255,0,0.5)"
j++
}
}
}
}
}
if (globdbg && j>0) window.status+="Z:"+j+" "
}
function rq()
{
if (window.innerHeight) {h1=window.innerHeight}
else {h1=document.documentElement.clientHeight}
h1=parseFloat(h1)
try
{
h2=parseFloat(document.getElementById('navigbox').style.minHeight)
}
catch (foo) {h2=455}
if (((h2>h1) == (h2<h1)) && (h1 != h2) ) h2=455
h=h1
if (h1 < h2) h=h2
setStyleByClass("DIV","nojscript","height",h+"px")
if (msie) navigbox.style.height=h+"px"
adjust_images()
}
function fake_gecko_langs ()
{
if (!gecko || browserversion > 19.05) return
td=document.getElementsByTagName("td")
for (i=0; i<td.length;i++)
{
tr=td[i].parentNode
lang=td[i].lang
if (tr.className.indexOf("merge1") > -1)
{
if (lang=="new") tr.firstChild.nextSibling.lang="hi-Nepalbhasa"
if (lang=="doi") tr.firstChild.nextSibling.lang="hi-Dogri"
if (lang=="bh") tr.firstChild.nextSibling.lang="hi-Maithili"
if (lang=="mni") tr.firstChild.nextSibling.lang="bn-Manipuri"
}
}
}
function adjust_images( )
{
var w,w1,fac,x,y,z
if (msie) {w=document.documentElement.clientWidth} else {w=window.innerWidth}
x=138
y=0
w1=w
if (msie)
{
fac=1
z=10
}
else if (opra)
{
htmlw=parseFloat(getComputedStyle(document.getElementsByTagName("HTML")[0],"").getPropertyValue("width"))
fac=parseInt(100*w1/(htmlw+16))/100
z=10
}
else
{
fac = parseFloat(getComputedStyle(document.getElementById("mainbox"),"").getPropertyValue("padding-left")) / 10
z=parseInt(getComputedStyle(document.getElementById("mainbox"),"").getPropertyValue("padding-left"))
}
if (get_param(window.location.href,"style") != "flow" && get_param(window.location.href,"style") != "mini" )
{
if (msie) y=document.getElementById("navigbox").offsetWidth+z
else     y=parseInt(getComputedStyle(document.getElementById("navigbox"),"").getPropertyValue("width"))+z
}
else y=z-1
if (opra) w = (w + x - y) / fac
else w = w + (x - y/fac)
onresize_count++
if (globdbg && onresize_count > 1) window.status=""
if (globdbg) window.status += "W: "+parseInt(w)+"/"+parseInt(y/fac)+" px ("+fac+")"
var table="table"
if (msie7 || msiebad) table="block"
if (w)
{
if ((e=document.getElementById("toctable")))
{
e1=document.getElementById("toccell1b")
e2=document.getElementById("toccell2")
if ((w>800))
{
set_style (e1,"display", ((msie7 || msiebad) ? "block" : "table-cell") )
set_style (e1,"width", "50%")
set_style (e2,"display", "none")
}
else
{
set_style (e2,"display", ((msie7 || msiebad) ? "block" : "table-cell") )
set_style (e1,"width", "0")
set_style (e1,"display", "none")
}
}
imgmargin="-0.5em"
if ((e=document.getElementById("afra_02"))) { if ( w<845) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("afra_06"))) { if ( w<1025) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("alli_14"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("alli_33")) && (e1=document.getElementById("alli_33a"))) { e1.style.marginRight="-0.3em"; if ( w>980) { e.style.display="none"; e1.style.display=table } else { e1.style.display="none"; e.style.display=table }}
if ((e1=document.getElementById("alli_xz")) && (e2=document.getElementById("alli_xza")) && (e3=document.getElementById("alli_34x"))) {e1.style.marginRight="-0.3em"; if (w<750) {e1.style.display="none"; e2.style.display=table; e3.style.clear="right"}  else {e1.style.display=table; e2.style.display="none"; e3.style.clear="right"}}
if ((e=document.getElementById("alli_36x"))) { if ( w<715) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("alli_42"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("alli_1"))) { if ( w<515) { e.className="em7" } else { e.className="em1"}}
if ((e=document.getElementById("alli_2"))) { swap_wrap (e, (w<600 && w>400))}
if ((e=document.getElementById("alli_3"))) { if ( w<658) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("alpi_04"))) { if ( w<770) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("alpi_06"))) { if ( w<775) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("amom_04"))) { if ( w<980) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("amom_05x"))) { if ( (w<1170&&w>=980) || w<760 ) { e.style.clear="right"; e.style.marginRight="0px" } else { e.style.clear="none"; e.style.marginRight="-0.2em"}}
if ((e=document.getElementById("amom_05x"))) { if ( (w>=1170) || (w<980&&w>=760) || (w<680) ) { e.width=200 } else {e.width=415 }}
if ((e=document.getElementById("amom_05x"))) { if ( w<980&&w>=760) { e.style.marginBottom="2em" } else {e.style.marginBottom="0em" }}
if ((e=document.getElementById("amom_07"))) { if (w>700) {scale_img (e, 760.1, 759.8, w, 449,400)} else {scale_img (e, 660, 659.9, w, 400, 449)}}
if ((e=document.getElementById("amom_07x"))) { if ( w<660) { e.style.clear="right"; } else { e.style.clear="none"}}
if ((e=document.getElementById("apiu_04x"))) { if ( w<790) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("apiu_04x"))) { if ( w<790 && w>660)  {e.width=(msie)?400:380} else {e.width=180}}
if ((e1=document.getElementById("apiu_09")) && (e=document.getElementById("apiu_09a"))) { if ( w<980) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("arte_01"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("arte_04"))) { if ( w<630) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("arte_08"))) { if ( w<870) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("arte_11"))) { if ( w<760) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("arte_18"))) { if ( w<760) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("arte_2"))) { if ( w<690) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("bixa_10"))) { if ( w<970) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("bora_10"))) { if ( w<1020) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("bora_1"))) { if ( w<700) { e.style.clear="right"; } else { e.style.clear="none"}}
if ((e1=document.getElementById("bras_02")) && (e2=document.getElementById("bras_02x")) && (e3=document.getElementById("bras_06")) && (e4=document.getElementById("bras_02y")) && (e5=document.getElementById("bras_01x")))
{
if (w < 530) {e1.style.display=table; e2.style.display="none"; e3.style.clear="right"; e3.style.marginRight=0; e4.style.display="none"; e5.style.clear="none" }
else if (w < 700) {e1.style.display="none"; e2.style.display="none"; e3.style.clear="right"; e3.style.marginRight=0; e4.style.display=table; e5.style.clear="right" }
else if (w < 920) {e1.style.display="none"; e2.style.display=table; e3.style.clear="right"; e3.style.marginRight=0; e4.style.display="none"; e5.style.clear="none" }
else {e1.style.display=table; e2.style.display="none"; e3.style.clear="none"; e3.style.marginRight=imgmargin; e4.style.display="none"; e5.style.clear="none" }
}
if ((e=document.getElementById("bras_2"))) { if ( w<560) { e.className="em4" } else { e.className=""}}
if ((e=document.getElementById("bras_04")) && (e1=document.getElementById("bras_04a"))) { if ( w<980) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("bras_09"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if (!opra && (e=document.getElementById("bras_10")) && (e1=document.getElementById("bras_10a"))) { if ( w<980) { e.style.display=table; e1.style.display="none";e.style.clear="right" } else {  e1.style.display=table; e.style.display="none"}}
if (opra && (e=document.getElementById("bras_10a"))) { if ( w<980) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("capp_1"))) { if ( w<680) { e.className="em3"; } else { e.className="" }}
if ((e=document.getElementById("capp_18"))) { if (w>670) {scale_img (e, 750,700, w, 450,400)} else {scale_img (e, 650,645, w, 400,450)}}
if ((e=document.getElementById("caps_t1"))) { if (w>600) {scale_img (e, 0,635, w, 374,350)} else {scale_img (e, 580,579.9, w, 350,374)}}
if ((e=document.getElementById("caps_08"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("caps_09"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("caps_24")) && (e1=document.getElementById("caps_24a")) && (e2=document.getElementById("caps_24ax"))) { if ( w<800) { e1.style.display=table; e.style.display="none"; e2.style.display="block" } else {  e.style.display=table; e1.style.display="none"; e2.style.display="none"}}
if ((e=document.getElementById("caps_40"))) { if ( w<750) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none";  e.style.marginRight="-0.5em"}}
if ((e=document.getElementById("caps_59"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none";  e.style.marginRight="-0.5em"}}
if ((e=document.getElementById("caps_x8"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("caps_35a")) && (e1=document.getElementById("caps_35"))) { e.style.clear="right"; e.style.marginRight=0; if ( w<550) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_80a")) && (e1=document.getElementById("caps_80")) && (e2=document.getElementById("caps_87"))) { if ( w<690) { e.style.display=table; e1.style.display="none"; e2.style.clear="right";  e2.style.marginRight=0} else {  e1.style.display=table; e.style.display="none"; e2.style.clear="none"; e2.style.marginRight=0; }}
if ((e=document.getElementById("caps_s3a")) && (e1=document.getElementById("caps_s3"))) { if ( w<550) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_92a")) && (e1=document.getElementById("caps_92"))) { if ( w<1000) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_c2a")) && (e1=document.getElementById("caps_c2"))) { if ( w<875) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_i1a")) && (e1=document.getElementById("caps_i1"))) { if ( w<1030) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_i5a")) && (e1=document.getElementById("caps_i5"))) { if ( w<900) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_95a")) && (e1=document.getElementById("caps_95"))) { if ( w<950) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_zza")) && (e1=document.getElementById("caps_zz"))) { if ( w<950) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_28a")) && (e1=document.getElementById("caps_28"))) { if ( w<700) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("caps_i4"))) { if ( w<970) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("caps_intern"))) { if ( w<680) { e.style.whiteSpace="normal";} else { e.style.whiteSpace="nowrap"}}
if ((e=document.getElementById("caps_1"))) { swap_wrap(e, ( w<600 && w>510))}
if ((e=document.getElementById("caps_2"))) { swap_wrap(e, ( w<600 && w>510))}
if ( (e=document.getElementById("caps_3"))) { if ( w<580) { e.style.clear="right"; e.style.backgroundColor="orange"; e.style.backgroundColor=dbgcolor1} else { e.style.clear="none"; e.style.backgroundColor="transparent"}}
if ((e=document.getElementById("caru_13"))) { if ( w<970) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("chen_01"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("chen_02"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("chen_04"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("chen_05"))) { if ( w<760) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cinn_11"))) { if ( w<820) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight="-1ex"}}
if ((e=document.getElementById("cinn_tam_et"))) { if ( w<775) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("citr_1"))) { if ( w<700) { e.className="em5"} else { e.className="em2"}}
if (safari && (e=document.getElementById("citr_2"))) { if (w<720 && w>640) {e.firstChild.nodeValue="und\u00A0"} else {e.firstChild.nodeValue="und "} }
if ((e=document.getElementById("citr_34"))) { if (w>575) {scale_img (e, 0,650, w, 297,233)} else {scale_img (e, 550,540, w, 233,297)}}
if ((e=document.getElementById("citr_02"))) { if ( w<810) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_03"))) { if ( w<920) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_14"))) { if ( w<940) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_17")) && (e1=document.getElementById("citr_17a"))) { if ( w>970) { e.style.display=table; e1.style.display="none"; e.style.marginRight="0"} else {  e1.style.display=table; e.style.display="none"; e1.style.marginRight="0.4em"}}
if ((e=document.getElementById("citr_22"))) { if ( w<820) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_23"))) { if ( w<990) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_45")) && (e1=document.getElementById("citr_45a"))) { if ( w>770) { e.style.display=table; e1.style.display="none";} else {  e1.style.display=table; e.style.display="none";e1.style.marginRight="0.4em"}}
if ((e=document.getElementById("citr_47"))) { if ( w<765) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_59"))) { if ( w<955) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("citr_61"))) { if ( w<1270 && w>955 || w<895) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cori_04"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cori_04"))) { scale_img (e,625,0,w,290,225) }
if ((e=document.getElementById("cori_10"))) { scale_img (e,720,0,w,358,298) }
if ((e=document.getElementById("cori_10"))) { if ( w<915) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cori_09"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cori_09"))) { scale_img (e,700,0,w,304,243) }
if ((e=document.getElementById("cori_12"))) { if ( w<650) { e.style.marginRight=0 } else { e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cori_13"))) { scale_img (e,650,0,w,265,237) }
if ((e=document.getElementById("coco_24"))) { if ( w<815) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("coco_24")) && (e1=document.getElementById("coco_24a"))) { if ( w>680) { e.style.display=table; e1.style.display="none"; } else {  e1.style.display=table; e.style.display="none"; }}
if ((e=document.getElementById("coco_17"))) { if (w>660) {scale_img (e, 760,675, w, 442,0)} else {scale_img (e, 650,649.9, w, 357,442)}}
if ((e=document.getElementById("croc_13"))) { if ( w<875) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("croc_05"))) { if ( w<920) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("croc_1"))) { swap_wrap ( e, (w<720 && w>540))}
if ((e=document.getElementById("croc_14"))) { if (w>800) {scale_img (e, 920,830, w, 504,0)} else {scale_img (e, 720,719.9, w, 414,504)}}
if ((e=document.getElementById("croc_18"))) { if (w>800) {scale_img (e, 920,830, w, 504,0)} else {scale_img (e, 720,719.9, w, 414,504)}}
if ((e=document.getElementById("croc_2"))) { if ( w<760 && w>620) { e.firstChild.firstChild.nodeValue="Verwendeter\u00A0Pflanzenteil" } else { e.firstChild.firstChild.nodeValue="Verwendeter Pflanzenteil"}}
if ((e=document.getElementById("croc_20"))) { if (w>800) {scale_img (e, 1040,840, w, 382,282)} else {scale_img (e, 780,769.5, w, 282,382)}}
if ((e=document.getElementById("croc_19"))) { if (w>800) {scale_img (e, 1040,840, w, 382,282)} else {scale_img (e, 780,769.5, w, 282,382)}}
if ((e=document.getElementById("croc_22"))) { if (w>800) {scale_img (e, 1040,840, w, 315,215)} else {scale_img (e, 780,769.5, w, 215,315)}}
if ((e=document.getElementById("croc_22"))) { if ( w<780) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("croc_21"))) { if ( w<1200) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("croc_01"))) { if ( w<760) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("croc_2"))) { if ( w<760 && w>670) { e.className="em4"; } else { e.className="";}}
if ((e=document.getElementById("croc_3"))) { if ( w<735) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("cucu_07"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("curc_04"))) { if ( w<810) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("curc_11"))) { if ( w<750) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("curc_14"))) { if (w>705) {scale_img (e, 780,710, w, 495,0)} else {scale_img (e, 700,699.9, w, 425,495)}}
if ((e=document.getElementById("cymb_02"))) { if ( w<800) { e.style.clear="right"; } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cymb_06x"))) { if ( w<630) { e.style.clear="right"; } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("cymb_1"))) { if ( w<600) { e.className="em4"; } else { e.className="" }}
if ((e=document.getElementById("dipt_02"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("dipt_06a"))) { if ( w<860) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("dipt_06")) && (e1=document.getElementById("dipt_06a"))) { if ( w<860) { e1.style.display=table; e.style.display="none" } else {  e.style.display=table; e1.style.display="none"}}
if ((e=document.getElementById("elet_03"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("elet_07"))) { if ( w<1030) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("elet_13"))) { if ( w<1080) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("elet_10"))) { if ( w<1100) { e.style.display="none"; } else {  e.style.display=""}}
if ((e=document.getElementById("elet_16x"))) { if ( w<1000) { e.style.display="none"; } else {  e.style.display=""}}
if ((e=document.getElementById("elet_16y"))) { if ( w<1100) { e.style.display=""; } else {  e.style.display="none"}}
if ((e=document.getElementById("elet_16a"))) { if ( w<1000) { e.style.display=""; } else {  e.style.display="none"}}
if ((e=document.getElementById("eruc_01"))) { if ( w<750) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("eruc_02"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("eryn_03"))) { if ( w<1050) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("eryn_br"))) { if ( w<1050) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("eryn_12")) && (e1=document.getElementById("eryn_12a"))) { if ( w<1050) { e1.style.display=table; e.style.display="none" } else {  e.style.display=table; e1.style.display="none"}}
if ((e=document.getElementById("eryn_13")) && (e1=document.getElementById("eryn_13a"))) { if ( w<1050) { e1.style.display=table; e.style.display="none" } else {  e.style.display=table; e1.style.display="none"}}
if ((e=document.getElementById("euge_1"))) { swap_wrap (e, ( w<550 && w>400))}
if ((e=document.getElementById("euge_2"))) { if ( w<520 && w>400) { e.className="em2"; } else { e.className="em1" }}
if ((e=document.getElementById("feru_13x"))) { if ( w<865) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("feru_19")) && (e1=document.getElementById("feru_19a"))) { if ( (w<865) && (w>700)) { e1.style.display=table; e.style.display="none" } else {  e.style.marginRight="5px"; e.style.display=table; e1.style.display="none"}}
if ((e=document.getElementById("foen_03"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("hout_05a")) && (e1=document.getElementById("hout_05"))) { if ( w<810) {  e.style.display=table; e1.style.display="none" } else { e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("hout_08a")) && (e1=document.getElementById("hout_08"))) { if (w>900) { e1.style.display=table; e.style.display="none" } else {  e.style.marginRight="5px"; e.style.display=table; e1.style.display="none"}}
if ((e=document.getElementById("hout_04a")) && (e1=document.getElementById("hout_04"))) { if (w>880) { e1.style.display=table; e.style.display="none" } else {  e.style.marginRight="5px"; e.style.display=table; e1.style.display="none"}}
if ((e=document.getElementById("glyc_03x"))) { if ( w>700) { e.style.clear="none"} else { if (e) e.style.clear='right' } }
if ((e=document.getElementById("glyc_03"))) { if (w>750) {scale_img (e,810,790,w,472,400) } else {scale_img (e,700,695,w,400,472) }}
if ((e=document.getElementById("glyc_04"))) { if ( w<860) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("glyc_07"))) { if ( w<790) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("glyc_11"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("glyc_1"))) { swap_wrap (e, ( w<800 && w>500))}
if ((e=document.getElementById("juni_01")) && (e1=document.getElementById("juni_01a")) && (e2=document.getElementById("juni_01b")))
{
if ( w>=900) { e.style.display=table; e1.style.display="none"; e2.style.display="none"; }
else if (w>=660) {  e1.style.display=table; e.style.display="none"; e2.style.display="none"; }
else if (w>=510) {  e1.style.display="none"; e.style.display="none"; e2.style.display=table; }
else {  e.style.display=table; e1.style.display="none"; e2.style.display="none"; }
}
if ((e=document.getElementById("juni_02"))) { if ( w<660) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("juni_08"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("juni_1"))) { if ( w<860 && w>770 || w< 620) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("juni_2"))) { if ( w>510 || w<465 ) { e.style.whiteSpace="normal"; } else { e.style.whiteSpace="nowrap" }}
if ((e=document.getElementById("kaem_01"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("kaem_05"))) { if ( w<925) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("kaem_12")) && (e1=document.getElementById("kaem_12a"))) { if ( w<1050) {  e.style.display=table; e1.style.display="none" } else { e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("lava_11a")) && (e1=document.getElementById("lava_11"))) { if ( w<820) {  e.style.display=table; e1.style.display="none" } else { e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("lava_18"))) { if ( w<933) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("levi_04x"))) { if ( w<810) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("levi_dt"))) { if ( w<850) { e.style.clear="right"; } else { e.style.clear="none"}}
if ((e=document.getElementById("levi_1"))) { swap_wrap(e, ( w<715 && w>580))}
if ((e=document.getElementById("limn_04"))) { if ( w<930) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("limn_05"))) { if ( w<770) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("lipp_01"))) { if ( w<870) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("lipp_10"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("lepi_12"))) { if ( w<1000) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("lepi_12")) && (e1=document.getElementById("lepi_12a"))) { if ( w>850) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("lepi_et"))) { if ( w<605) { e.style.clear="right"; } else { e.style.clear="none" }}
if ((e=document.getElementById("lepi_etb"))) { if ( w<770) { e.className="em9"; } else { e.className="" }}
if ((e=document.getElementById("lepi_1"))) { swap_wrap(e, ( w<760 && w>400))}
if ((e=document.getElementById("lepi_2"))) { swap_wrap(e, ( w<750 && w>400))}
if ((e=document.getElementById("lepi_3"))) { swap_wrap(e, ( w<750 && w>400))}
if ((e=document.getElementById("lepi_4"))) { if ( w<830) { e.style.clear="right"; } else { e.style.clear="none" }}
if ((e=document.getElementById("lepi_5"))) { swap_wrap(e, ( w<590 && w>300))}
if ((e=document.getElementById("lepi_6"))) { swap_wrap(e, ( w<700 && w>300))}
if ((e=document.getElementById("maio_03"))) { if ( w<920) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("mang_11"))) { if ( w<1000) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("mang_08"))) { if ( w<935) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("mang_06"))) { if (w>940) {scale_img (e,1120,0,w,466,300)} else {scale_img (e,935,930,w,300,466) }}
if ((e=document.getElementById("mang_07"))) { if (w>940) {scale_img (e,1111,0,w,457,300)} else {scale_img (e,935,930,w,300,457) }}
if ((e=document.getElementById("mang_13a")) && (e1=document.getElementById("mang_13"))) { if ( w<935 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("mang_08"))) { if (w>770) {scale_img (e,870,770,w,299,249)} else {scale_img (e,770,765,w,249,299) }}
if ((e=document.getElementById("mang_13a"))) { if (w>770) {scale_img (e,870,770,w,282,232)} else {scale_img (e,770,765,w,232,282) }}
if ((e=document.getElementById("mang_13a"))) { if ( w<770) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight="-0.2em"}}
if ((e=document.getElementById("meli_02"))) { if ( w<930) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("meli_08"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ment_01"))) { if ( w<820) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ment_06"))) { if ( w<730) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ment_13"))) { if ( w<860) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ment_18"))) { if ( w<975) { e.style.clear="right"; e.style.marginRight=0; } else { e.style.clear="none"; e.style.marginRight="-0.2em"}; scale_img (e,1063,1000,w,247,220)}
if ((e=document.getElementById("ment_20"))) { scale_img (e,1063,1000,w,256,220)}
if ((e=document.getElementById("ment_1"))) { swap_wrap(e, (w<590 && w>350)) }
if ((e=document.getElementById("ment_2"))) { if ( w<700 ) { e.className="em2"; } else { e.className="em0" }}
if ((e=document.getElementById("murr_01"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("myri_15"))) { if ( w<780) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("myri_35"))) { if ( w<920) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("myri_41"))) { if (w>605) {scale_img (e,720,0,w,413,313)} else {scale_img (e,1,2,w,413,413) }}
if ((e=document.getElementById("myri_43"))) { if ( w<950) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("myri_br"))) { if ( w<=605) { e.style.clear="right"} else { e.style.clear="none"}}
if ((e=document.getElementById("myri_const"))) { if ( w<560 ) { e.className="em3"; } else { e.className="em2" }}
if ((e=document.getElementById("myri_40a")) && (e1=document.getElementById("myri_40"))) { if ( w<850 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("myri_01x"))) { if ( w<680) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("nige_23"))) { if ( w<860) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("nige_27"))) { if ( w<1000) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_01"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_03"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_25"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_29"))) { if ( w<630) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_33"))) { if ( w<950) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_dt"))) { if ( w<620) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ocim_1"))) { swap_wrap(e, (w<610 && w>350)) }
if ((e=document.getElementById("ocim_2"))) { swap_wrap(e, (w<610 && w>350)) }
if ((e=document.getElementById("ocim_3"))) { swap_wrap(e, (w<628 && w>350)) }
if ((e=document.getElementById("ocim_4"))) { swap_wrap(e, (w<850 && w>750)) }
if ((e=document.getElementById("olea_05"))) { if ( w<760) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("olea_11"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("olea_18"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("olea_19"))) { if ( w<980) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_32"))) { if ( w<915) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_11"))) { if ( w<1030) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight="-4px"}}
if ((e=document.getElementById("pand_31"))) { if ( w<870) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_30a")) && (e1=document.getElementById("pand_30")) && (e2=document.getElementById("pand_br"))) { if ( w<870 && w>635 ) { e.style.display=table; e1.style.display="none"; e2.style.clear="none" } else {  e1.style.display=table; e.style.display="none"; e2.style.clear="right"}}
if ((e=document.getElementById("pand_26"))) { scale_img (e,950,0,w,336,252) }
if ((e=document.getElementById("pand_23"))) { scale_img (e,950,0,w,336,252) }
if ((e=document.getElementById("pand_23x"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_27"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_17"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_br1"))) { if ( w<720) { e.style.clear="none"; e.clear="none"} else { e.style.clear="both"; e.clear="all"}}
if ((e=document.getElementById("pand_21"))) { scale_img (e,1100,900,w,348,252) }
if ((e=document.getElementById("pand_27"))) { scale_img (e,1100,900,w,365,252) }
if ((e=document.getElementById("pand_18"))) { scale_img (e,1100,900,w,262,252) }
if ((e=document.getElementById("pand_17"))) { scale_img (e,1100,0,w,465,252) }
if ((e=document.getElementById("pand_22a")) && (e1=document.getElementById("pand_22"))) { if ( w<890 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("pand_20"))) { if ( w<890) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pand_1"))) { if ( w<800) { e.style.clear="all"} else { e.style.clear="none"}}
if ((e=document.getElementById("pand_2"))) { swap_wrap(e, (w>628)) }
if ((e=document.getElementById("pand_3"))) { if ( w<545 && w>450) { e.firstChild.firstChild.nodeValue="Geruch\u00a0und\u00a0Geschmack\u00a0\u00a0\u00a0\u00a0\u00a0" } else { e.firstChild.firstChild.nodeValue="Geruch\u00a0und Geschmack"}}
if ((e=document.getElementById("papa_01a")) && (e1=document.getElementById("papa_01"))) { if ( w<1000 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("papa_02"))) { if ( w<740) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("papa_03"))) { if ( w<740) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("papa_05"))) { if ( w<950) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("papa_05"))) { if (w>550) {scale_img (e,655,0,w,326,271)} else {scale_img (e,530,525,w,271,326) }}
if ((e=document.getElementById("papa_08")) && !opra && !msie6 && !msie7) { if (w>719) {scale_img (e,760,720,w,449,0)} else {scale_img (e,680,675,w,409,449) }}
if ((e=document.getElementById("papa_04")) && !opra && !msie6 && !msie7) { if (w>750) {scale_img (e,815,785,w,439,0)} else {scale_img (e,0,700,w,409,439) }}
if ((e=document.getElementById("papa_10"))) { if ( w<1000) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pimp_02"))) { if ( w<940) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pipe_08"))) { if ( w<770) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pipe_10"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pipe_14"))) { if ( w<880) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pipe_47"))) { if ( w<880) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("pipe_27a")) && (e1=document.getElementById("pipe_27"))) { if ( w<1000) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("pipe_40"))) { if ( w<860) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("poly_01"))) { if ( w<755) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("poly_01"))) { if (w>755) {scale_img (e, 800,760, w, 265,0)} else {scale_img (e, 754.9,754.8, w, 225,265)}}
if ((e=document.getElementById("poly_11"))) { if (w>755) {scale_img (e, 900,800, w, 318,0)} else {scale_img (e, 754.9,754.8, w, 218,318)}}
if ((e=document.getElementById("poly_08"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("poly_13"))) { if ( w<950) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("poly_16"))) { if (w>1005) {e.style.clear="none"; e.style.marginRight=imgmargin; scale_img (e, 1085,0, w, 423,346)} else {e.style.clear="right"; e.style.marginRight=0; if (w>760) {scale_img (e, 1005,1004, w, 346,423)} else {scale_img (e, 754.9,754.8, w, 423,346)}}}
if ((e=document.getElementById("poly_1"))) { if ( w<690) { e.style.clear="right";  } else { e.style.clear="none"}}
if ((e=document.getElementById("poly_2"))) { if ( w<690) { e.innerHTML="vietnamesi&shy;sche"  } else { e.innerHTML="viet&shy;namesi&shy;sche"}}
if ((e=document.getElementById("puni_02x"))) { if ( w<950) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("puni_11"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("puni_16"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("puni_06"))) { if ( w<980) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if (!opra && (e=document.getElementById("puni_1"))) { swap_wrap (e, ( w<800 && w>400))}
if ((e=document.getElementById("puni_2"))) { swap_wrap (e, ( w<610 && w>510))}
if ((e=document.getElementById("puni_3"))) { swap_wrap(e, ( w<620  && w > 520 ))}
if ((e=document.getElementById("prun_04a")) && (e1=document.getElementById("prun_04"))) { if ( w<900 && w>759) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("prun_01"))) { if ( w<715) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_03"))) { if ( w<690) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_04"))) { if ( w<760) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_05"))) { if ( w<920) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_13"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_20"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_21"))) { if ( w<910) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("prun_1"))) { swap_wrap(e, ( w<800 && w>350 ))}
if ((e=document.getElementById("prun_2"))) { if ( w<690 && w>600) { e.className="em7"; } else { e.className="em2" }}
if ((e=document.getElementById("rhus_05"))) { if (true) {scale_img (e, 0,840, w, 289,280)} else {scale_img (e, 510,505, w, 222,270)}}
if ((e=document.getElementById("rhus_10a")) && (e1=document.getElementById("rhus_10"))) { if ( w<780 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("rhus_12a")) && (e1=document.getElementById("rhus_12"))) { if ( w<850 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("rhus_12a"))) { if (w>735) {scale_img (e, 0,800, w, 377,240)} else {scale_img (e, 720,719.9, w, 240,280)}}
if ((e=document.getElementById("rhus_12a"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight="0.5em"; e.style.marginLeft="0.5em" } else { e.style.clear="none"; e.style.marginRight=0; e.style.marginLeft="0.0em"}}
if ((e=document.getElementById("rhus_12"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=0}}
if ((e=document.getElementById("rhus_13"))) { if (true) {scale_img (e, 0,840, w, 377,280)} else {scale_img (e, 510,505, w, 222,270)}}
if ((e=document.getElementById("rhus_13"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("rhus_16"))) { if ( w<890) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("rhus_18a")) && (e1=document.getElementById("rhus_18"))) { if ( w<890 ) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e.style.display="none"}}
if ((e=document.getElementById("rhus_20"))) { if (true) {scale_img (e, 0,840, w, 289,280)} else {scale_img (e, 510,505, w, 222,270)}}
if (!msie7 && !msiebad && !opra && (e=document.getElementById("rhus_1"))) { if ( w<570) { e.style.clear="right"; } else { e.style.clear="none"; }}
if ((e=document.getElementById("rosa_14"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("rosm_1")))  { if ( w<770) { e.style.clear="right"; e.style.display="block" } else { e.style.clear="none"; e.style.display="none"}}
if ((e=document.getElementById("ruta_02"))) { if ( w<790) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ruta_04"))) { if ( w<960) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("ruta_05"))) { if ( w<620) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("salv_02"))) { if ( w<990) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("salv_04"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("salv_23"))) { if ( w<840) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("sass_1"))) { if ( w<700) { e.width=400 } else { e.width=800}}
if ((e=document.getElementById("satu_02"))) { if ( w<755) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("satu_03"))) { if ( w<755) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("schi_07"))) { if ( w<860) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("schi_09"))) { if ( (w<1140 && w>940) || w<770) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=0}; scale_img (e, 940.1,940, w, 305,297)}
if ((e=document.getElementById("schi_10")) && (e1=document.getElementById("schi_10a"))) { if ( w>940) { e.style.display=table; e1.style.display="none" } else {  e1.style.display=table; e1.style.marginRight=0; e.style.display="none"}}
if ((e=document.getElementById("sesa_03"))) { if ( w<820) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("sesa_04"))) { if ( w<820) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("sina_02"))) { if ( w<940) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("sina_04"))) { if ( w<830) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("sina_06"))) { if ( w<720) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("sina_10"))) { if ( w<750) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("spil_03"))) { if ( w<960) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("spil_03")) && (e1=document.getElementById("spil_03a"))) { if ( w>910 || w<760) { e.style.display=table; e.style.marginRight=imgmargin; e1.style.display="none" } else {  e1.style.display=table; e1.style.marginRight=0; e.style.display="none"}}
if ((e=document.getElementById("spil_08")) && (e1=document.getElementById("spil_08a"))) { if ( w>910) { e.style.display=table; e.style.marginRight=imgmargin; e1.style.display="none" } else {  e1.style.display=table; e1.style.marginRight=0; e.style.display="none"}}
if ((e=document.getElementById("spil_1"))) { if ( w<735 && w>690) { e.className="em10"; } else { e.className="em2" }}
if ((e=document.getElementById("syzy_07"))) { if ( w<1000) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("syzy_21"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("syzy_23"))) { if ( w<880) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("tama_12"))) { if ( w<960) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("thym_11"))) { if ( w<780) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("thym_16"))) { if ( w<1000) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("vani_04"))) { if ( w<950) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("vani_05"))) { if ( (w<930 && w>=800) || w<655) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight="-0.2em"}}
if ((e=document.getElementById("vani_09"))) { if ( w<800) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("vani_13x")) && (e1=document.getElementById("vani_13a")) && (e2=document.getElementById("vani_16a"))) { if ( w<930) { e.style.display="none"; e1.style.display=table;  e1.style.marginRight=0; e2.style.display=table; e2.style.marginRight=0; e1.style.clear=(w<760)?"right":"none"} else { e.style.display=table; e1.style.display="none";  e2.style.display="none"; }}
if ((e=document.getElementById("vani_1"))) { swap_wrap (e, ( w<694 && w>640))}
if ((e=document.getElementById("vani_2"))) { swap_wrap (e, ( w<670 && w>600))}
if ((e=document.getElementById("vani_3"))) { if ( w<700) { e.style.paddingRight="13em"; } else { e.style.paddingRight="0px";;  } }
if ((e=document.getElementById("vani_5"))) { if ( w<655) { e.style.clear="right"; } else { e.style.clear="none";  } }
if ((e=document.getElementById("wasa_08"))) { if ( w<850) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("zant_04"))) { if ( w<900) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("zant_04"))) { if (w>540) {scale_img (e, 0,580, w, 270,222)} else {scale_img (e, 510,505, w, 222,270)}}
if ((e=document.getElementById("zant_1"))) { swap_wrap (e, ( w<510 && w>400))}
if ((e=document.getElementById("zing_06"))) { if ( w<820) { e.style.clear="right"; e.style.marginRight=0 } else { e.style.clear="none"; e.style.marginRight=imgmargin}}
if ((e=document.getElementById("hebrew2"))) { if ( w<940) { e.style.clear="right"; e.style.marginRight=0; e.style.marginTop="2em"} else { e.style.clear="none"; e.style.marginTop="0px"}}
if ( (e=document.getElementById("magic0")) && (e1=document.getElementById("meiteiunicode1")) && (e2=document.getElementById("meiteiunicode2")))
{
w1=parseInt(get_style(e1,"width"))+parseInt(get_style(e1,"margin-left"))
w2=parseInt(get_style(e2,"width"))+parseInt(get_style(e2,"margin-left"))
w3=parseInt(get_style(e,"width"))+parseInt(get_style(e,"margin-left"))
if (w1) {wtot=w1+w3} else {wtot=w2+w3}
wmax=parseInt(get_style(document.getElementById("hr0"),"width"))
window.status=(wmax+" "+wtot+" "+w1+" "+w2+" "+w3)
if (wmax-5 > wtot) { e1.style.display=table; e2.style.display="none"}
else { e2.style.display=table; e1.style.display="none"}
}
}
try
{
ib=document.getElementById("internbox")
mb=document.getElementById("mainbox")
ibh=parseInt(get_style(ib,"height"))
mbt=parseInt(get_style(mb,"top"))
mbpt=parseInt(get_style(mb,"padding-top"))
if (msie) {mbt*=10; mbpt*=10}
new_mbpt=(10+ibh-mbt)
diff=(mbpt-new_mbpt)
if (diff<0) diff=-diff
if (diff>10 && get_param(window.location.href,"style") != "mini")
{
set_style(mb,"padding-top",(new_mbpt)+"px")
}
}
catch (foo) {}
if (arora || (msie && (browserversion <8))) return
if (safari || konq || gecko)
{
if ((e2=document.getElementById("webkit_clear")) &&
((e1=document.getElementById("alli_40")) ||
(e1=document.getElementById("capp_08")) ||
(e1=document.getElementById("nige_21")) ||
(e1=document.getElementById("myri_17")) ||
(e1=document.getElementById("prun_wr")) ||
(e1=document.getElementById("tama_19")) ))
{
w1=parseInt(getComputedStyle(e1,"").getPropertyValue("width"))
e2.style.clear="none"
w2=parseInt(getComputedStyle(e2,"").getPropertyValue("width"))
w3=parseInt(getComputedStyle(document.getElementById("mainbox"),"").getPropertyValue("width"))
e2.style.clear=((w3-w2-w1) < 10)?"right":"none"
if (globdbg) window.status+="      w1="+w1+"   w2="+w2+"    w3="+w3+"    diff="+(w3-w2-w1)+"    clear="+getComputedStyle(e2,"").getPropertyValue("clear")
}
}
if (msie || gecko || konq || safari || opra)
{
tab=document.getElementsByTagName("table")
var j=0
var i=0
corr=(msie)?25:0
var dbg=false
var done=false
if (trv=document.getElementById("trvpic"))
{
w1=parseInt(get_style(trv.parentNode,"width"))
if (msie6) w2 = document.documentElement.clientWidth-get_style(document.getElementById("navigbox"),"width")-corr
else if (msie7) w2 = get_style(document.getElementById("mainbox"),"width")-get_style(document.getElementById("navigbox"),"width")+corr
else w2=parseInt(get_style(trv.parentNode.parentNode,"width"))
window.status+= " " + trv.parentNode.nodeName+" "+ w1 + " " + trv.parentNode.parentNode.nodeName+" "+ w2+" "+ get_style(trv.parentNode,"float")
if (w2 < w1)
{
set_style(trv.parentNode,"float","none")
set_style(trv.parentNode,"margin-left",corr+"pt")
if (msie)
{
set_style(trv.parentNode,"margin-right", (w2-w1)+"px")
}
if (globdbg) window.status+= " trvpic unfloated"
}
else
{
set_style(trv.parentNode,"float","right")
set_style(trv.parentNode,"margin-left","2em")
if (msie)
{
set_style(trv.parentNode,"margin-right", "0px")
}
}
}
try
{
e=document.getElementById("mainbox")
textwidth=parseInt(get_style(e,"width"))
if (dbg) alert ("textwidth="+textwidth)
for (i=0; i<tab.length; i++)
{
if ((tab[i].className.toLowerCase()=="image" || tab[i].className.toLowerCase()=="wrapper" || (tab[i].attributes.align&&(tab[i].attributes.align.value == "right"))) && (tab[i].parentNode.nodeName.toLowerCase() != "td"))
{
tablewidth=parseInt(get_style(tab[i],"width"))
if (dbg) alert ("j="+j+"  id="+((tab[i].className=="wrapper")?"wrapper":tab[i].id)+" parent="+tab[i].parentNode.nodeName+"  width="+tablewidth)
if (textwidth < tablewidth)
{
if (globdbg)
{
try
{
name=tab[i].id
if (!name && tab[i].className=="wrapper") name="wrapper/" + tab[i].firstChild.nextSibling.firstChild.firstChild.firstChild.nextSibling.id
if (!name) name="unknown"
window.status+= ((done?" ":" left anchored: ")+name)
}
catch (foo) {}
done=true
}
set_style (tab[i],"float","left")
set_style (tab[i],"margin-left","-10px")
if (msie)
{
set_style(tab[i],"margin-right", (textwidth-tablewidth-corr)+"px")
}
if (dbg) alert("Set: id="+((tab[i].className=="wrapper")?"wrapper":tab[i].id)+"  float="+getComputedStyle(tab[i],"").getPropertyValue("float"))
}
else if (get_style(tab[i],"float") == "left")
{
set_style(tab[i],"float","right");
if (next=tab[i].nextSibling) { if (next.nodeType==3) next=next.nextSibling }
if (next && (next.nodeName.toLowerCase() == "table")) set_style(tab[i],"margin-left","1.02ex")
else set_style(tab[i],"margin-left","1.02ex")
if (msie)
{
set_style(tab[i],"margin-right", "0px")
}
}
j++
}
}
}
catch (foo) {}
}
if (globdbg && (safari || msie7)) document.getElementById("search_form").q.value= window.status
}
function scale_img (table, wmax, wmin, w, xmax, xmin)
{
var dbg=true
var k,xo,yo,x
if (wmax==0) wmax=wmin + (xmax-xmin)
if (wmin==0) {wmin=wmax - ((xmax>xmin)?(xmax-xmin):(xmin-xmax))}
if (xmin==0) xmin=xmax - (wmax-wmin)
if (w<wmin) x=xmin
else if (w<wmax) x= xmin + (xmax-xmin) * (w-wmin)/(wmax-wmin)
else x=xmax
e=table
k=0
for  (e=table.firstChild; (k<10) && e && (e.nodeName.toLowerCase() != "img");)
{
k++
if (e.nodeName.toLowerCase()=="#text") { e=e.nextSibling}
else if (e.nodeName.toLowerCase()!="img") { e=e.firstChild}
}
if (e && e.nodeName.toLowerCase()=="img")
{
xo=(konq && browserversion<4)?e.origwidth:e.attributes.origwidth.value
yo=(konq && browserversion<4)?e.origheight:e.attributes.origheight.value
if (!xo || !yo) return
e.style.width= (x+"px")
e.style.height= (x*yo/xo+"px")
table.width=(x+"px")
}
if (dbg && (wmax+5>w) && (wmin-5<w)) window.status+=" "+table.id+":"+x
return
}
function swap_wrap (e,cond)
{
if (opra)
{
tn=e.nodeName
tn1=e.parentNode.nodeName
if ((tn == tn1) && !e.parentNode.id) e=e.parentNode
}
if ( cond ) { e.style.whiteSpace="nowrap"; e.style.background="orange"; e.style.backgroundColor=dbgcolor1 } else { e.style.whiteSpace="normal";; e.style.backgroundColor="transparent" }
}
function get_style(elem, property)
{
var property, property1, i
property1=property;
l=property.length;
try
{
var style = window.getComputedStyle(elem, "");
return style.getPropertyValue(property);
}
catch (foo) {}
property1="";
for (i=0; i<l;  i++)
{
char1=property.substring(i,i+1)
if (char1 == '-')
{
i++;
property1=property1+property.charAt(i).toUpperCase()
}
else
{
property1=property1+char1
}
}
try
{
if (property == "width") return elem.clientWidth
else if (property == "height") return elem.clientHeight
else return elem.currentStyle[property1];
}
catch (foo) {}
return 0;
}
function set_style(elem, property, value)
{
var property, property1, i
property1=property;
l=property.length;
try
{
elem.style.setProperty(property,value,null)
return
}
catch (foo) {}
property1="";
for (i=0; i<l;  i++)
{
char1=property.substring(i,i+1)
if (char1 == '-')
{
i++;
property1=property1+property.charAt(i).toUpperCase()
}
else
{
property1=property1+char1
}
}
try
{
elem.style[property1]=value
}
catch (foo) {}
return 0;
}
function position (anchor)
{   var anchor, old_url, new_url;
if (links) return false
if (document.getElementsByName(anchor).length == 0 && !document.getElementById(anchor)) return false
if (false && operamini3)
{
now=window.location.href
thn=substitute_string (now,"www.uni-graz","www-ang.kfunigraz.ac")+"#foo"
thn=thn.substring(0,thn.indexOf("#"))
thn=thn+'#'+anchor
window.location.href=thn
return false;  // Ingenious, isn't it?
}
var same= window.location.hash == "#"+anchor
if (anchor=="top" && document.getElementById("languageselect") && !document.getElementById("lselect")) anchor="languageselect"
url="#"+anchor
styl=get_param (window.location.href,"style")
if (styl == "flow" || styl=="mini")
{
window.location.href= url
return
}
elem=document.getElementsByName(anchor)[0]
if (!elem) elem=document.getElementById(anchor)
dis=""
try
{
dis= elem.currentStyle["display"];
}
catch (foo) {}
try
{
var style = window.getComputedStyle(elem, "");
dis= style.getPropertyValue("display");
}
catch (foo) {}
if ( true && !msie50 && (dis=="inline") &&
(  opra || (safari && !same) || gecko19 || gecko20 || msie8 ||
(msie && (anchor.indexOf("init_")<0) && (anchor.indexOf("pinyin_")<0) && (anchor != 'languageselect') && (anchor != 'bottom')) ))
{
scrollamount=50
try
{
ib=document.getElementById("internbox")
scrollamount=ib.offsetHeight
}
catch (foo) {scrollamount=0}
e=document.getElementById(anchor)
if (!e) e=document.getElementsByName(anchor)[0]
if (e.style && scrollamount>0)
{
e.style.paddingTop=scrollamount+"px"
window.location.hash="#"+anchor
e.style.paddingTop="0px"
return false
}
}
if (anchor != 'bottom')
{
window.location.href= url;
if (safari)
{
scrollamount=32
if (window.location.href.indexOf("spice_bot.html") > 0) scrollamount = 50
try
{
ib=document.getElementById("internbox")
scrollamount=ib.offsetHeight + 2
}
catch (foo) {}
setTimeout ("window.scrollBy (0,-scrollamount);", 1);
}
else if (!konqold)
{
wait=0
if (msie50) wait=100
scroll_this_window(1.0,wait)
}
}
else
{
if (msie6)
{
document.body.scrollTop +=  100000
}
else
{
window.location.href= url;
}
}
return false;
}
function scroll_this_window (fac,wait)
{  var i,scrollamount,internbox,wait
scrollamount=52;
if (window.location.href.indexOf("spice_bot.html") > 0) scrollamount = 70
try
{
s=parseFloat(get_style("internbox","height"))
if (s>10) scrollamount=s
}
catch (foo) {};
try
{
ib=document.getElementById("internbox")
scrollamount=ib.offsetHeight
}
catch (foo) {}
if (gecko )
try
{
internbox=document.getElementById('internbox');
internboxstyle=document.defaultView.getComputedStyle(internbox,"")
scrollamount=parseInt(internboxstyle.getPropertyValue("height")) + 8;
}
catch (foo) {};
scrollamount=scrollamount*fac;
if (konqnew) scrollamount+=5
viewport=0
if (msiebad)
{
if (document.documentElement && document.documentElement.scrollTop)
{  /* strict mode */
xtop = document.documentElement.scrollTop;
try {xtop = document.body.scrollTop} catch (foo) {};
ib=document.getElementById("mainbox")
mainheight=ib.offsetHeight
viewport=document.documentElement.clientHeight
newurl = window.location.href;
if (newurl.indexOf("#") != -1)
{ newurl=newurl.substring(0,newurl.indexOf("#")) }
if (newurl.indexOf("?") != -1)
{ newurl=newurl.substring(0,newurl.indexOf("?")) }
window.location.href=newurl + "?bottom"
}
else if (document.body)
{ /* compatibility */
xtop = document.body.scrollTop
ib=document.getElementById("mainbox")
mainheight=ib.offsetHeight
viewport=document.body.clientHeight
if (wait == 0)
document.body.scrollTop=document.body.scrollTop-scrollamount;
else
setTimeout ("document.body.scrollTop=document.body.scrollTop-"+scrollamount, wait);
}
}
else
{
if (konq && document.documentElement.scrollTop)
{
setTimeout ("document.documentElement.scrollTop = document.documentElement.scrollTop - "+scrollamount, wait)
}
else if (wait == 0)
{
window.scrollBy (0,-scrollamount);
}
else
{
setTimeout ("window.scrollBy (0,"+(-scrollamount)+")",wait);
}
}
}
if (msiebad)
{
var offsettop=0
function fix_navigation()
{
offsettop=0;
styl=get_param (window.location.href,"style")
if (styl == "flow" || styl=="mini") return
if (document.documentElement && document.documentElement.scrollTop)
{
xtop = document.documentElement.scrollTop;
}
else if (document.body)
{
xtop = document.body.scrollTop
}
navigbox.style.pixelTop=xtop+offsettop
internbox.style.pixelTop=xtop
}
styl=get_param (window.location.href,"style")
if (styl != "flow" && styl!="mini")
{
window.onload=fix_navigation;
window.onscroll=fix_navigation;
}
}
function scroll_handler()
{
currurl=window.location.href
if (currurl /= url)
{
scrollup();
url=currurl
}
}
function submit_form1()
{ var q;
q=document.getElementById("search_form1").q.value
if ( q.indexOf("treabgxngmre") == -1 )
q = q + " +treabgxngmre  +site:www.uni-graz.at OR +site:kfunigraz.ac.at"
document.getElementById("search_form1").q.value=q;
try { top.document.title="Gew\u00FCrzseiten: Suche" }
catch (dum) {}
}
function submit_form()
{ var q;
q=document.getElementById("search_form").q.value
dbg=q.indexOf("operabug") > -1
if (dbg) alert ("info: action="+document.getElementById("search_form").action)
if (dbg) alert ("info: value="+document.getElementById("search_form").q.value)
if ( q.indexOf("treabgxngmre") == -1 )
q = q + " +treabgxngmre  +site:www.uni-graz.at OR +site:kfunigraz.ac.at"
document.getElementById("search_form").q.value=q;
try { top.document.title="Gew\u00FCrzseiten: Suche" }
catch (dum) {}
if (dbg) alert ("info: action="+document.getElementById("search_form").action)
}
function add_lang_to_url ()
{
l=""
try { l=search_languages (this) }
catch (foo) { l="" }
if (l == "")
{
l=this.lang
if (l=="" || l=="hi-fake")
{
l=this.parentNode.lang
if (l=="")
{
l=this.parentNode.parentNode.lang
if (l=="") return true
}
}
if ((i=l.indexOf("-"))> -1) l=l.substring(0,i)
}
u=this.href
if (get_param(u,"spicenames")!="") l+= "++"+get_param(u,"spicenames")
window.location.href=put_param(transfer_param(window.location.href,u,"style"),"spicenames",l)
return false
}
function search_languages (start)
{
var tr, trychild, refname, reflink, lang
for (tr=start; tr.nodeName.toLowerCase()!="tr"; tr=tr.parentNode) { }
for (trychild=search_languages_colselect(tr); trychild.nodeName!="#text"; trychild=trychild.firstChild) {}
refname= substitute_string(trychild.nodeValue.toLowerCase(),"f","ph")
reflink=trychild.parentNode.href
l=tr.lang
if ((i=l.indexOf("-"))> -1) l=l.substring(0,i)
lang=l
lang=search_languages_1 (lang, tr, refname, reflink, search_languages_forward)
lang=search_languages_1 (lang, tr, refname, reflink, search_languages_backward)
return lang
}
function search_languages_forward (e) {return e.nextSibling}
function search_languages_backward (e) {return e.previousSibling}
function search_languages_colselect (e) {return e.firstChild}
function search_languages_1 (lang, tr, refname, reflink, search_languages_move)
{
var trynode, trychild, tryname, st, l
tryname=refname
for (trynode=search_languages_move (tr);trynode && refname == tryname;trynode=search_languages_move (trynode))
{
for (trychild=search_languages_colselect(trynode); trychild.nodeName!="#text"; trychild=trychild.firstChild) {}
tryname=trychild.nodeValue
tryname= substitute_string(trychild.nodeValue.toLowerCase(),"f","ph")
if (msie) st=trynode.currentStyle["display"]
else st=window.getComputedStyle(trynode, "").getPropertyValue("display")
if (konq && st=="") st="none"
if (refname==tryname && reflink==trychild.parentNode.href && st != "none")
{
l=trynode.lang
if ((i=l.indexOf("-"))> -1) l=l.substring(0,i)
if (("+"+lang+"+").indexOf("+"+l+"+") == -1) lang+=("+"+l)
}
}
return lang
}
function select_stylesheet()
{
styl=get_param(window.location.href, "style")
if (styl != "")
{
swap_stylesheet(styl)
}
else
{
if (safari) swap_stylesheet ("default")
}
}
function write_welcome1 (foo)
{
write_welcome(); return
if (operamini4) return
if (opra) document.writeln ('<DIV style="display:none" id=operatrick></DIV>')
if (joke)
{
rnd=10*Math.random()+((Math.random()>.5)?50+30*Math.random():0)
if (Math.random()>0.3) {t="png"} else {t="gif" }
if (gecko20 || gecko19 || opra) {t='png'}
if (gecko20 || gecko19 || opra && Math.random()>0.15) document.writeln ('<IMG style="position: fixed; top: '+rnd+'%; z-index: 9999; left: 7.3em" src="../pictures/fly.'+t+'">')
else if (msie5 || msie6) document.writeln ('<IMG style="position: absolute; top: 20%; z-index: 9999; left: '+(20+80*Math.random())+'%"  src="../pictures/fly.gif">')
else document.writeln ('<IMG style="position: fixed; top: '+(20+50*Math.random())+'%; z-index: 9999; left: '+(20+80*Math.random())+'%"  src="../pictures/fly.'+t+'">')
}
}
function write_welcome (foo)
{
if (operamini4) return
if (opra) document.writeln ('<DIV style="display:none" id=operatrick></DIV>')
var rnd
rnd=Math.random()
if (rnd > 0.5) document.writeln ('<DIV class=welcome><A href="../reise/index.html?ref=1">Reise&shy;notizen und kulinarische Berichte aus Indien</A></DIV>')
if (joke)
{
rnd=10*Math.random()+((Math.random()>.5)?50+30*Math.random():0)
if (Math.random()>0.3) {t="png"} else {t="gif" }
if (gecko20 || gecko19 || opra) {t='png'}
if (gecko20 || gecko19 || opra && Math.random()>0.15) document.writeln ('<IMG style="position: fixed; top: '+rnd+'%; z-index: 9999; left: 7.3em" src="../pictures/fly.'+t+'">')
else if (msie5 || msie6) document.writeln ('<IMG style="position: absolute; top: 20%; z-index: 9999; left: '+(20+80*Math.random())+'%"  src="../pictures/fly.gif">')
else document.writeln ('<IMG style="position: fixed; top: '+(20+50*Math.random())+'%; z-index: 9999; left: '+(20+80*Math.random())+'%"  src="../pictures/fly.'+t+'">')
}
}
function write_ie5_bug()
{
if (msie50 || msie4)
{ document.writeln ("<BLOCKQUOTE><B>Hinweis an Benutzer von Murxosoft Internet Explorer 5.x</B><BR>")
document.writeln ("Wegen eines Bugs in einigen Versionen des Internet Explorers k&ouml;nnen")
document.writeln ("Sie die jeweils letzten Links in den folgenden Zeilen nicht aktivieren.")
document.writeln ("Resizen Sie das Window, w&auml;hlen Sie das entsprechende Gew&uuml;rz aus")
document.writeln ('dem <A href="spice_small.html">Index</A> oder wechseln Sie den Browser.<BR>')
document.writeln ("Es ist nicht meine Schuld! Wirklich!<P></BLOCKQUOTE>")
}
}
function write_ga()
{
document.writeln ('<P><HR><DIV style="padding:0em 2em"><P>')
document.writeln ('<A class=ext href="http://www.google.com/analytics/de-DE/" > ');
document.writeln ('<IMG alt="Google Analytics" style="margin-left:1em; margin-right:0; float:right" src="../google_analytics.png" align="right" width=227 height=65 border="0"> </A>');
document.writeln ('Auf\u00A0dieser\u00A0Site verwende ich <A href="http://www.google.com/analytics/de-DE/" class=ext lang="en">Google Analytics</A>,');
document.writeln ('um Besucherstr\u00F6me zu erfassen und mit den daraus gewonnenen Erkenntnissen die Website besucherfreundlicher zu gestalten. ');
document.writeln ('Dazu verwendet <SPAN lang="en">Google Analytics</SPAN> Cookies und JavaScript. Besucher mit abgeschalteten Cookies erleben ');
document.writeln ('keine Beintr\u00E4chtigung der Funktionalit\u00E4t der Gew\u00FCrzseiten.  F\u00FCr Details siehe die');
document.writeln ('<A href="http://www.google.com/analytics/de-DE/tos.html" class=ext>Allgemeinen Nutzungsbedingungen von <SPAN lang="en">Google Analytics</SPAN></A>.');
document.writeln ('</BLOCKQUOTE>');
}
function write_toggle_text(n)
{
if (toggle_enable)
{
document.writeln ('<DIV class=toggle>(<A href="javascript:toggle_display()" class=toggle>Namen dieser Pflanze in allen '+n+' Sprachen anzeigen</A>)</DIV>')
}
}
var togglestatus="table-row"
if (msie6 || msie7) togglestatus="block"
function toggle_display()
{
if (!toggle_enable) return
toggle_display_namelist()
toggle_display_linktext()
}
function toggle_display_namelist()
{
if (!toggle_enable) return
if ((deadly_webkit_css_bug)) {toggle_display_namelist_chrome(); return}
if (togglestatus=="none")
{
togglestatus="table-row"
if (msie6 || msie7) togglestatus="block"
}
else
{
togglestatus="none"
}
do_toggle_display_namelist (4,togglestatus,0)
if (gecko||safari||opra) do_toggle_display_namelist (4,togglestatus,1)
if (!konq) do_toggle_display_namelist (6,(togglestatus=="table-row")?"table-cell":togglestatus,0)
}
function toggle_display_namelist_chrome()
{
if (!toggle_enable) return
if (togglestatus=="none")
{
togglestatus="table-row"
if (msie6 || msie7) togglestatus="block"
}
else
{
togglestatus="none"
}
var tr=document.getElementsByTagName("tr")
var cn,td
for (i=0; i<tr.length; i++)
{
cn=tr[i].className.toLowerCase()
if (i==-1)
{
alert (tr[i].parentNode.parentNode.parentNode.parentNode.nodeName+" / "+tr[i].parentNode.parentNode.parentNode.nodeName+" / "+tr[i].parentNode.parentNode.nodeName+" / "+tr[i].parentNode.nodeName+" / "+tr[i].nodeName)
}
if (tr[i].parentNode.parentNode.parentNode.className.toLowerCase() == "switchoff")
{
if ((cn=="i") || (cn.indexOf(" i") == cn.length-2 ))
{
if(globdbg) set_style(tr[i],"color",(togglestatus=="none")?"black":"maroon")
}
else  if ((cn.indexOf(" ii") == cn.length-3) && (td=tr[i].firstChild) && (td.nodeName.toLowerCase() == "td") )
{
if (!konq && (td.lang != "vi")) set_style(td,"display", (togglestatus=="table-row")?"table-cell":togglestatus )
if(globdbg) set_style(tr[i],"color",(togglestatus=="none")?"black":"maroon")
}
else
{
set_style(tr[i],"display",togglestatus)
}
}
}
}
function do_toggle_display_namelist(count,value,css_index)
{
if (!toggle_enable) return
css=document.styleSheets[css_index]
if (css.cssRules) sheet=css.cssRules
else if (css.rules) sheet=css.rules
else return;
dbg=0
if ((konq && browserversion < 4) || msie) count--
if (!sheet[count]) return
if (dbg>2) alert ("toggle_display_namelist: count="+count+"  selector="+sheet[count].selectorText.toLowerCase())
if (sheet[count].selectorText.toLowerCase().indexOf("div.switchoff table.lang tr")==-1) return
if (dbg) alert ("count="+count+"   cssText="+sheet[count].style.cssText)
if (konq||msie6)
{ /* understood by MSIE6, Opera, KHTML */
if (dbg>1) alert ("write "+value+" to csstext "+sheet[count].style.cssText)
sheet[count].style.cssText="display: "+value
if (dbg>1) alert ("written to csstext: "+sheet[count].style.cssText)
}
else if (msie7)
{ /* understood by MSIE7, Opera, KHTML */
if (dbg>1) alert ("write "+value+" to style[display]: "+sheet[count].style["display"])
sheet[count].style["display"]=value
if (dbg>1) alert ("written to display: "+sheet[count].style["display"])
}
else if (sheet[count].style.display)
{  /* understood by Gecko, Opera, KHTML */
if (dbg>1) alert ("write "+value+" to display: "+sheet[count].style.display)
sheet[count].style.display=value
if (dbg>1) alert ("written to display: "+sheet[count].style.display)
}
else if (sheet[count].style.setProperty)
{  /* understood by Gecko, Opera, KHTML */
if (dbg>1) alert ("write using setProperty(): "+value)
sheet[count].style.setProperty ("display",value,null)
}
else return;
if (dbg) alert ("written: count="+count+"   "+sheet[count].style.cssText)
}
function toggle_display_linktext()
{
if (!toggle_enable) return
anchors=document.getElementsByTagName ("a")
for (i = 0; i < anchors.length; i++)
{
for(j = 0; j < anchors[i].attributes.length; j++)
{
if(anchors[i].attributes.item(j).nodeName.toLowerCase() == 'class')
{
if(anchors[i].attributes.item(j).nodeValue == "toggle")
{
if (togglestatus == "none")
{
anchors[i].firstChild.nodeValue='Mehr fremdsprachige Namen zeigen'
}
else
{
anchors[i].firstChild.nodeValue='Weniger fremdsprachige Namen zeigen'
}
}
}
}
}
window.scrollTo (0,0)
}
try
{
if (document.styleSheets[0].cssRules || document.styleSheets[0].rules) {} else {deadly_webkit_css_bug = true}
}
catch (foo) { deadly_webkit_bug=safari }
toggle_in_onload = toggle_in_onload || deadly_webkit_css_bug
if (get_param (window.location.href, "spicenames") != "show" && get_param (window.location.href, "shownames") != "show")
{
if (konq )
{
setTimeout ("toggle_display_namelist()", 50)
}
else if (!toggle_in_onload)
{
toggle_display_namelist()
}
}
function set_lang_display1 (check, count, dispval)
{
if (1)
{
css=document.styleSheets[0]
if (css.cssRules) sheet=css.cssRules
else if (css.rules) sheet=css.rules
else return;
dbg=0
if (dbg) alert ("count="+count+"   cssText="+sheet[count].style.cssText+"   checked="+check)
value=(check)?dispval:"none"
if (msie && value=="table-row") value="inline"
if (msie && value=="table-cell") value="inline"
if (konq || msie6)
{ /* understood by MSIE6, Opera, KHTML */
sheet[count].style.cssText="display: "+value
}
else if (konq || msie7)
{ /* understood by MSIE7, Opera, KHTML */
sheet[count].style["display"]=value
}
else if (sheet[count].style.display)
{  /* understood by Gecko, Opera, KHTML */
sheet[count].style.display=value
}
else if (sheet[count].style.setProperty)
{  /* understood by Gecko, Opera, KHTML */
sheet[count].style.setProperty ("display",value,null)
}
else return;
if (dbg) alert ("written: count="+count+"   "+sheet[count].style.cssText)
}
}
function set_lang_display2 (lab, check, count, dispval)
{
if(check) {lab.style.fontWeight="bold"} else {lab.style.fontWeight="normal"}
set_lang_display1 (check, count, dispval)
}
function set_lang_display (check, count)
{
row=true
value="table-row"
if (count <0)
{
count=-count
value="table-cell"
}
if (check && !check.disabled)
{
set_lang_display2 (check.parentNode, check.checked, count, value)
}
}
function set_lang_check(e,v)
{
if (e && !e.disabled)
{
x=1
if (e.checked == v) x=0
e.checked=v
return x
}
else return 0
}
var ugly_selectorText_workaround_flag = false;
var allStyleRules;
function ugly_selectorText_workaround() {
if((navigator.userAgent.indexOf("Gecko") == -1) ||
(ugly_selectorText_workaround_flag)) {
return; // we've already been here or shouldn't be here
}
var styleElements = document.getElementsByTagName("style");
for(var i = 0; i < styleElements.length; i++) {
var styleText = styleElements[i].firstChild.data;
allStyleRules = styleText.match(/\b[\w-.]+(\s*\{)/g);
}
for(var i = 0; i < allStyleRules.length; i++) {
allStyleRules[i] = allStyleRules[i].substr(0, (allStyleRules[i].length - 2));
}
ugly_selectorText_workaround_flag = true;
}
var ie = (document.all) ? true : false;
function setStyleByClass(t,c,p,v){
var elements;
if(t == '*') {
elements = (ie) ? document.all : document.getElementsByTagName('*');
} else {
elements = document.getElementsByTagName(t);
}
for(var i = 0; i < elements.length; i++){
var node = elements.item(i);
for(var j = 0; j < node.attributes.length; j++) {
if(node.attributes.item(j).nodeName.toLowerCase() == 'class') {
if(node.attributes.item(j).nodeValue == c) {
eval('node.style.' + p + " = '" +v + "'");
}
}
}
}
}
function getStyleByClass(t, c, p) {
var elements;
if(t == '*') {
elements = (ie) ? document.all : document.getElementsByTagName('*');
} else {
elements = document.getElementsByTagName(t);
}
for(var i = 0; i < elements.length; i++){
var node = elements.item(i);
for(var j = 0; j < node.attributes.length; j++) {
if(node.attributes.item(j).nodeName.toLowerCase() == 'class') {
if(node.attributes.item(j).nodeValue == c) {
var theStyle = eval('node.style.' + p);
if((theStyle != "") && (theStyle != null)) {
return theStyle;
}
}
}
}		
}
var sheets = document.styleSheets;
if(sheets.length > 0) {
for(var x = 0; x < sheets.length; x++) {
var rules = sheets[x].cssRules;
try
{
if(rules.length > 0) {
for(var y = 0; y < rules.length; y++) {
var z = rules[y].style;
ugly_selectorText_workaround();
if(allStyleRules) {
if((allStyleRules[y] == c) ||
(allStyleRules[y] == (t + "." + c))) {
return z[p];
}
} else {
if(((z[p] != "") && (z[p] != null)) &&
((rules[y].selectorText == c) ||
(rules[y].selectorText == (t + "." + c)))) {
return z[p];
}
}
}
}
}
catch (foo) {}
}
}
return null;
}
function ShowHideTodestag()
{
id="todestag"
obj = (document.getElementById ? document.getElementById(id) : (document.all ? document.all[id] : (document.layers ? document.layers[id] : null)))
obj.style.display="block"
obj.style.visibility = (obj.style.visibility == 'visible' ? 'hidden' : 'visible')
}
function HideTodestag() {ShowHideTodestag(); document.cookie='OnlineDemoGesehen=1;path=/'};
function opera_killit ()
{
var x
if (!opra) return
e=document.getElementById("operatrick")
if (e)
{
es=e.style
e.style.left=0
e.style.bottom=0
e.style.position="fixed"
e.style.width="8.01em"
e.style.height="100px"
e.style.display="block"
e.style.backgroundImage=window.getComputedStyle(document.getElementById("navigbox"),"").getPropertyValue("background-image")
setTimeout ("e.style=es", 20)
}
}
function search_x (e)
{
var ee,x
x=null
for(ee = e.firstChild; ee != null; ee = ee.nextSibling)
{
if (ee.nodeType != 3)
{
if (ee.className == "x") return ee
if (ee.nodeName.toLowerCase() != "ul") x=search_x(ee)
if (x != null) return x
}
}
}
function register_opera_event_handlers ()
{
var e
e=document.getElementsByTagName("li")
for (i=0; i<e.length; i++)
{
ee=e[i]
if (q=search_x (ee))
{
ee.onmouseout=opera_killit
}
}
}
pass_js=true

