document.writeln('<style>');
document.writeln('.mask');
document.writeln('{position:absolute;display:none;background:#CCCCCC;filter:alpha(opacity=40);}');
document.writeln('.login');
document.writeln('{position:absolute;display:none;}');
document.writeln('</style>');


function getCookie(name){
	var arr = document.cookie.match(new RegExp("(^| )"+name+"=([^;]*)(;|$)"));
	if(arr != null)
		return unescape(arr[2]);
	return "";
}

function deleteCookie(name){
	setCookie(name, "");
}

function setCookie(name,value){
	document.cookie = name + "=" + value + "; path=/; domain=qq.com";
}

document.writeln('<div id="maskDiv" class="mask" style="width:100%;height:100%;z-index:10;"></div>');
document.writeln('<div id="loginDiv" class="login" style="width:100%;height:100%;z-index:11;"><table width="214" border="0" cellspacing="0" cellpadding="0"><tr><td width="185" height="27"><img src="http://ossweb-img.qq.com/images/web/login/login_1.jpg" width="185" height="27"></td><td width="29"><img id="AjaxMainCancle" onclick="__DivLogin__.closeAll();" src="http://ossweb-img.qq.com/images/web/login/login_2.jpg" width="29" height="27" border="0" style="cursor:hand;"></td></tr><tr><td colspan="2"><iframe id="login_frame" src="/login.htm" frameborder="0" scrolling="no" width="214" height="224"></iframe></td></tr></table></div>');



