/*   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-2003 ecw - electronic commerce & web: http://top-com.com/  office@top-com.com
*/
var myziel='ciemain'; var mydomain='civie.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 : 'Civie Moden 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 : 'Civie Moden online';
}
function hitFlashStop() {
clearTimeout(timerID);
window.status = (window.name==myziel) ? document.title : 'Civie Moden 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=Interessante 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 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(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 intern() {
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','trellisIntern',winPar);
ecwIntern.moveTo(8,2);
}
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';
}
}
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/plus.gif';
nav3 = new Image(9,9);
nav3.src = '/_pic/plus_rot.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 ecwF(w,h,l) {
if (w>0) winPar='resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width='+w;
else winPar='resizable=1,location=0,directories=0,status=0,menubar=0,scrollbars=1,toolbar=0,width='+(screen.width-24);
if (h>0) winPar+=',height='+h;
else winPar+=',height='+(screen.height-60);
ecwIntern = window.open(l,'ecwWindow',winPar);
ecwIntern.moveTo(0,0);
}

