function fixsize()
{
	var h1=0;
	try {
		if (div3.style.scrollHeight<50)
			return;
	} catch (e) {return;}
	try {
		var h = document.body.clientHeight;
		if (h > 720)
			h1 = h-(div1.scrollHeight+div2.scrollHeight+10);
		if (h1>=50)
			div3.style.posHeight=h1;
	} catch (e) {h1=0;}
	try {
		if (h1<50)
			div3.style.posHeight=div3.style.scrollHeight;
	} catch (e) {}
	var h2=0;
	try {
		var h = document.body.clientHeight;
		if (h > 720)
			h2 = h-(div1.scrollHeight+10);
		if (h2>=50)
			cart1.style.posHeight=h2;
	} catch (e) {h2=0;}
	try {
		if (cart1.style.scrollHeight<10)
			return;
		if (h2<50)
			cart1.style.posHeight=cart1.style.scrollHeight;
	} catch (e) {}
}

function post(lvl)
{
	if (lvl<9 && document.form1.trans != null)
	{
		if (document.form1.trans.value=='N')
			document.form1.trans.value = '';
		else
		{
			document.form1.trans[0].value = '';
			document.form1.trans[1].value = '';
		}
	}
	if (lvl<8 && document.form1.steering != null)
	{
		document.form1.steering[0].value = '';
		document.form1.steering[1].value = '';
	}
	if (lvl<7 && document.form1.motor != null)
		document.form1.motor.value = '';
	if (lvl<6 && document.form1.prod != null)
		document.form1.prod.value = '';
	if (lvl<5 && document.form1.zone != null)
		document.form1.zone.value = '';
	if (lvl<4 && document.form1.model != null)
		document.form1.model.value = '';
	if (lvl<3 && document.form1.body != null)
		document.form1.body.value = '';
	if (lvl<2 && document.form1.series != null)
		document.form1.series.value = '';
	document.form1.vin.value='';
	document.form1.submit();
}

