

	document.documentElement.style.overflowY='scroll';
	document.body.style.margin='3px';
	var cssStyle=window.G_custom?(window.G_custom.cssStyle?G_custom.cssStyle:0):0;
	document.documentElement.className='style'+cssStyle;

	
	dtop.innerHTML=html;
	if(G_sys_param.uin>10000)
	{
	document.getElementById('D_userNickSpan').childNodes[0].innerHTML+=G_sys_param.unick;
	}
	var stl=dtop.style;
	stl.display='block';
	stl.backgroundColor='#CDCCC9';
	stl.width='100%';
	stl.margin='-3px 0 5px';
	

var t=parent==window?0:parent.document.documentElement.scrollTop;
var h=parent==window?0:(parent.RESULT1.custom.img0height||90);
h=parseInt(h)
if (t>h+30)window.setTimeout(function(){parent.scrollTo(0,h+30)},150)

//alert(t+'\n'+(h+30))
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



//**************************************************************



function GetParent(_$el,_$pTagName)
{
	if(_$pTagName==null || _$pTagName=="" || _$pTagName==undefined) _$pTagName="|span|div|td|table|body|fieldset|";
	// 返回最近的指定标签的父对象
	if(_$el==null)return null;
	else if(_$el.nodeType==1&&(_$el.tagName.toLowerCase()==_$pTagName.toLowerCase() || _$pTagName.toLowerCase().indexOf("|"+_$el.tagName.toLowerCase()+"|")>-1))
		return _$el;
    else
		return GetParent(_$el.parentNode, _$pTagName);
}









