

var message="";


function clickIE() {if (document.all) {(message);return false;}}
function clickNS(e) {if
(document.layers||(document.getElementById&&!document.all)) {
if (e.which==2||e.which==3) {(message);return false;}}}
if (document.layers)
{document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}

document.oncontextmenu=new Function("return false")

// document.write(navigator.appName)
// --> 



function Fensterweite () {
  if (window.innerWidth) {
    return window.innerWidth;
  } else if (document.body && document.body.offsetWidth) {
    return document.body.offsetWidth;
  } else {
    return 800;
  }
}

function Fensterhoehe () {
  if (window.innerHeight) {
    return window.innerHeight;
  } else if (document.body && document.body.offsetHeight) {
    return document.body.offsetHeight;
  } else {
    return 600;
  }
}

function runSlideShow(count,code,speed,xsrc) {

h=(Fensterhoehe()-170-50)/3;
w=(Fensterweite()-250-25)/3;
wx=h/2*3
if (wx<w) w=wx;

h=w/3*2;

h=parseInt(h)
w=parseInt(w)


ie = (navigator.appName == "Microsoft Internet Explorer")
w95 = (navigator.appVersion.indexOf("95") != -1)
if (w95 > 0) ie = 0

	if (ie) document.images[code].style.filter="blendTrans(Duration=3)";
	if (ie) document.images[code].filters.blendTrans.Apply();
        document.images[code].src = "top.asa?format=q&" + xsrc + "&h=" + h + "&w=" + w + "&" + count;
        document.images[code].height = h;
        document.images[code].width = w;
	if (ie) document.images[code].filters.blendTrans.Play();

 t = setTimeout('runSlideShow(' + parseInt(count+1) + ',"' + code + '",' + parseInt(speed+1) + ',"' + xsrc + '")', parseInt(speed*500+Math.random()*speed*1000));
}






function xfoto(xsrc,xalt,xalign,xhref,xtarget,xtyp) {

h=(Fensterhoehe()-170-50)/3;
w=(Fensterweite()-250-25)/3;
wx=h/2*3
if (wx<w) w=wx;

h=w/3*2;

h=parseInt(h)
w=parseInt(w)

    document.write("<a href=") 
    document.write(xhref) 
    document.write("><img src=top.asa?format=q&") 
    document.write(xsrc) 
   document.write("&h=") 
    document.write(h) 
    document.write("&w=") 
    document.write(w) 
    document.write(" border=0 height=") 
    document.write(h) 
    document.write(" width=") 
    document.write(w) 
    if (xalign!="") {
	    document.write(" align=") 
	    document.write(xalign) 
    }
    document.write(" alt='") 
    document.write(xalt) 
    document.write("' target=") 
    document.write(xtarget) 
if (xtyp != "") {
    document.write(" name=")
    document.write(xtyp)
} 
    document.write("></a>")


if (xtyp != "") {
   setTimeout('runSlideShow(0,"'+ xtyp +'",30,"' + xsrc +'")',parseInt(15000+Math.random()*30000))
   }

}

