

function CrtVirSpan()
{
	var _____spndelInfo__ = document.getElementById('_____spndelInfo__');
	if (!_____spndelInfo__) _____spndelInfo__ = document.createElement('div');
	
	_____spndelInfo__.id = '_____spndelInfo__';
	_____spndelInfo__.style.display = 'none';
	_____spndelInfo__.style.position = 'absolute';
	_____spndelInfo__.style.border = '1px solid green';
	_____spndelInfo__.style.lineHeight = '30px';
	_____spndelInfo__.style.fontSize = '12px';
	
	document.body.appendChild(_____spndelInfo__);
	
	return _____spndelInfo__;
}

function logOutBlg()
{
	var logSpan = document.getElementById('______logStateSpn___');
	webreq.Config.Result = "LogoutBlgUser"
	webreq.Config.returnType = "Content";
	
	webreq.Actionfor('/aj/?editType=LogoutBlgUser&eid=0&obj=obj',logSpan);
}

function blogLogin(obj)
{
	var CS = new CoverScreen();
	CS.DialogPanel();
	CS.Config.dialogWidth = 350;
	CS.Config.dialogHeight = 120;
	/*
	var htmlStr = CS.PanelTitle(WeisLang.InsertImage,CS);
	
	htmlStr += "<iframe id='IMGLoad"+Math.random()+"' src='files/loadImage.aspx?e="+Math.random()+"' width='470' height='120' border='0' frameBorder='0' hspace='0' vspace='0' scrolling='no' />";
	CS.Config.dialogHTML = htmlStr;
	*/
	
	F = CS.IfrDialog('ÓÃ»§µÇÂ½','PAGE','/blog/BlgLogin.aspx',CS);
	CS.dialogShow(CS,F);
	
}

function BlgReger(obj)
{
	var CS = new CoverScreen();
	CS.DialogPanel();
	CS.Config.dialogWidth = 500;
	CS.Config.dialogHeight = 220;
	/*
	var htmlStr = CS.PanelTitle(WeisLang.InsertImage,CS);
	
	htmlStr += "<iframe id='IMGLoad"+Math.random()+"' src='files/loadImage.aspx?e="+Math.random()+"' width='470' height='120' border='0' frameBorder='0' hspace='0' vspace='0' scrolling='no' />";
	CS.Config.dialogHTML = htmlStr;
	*/
	
	F = CS.IfrDialog('ÓÃ»§×¢²á','PAGE','/blog/BlgReger.aspx',CS);
	CS.dialogShow(CS,F);
}
