function Creator(id,padre,left,top,width,height,vcolor,state,stack,contenido,tdiv){
	ie=(document.all)? true:false;
	nn4=(document.layers)? true:false;
	nn6=(!document.all && document.getElementById)? true:false;
	var iniArgs = arguments;
	if(nn4){
		document.layers[iniArgs[0]] = new Layer(iniArgs[4]);
		var aux=document.layers[iniArgs[0]];
		aux.name=iniArgs[0];
		aux.left=iniArgs[2];
		aux.top=iniArgs[3];
		if(iniArgs[5] != null){ aux.clip.height = iniArgs[5] }
		if(iniArgs[6] != null){ aux.bgColor = iniArgs[6] }
		(iniArgs[7] == "hide")? aux.visibility = "hide" : aux.visibility = "show";
		if(iniArgs[8] != null){ aux.zIndex = stack }
		if(iniArgs[9] != null){
			aux.document.open();
			aux.document.write(iniArgs[9]);
			aux.document.close();
		}
	}else if(ie){
		var aux='<DIV id=' + iniArgs[0] + ' style="position:absolute;left:' + iniArgs[2] + ';top:' + iniArgs[3] + ';width:' + iniArgs[4];
		if(iniArgs[5] != null) {
			aux+='; height:' + iniArgs[5];
			aux+='; clip:rect(0,'+iniArgs[4]+','+iniArgs[5]+',0)';
		}
		if(iniArgs[6]!=null){ aux += '; background-color:' + iniArgs[6] }	
		(iniArgs[7]=="hide")? aux+='; visibility:hidden' : aux+='; visibility:visible';
		if(iniArgs[8]!=null){ aux += '; z-index:' + iniArgs[8] }
		aux+='">';
		if(iniArgs[9]!=null){ aux += iniArgs[9] }
		aux+='</DIV>';
		document.body.insertAdjacentHTML("BeforeEnd",aux);
	}else if(nn6){
		nodo = document.getElementsByTagName("BODY").item(0);
		div = document.createElement("DIV");
		div.id=iniArgs[0]
		div.style.position = "absolute";
		nodo.appendChild(div);
		div.style.left=iniArgs[2];
		div.style.top=iniArgs[3];
		div.style.width=iniArgs[4];
		div.style.height=iniArgs[5];
		div.style.visibility=(iniArgs[7]=="show")? 'visible':'hidden';
		div.style.zIndex=iniArgs[8];
		div.style.backgroundColor = iniArgs[6];
		div.innerHTML = iniArgs[9];
	}
	if(tdiv=='yes') eval("div"+id+"=new motionDiv('div"+iniArgs[0]+"','"+iniArgs[0]+"')");
}

