function showCallBack() {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="143" height="47">')
document.write('<param name="movie" value="http://www.gsd-software.com/images/callus.swf">');
document.write('<param name="quality" value="high">');
document.write('<param name="menu" value="false">');
document.write('<embed src="http://www.gsd-software.com/images/callus.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="143" height="47"></embed>');
document.write('</object>');
}


function ShowFlash(url, file) {
document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="550" height="110">');
document.write('<param name="quality" value="high">');
document.write('<param name="menu" value="false">');
document.write('<param name="bgcolor" value="#990033">');
document.write('<param name="movie" value="'+url+'splashes/'+file+'"><embed src="'+url+'splashes/'+file+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="550" height="110"></embed>');
document.write('</object>');
}

function zoom(datei) {
links=screen.width/2 - 700/2;
oben=screen.height/2 - 500/2;
window.open(""+datei+"","Popup","width=700,height=500,top="+oben+",left="+links+",scrollbars=yes,toolbar=no,resizable=no,status=no;" );
}


function produktuebersicht() {
links=screen.width/2 - 800/2;
oben=screen.height/2 - 480/2;
MeinFenster = window.open("http://www.gsd-software.com/fileadmin/template/produktuebersicht.php","Produkte","width=800,height=480,top="+oben+",left="+links+",scrollbars=no,toolbar=no,resizable=no,status=no;" );
MeinFenster.HintergrundFenster = window;
}

function produktuebersichten() {
links=screen.width/2 - 800/2;
oben=screen.height/2 - 480/2;
MeinFenster = window.open("http://www.gsd-software.com/fileadmin/template/en_produktuebersicht.php","Produkte","width=800,height=480,top="+oben+",left="+links+",scrollbars=no,toolbar=no,resizable=no,status=no;" );
MeinFenster.HintergrundFenster = window;
}

function openEbillingCalc () {
	links=screen.width/2 - 365/2;
	oben=screen.height/2 - 620/2;
    Fenster1 = window.open("http://www.gsd-software.com/fileadmin/template/signaturrechner/signaturrechner.php", "BEPCalc", "width=365,height=620,left="+links+",top="+oben+",menubar=no,toolbar=no,status=no");
    Fenster1.focus();
}

function openEbillingCalcen () {
	links=screen.width/2 - 365/2;
	oben=screen.height/2 - 620/2;
    Fenster1 = window.open("http://www.gsd-software.com/fileadmin/template/signaturrechner/en_signaturrechner.php", "BEPCalc", "width=365,height=620,left="+links+",top="+oben+",menubar=no,toolbar=no,status=no");
    Fenster1.focus();
}


function openNewsletter(Adresse) {
		if(name == "") {
		var name = "Zweitfenster";
		}
	var screenw = screen.availWidth; 
	var screenh = screen.availHeight;
	var winw = (700); 
	var winh = (500); 
	var posx = (screenw / 2) - (winw / 2); 
	var posy = (screenh / 2) - (winh / 2); 
  name = window.open("http://www.gsd-software.com/newsletter/"+Adresse, name, "top="+posy+",left="+posx+",width="+winw+",height="+winh+",location=no,menubar=no,scrollbars=yes,resizable=no,status=no");
  name.focus();
}


function enable_menues_for_ie()
{
	if (document.all)
	{
        uls = document.getElementsByTagName('UL');

        for(i = 0; i < uls.length; i++)
        {
            if (uls[i].className == 'dropdown')
            {
                var lis = uls[i].getElementsByTagName('li');

                for (j = 0; j < lis.length; j++)
                {
                    if(lis[j].lastChild.tagName == 'UL')
                    {
                        lis[j].onmouseover = function() { this.lastChild.style.display = 'block'; }
                        lis[j].onmouseout = function() { this.lastChild.style.display = 'none'; }
                    }
                }
            }
        }
    }
}
