/*
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("popup") != "done" )	{
    var height, width, str;
    width = 440;
	height = 670;
    str = "height=" + height + ",innerHeight=" + height;
    str += ",width=" + width + ",innerWidth=" + width;

    if (window.screen) {
        var ah = screen.availHeight;
        var aw = screen.availWidth;
        var xc = (aw - width)/3;
        var yc = (ah - height)/3;

        str += ",left=10 ,screenX=0";
        str += ",top=10 ,screenY=0";
        str += ",scrollbars=no";
    }
	var url="/pop/popup_110926.html";

	noticeWindow = window.open(url, 'popup', str);

    noticeWindow.opener = self;

}

if ( getCookie("popup1") != "done" )	{
    var height, width, str;
    width = 440;
	height = 670;
    str = "height=" + height + ",innerHeight=" + height;
    str += ",width=" + width + ",innerWidth=" + width;

    if (window.screen) {
        var ah = screen.availHeight;
        var aw = screen.availWidth;
        var xc = (aw - width)/3;
        var yc = (ah - height)/3;

        str += ",left=500 ,screenX=0";
        str += ",top=10 ,screenY=0";
        str += ",scrollbars=no";
    }
	var url="/pop/popup_110909_02.html";

	noticeWindow = window.open(url, 'popup1', str);

    noticeWindow.opener = self;

}


/*

if ( getCookie("popup1") != "done" )	{
    var height, width, str;
    width = 500;
	height = 610;
    str = "height=" + height + ",innerHeight=" + height;
    str += ",width=" + width + ",innerWidth=" + width;

    if (window.screen) {
        var ah = screen.availHeight;
        var aw = screen.availWidth;
        var xc = (aw - width)/3;
        var yc = (ah - height)/3;

        str += ",left=30 ,screenX=0";
        str += ",top=10 ,screenY=0";
        str += ",scrollbars=no";
    }
	var url="/pop/popup_100915.html";

	noticeWindow = window.open(url, 'popup1', str);

    noticeWindow.opener = self;

}
*/
