
function statusLeiste()
{
  window.status = "PosterSelect - Media Agentur für Außenwerbung GmbH";
  setTimeout("statusLeiste()", 1)
}

function IEHoverPseudo()
{
	var navItems = document.getElementById("nav").getElementsByTagName("li");
	
	for (var i=0; i<navItems.length; i++)
  {
		if(navItems[i].className == "menuparent")
    {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuparent"; }
		}
		if(navItems[i].className == "menuparentsub")
    {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuparentsub"; }
		}
		if(navItems[i].className == "menuparentactifsub")
    {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuparentactifsub"; }
		}
		if(navItems[i].className == "menuparentcur")
    {
			navItems[i].onmouseover=function() { this.className += " over"; }
			navItems[i].onmouseout=function() { this.className = "menuparentcur"; }
		}
	}
}

function ShowImage(GrafikURL, Breite, Hoehe)
{
    var Fensteroptionen = "toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0";
    var Grafikfenster = window.open("", "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
    Grafikfenster.focus();
    Grafikfenster.document.open();
	with(Grafikfenster)
    {
        document.write("<html><head>");
        document.write("<title>Grafikanzeige</title>");
        document.write("</head>");
        document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
        document.write("<img border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Zum Schließen auf das Foto klicken\">");
        document.write("</body></html>");
    }
}

function ShowImage2(GrafikURL, Breite, Hoehe)
{
    var Fensteroptionen = "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1";
    var Grafikfenster = window.open("", "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
    Grafikfenster.focus();
    Grafikfenster.document.open();
	with(Grafikfenster)
    {
        document.write("<html><head>");
        document.write("<title>Grafikanzeige</title>");
        document.write("</head>");
        document.write("<body leftmargin=\"0\" marginheight=\"0\" marginwidth=\"0\" topmargin=\"0\">");
        document.write("<img border=\"0\" onclick=\"window.close();\" src=\""+ GrafikURL +"\" title=\"Zum Schließen auf das Foto klicken\">");
        document.write("</body></html>");
    }
}

function popup(popupURL, Breite, Hoehe)
{
	var Fensteroptionen = "toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=0,resizable=1";
    var Fenster = window.open(popupURL, "", Fensteroptionen + ',width=' + Breite + ',height=' + Hoehe);
    Fenster.focus();
}
