function createObject(id,element)
{
	var obj;
	if(document.getElementById(id)){obj=document.getElementById(id);}
	else{obj=document.createElement(element);}
	obj.style.visibility="visible";		obj.className=id+"_style";	obj.setAttribute('id',id);
	return obj;
}
function removeAllChilds(obj)
{
	var childsWillDeleted=obj.childNodes;
	for(var i=0;i<childsWillDeleted.length;i++){obj.removeChild(childsWillDeleted.item(i));}
}
function getObjectInDiv(object)
{
	var div=createObject("holder","div");
	div.appendChild(object);
	return div;
}
function removeChildWithId(id)
{
	if(!document.getElementById(id)){return false;}
	globalBody.removeChild(document.getElementById(id));
}

