\n');
}
function closeMovie()
{
document.getElementById("movieDiv").innerHTML = '';
document.getElementById("movieDiv").visibility = 'hidden';
}
var g_nX;
var g_nY;
var g_nPosX;
var g_nPosY;
var g_bDrag = false;
var g_oSticky;
function dragStart(obj)
{
g_oSticky = obj;
g_nX = event.x;
g_nY = event.y;
g_nPosX = obj.style.pixelLeft;
g_nPosY = obj.style.pixelTop;
g_bDrag = true;
}
function drag()
{
if (!g_bDrag) return;
obj = g_oSticky;
var nX = event.x - g_nX;
var nY = event.y - g_nY;
obj.style.pixelLeft = g_nPosX + nX;
obj.style.pixelTop = g_nPosY + nY;
}
function dragEnd(obj)
{
g_bDrag = false;
}
function getCookie( name )
{
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 "";
}
if ( getCookie( "Notice" ) != "done" )
{
noticeWindow = window.open('./popup/popup.php','notice','status=no,width=380,height=480, top=0, left=0');
noticeWindow.opener = self;
}
//±ÙÇÏ½Å³â ÆË¾÷
function exePop2()
{
var url = "./popup/popup2.html";
//var notice_cookie = getCookie("notice");
var notice_cookie2 = getCookie("notice2");
if (notice_cookie2 == null || notice_cookie2 == "")
{
window.open( url, 'popUp3', 'width=384, height=620, top=100, left=300' );
}
}
//exePop2();
//ÀâÁö ¼ö»ó ÆË¾÷â
function love_popup() {
var love_popup_url = "./popup/popup3.html";
//var notice_cookie = getCookie("notice");
var notice_cookie = getCookie("notice3");
if (notice_cookie == null || notice_cookie == "")
{
window.open( love_popup_url, 'popUp3', 'width=380, height=480, top=0, left=388' );
}
}
love_popup();
//->
|
|
|
|
|
|
|
|
|
 |
 |
|
|
|
|
|
| |
|
|
|
|
|
 |
|
 |
|
|
|
 |