var check;
var check2;
var check3;
var check4;
var check5;
var check6;
var check7;
function POPUP(){
	var obj = $("pop").firstChild;
	obj.style.display = "inline";
		var close_a = document.createElement("a");
}
function Hide(){
	$("pop").firstChild.style.display = "none";
	$("pop2").firstChild.style.display = "none";
	$("pop3").firstChild.style.display = "none";
	$("pop4").firstChild.style.display = "none";
	$("pop5").firstChild.style.display = "none";
	$("pop6").firstChild.style.display = "none";
}
function POPUP2(){
	var obj = $("pop2").firstChild;
	obj.style.display = "inline";
}
/*
function POPUP2(){
	if(!check2){
	var obj = $("pop2").firstChild;
	obj.style.display = "inline";
		var close_a = document.createElement("a");
		close_a.innerHTML = '<br />[×]close';
		close_a.href = "javascript:Void();";
		close_a.onclick = function(){
			$("pop2").firstChild.style.display = "none";
			check2=false;
			obj.removeChild(close_a);
		}
		obj.appendChild(close_a);
	check2=true;
	}
}
*/
function POPUP3(){
	var obj = $("pop3").firstChild;
	obj.style.display = "inline";
}
function POPUP4(){
	var obj = $("pop4").firstChild;
	obj.style.display = "inline";
}
function POPUP5(){
	var obj = $("pop5").firstChild;
	obj.style.display = "inline";
}
function POPUP6(){
	var obj = $("pop6").firstChild;
	obj.style.display = "inline";
}
function POPUP7(){
	if(!check7){
	var obj = $("pop7").firstChild;
	obj.style.display = "inline";
		var close_a = document.createElement("a");
		close_a.innerHTML = '<br />[×]close';
		close_a.href = "javascript:Void();";
		close_a.onclick = function(){
			$("pop7").firstChild.style.display = "none";
			check7=false;
			obj.removeChild(close_a);
		}
		obj.appendChild(close_a);
	check7=true;
	}
}
