function OpenEpaper(EPaperID)
	{ //v2.0
		var EPaperPath = 'EPapers/'+EPaperID+'.html';		
		window.open(EPaperPath,'¼w´µ¯S¹q¤l³ø','');		
	}
function OpenNewWindow(link_page)
	{
  		window.open(link_page,"testo","top=100 left=200 directories=no, location=no, menubar=no, resizable=no, scrollbars=yes, status=no, titlebar=no, toolbar=no,width=650,height=150");
	}

function openPDF(url) {
	window.open(url,'','scrollbars=yes,width=800,height=600')
}

function main_popup(link_page,height) {
    var eventWindow = null;
	if (eventWindow == null) {
		eventWindow = window.open(link_page,"testo","top=100 left=200 directories=no, location=no, menubar=no, resizable=no, scrollbars=yes, status=no, titlebar=no, toolbar=no,width=800,height="+height);
		eventWindow.moveTo(0,0);
		eventWindow.focus();
	}
}

//­¶­±¥kÃäªºQuick Service²¾°Êªºfunction
function CheckUIElements()
{
        var yMenuFrom, yMenuTo, yButtonFrom, yButtonTo, yOffset, timeoutNextCheck, kcheck;
    
        if ( bNetscape4plus ) { // ³×Ã÷ÄÉÀÌÇÁ ¿ë ¼³Á¤
                yMenuFrom   = document["divMenu"].top;
                yMenuTo     = top.pageYOffset ;   // À§ÂÊ À§Ä¡
        }
        else if ( bExplorer4plus ) {  // IE ¿ë ¼³Á¤
                yMenuFrom   = parseInt (divMenu.style.top, 10);
                yMenuTo     = document.body.scrollTop + 100; // À§ÂÊ À§Ä¡
        }

        timeoutNextCheck = 500;

        if ( Math.abs (yButtonFrom - (yMenuTo + 152)) < 6 && yButtonTo < yButtonFrom ) {
                setTimeout ("CheckUIElements()", timeoutNextCheck);
                return;
        }


		if (((yMenuFrom != yMenuTo)&&(document.body.scrollTop>120))||(yMenuTo<yMenuFrom)) {
				
				yOffset = Math.ceil( Math.abs( yMenuTo - yMenuFrom ) / 20 );                
                
				if ( yMenuTo < yMenuFrom )
                        yOffset = -yOffset;

                if ( bNetscape4plus )
                        document["divMenu"].top += yOffset;
                else if ( bExplorer4plus )
                        divMenu.style.top = parseInt (divMenu.style.top, 10)-5 + yOffset;
						
			timeoutNextCheck = 7;
        }


setTimeout ("CheckUIElements()", timeoutNextCheck);

}

function OnLoad()
{
        var y;

        // ÇÁ·¹ÀÓ ¿¡¼­ ¹þ¾î³ª°Ô ÇÏ´Â ÇÔ¼öÀÔ´Ï´Ù. ÇÁ·¹ÀÓ¿¡ ³ÖÀ¸·Á¸é »èÁ¦ÇÏ¼¼¿ä
        if ( top.frames.length )
         //       top.location.href = self.location.href;

        // ÆäÀÌÁö ·Îµù½Ã Æ÷Áö¼Ç
        if ( bNetscape4plus ) {
                document["divMenu"].top = top.pageYOffset + 120;
                document["divMenu"].visibility = "visible";
        }
        else if ( bExplorer4plus ) {
                divMenu.style.top = document.body.scrollTop + 120;
                divMenu.style.visibility = "visible";
        }

        // initializing UI update timer
        CheckUIElements();
        return true;
}



