
function chlang(ilang)
{
	document.switchlang.lang.value=ilang;
	document.switchlang.submit();
	return false;
}
function updatephone()
{
	$('select.pidx').hide();
	$('select.pidx').attr('name','pidx');
	$('#phtyp' + $('select#phbrand option:selected').val()).show();
	$('#phtyp' + $('select#phbrand option:selected').val()).attr('name','pid');
}
$(document).ready(function() {
 updatephone();
});

function chimgp(imgsrc)
{
var pimgpop = document.getElementById('pimgpop');
pimgpop.src=imgsrc;
}
