function prepareTrlForm(lng_code, el, tbl, field, type, id_value, width, fck_toolbar, home_file) {
	 
	 var close = false;
	 var el_parent = $(el).getParent();	
	 
	 // remove all translations forms to avoid duplication of input ids
	 if($('trnsl_container')) {
	 	if(el_parent==$('trnsl_container').getPrevious('div') && el.getStyle('background-color') == '#aaaa66') close=true;
	 	var previous = $('trnsl_container').getPrevious();
	 	previous.getChildren('span').removeProperty('style');
	 	$('trnsl_container').dispose();
	 }
	 // create a new element thet contains the form
	 var myTrnsl = new Element('div', {
		'id' : 'trnsl_container',
		'class' : 'form_translation'
	});				
									
	el_parent.getChildren('span').removeProperty('style');
	
	if(!close){
	
	el.setStyle('background-color', '#aaaa66');						
					
	myTrnsl.inject(el_parent, 'after');
					
	var url = home_file+'?evt[language-formTranslation]';							
	sendPost(url, 'lng_code='+lng_code+'&tbl='+tbl+'&field='+field+'&type='+type+'&id_value='+id_value+'&width='+width+'&fck_toolbar='+fck_toolbar, 'trnsl_container', ''+tbl+field);
	}

}

