/* (c) 2009 - Jean Luc BIELLMANN */

function E (str,hash) {
	return new Element(str,hash);
}
function T (str) {
	return document.createTextNode(str);
}
function C (obj,hash) {
	var styles = new Array();
	styles.push(G(obj,'style'));
	for (var i in hash)
		styles.push(i+':'+hash[i]);
	S(obj,{'style':styles.join(';').replace(/(^;|;$)/,'')});
}
function S (obj,hash) {
	for (var i in hash)
		obj.setAttribute(i,hash[i]);
}
function G (obj,attr) {
	return obj.getAttribute(attr);
}
function A (obj,child) {
	obj.appendChild(child)	
}
function I (obj,html) {
	obj.innerHTML = html;
}
