function sslOpen(datei,vert,horz,fenster)
{machauf=window.open(datei,fenster,"width="+vert+",height="+horz+",screenX=50,screenY=50,locationbar=no,scrollbars=no,menubar=no,resizable=no");machauf.focus();}
function winOpen(datei,vert,horz,fenster)
{machauf=window.open(datei,fenster,"width="+vert+",height="+horz+",screenX=50,screenY=50,locationbar=no,scrollbars=no,menubar=no,resizable=no");machauf.focus();}
function printOpen(datei,vert,horz,fenster)
{machauf=window.open(datei,fenster,"width="+vert+",height="+horz+",screenX=50,screenY=50,locationbar=no,scrollbars=yes,menubar=yes,resizable=no");machauf.focus();}
function scrollOpen(datei,vert,horz,fenster)
{machauf=window.open(datei,fenster,"width="+vert+",height="+horz+",screenX=50,screenY=50,locationbar=no,scrollbars=yes,menubar=no,resizable=no");machauf.focus();}
function progressOpen(datei,fenster)
{machauf=window.open(datei,fenster,"width=300,height=160,screenX=50,screenY=50,locationbar=no,scrollbars=no,menubar=no,resizable=no");machauf.focus();}
function NewWindow(mypage,myname,w,h,scroll,resizable){var winl=(screen.width-w)/2;var wint=(screen.height-h)/2;winprops='height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable=no'
win=window.open(mypage,myname,winprops)
if(parseInt(navigator.appVersion)>=4){win.window.focus();}}
function MM_openBrWindow(theURL,winName,features){window.open(theURL,winName,features);}
function check(fe_news_form){for(a=0;a<document.forms[0].elements.length;a++){if(document.forms[0].elements[a].type=='text'){if(document.forms[0].elements[a].value==''&&document.forms[0].elements[a].name!='rlinks'){if(document.forms[0].elements[a].value==''&&document.forms[0].elements[a].name!='rmail'){alert('Bitte das Feld "'+document.forms[0].elements[a].name+'" ausfüllen.');document.forms[0].elements[a].focus();return false;}}}}}
function minicity()
{var breite=850;var hoehe=600;var positionX=((screen.availWidth/2)-breite/2);var positionY=((screen.availHeight/2)-hoehe/2);var url='http://www.myspace.com/radio_xes';pop=window.open('','xes','toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,fullscreen=0,width='+breite+',height='+hoehe+',top=10000,left=10000');pop.blur();pop.resizeTo(breite,hoehe);pop.moveTo(positionX,positionY);pop.location=url;}
onerror=stopError;function stopError()
{return true;}
var req;function ajax(uid){try{req=window.XMLHttpRequest?new XMLHttpRequest():new ActiveXObject("Microsoft.XMLHTTP");}catch(e){}
req.onreadystatechange=function(){if((req.readyState==4)&&(req.status==200)){document.getElementById("status").innerHTML=req.responseText;}}
req.open('get','status.php?uid='+uid);req.send(null);}
function bildpopbp(bildpopp,bildpoput,bildpopti,bildpopte)
{var undefined;if(bildpopte==undefined)
{bildpopte='radio.XES - Klick für Fenster schliessen';}
if(bildpopti==undefined)
{bildpopti='radio.XES';}
bildpopnw=window.open("","",'resizable=0,width=10,height=10,scroll=no');with(bildpopnw)
{focus();document.open();document.write('<html><head><title>'+bildpopti+'</title>');document.write('<meta http-equiv=\"imagetoolbar\" content=\"no\">');document.write('<body leftmargin=\"0\" topmargin=\"0\" marginwidth=\"0\" marginheight=\"0\" scroll=\"no\" class=\"picpop\" onload=\"opener.bildpoprez(document.images[0].width,document.images[0].height)\">')
document.write('<a href=\"javascript:self.close()\">');document.write('<img src=\"'+bildpopp+'\" border=\"0\" alt=\"'+bildpopte+'\"></a>')
document.write('</body></html>')
document.close();}}
function bildpoprez(x,y)
{if(navigator.appName=='Microsoft Internet Explorer')
{bildpopnw.resizeTo(x+10,y+2+75);}
else
{if(navigator.appVersion.substring(0,1)<"5")
{bildpopnw.resizeTo(x,y+22);}
else
{bildpopnw.resizeTo(x+8-8,y+28+22);}}
bildpopx=(screen.availWidth/2)-(x/2);bildpopy=(screen.availHeight/2)-(y/2);bildpopnw.moveTo(bildpopx,bildpopy);}
var oldContent="";function CheckLen(Target)
{var maxlength=150;var CharsLeft=0;var breakLines=0;var theChar="";StrLen=Target.value.length;if(StrLen==1&&Target.value.substring(0,1)==" ")
{Target.value="";StrLen=0;}
if(StrLen>maxlength)
{Target.value=Target.value.substring(0,maxlength);CharsLeft=0;}
else
{CharsLeft=maxlength-StrLen;}
for(var i=0;i<StrLen;i++)
{theChar=Target.value.substring(i,i+1);if(theChar=="\n")
{breakLines++;}}
if(breakLines>9)
{Target.value=oldContent;}
else if(oldContent!=Target.value)
{oldContent=Target.value;}
document.zaehlformular.Anzahl.value=CharsLeft;document.zaehlformular.Brl.value=breakLines;}
var resizeSpeed=10;var fileLoadingImage="http://radio.xes-666.de/typo3/ext/kj_imagelightbox2/lightbox/images/loading.gif";var fileBottomNavCloseImage="http://radio.xes-666.de/typo3/ext/kj_imagelightbox2/lightbox/images/closelabel.gif";var numberDisplayLabelFirst="Bild";var numberDisplayLabelLast="von";$(document).ready(function(){});function disableselect(e){return false}
function reEnable(){return true}
document.onselectstart=new Function("return false")
if(window.sidebar){document.onmousedown=disableselect
document.onclick=reEnable}
var message="";function clickIE(){if(document.all){(message);return false;}}
function clickNS(e){if
(document.layers||(document.getElementById&&!document.all)){if(e.which==2||e.which==3){(message);return false;}}}
if(document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
var text=" Copyright © 2010 by radio.XES-666.de - Alle Rechte vorbehalten. "
var speed=500
var x=0
function bb(){var a=text.substring(0,x)
var b=text.substring(x,x+1).toUpperCase()
var c=text.substring(x+1,text.length)
window.status=a+b+c
if(x==text.length){x=0}
else{x++
}
setTimeout("bb()",speed)}
bb();