/*INISEAL:[PXgnzKX4GQDz%2FflAtCGggT1yA34%3D%0A]*/
/*****************************************************************************
 * ÆÄÀÏ¸í : ccd-pvcrd-brfpop.js
 * ÀÛ¼ºÀÏ : 2008. 06. 13
 * ÀÛ¼ºÀÚ : È«ÁÖÈñ
 * ¼³  ¸í : ÇÏ³ªÄ«µå > Ä«µå½ÅÃ»/¼Ò°³ > Á¦ÁÖÅõ¾îÄ«µå > ÇÒÀÎ°¡¸ÍÁ¡¾È³» POPUP javascript function ÆÄÀÏ
 * ===========================================================================
 * º¯°æÀÌ·Â:
 * DATE				AUTHOR		DESCRIPTION
 * ---------------------------------------------------------------------------
 * º¯°æ ÀÌ·ÂÀº ÀÌ°÷¿¡ Ãß°¡ ÇÕ´Ï´Ù.
 *****************************************************************************/


var POP_CONTENT_DIV  = 'jeju_right' ;
/**
 * 
 * 
 */
ccd.pvcrd.brfpop = function() {
    
    // public space
    return {
    	

	/**
         * ´ë¸Þ´ºÀÌµ¿ 
         * 
         */ 
        ViewLayer : function(id, divId, type) {
        		
        	for(i=1;i<=6;i++) {
			document.getElementById(id+i+"_on").style.display="none";
			document.getElementById(id+i+"_off").style.display="";
		}
		
        	document.getElementById(divId+"_off").style.display = "none";
        	document.getElementById(divId+"_on").style.display ="";      		
        	
        }, //function close

        /**
         * ¼­ºê¸Þ´º ÀÌµ¿
         * 
         */ 
        ViewLayer1 : function(id, divId, num) {
        		
        	for(i=1;i<=num;i++) {
        		
			document.getElementById(id+i+"_on").style.display="none";
			document.getElementById(id+i+"_off").style.display="";
		}
		
        	document.getElementById(divId+"_on").style.display = "";
        	document.getElementById(divId+"_off").style.display ="none";      		
        	
        }, //function close    
        

	/**
	 * ¿ÞÂÊ¸Þ´º ÆäÀÌÁö ÀÌµ¿
	 * 
	 * @param {Object} pageURL
	 * @param {Object} formObj
	 */
	goPage : function(pageURL) {
		
		var hanaAjax = null;
		
		/*if ( destDiv == undefined || destDiv == null ) {
			destDiv = pbk.CONTENT_WRAP;
		}*/
		
		var destDiv = POP_CONTENT_DIV ;
		//alert("destDiv : "+ destDiv);
		
		hanaAjax = new hana.JHanaAjax(destDiv, true, true);	
	
		//alert(pbk.APPLICATION_CONTEXT_ROOT + pageURL);
		hanaAjax.ajaxCommSubmit(pbk.APPLICATION_CONTEXT_ROOT + pageURL, null);
	} //function close	
	
    }           // End Reutn
}();            // csc.acdc close



