
function getParameters()
{
	var author_name = document.getElementById('autor_name').value;
	var author_street = document.getElementById('autor_strasse').value;
	var author_zipcode = document.getElementById('autor_plz').value;
	var author_city = document.getElementById('autor_ort').value;
	var author_email = document.getElementById('autor_mail').value;
	var author_tel = document.getElementById('autor_tel').value;
	var author_fax = document.getElementById('autor_fax').value;
	//var author_fax = document.getElementById('autor_fax').value;
	var description = document.getElementById('description').value;
	var price = document.getElementById('vkp').value.replace(/,/,".");
	var showInShop = document.getElementById('show_in_shop').checked;
	
	var bankName = document.getElementById('bank_name').value;
	var bankNr = document.getElementById('bank_nr').value;
	var accountOwner = document.getElementById('account_owner').value;
	var accountNr = document.getElementById('account_nr').value;
	return "?description="+description+"&price="+price+"&bankName="+bankName+"&bankNr="+bankNr+"&accountOwner="+accountOwner+"&accountNr="+accountNr+
			"&author_name="+author_name+"&author_street="+author_street+"&author_zipcode="+author_zipcode+"&author_city="+author_city+"&author_email="+author_email+
			"&author_tel="+author_tel+"&author_fax="+author_fax+"&show_in_shop="+showInShop;
}

function GetXmlHttpObject()
{
    var xmlHttp=null;
    try
    {
        // Firefox, Opera 8.0+, Safari
        xmlHttp=new XMLHttpRequest();
    }
    catch (e)
    {
        //Internet Explorer
        try
        {
            xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
        }
        catch (e)
        {
            xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
    }
    return xmlHttp;
 }

