function ChangeRentdate(st,sm,sj,et,em,ej,kategorie,hersteller){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&controller=mietzeitraum&st=" + st + "&sm=" + sm + "&sj=" + sj + "&et=" + et + "&em=" + em + "&ej=" + ej + "&kategorie=" + kategorie + "&hersteller=" + hersteller,
		success: function(result){
			jQuery('#mietzeitraum').html(result);
		},
		complete: function(){
			GetRentList(kategorie,hersteller);
			RefreshRentBasketNavi();
		}
	});
}

/*function GetRentList(kategorie,hersteller){

	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&controller=rent_list&kategorie=" + kategorie + "&hersteller=" + hersteller,
		success: function(result){
			jQuery('#rent_list').html(result);
		}
	});
}*/

function ChangeRentdateReset(kategorie,hersteller){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&controller=mietzeitraum&reset=1&kategorie=" + kategorie + "&hersteller=" + hersteller,
		success: function(result){
			jQuery('#mietzeitraum').html(result);
		}
	});
}

function PopUp(){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&popup=versandkosten",
		success: function(result){
			jQuery('#popup').html(result);
		}
	});

	jQuery('#blackbox').fadeIn();	
}

function LoadVersandoptionen(land){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&controller=versandkosten_land&land=" + land,
		success: function(result){
			jQuery('#versandkosten_details').html(result);
		}
	});
}

function VersandPopUp(){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&popup=versandkosten",
		success: function(result){
			jQuery('#popup').html(result);
		},
		complete: function(){
			LoadVersandoptionen(1);
		}
	});

	jQuery('#blackbox').fadeIn();		
}

function FinanzierungsPopUp(wert){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&popup=finanzierung&wert=" + wert,
		success: function(result){
			jQuery('#popup').html(result);
		},
		complete: function(){
			
		}
	});

	jQuery('#blackbox').fadeIn();		
}

function InfoBox(id, typ){
	jQuery.ajax({		
		type: "POST",
		url: "system/ajaxcontroller/ajax_request.php",
		data: "ajax=1&controller=infobox&id=" + id + "&typ=" + typ,
		success: function(result){
			jQuery('.infobox_button').css('border-bottom','1px solid #C0C0C0');
			jQuery('#' + typ).css('border-bottom','1px solid #fff');
			jQuery('#infobox_text').html(result);
		}
	});
}
