//ÆË¾÷
/*function hideMe(no) {
		document.getElementById("Notice"+no).style.display = "none";
	}
*/
function hideMe(no) {
		document.getElementById("Notice"+no).style.display = "none";

	}



	function notice_setCookie( name, value, expiredays ){
        var todayDate = new Date();
        todayDate.setDate( todayDate.getDate() + expiredays );
        document.cookie = name + '=' + escape( value ) + '; path=/; expires=' + todayDate.toGMTString() + ';'
	 return;
	}

	function setCookie( name, value, expiredays )
{
	var todayDate = new Date();
	todayDate.setDate( todayDate.getDate() + expiredays );
	document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
	//ÆË¾÷

//¿òÁ÷ÀÌ´Â ·¹ÀÌ¾î ½ÃÀÛ
var x = 0; 
var y = 0;
drag = 0; 
move = 0; 
window.document.onmousemove = mouseMove;
window.document.onmousedown = mouseDown; 
window.document.onmouseup = mouseUp; 
window.document.ondragstart = mouseStop; 

function mouseUp() { move = 0; } 

function mouseDown() 	{
	if (drag) {
		clickleft = window.event.x - parseInt(dragObj.style.left); 
		clicktop = window.event.y - parseInt(dragObj.style.top); 
		dragObj.style.zIndex += 1; 
		move = 1;
	} 
} 

function mouseMove() 	{ 
	if (move) { 
		dragObj.style.left = window.event.x - clickleft; 
		dragObj.style.top = window.event.y - clicktop; 
	} 
} 

function mouseStop() { window.event.returnValue = false; } 
//¿òÁ÷ÀÌ´Â ·¹ÀÌ¾î ³¡

function getCookie(name)
{
//<![CDATA[
   var nameOfCookie = name + "=";
   var x = 0;
 
   while(x<=document.cookie.length){
      var y = (x+nameOfCookie.length);
      if(document.cookie.substring(x,y) == nameOfCookie){
         if((endOfCookie=document.cookie.indexOf(";",y))==-1) 
            endOfCookie = document.cookie.length;
         return unescape(document.cookie.substring(y,endOfCookie));
      }
        x = document.cookie.indexOf("",x)+1;
        if(x==0) break;
   }
      return "";
//]]>
}
