/* Last update: 02.12.2006 Handmade Code by Bernd Obergassel - Dortmund - Germany */

/* Browserabfrage */

var ns4 = (document.layers)? true:false;
var ie4 = (document.all && !document.getElementById)? true:false;     /* Opera kann wohl auch document.all */

/* var ie7 = (navigator.appVersion.indexOf("MSIE 7")!=-1)? true:false;   */
/* var ie6 = (navigator.appVersion.indexOf("MSIE 6")!=-1)? true:false; */
/* var ie5 = (navigator.appVersion.indexOf("MSIE 5")!=-1)? true:false; */
/* var ns7 = (navigator.userAgent.indexOf("Netscape/7") > 0)? true:false; */
/* var ns6 = (navigator.userAgent.indexOf("Netscape6") > 0)? true:false; */

/* var agt = navigator.userAgent.toLowerCase(); */
/* var linux = (agt.indexOf("linux")!=-1)? true:false;  alert (linux); */
/* var opera = (agt.indexOf("opera")!=-1)? true:false;   alert(opera); */
/* var mac = (agt.indexOf("mac")!=-1)? true:false;  alert (mac); */
/* var Firefox = (agt.indexOf("firefox")!=-1)? true:false; */

var text_d ='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#000000><tr><td><table cellspacing=0 cellpadding=0 border=0 bgcolor="#000000" width=100% height=100%><tr><td bgcolor="000000"><div style="font-size:10px; font-family:verdana; font-weight:bold; color:#c0c0c0;">Kurze Erl&auml;uterung:</div></td></tr><tr><td bgcolor=#C6D7E7><div style="margin-left:3px;margin-top:3px;margin-right:3px; font-size:10px; font-family:verdana; font-weight:normal; color:#000000;">- In meiner virtuellen Galerie befinden sich 4 R&auml;ume<br>- Benutze die Durchg&auml;nge zu angrenzenden R&auml;umen<br>- Klick auf die Bilder in der Galerie zur Vergr&ouml;&szlig;erung<br>- Weitere Bilder: Klick auf die Buttons auf der linken<br>&nbsp;&nbsp;Menueleiste<br></div></table></td></tr></table>';
var text_e ='<table cellspacing=0 cellpadding=1 border=0 bgcolor=#000000><tr><td><table cellspacing=0 cellpadding=0 border=0 bgcolor="#000000" width=100% height=100%><tr><td bgcolor="000000"><div style="font-size:10px; font-family:verdana; font-weight:bold; color:#c0c0c0;">Short description:</div></td></tr><tr><td bgcolor=#C6D7E7><div style="margin-left:3px;margin-top:3px;margin-right:3px; font-size:10px; font-family:verdana; font-weight:normal; color:#000000;">- There are 4 rooms in my virtual gallery<br>- Use the passages to enter adjoining rooms<br>- Click on the paintings to enlarge them<br>- More paintings: click on the buttons on the left<br>&nbsp;&nbsp;hand side<br></div></table></td></tr></table>';
var kodMSIE4567N67OpFf = '<span id="popK" style="position:absolute; top:40; left:110;">'+text_d+'</span><span id="popV" style="position: absolute; top:40; left:110;">'+text_e+'</span>';
var kodN4 = '<LAYER ID="popK" LEFT=180 TOP=180 WIDTH=350 HEIGHT=200 CLIP="0,0,300,200" VISIBILITY="hide">'+text_d+'</LAYER><LAYER ID="popV" LEFT=180 TOP=180 WIDTH=350 HEIGHT=200 CLIP="0,0,300,200" VISIBILITY="hide">'+text_e+'</LAYER>';

function show(id) {
   if (document.getElementById && !ns4 && !ie4) {if (id == "popK"){document.getElementById("popK").style.visibility="visible";} else if (id =="popV"){document.getElementById("popV").style.visibility="visible";}}
   if (ns4) {document.layers[id].visibility = "show";}
   if (ie4) {document.all[id].style.visibility = "visible";}; return}
function hide(id) {
   if (document.getElementById && !ns4 && !ie4) {document.getElementById("popK").style.visibility="hidden"; document.getElementById("popV").style.visibility="hidden";}   
   if (ns4) {document.layers[id].visibility = "hide";}
   if (ie4) {document.all[id].style.visibility = "hidden";}; return}
function CodeWrite() {
   if (document.getElementById || ie4)  {document.write(kodMSIE4567N67OpFf)};
   if (ns4) {document.write(kodN4)}; 
   hide('popK'); hide('popV'); return}



