function newTag(objId,text) {
	var obj = $(objId);
	obj.popupDivID = objId+'Tag';
	obj.popupIframeID = objId+'TagIframe';
	var div = document.createElement('span');
	div.setAttribute('id',obj.popupDivID);
	//div.class = 'yellowtag';
	div.className = 'yellowtag';
	div.innerHTML = text;
	var iframe = document.createElement('iframe');
	iframe.setAttribute('id',obj.popupIframeID);
	//iframe.class = 'yellowtagiframe';
	iframe.className = 'yellowtagiframe';
	iframe.setAttribute('src','/source/?m=blank');
	iframe.setAttribute('frameBorder',0);
	iframe.setAttribute('scrolling','no');
	$('bodyTag').appendChild(div);
	$('bodyTag').appendChild(iframe);
	var popupDiv = $(obj.popupDivID);
	var popupIframe = $(obj.popupIframeID);
	popupIframe.style.width = popupDiv.offsetWidth + 'px';
	popupIframe.style.height = popupDiv.offsetHeight + 'px';
	popupIframe.style.overflow='hidden';
	var coors = obj.cumulativeOffset();
	coors[1] = coors[1] - popupDiv.offsetHeight - 7;
	popupDiv.style.top = coors[1] + 'px';
	popupIframe.style.top = coors[1] + 'px';
	popupDiv.style.left = coors[0] + 'px';
	popupIframe.style.left = coors[0] + 'px';
	if (typeof(obj) == 'object') {
		if (obj.src != '') {  // object is image
			obj.onmouseover = function () {showTag(this);};
			obj.onmouseout = function () {hideTag(this);};
		} else if (obj.name != '') {  // object is form element
			obj.onfocus = function () {showTag(this);};
			obj.onblur = function () {hideTag(this);};
		}
	}
}
function showTag(obj) {
	//$(obj.popupDivID).class = 'yellowtagover';
	$(obj.popupDivID).className = 'yellowtagover';
	//$(obj.popupIframeID).class = 'yellowtagiframeover';
	$(obj.popupIframeID).className = 'yellowtagiframeover';
}
function hideTag(obj) {
	//$(obj.popupDivID).class = 'yellowtag';
	$(obj.popupDivID).className = 'yellowtag';
	//$(obj.popupIframeID).class = 'yellowtagiframe';
	$(obj.popupIframeID).className = 'yellowtagiframe';
}