function ajax_showvalues(id, lang, conf_id)
{
	//$("#ajax_all_types_id").load("/test.php", {component_id: id, language_char: lang, config_id: conf_id});

	$.ajax({
		url: "/test1.php",
		dataType: "html",
		type: "POST",
		data: {component_id: id, language_char: lang, config_id: conf_id},
		success: ajax_showvalues_gen
	});


	return false;
}

function ajax_showvalues_gen(html)
{
	$("#ajax_all_types_id").html(html);
}

function changeconfprod(cnt, price, prod_id)
{
	
	$("#edcid"+prod_id).load("/ajax_changecntprod.php", {cnt: cnt, price: price, prod_id: prod_id})
		
	$("#cartcntmsg").load("/okmsg.php"); 
	$("#cartcntmsg").show("slow"); 	
	setTimeout('$("#cartcntmsg").hide("slow");', 2000);
}

function changeconf(cnt, price, prod_id)
{
	$("#edcid"+prod_id).load("/ajax_changecntconf.php", {cnt: cnt, price: price, prod_id: prod_id})

	$("#cartcntmsg").load("/okmsg.php"); 
	$("#cartcntmsg").show("slow"); 	
	setTimeout('$("#cartcntmsg").hide("slow");', 2000);
}

function radio_btn() {
	if(document.register.type[0].checked == true) {
		$("#reductid").show("slow");
	}
	else if(document.register.type[1].checked == true){

		$("#reductid").hide("slow");

	}
}
