function DelTags(obj,chaine,type)
{
	document.getElementById(obj).method="POST";
	document.getElementById(obj).action='?'+chaine+'&'+type+'=off';
	document.getElementById(obj).submit();
}

function AddText(startTag, defaultText, endTag, obj, cible) 
{
	if (obj.createTextRange) 
	{
		var text;
		obj.focus(obj.caretPos);
		obj.caretPos = cible.selection.createRange().duplicate();
		if(obj.caretPos.text.length>0)
		{
			obj.caretPos.text = startTag + obj.caretPos.text + endTag;
		}
		else
		{
			obj.caretPos.text = startTag+defaultText+endTag;
		}
	}
	else obj.value += startTag+defaultText+endTag;
	Construct();
}

function Popup(link,width,height)
{
	Window2=open("","","scrollbars=yes,width="+width+",height="+height+",status=no,menubar=no,location=no,resizable=no");
	Window2.document.location.href=link;
}

function ShowBulle(obj)
{
	var nava = (document.layers);
	var dom = (document.getElementById);
	var iex = (document.all);
	
	if (nava) { cach = document.obj }
	else if (dom) { cach = document.getElementById(obj).style }
	else if (iex) { cach = obj.style }
	
	if(cach.display=='none' || cach.display==''){cach.display = 'block';}
	else										{cach.display = 'none';}
}
