} 
function setAttrib(elm, attrib, value) {	var formObj = document.forms[0];	var valueElm = formObj.elements[attrib];	if (typeof(value) == "undefined" || value == null) {		value = "";		if (valueElm)			value = valueElm.value;	}	if (value != "") {		elm.setAttribute(attrib, value);		if (attrib == "style")			attrib = "style.cssText";		if (attrib == "longdesc")			attrib = "longDesc";		if (attrib == "width") {			attrib = "style.width";			value = value + "px";			value = value.replace(/%px/g, 'px');		}		if (attrib == "height") {			attrib = "style.height";			value = value + "px";			value = value.replace(/%px/g, 'px');		}		if (attrib == "class")			attrib = "className";		eval('elm.' + attrib + "=value;");	} else		elm.removeAttribute(attrib);}
3623	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3623/32d3515ec5cf941c718954b41f19cc777ee4a50e/functions.js/clean/ain7-website/ain7/media/js/tiny_mce/plugins/advimage/jscripts/functions.js