function showbg(){
	var re = {};
	if (document.documentElement && document.documentElement.clientHeight) {
	var doc = document.documentElement;
	re.width = (doc.clientWidth > doc.scrollWidth) ? doc.clientWidth - 1 : doc.scrollWidth;
	re.height = (doc.clientHeight > doc.scrollHeight) ? doc.clientHeight : doc.scrollHeight;
	}
	else {
	var doc = document.body;
	re.width = (window.innerWidth > doc.scrollWidth) ? window.innerWidth : doc.scrollWidth;
	re.height = (window.innerHeight > doc.scrollHeight) ? window.innerHeight : doc.scrollHeight;
	}
	document.getElementById("ly").style.display="block";
	document.getElementById("addADbox").style.display="block";
    document.getElementById("ly").style.cssText = "position:absolute;left:0px;top:0px;width:"+re.width+"px;height:"+re.height+"px;filter:Alpha(Opacity=60);opacity:0.3;background-color:#000000;z-index:1;";
}

function closebg(){
	document.getElementById("ly").style.display="none";
	document.getElementById("addADbox").style.display="none";
}

function showList(id,num){
	if(num == 1){
		document.getElementById(id).style.display = "block";
	}
	else{
		document.getElementById(id).style.display = "none";
	}
}