/*++++++++++++++++++++++++++++++++++++++++++++++++++++
/JS/ javascript #start#
+++++++++++++++++++++++++++++++++++++++++++++++++++*/

// flashEmbedder #start#

function flashEmbedder (src, id, width, height, version, quality, menu, bgcolor) {
    
	theObjects = document.getElementsByTagName("object"); 
    for (var i = 0; i < theObjects.length; i++) { 
        theObjects[i].outerHTML = theObjects[i].outerHTML; 
    }
    
	var flashstring = "";
	flashstring = flashstring + "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=" +version+ "\" width=\"" +width+ "\" height=\"" +height+ "\" id=\"" +id+ "\">";
	flashstring = flashstring + "<param name=movie value=\"" +src+ "\">";
	flashstring = flashstring + "<param name=wmode value=transparent>";
	flashstring = flashstring + "<param name=menu value=" +menu+ ">";
	flashstring = flashstring + "<param name=quality value=" +quality+ " />";
    flashstring = flashstring + "<param name=bgcolor value=#" +bgcolor+" />";
	flashstring = flashstring + "<embed src=\"" +src+ "\" quality=\"" +quality+ "\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" type=\"application/x-shockwave-flash\" width=\"" +width+ "\" height=\"" +height+ "\" wmode=\"transparent\"></embed>";
	flashstring = flashstring + "</object>";
	
	document.write(flashstring);
}

//flashEmbedder ("/fileadmin/files/flash_right_retro/flash_right_retro_140x110_01.swf", "fhome", 140, 110, "7,0,0,0", "high", "false", "c62e29");

// flashEmbedder #stop#

// PopUp #start#

function popupPage (contentPage, popupWidth, popupHeight) {
    popupWin = window.open("", "BannerWindow", "width=" + popupWidth + "px,height=" + popupHeight + "px,top=50,left=50,dependent=yes,menubar=no,resizable=no,location=no,scrollbars=no,status=no,toolbar=no");
    popupWin.location.href = contentPage;
    popupWin.focus();
}

// PopUp #stop#

/*++++++++++++++++++++++++++++++++++++++++++++++++++++
/JS/ javascript #stop#
+++++++++++++++++++++++++++++++++++++++++++++++++++*/
