/*   IGOR Standard Javascript f. Netscrape 3.x - 6.x und alle IE ab Version 3
Revision: 3.4.121-S
Datum: 01.10.2003
Copyright (c) 1996-2004 ecw - electronic commerce & web: http://top-com.com/  office@top-com.com
*/
var myziel='ecwmain'; var mydomain='ecw.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;
var ok=(document.getElementById) ? 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() {
if (!mac) {
if ( ie4 ) hilfe=document.all.igorhilfe;
if (ie5 || ns6) hilfe = document.getElementById('igorhilfe');
if (ns4) hilfe = document.igorhilfe;
}
initdone = true;
window.status = (window.name==myziel) ? document.title : 'electronic commerce & web online';
if (ie5 && !mac) {
if (!ie55) hilfe.style.filter='revealTrans(Duration=0.5,Transition=12)';
else hilfe.style.filter='progid:DXImageTransform.Microsoft.Fade()';
}
return true;
}
function hF(t) {
doFlash(t);
}
function hFS() {
hitFlashStop()
}
function hitFlash(Mess,Dhtm) {
doFlash(Mess);
if ( Dhtm!=null && Dhtm!='' ) {
if ( ie4 || ie5 ) {
hilfe.filters[0].Apply();
hilfe.innerHTML = t0 + Dhtm + t1;
hilfe.style.visibility = 'visible';
hilfe.filters[0].Play();
}
if ( ns6 ) {
hilfe.innerHTML = t0 + Dhtm + t1;
MozFade(0);
}
if ( ns4 ) {
hilfe.document.write(t0 + Dhtm + t1);
hilfe.document.close();
hilfe.visibility = 'show';
}
}
}
function MozFade(i) {
if (i<100) {
hilfe.style.MozOpacity = i+'%';
if (i==0) hilfe.style.visibility = 'visible';
i+=8;
setTimeout('MozFade('+i+')',80);
}
else hilfe.style.MozOpacity = '100%';
}
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 : 'electronic commerce & web online';
}
function hitFlashStop() {
clearTimeout(timerID);
window.status = (window.name==myziel) ? document.title : 'electronic commerce & web online';
if (move==1) {
move=0;
if ( ns4 ) hilfe.visibility = 'hide';
else if ( ie4 || ie5 || ns6 ) hilfe.style.visibility = 'hidden';
}
}
function ein(bild,obje) {
if (ie5) {
mypic = document.getElementById(obje);
if (!mac) {
if (ie55) mypic.style.filter='progid:DXImageTransform.Microsoft.Fade()';
else mypic.style.filter='blendTrans(Duration=1)';
}
}
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='mailto:?subject=Interesting URL at www.'+mydomain+'&body='+parent.frames[myziel].document.title+' -> '+parent.frames[myziel].location.href;
else location='mailto:?subject=Interessanter URL bei www.'+mydomain+'&body='+escape(parent.frames[myziel].document.title)+' -> '+parent.frames[myziel].location.href;
}
function sMW() {
location='mailto:webmaster@top-com.com?subject=www.'+mydomain+'&body='+escape(parent.frames[myziel].document.title)+'\n-> '+parent.frames[myziel].location.href;
}
function druck() {
if (window.print) print(this.document);
}
if (document.images) {
nav0 = new Image(10,8);
nav0.src = '/_pic/nav0.gif';
nav1 = new Image(10,8);
nav1.src = '/_pic/pr.gif';
nav2 = new Image(9,9);
nav2.src = '/_pic/pr.gif';
nav3 = new Image(9,9);
nav3.src = '/_pic/pr.gif';
}
function mausaus(i) {
if (document.all) document.all['p'+i].src = nav0.src;
else document['p'+i].src = nav0.src;
}
function mausein(i) {
if (document.all) document.all['p'+i].src = nav1.src;
else document['p'+i].src = nav1.src;
}
function mausaus2(i) {
if (document.all) document.all['p'+i].src = nav2.src;
else document['p'+i].src = nav2.src;
}
function mausein2(i) {
if (document.all) document.all['p'+i].src = nav3.src;
else document['p'+i].src = nav3.src;
}
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 ov(o,i) {
if (ok) {
o.style.background='#ffff99';
document.getElementById('p_'+i).src='/_pic/pr.gif';
}
}
function ot(o,i) {
if (ok) {
o.style.background='#eeeeee';
document.getElementById('p_'+i).src='/_pic/nav0.gif';
}
}
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';
}
}

