// JScript File

function OpenFeedback(sURL, sTitle, sText)
{

f = window.open(sURL, 'Feedback', 'width=800,height=600')	;

}

function ZeigeBild(sBild)
{ 
document.write('<html><body text="#FFFFFF" bgcolor="#000000" link="#FF0000" alink="#FF0000">');
document.write('<P ALIGN=CENTER>') ;
document.write('<input type=button value="Zur&uuml;ck / Back" onClick="history.back()"><\/P>');
document.write('<P align=center>');
document.write('<IMG src="'+sBild+'"\/>');
document.write('<\/P></body><\/html>') ;
}

function OnLoaded()
{
roundCorners();
}

function showKontaktPopUp()
{
    var popUp = $('puKontakt');
    var popUpBackground = $('puBackground');
    var oPopUp = new BodoPopUp(popUp, popUpBackground);

    //dynamic resize:
    oPopUp._resize();
    oPopUp._show();
    
    //laden des Formulars:
    var url = "http://www.bodoconsult.de/tinc?key=nGCTLvzA";//TestFormular.htm
    // notice the use of a proxy to circumvent the Same Origin Policy.

    new Ajax.Request(url, {
      method: 'get',
      onSuccess: function(transport) {
        var notice = $('puKontaktContent');
        notice.innerHTML = transport.responseText;
      },
      onFailure: function(transport){
        var notice = $('puKontaktContent');
        notice.innerHTML = transport.responseText;
      }
    });                   
}

function closePopUp()
{
     var popUp = $('puKontakt');
     var popUpBackground = $('puBackground');
     popUp.style.display = 'none';
     popUpBackground.style.display = 'none';
}
            
function roundCorners()
{
    try
    {
        Rico.Corner.round('divNavigationTop', {corners:'all', compact:false, color:"#6495ED", bgColor:"#FFFFFF"} );
    }
	    catch (ex)
    {
    }
    
    try
    {
        Rico.Corner.round('roundNavigationLeftLinkContainer', {corners:'all', compact:false, color:"#6495ED", bgColor:"#FFFFFF"} );
    }
	    catch (ex)
    {
    }
    
    try
    {
        Rico.Corner.round('roundDivLogo', {corners:'all', compact:false, color:"#83A13C", bgColor:"#B5BAA7"} );
    }
	    catch (ex)
    {
    }
    
    try
    {
           Rico.Corner.round('roundHeader', {corners:'all', compact:false, color:"#FFFFFF", bgColor:"#B5BAA7"} );
    }
	    catch (ex)
    {
    }
     
    try
    {
        Rico.Corner.round('roundNavigationLeft', {corners:'all', compact:false, color:"#FFFFFF", bgColor:"#B5BAA7"} );
    }
        catch (ex)
    {
    }
    try
    {
        Rico.Corner.round('roundContent', {corners:'all', compact:false, color:"#FFFFFF", bgColor:"#B5BAA7"} );
    }
	    catch (ex)
    {
    }
}

	  



