')
var bezeit = 0
var x=10;
var y=1;
var CamOFF=0
var LEDNr =6
var camerror = new Array(0,0,0,0,0,0,0,0,0,0,0)
function OnlineClock(){
x=x-y;
bezeit=bezeit+1
ss=bezeit%60
h1=(bezeit-ss)/60
mm=h1%60
h2 = (h1 - mm)/60
hh= h2%60
// hh = Math.round(bezeit/3600)
if(mm<10)mm="0"+mm;
if(ss<10)ss="0"+ss;
//alert("OnlineClock")
document.getElementById("TimeOn").firstChild.nodeValue= ( hh + ":"+ mm + ":"+ss)
// Datum anzeigen
var wochentag = new Array("Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag");
var monat = new Array("Januar", "Februar", "März", "April", "Mai", "Juni", "Juli", "August", "September", "Oktober", "November", "Dezember");
jetzt = new Date();
tag = jetzt.getDate();
tagInWoche = jetzt.getDay();
monatDesJahres = jetzt.getMonth();
jahr = jetzt.getFullYear();
stunden = jetzt.getHours();;if(stunden<10)stunden="0"+stunden;
minuten = jetzt.getMinutes();if(minuten<10)minuten="0"+minuten;
sekunden =jetzt.getSeconds();if(sekunden<10)sekunden="0"+sekunden;
//Zeit = jetzt.getTime() / 1000;
document.getElementById("DatAkt").firstChild.nodeValue= ( wochentag[tagInWoche] +", "+tag + ". " + monat[monatDesJahres] +" " + jahr)
document.getElementById("TimeAkt").firstChild.nodeValue= ( "Aktuelle Zeit: " + stunden+":" + minuten+ ":" + sekunden)
// wochentag[tagInWoche] + ", " + tag + ". " + monat[monatDesJahres] + " " + jahr + " " + stunden + ":" + minuten;)
// document.getElementById("CamName"+i).nodeValue
InfoA = eval("parent.xstat")
timerID=setTimeout("OnlineClock()", 1000);
}
var nickname
nickname ="-"
function phplogin()
{
h = ""+window.location.hostname+ window.parent.location.pathname
calling = ("https://fuhr-web.spdns.de/snd/login.php?xh="+nickname+"&seite="+h)
document.getElementById("steuerfenster").src = calling
}
function jamescall()
{
//var IBildx = document.getElementById("IDDU")
calling = ("http://james-box.dyndns.info:600/calling_Realcam:"+nickname)
document.getElementById("steuerfenster").src = calling
}
function germicall()
{
h = ""+window.location.hostname+ window.parent.location.pathname
nickname=form2.menu1.text
nickname=form2.menu1.options[form2.menu1.selectedIndex].text
calling = ("http://fuhr-web.spdns.de:600/calling_Realcam:"+h+"/"+nickname)
document.getElementById("steuerfenster").src = calling
}
function jamescall2()
{
//var IBildx = document.getElementById("IDDU")
h=""+top.location
// h=h.substr(11,h.length-nickname.length -12)
calling = ("http://james-box.dyndns.info:600/->Realcam/"+h+"****"+nickname)
document.getElementById("steuerfenster").src = calling
}
function germicall2()
{
// alert("Test")
//var IBildx = document.getElementById("IDDU")
// h=""+top.location
h = ""+window.location.hostname+ window.parent.location.pathname
calling = ("http://fuhr-web.spdns.de:600/->Webseite :"+h+"****"+nickname)
document.getElementById("steuerfenster").src = calling
}
function ciao_bella(){
//var IBildx = document.getElementById("IDDU");
calling = ("https://fuhr-web.spdns.de/snd/login.php?xh="+nickname+"_go");
document.getElementById("steuerfenster").scr = calling;
// window.open('../bye.htm#'+nickname);
}
// Soundplayer umschalten
var GermiSoundOn
GermiSoundOn =0
function checkBrowserName(name)
{ //aus https://www.winfuture-forum.de/index.php?showtopic=191160
var agent = navigator.userAgent.toLowerCase();
if (agent.indexOf(name.toLowerCase())>-1) {
return true;
}
return false;
}
function GermiSound(){
if(checkBrowserName('firefox')) {setTimeout("RadioSelect(2)",1000)}
}
function SoundError(){
// alert("Radio-Gong")
if (GermiSoundOn ==0){
// document.getElementById("GermiRadio").style.display ="none"
// document.getElementById("songhistory2").scr="radiogong.html"
//var iframescr = document.getElementById("songhistory");
// iframescr.src = "https://fuhr-web.spdns.de/snd/songhistory.php"
// GermiSoundOn =2
}
}
function Test_Sound(){
uniqsnd = Math.random()
document.images[("SoundCast")].src="http://fuhr-web.spdns.de:8000/images/listen.png?uniq="+uniqsnd
}
function privat(wo,targ) {
if (password.value == "Germi") {
if (targ=="mcp") {wo=wo+"#"+password.value}
window.open(wo,targ)
}
if (password.value == "Gast" && targ=="Playman") {
window.open(wo,targ)
}
}
function Switch_Cam_Off(n) {
if (CamOFF==1) {
if (n==-1){
// Picture Webcam Aus
document.webcam12.src= "pictures/camaus.jpg"
timerID=setTimeout("Switch_Cam_Off(-2)", 30000)
} else {
// Picture Rathaus Wetter
uniq15 = Math.random();
// document.webcam12.src= "http://217.92.73.116/jpg/image.jpg?uniq="+uniq15
document.webcam12.src= "http://217.92.73.116/axis-cgi/jpg/image.cgi?resolution=CIF"
timerID=setTimeout("Switch_Cam_Off(-1)", 30000)
}
}
}
//Webcam
function Switch_Cam1(n) { // ******* Cam auf mitte Einstellen / Umschalten ******* {
// Cam aus ?
if (n<0) {
SwitchLED(n)
CamOFF=1
errorimg[12]=1 // on Load ausschalten
Switch_Cam_Off(n)
return
} // else {
CamOFF=0
// Camdaten �bertragen
// alert(KG_OFF)
todo=1
document.getElementById("CamLED["+n+"]").style.backgroundColor = "#FF0000"
camerror[n] = 1
Meldung = "Zugang nicht erlaub!"
// wenn Cam 0 und 1 in allgemeinen Cams ist
if (KG_OFF == "" ){
if (n==0){
document.getElementById("CamLED["+n+"]").style.backgroundColor = "#FF0000"
camerror[n] = 1
todo=0;
Meldung = "Zugang zur Zeit nicht möglich!"
}
if (n==1){
document.getElementById("CamLED["+n+"]").style.backgroundColor = "#FF0000"
camerror[n] = 1
todo=0;
Meldung = "Zugang zur Zeit nicht möglich!"
}
}
// Private Cams
if (n==0){todo=0}
if (n==1){todo=0}
if (n==3){todo=0}
if (n==4){todo=0}
if (n==5){todo=0}
if (password.value == "Germi") {todo=1}
if (todo==0){
// alert(CAM_Name[n]+" "+ Meldung)
} else {
CAM[12] = CAM[n] ; PICTURE[12]=PICTURE[n]; SIZE[12]= SIZE[n]
CAM[32] = CAM[n+20] ; PICTURE[32]=PICTURE[n+20]; SIZE[32]= SIZE[n+20]
camselect[12]=camselect[n]
// pos1_go[8]
// alert("neue select " + n)
// Steuerung �bertragen / Optionen ein und ausschalten
if (camselect[n]==2){m=20}else{m=0}
// TextUpdate(n,1)
camnummer1=n+m
errorimg[12] = 0
document.webcam12.src= "pictures/verbinde.jpg" ;
SwitchLED(n)
// if( n == 2) {
// hz= m+n
n=12
// alert(CAM[n] +PICTURE[n] +"?"+SIZE[n]+"uniq="+uniq15)
// alert( CAM[hz] +PICTURE[hz] +"?"+SIZE[hz]+"uniq="+uniq15)
// }
LoadImage(12)
//alert("Umschaltung")
// }
}
}
function SwitchLED(nr) {
camerror[nr] = 0
if (nr==-1){nr=6}
for (i = 0 ;i<11;++i){
if (i==7){} else {
if (camerror[i] == 1 ) { } else {
// alert("löschen"+i)
document.getElementById("CamLED["+i+"]").style.backgroundColor = "#005500"
}
}
}
LEDNr=nr
camerror[nr] = 0
document.getElementById("CamLED["+nr+"]").style.backgroundColor = "#00FF00"
}
function ErrorLED(nr){
camerror[LEDNr]=1
document.getElementById("CamLED["+LEDNr+"]").style.backgroundColor = "#FF0000"
ErrorImage(nr)
}
i=2
CAM_Name[i] = CAM_Name[i+20]
CAM_TYP[i] = CAM_TYP[i+20]
CAM[i] = CAM[i+20]
PICTURE[i] = PICTURE[i+20]
SIZE[i] = SIZE[i+20]
// PTZ
pos_up[i] = pos_up[i+20]
pos_down[i] = pos_down[i+20]
pos_left[i] = pos_left[i+20]
pos_right[i] = pos_right[i+20]
pos_stop[i] = pos_stop[i+20]
// BilderLeiste
var Sprungweite =780
var SprungMax = 780 // Durch breite der Bilder Festgelegt
function left() {
if (parseInt(document.getElementById('t1').style.left) < 0) {
document.getElementById('t1').style.left = parseInt(document.getElementById('t1').style.left) + Sprungweite;
}
}
function right () {
// 800 = Sprungweite
if (parseInt(document.getElementById('t1').style.left) >= -SprungMax) {
document.getElementById('t1').style.left = parseInt(document.getElementById('t1').style.left) - Sprungweite;
}
}
timerID=setTimeout("Switch_Cam1(-1)", 800)
timerID=setTimeout("phplogin()", 5500)
timerID=setTimeout("germicall2()", 2500)
timerID=setTimeout("OnlineClock()", 1000)
//-->
|
Jürgen's Homepage
|
00:00
00:00
Besuchszeit: 00:00 |
Bildergalerie
|