
var message="Copyright (C) 2005 by POWWEB.DE";

function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")
function stopError() {
 return true;
}
window.onerror = stopError;

function neu() {
 MeinFenster =
 window.open("/full/highlight.html", "0", "width=640,height=510,scrollbars");
 MeinFenster.focus();
}
function clean ()
{
  if ((navigator.appName=='Netscape') && (navigator.appVersion.charAt (0)<'5'))
  {
  window.document.b.visibility="hide";
  window.document.m1.visibility="hide";
  window.document.m2.visibility="hide";
  window.document.m3.visibility="hide";
  window.document.m4.visibility="hide";
  return;
  }
 if (navigator.appVersion.charAt (0)<'5')
    {
    var layers=document.all.tags ("div");
    }
    else {
    var layers=document.getElementsByTagName("div");
    }
 layers[0].style.visibility='hidden';
 layers[2].style.visibility='hidden';
 layers[4].style.visibility='hidden';
 layers[6].style.visibility='hidden';
 layers[8].style.visibility='hidden';
 return;
}

function menu (i)
{

switch(i)
 {
  case 1:
   {
    if ((navigator.appName=='Netscape') && (navigator.appVersion.charAt(0)<'5'))
     {
      window.document.b.visibility="show";
      window.document.m1.visibility="show";
      window.document.m2.visibility="hide";
      window.document.m3.visibility="hide";
      window.document.m4.visibility="hide";
     return;
     }
    if (navigator.appVersion.charAt (0)<'5')
    {
    var layers=document.all.tags ("div");
    }
    else {
    var layers=document.getElementsByTagName("div");
    }
    layers[0].style.visibility='visible';
    layers[2].style.visibility='visible';
    layers[4].style.visibility='hidden';
    layers[6].style.visibility='hidden';
    layers[8].style.visibility='hidden';
    return;
   }
  case 2:
   {
    if ((navigator.appName=='Netscape') && (navigator.appVersion.charAt(0)<'5'))
     {
     window.document.b.visibility="show";
     window.document.m1.visibility="hide";
     window.document.m2.visibility="show";
     window.document.m3.visibility="hide";
     window.document.m4.visibility="hide";
     return;
     }
    if (navigator.appVersion.charAt (0)<'5')
    {
    var layers=document.all.tags ("div");
    }
    else {
    var layers=document.getElementsByTagName("div");
    }
    layers[0].style.visibility='visible';
    layers[2].style.visibility='hidden';
    layers[4].style.visibility='visible';
    layers[6].style.visibility='hidden';
    layers[8].style.visibility='hidden';
    return;
   }
  case 3:
   {
    if ((navigator.appName=='Netscape') && (navigator.appVersion.charAt(0)<'5'))
     {
     window.document.b.visibility="show";
     window.document.m1.visibility="hide";
     window.document.m2.visibility="hide";
     window.document.m3.visibility="show";
     window.document.m4.visibility="hide";
     return;
     }
    if (navigator.appVersion.charAt (0)<'5')
    {
    var layers=document.all.tags ("div");
    }
    else {
    var layers=document.getElementsByTagName("div");
    }
    layers[0].style.visibility='visible';
    layers[2].style.visibility='hidden';
    layers[4].style.visibility='hidden';
    layers[6].style.visibility='visible';
    layers[8].style.visibility='hidden';
    return;
   }
    case 4:
   {
    if ((navigator.appName=='Netscape') && (navigator.appVersion.charAt(0)<'5'))
     {
     window.document.b.visibility="show";
     window.document.m1.visibility="hide";
     window.document.m2.visibility="hide";
     window.document.m3.visibility="hide";
     window.document.m4.visibility="show";
     return;
     }
    if (navigator.appVersion.charAt (0)<'5')
    {
    var layers=document.all.tags ("div");
    }
    else {
    var layers=document.getElementsByTagName("div");
    }
    layers[0].style.visibility='visible';
    layers[2].style.visibility='hidden';
    layers[4].style.visibility='hidden';
    layers[6].style.visibility='hidden';
    layers[8].style.visibility='visible';
    return;
   }
 }

}
function CheckLen(Target) {
StrLen = Target.value.length
if (StrLen == 1 && Target.value.substring(0,1) == " ") {
	Target.value = ""
	StrLen = 0 }
if (StrLen > 1000 ) {
Target.value = Target.value.substring(0,1000)
CharsLeft = 0 }
else {
CharsLeft = 1000 - StrLen }
document.form.anzahl.value = CharsLeft }
function agb()
{
window.open('http://www.powweb.de/agb.htm','agb','height="100%",width=740,dependent=yes,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,toolbar=no')
}
function counter1()
{
window.open('http://www.powweb.de/counter_ges.htm','counter','height=210,width=325,dependent=yes,location=no,menubar=no,resizable=no,status=no,toolbar=no,top=100,left=150,x=0,y=0')
}
function forum()
{
window.open('http://www.powweb.de/cgi-bin/forum/sbb.cgi','forum','height="100%",width="100%",dependent=yes,location=yes,menubar=yes,scrollbars=yes,resizable=yes,status=yes,toolbar=yes')
}


function gaestebuch(){
location="http://www.powweb.de/gaestebuch.htm"
}
function counter(){
location="http://www.powweb.de/counter.htm"
}
function linkliste(){
location="http://www.powweb.de/pwlinkliste.htm"
}
function download(){
location="http://www.powweb.de/toolsx1.htm"
}
function browser(){
location="http://www.powweb.de/browserx.htm"
}
function allgemein(){
location="http://www.powweb.de/tools1x.htm"
}
function feuerwerk(){
location="http://www.powweb.de/tools6x.htm"
}
function css(){
location="http://www.powweb.de/tools19x.htm"
}
function formx(){
location="http://www.powweb.de/form1x.htm"
}
function farben(){
location="http://www.powweb.de/farben.htm"
}
function menus(){
location="http://www.powweb.de/tools15x.htm"
}
function farbentools(){
location="http://www.powweb.de/tools12x.htm"
}
function dia(){
location="http://www.powweb.de/tools21x.htm"
}
function audio(){
location="http://www.powweb.de/tools7x.htm"
}
function ticker(){
location="http://www.powweb.de/tools18x.htm"
}
function buttonlinks(){
location="http://www.powweb.de/tools8x.htm"
}
function powli(){
location="http://www.powweb.de/powli-tool.htm"
}
function swf(){
location="http://www.powweb.de/radio-tool.htm"
}
function alster(){
location="http://www.powweb.de/radioalster-tool.htm"
}
function br3(){
location="http://www.powweb.de/br3-tool.htm"
}
function udomain(){
location="http://www.powweb.de/udomain.htm"
}
function countertool()
{
window.open('http://www.powweb.de/counter_tool.htm','chat1','height=210,width=325,dependent=yes,location=no,menubar=no,resizable=no,status=no,toolbar=no,top=100,left=150,x=0,y=0')
}
