function dataWindow(datei)
{
	switch(datei)
	{
		case'R':{window.open("rechtshinweise.htm","rechtshinweis",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=auto,resizable=no,top=50,left=450,width=340,height=600');break;}
		case'I':{window.open("impressum.htm","impressum",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbar=auto,resizable=no,top=50,left=300,width=240,height=430');break;}
		case'W':{window.open("win.htm","Gewinnspiel",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=50,left=150,width=550,height=450');break;}
		case'Win':{window.open("../win.htm","Gewinnspiel",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=50,left=150,width=550,height=450');break;}
		case'D':{window.open("../dom.htm","Domainreservierung",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=50,left=150,width=550,height=450');break;}
		case'Deasy':{window.open("../easyweb.htm","EasyWeb",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=50,left=150,width=550,height=450');break;}
		case'Dpro':{window.open("../proweb.htm","ProWeb",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=50,left=150,width=550,height=450');break;}
		case'Dd':{window.open("../zusatzdomain.htm","Zusatzdomain",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=50,left=150,width=550,height=450');break;}
	}
}

function OpenBild(Bild,width,height)   
{    
window.open(Bild, "Bild", "width="+width+",height="+height+",topmargin=0,leftmargin=0,top=50,left=50");
}

function bildwechsel(popon) 
{
  if (navigator.appVersion.indexOf(" 2.0 ") == -1)
  {
     parent.main.document.images["impressum"].src="bilder/"+popon;
  }
}

function lapos(ziel) // liefert die browserspezifische referenzierung für einen layer
{
	switch(browser)
	{
		case'ie':{return document.all[ziel];break;}
		case'ns4':{return eval('document.'+ziel);break;}
		case'ns6':{return document.getElementById(ziel);break;}
	}
	//alert(browser);
	return null;
}

function lastyl(ziel) // liefert die browserspezifische referenzierung des layer-styles
{
	if(browser!='ns4')return lapos(ziel).style;
	else return lapos(ziel);
}

function getx(ziel) // gibt den x-wert eines layers zurück 
{
	if(browser=='ie')return lastyl(ziel).pixelLeft;
	else return parseInt(lastyl(ziel).left)
}

function gety(ziel) // gibt den y-wert eines layers zurück 
{
	if(browser=='ie')return lastyl(ziel).pixelTop;
	else return parseInt(lastyl(ziel).top)
}

function getv(ziel) // liefert true, wenn ein layer sichtbar ist
{
	if(lastyl(ziel).visibility=='visible'||lastyl(ziel).visibility=='show')return true;
	else return false;
}

function setx(ziel,value){browser=='ie'?lastyl(ziel).pixelLeft=value:lastyl(ziel).left=value;} // setzt den x-wert eines layers
function sety(ziel,value){browser=='ie'?lastyl(ziel).pixelTop=value:lastyl(ziel).top=value;} // setzt den y-wert eines layers
function setv(ziel,mode){mode==1?lastyl(ziel).visibility='visible':lastyl(ziel).visibility='hidden';} // macht abhängig vom browsertyp einen layer sichtbar/unsichtbar; mode 1=visible 0=hidden

function setc(ziel,mode,value) // setzt den clip-wert für einen layer; mode=t(top),b(bottom),l(left),r(right)
{
	var ref=lastyl(ziel);
	switch(mode)
	{
		case't':{browser=='ns4'?ref.clip.top=value:ref.clip='rect('+value+'px auto auto auto)';break;}
		case'r':{browser=='ns4'?ref.clip.right=value:ref.clip='rect(auto '+value+'px auto auto)';break;}
		case'b':{browser=='ns4'?ref.clip.bottom=value:ref.clip='rect(auto auto '+value+'px auto)';break;}
		case'l':{browser=='ns4'?ref.clip.left=value:ref.clip='rect(auto auto auto '+value+'px)';break;}
	}
}

//
// ende layerspezifische funktionen

function OpenSwitch(Name,width,height)   
{  
window.open( Name, "switch", "width="+width+", height="+height+", toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=150");
}

function OpenReg(Name,width,height)   
{  
window.open( Name, "Webscan", "width="+width+", height="+height+", toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=150");
}

function OpenRead(Name,width,height)   
{  
window.open( Name, '', "width="+width+", height="+height+", toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=150");
}

function OpenInput(Name,width,height)   
{  
window.open( Name, '', "width="+width+", height="+height+", toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=100,left=150");
}

function adress(AusstellerinListe,AusstellerInfoLink,Ausstellerzusatz,AusstellerAdress1,AusstellerAdress2,AusstellerAdress3,AusstellerAdress4,AusstellerAdress5,AusstellerMail)
{
InfoWin = window.open("info.htm","ausinfo",'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,top=30,left=30,width=400,height=500');

				InfoWin.document.write('<HTML><HEAD><TITLE>VirtExpo AUSSTELLER-KURZINFO</TITLE></HEAD><BODY BGCOLOR="#F0F0F0">');
				InfoWin.document.write('<link rel="stylesheet" href="java/virtexpo.css" type="text/css">');
				InfoWin.document.write('<img src="images/banner.gif"><BR><BR>');
				InfoWin.document.write('<Span class="head_text"><B>AUSSTELLER-KURZINFO</B></Span>');
				InfoWin.document.write('<HR SIZE=2 WIDTH=100% COLOR="#333333">');
				InfoWin.document.write('<BR><Span class="head_text"><B>');
				InfoWin.document.write('<a href="');
				InfoWin.document.write(AusstellerInfoLink);
				InfoWin.document.write('" target="_blank">');
				InfoWin.document.write(AusstellerinListe);
				InfoWin.document.write('<BR>');
				InfoWin.document.write(Ausstellerzusatz);
				InfoWin.document.write('</A></B></Span><BR><BR><Span class="norm_text"><B>');
				InfoWin.document.write(AusstellerAdress1);
				InfoWin.document.write('<BR>');
				InfoWin.document.write(AusstellerAdress2);
				InfoWin.document.write('&nbsp;');
				InfoWin.document.write(AusstellerAdress3);
				InfoWin.document.write('<BR>Telefon:&nbsp;&nbsp;');
				InfoWin.document.write(AusstellerAdress4);
				InfoWin.document.write('<BR>Telefax:&nbsp;&nbsp;');
				InfoWin.document.write(AusstellerAdress5);
				InfoWin.document.write('<BR><BR><a href="mailto:');
				InfoWin.document.write(AusstellerMail);
				InfoWin.document.write('">');
				InfoWin.document.write(AusstellerMail);
				InfoWin.document.write('</a><BR>');

	InfoWin.document.write("<BR><HR SIZE=2 WIDTH=100% COLOR=#333333>");
	InfoWin.document.write('<CENTER><Span class="head_text"><A HREF="javascript:window.close()"><B>[ FENSTER SCHLIESSEN ]</B></A></Span>');
	InfoWin.document.write('</BODY><HTML>');
}