/*   IGOR Standard Javascript f. Netscrape 3.x - 6.x und alle IE ab Version 3
Revision: 3.4.122-S
Datum: 01.10.2003
Copyright (c) 1996-2009 ecw - electronic commerce & web: http://top-com.com/  office@top-com.com
*/
var myziel='iwbsmain'; var mydomain='iwbs.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 ( ns4 || ns6 ) { window.captureEvents(Event.MOUSEMOVE); window.onmousemove = bewegeLogo; }
if ( ie4 || ie5 || ns6 ) { document.onmousemove = bewegeLogo; }
if ( ie4 ) hilfe=document.all.igorhilfe;
if (ie5 || ns6) hilfe = document.getElementById('igorhilfe');
if (ns4) hilfe = document.igorhilfe;
move=1;
bewegeLogo;
}
initdone = true;
window.status = (window.name==myziel) ? document.title : 'iwBS - iris walter Business Services 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!='' ) {
move=1;
bewegeLogo;
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 bewegeLogo(e) {
if ( move==1) {
if ( ns4 || ns6 ) {
var x = ( e.pageX>(window.innerWidth-50) ) ? (e.pageX - 40) : (e.pageX + 10) ;
var y = ( e.pageY>(window.innerHeight-55) ) ? (e.pageY - 65) : (e.pageY + 5) ;
if (ns4) hilfe.moveTo(x,y);
else {
var x1=x+'px';
var y1=y+'px';
hilfe.style.left = x1;
hilfe.style.top = y1;
}
}
else if ( ie4 || ie5 ) {
var x = window.event.clientX+document.body.scrollLeft+5;
var y = window.event.clientY+document.body.scrollTop+5;
if ( x-document.body.scrollLeft>document.body.clientWidth-40 ) x -= 55;
if ( y-document.body.scrollTop>document.body.clientHeight-50 ) y -= 60;
hilfe.style.pixelLeft = x;
hilfe.style.pixelTop = y;
}
}
}
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 : 'iwBS - iris walter Business Services online';
}
function hitFlashStop() {
clearTimeout(timerID);
window.status = (window.name==myziel) ? document.title : 'iwBS - iris walter Business Services 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);
else if ((navigator.appName == "Microsoft Internet Explorer")) druckie4(this.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 = '';
}
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 ix() {
winPar='resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width='+(screen.width-24);
winPar+=',height='+(screen.height-60);
ecwIntern = window.open('/intern/login.asp','sonIntern',winPar);
ecwIntern.moveTo(8,2);
}

