// Web feature balloon
function wfover(e,i)
{
	if(!document.getElementById("ad"+i)) return true;
	if(!e) e=window.event;
	wfpop.over(e,{el:"ad"+i});
}
function wfout(i)
{
	wfpop.out();
	return true;
}
function wfshow(p)
{
	if(!p.data) return;
	p.pane.hide();
	p.autoHide=true;
	var el=document.getElementById(p.data.el);
	var w=parseInt(el.firstChild.style.width),h=parseInt(el.firstChild.style.height);
	w+=30; h+=26; if(h<55) h=55;
	var ht=el.innerHTML;
	if(ht.indexOf('")"')!=-1) ht=ht.split('"webover').join("'webover").split('")"').join("\")'");
	
	ht="<div style='position:absolute;left:12;top:9;width:"+w+";height:"+h+";z-index:0'>"+ht+"</div>";
	document.getElementById(p.data.el).firstChild.style.display='none';
	document.getElementById(p.data.el).style.display='';
	el=document.getElementById(p.data.el).offsetParent.offsetParent;
	document.getElementById(p.data.el).style.display='none';
	document.getElementById(p.data.el).firstChild.style.display='';
	return {width:w,height:h,parent:el,innerHTML:ht};
}
var wfpop=new GlassPopup(
	{autoHide:true,overDelay:100,outDelay:100,blockDelay:5000,showing:wfshow},
	{create:false,destroyOnHide:true,zIndex:900},
	{showPoint:false,inParent:true});

