/*   IGOR Standard Javascript f. Netscrape 3.x - 6.x und alle IE ab Version 3
Revision: 3.4.095-S
Datum: 21.01.2003
Copyright (c) 1996-2003 ecw - electronic commerce & web: http://top-com.com/  office@top-com.com
*/
var myziel='logcmain'; var mydomain='logblockhaus.at';
if (window.name==myziel) parent.document.title=document.title;
var timerID=0;var locStr2=">    ";var locStr1=" "; var move=0;
var t0='<TABLE WIDTH=130 STYLE=\"border: 3px solid #ff0000; background-color:#ffff00\"><TR><TD CLASS=\"tabl\">';
var t1='</TD></TR></TABLE>';
var ie5=(document.all && document.getElementById) ? true : false;
var ie55=(document.all && document.getElementById && navigator.appVersion.indexOf('MSIE 5.0')==-1) ? true : false;
var ie4=(document.all && !document.getElementById) ? true : false;
var ns4=(document.layers) ? true : false;
var ns6=(!document.all && document.getElementById) ? true : false;
var mac=(navigator.appVersion.indexOf("Mac")!=-1) ? true : false;
if (ns4) {
t0='<TABLE WIDTH=130 BGCOLOR=\"#ff0000\" CELLSPACING=0 CELLPADDING=3 BORDER=0><TR><TD><TABLE BGCOLOR=\"#ffff00\" CELLSPACING=0 CELLPADDING=2 BORDER=0 WIDTH=\"100%\"><TR><TD CLASS=\"tabl\">';
t1+=t1;
}
function igorinit() {
setTd();
initdone = true;
window.status = (window.name==myziel) ? document.title : 'Ing. Thomas Zeilinger GmbH online';
return true;
}
function hF(t) {
doFlash(t);
}
function hFS() {
hitFlashStop()
}
function hitFlash(Mess,Dhtm) {
doFlash(Mess);
}
function doFlash(mess) {
if (mess!='') { locStr1 = locStr2.substring(4)+locStr2.substring(0,4); locStr2 = locStr1; locStr1 = mess;
window.status=locStr2+" "+mess+" "+locStr2; timerID=setTimeout('doFlash(locStr1)', 100);}
else window.status=(window.name==myziel) ? document.title : 'Ing. Thomas Zeilinger GmbH online';
}
function hitFlashStop() {
clearTimeout(timerID);
window.status = (window.name==myziel) ? document.title : 'Ing. Thomas Zeilinger GmbH online';
}
function ein(bild,obje) {
if (ie5) {
mypic = document.getElementById(obje);
}
else mypic = document.all[obje];
if (!mac) mypic.filters[0].Apply();
mypic.src = bild;
if (!mac) mypic.filters[0].Play();
}
function zufav() {
if (window.external) {
window.external.AddFavorite(parent.frames[myziel].location.href, parent.frames[myziel].document.title);
} else alert('Ihr Browser unterstützt diese Funktion nicht.\n\nBitte benutzen Sie die Bookmark Funktion ihres Browsers direkt\n(zB. [Strg]-[D] für Netscape).');
}
function sendpage(l) {
if (l=='e') location.href='mailto:?subject=Interesting URL at www.'+mydomain+'&body='+parent.frames[myziel].document.title+' -> '+parent.frames[myziel].location.href;
else location.href='mailto:?subject=Interessante URL bei www.'+mydomain+'&body='+escape(parent.frames[myziel].document.title)+' -> '+parent.frames[myziel].location.href;
}
function ecShowHelp(hid) {
window.open('/intern/_helpshow.asp?id='+hid,'winEcHelp','scrollbars=1,toolbar=0,location=0,directories=0,status=0,resizable=0,width=400,height=460')
}
function druck() {
if (window.print) print(parent.frames[myziel].document);
else if ((navigator.appName == "Microsoft Internet Explorer")) druckie4(parent.frames[myziel].document); //IE4 ?
}
function druckie4() {
var WebBrowser = '<OBJECT ID=\"WebBrowser1\" WIDTH=0 HEIGHT=0 CLASSID=\"CLSID:8856F961-340A-11D0-A96B-00C04FD705A2\"></OBJECT>';
document.body.insertAdjacentHTML('beforeEnd', WebBrowser);
WebBrowser1.ExecWB(6,1);
WebBrowser1.outerHTML = '';
}
if (document.images) {
nav0 = new Image(10,8);
nav0.src = '/_pic/nav0.gif';
nav1 = new Image(10,8);
nav1.src = '/_pic/pr.gif';
}
function mausaus(i) {
if (document.all) document.all['p'+i].src = nav0.src;
else document['p'+i].src = nav0.src;
hitFlashStop();
}
function mausein(m,i) {
if (document.all) document.all['p'+i].src = nav1.src;
else document['p'+i].src = nav1.src;
hitFlash(m,'');
}
function intern() {
winPar='left=0,top=0,resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width='+(screen.width-24);
winPar+=',height='+(screen.height-60);
intWindow = window.open('/intern/login.asp','ecwIntern0',winPar);
}
function ecwFormat(z) {
var voko = parseInt(z);
if (isNaN(voko)) return '0,00';
var nako = String(Math.round(z*100));
nako = ',' + nako.substr(nako.length - 2,2);
var counter = parseInt((String(voko).length - 1) / 3);
if (counter) {
var e = '';
var a = String(voko).length - (3 * counter);
for (var i=counter; i > 0; i--) e = '.' + String(voko).substring(a+(i-1)*3, a+(i-1)*3+3) + e;
voko = String(voko).substring(0, a) + e;
}
return voko + nako;
}
function ecwET(z) {
winPar='resizable=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,toolbar=0,width=280,height=370';
ecwWindow = window.open('/ecw_eurotool.asp?e='+z,'ecwTool',winPar);
}
function ecwAZ(objMenu,objImage) {
if ($(objMenu).style.display == "none") {
$(objMenu).style.display = "";
$(objImage).src = '/_pic/_minus.gif';
}
else {
$(objMenu).style.display = "none";
$(objImage).src = '/_pic/_plus.gif';
}
}
function chkS0() {
var x = document.such0.s.value;
if (x=='') {
alert('Geben Sie einen Suchbegriff ein.');
document.such0.s.focus();
return false;
}
if (x.length<3) {
alert('Der Suchbegriff muss mind. 3 Zeichen lang sein.');
document.such0.s.focus();
return false;
}
else return true;
}
function chkS1() {
var x = document.such1.s.value;
if (x=='') {
alert('Geben Sie einen Suchbegriff ein.');
document.such1.s.focus();
return false;
}
if (x.length<3) {
alert('Der Suchbegriff muss mind. 3 Zeichen lang sein.');
document.such1.s.focus();
return false;
}
else return true;
}
function f1(e,w) {
if (document.getElementById) {
if (w==0) e.style.background = '#e0e0e0';
else e.style.background = '#ffff00';
}
}
function ecwF(w,h,l) {
var w1 = screen.availWidth;
var h1 = screen.availHeight;
var l1 = 0;
if (w1>2000) {
w1 = w1 / 2;
l1 = w1;
}
if (w>0) var winPar='left=' + (l1 + parseInt( (w1 - w) / 2 )) + ',resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width=' + w;
else var winPar='left=' + l1 + ',resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width=' + w1;
if (h>0) winPar+=',top=10,height=' + h;
else winPar+=',top=0,height=' + h1;
ecwIntern = window.open(l,'ecwWindow',winPar);
}
function ecwFE(l) {
var w1 = screen.availWidth;
var h1 = screen.availHeight;
var l1 = 0;
if (w1>2000) {
w1 = w1 / 2;
l1 = w1;
}
var w = w1;
var h = h1;
if (w1>800) w = 800;
if (h1>700) h = 700;
var winPar='left=' + (l1 + parseInt( (w1 - w) / 2 )) + ',resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width=' + w + ',top=0,height=' + h1;
ecwEdWin = window.open(l,'ecwEdWind',winPar);
}
function aufzu(objMenu,objImage) {
if (objMenu.style.display == "none") {
objMenu.style.display = "";
objImage.src = '/_pic/_minus.gif';
}
else {
objMenu.style.display = "none";
objImage.src = '/_pic/_plus.gif';
}
}
var x1tdC = '';
function setTd() {
var tds,i;
tds = document.getElementsByTagName('td');
for(i=0; i<tds.length; i++) {
if ( tds[i].id == 'xtd' || tds[i].id == 'xtdg' || tds[i].className.indexOf('xtd') != -1) {
tds[i].onmouseover = x1over;
tds[i].onmouseout = x1out;
}
}
tds = document.getElementsByTagName('div');
for(i=0; i<tds.length; i++) {
if ( tds[i].className.indexOf('xtd') != -1) {
tds[i].onmouseover = x1over;
tds[i].onmouseout = x1out;
}
}
}
function x1over(evt) {
x1tdC = this.style.backgroundColor;
this.style.backgroundColor = '#ff0';
}
function x1out(evt) {
this.style.backgroundColor = x1tdC;
}
function $(o) {
return document.getElementById(o);
}
function gz(l) {
location.href = l;
}
