// ±ÝÀ¶»óÇ° RIGHT_CONTENT(µðÀÚÀÎ ¸®´º¾ó&ÄÁÅÙÃ÷º¯°æ : iframe size º¯°æ)
function right_cont(top,qna,news) {
	var height = 0;
	       if ( top == 9 ) { height = 850; //²Þµ¿»ê
	} else if ( top == 1 ) { height = 546; //ÀÎ±â¿¹Àû±Ý
	} else if ( top == 2 ) { height = 465; //ÃÖ°í±Ý¸®Ã£±â
	} else if ( top == 3 ) { height = 596; //ÀúÃàÀºÇà
	} else if ( top == 4 ) { height = 570; //´ëÃâ
	} else if ( top == 5 ) { height = 421; //Ä«µå
	} else if ( top == 8 ) { height = 431; //Àå±âÁÖÅÃ¸¶·ÃÀúÃà
	}
	var iframeURL = "http://finance.moneta.co.kr/comm/include/finance/right_cont.jsp?top="+top+"&qna="+qna+"&news="+news;
	document.write("<iframe src='"+iframeURL+"' width='206' height='"+height+"' scrolling='no' frameborder='0' marginheight='0' marginwidth='0' style='margin : 0 0 19 0'></iframe>");
}
/**************************************************************************************************
//iframe size°¡ °¡º¯ÀûÀ¸·Î º¯ÇÏ´Â °æ¿ì, size¸¦ Á¦´ë·Î ¸ÂÃß¾î iframeÀ» Àû¿ëÇÏ±â À§ÇÑ function
//iframe È£Ãâ½Ã onload='resizeFrame(this)' ¼Ò½º¸¦ Ãß°¡ÇÏ¿© »ç¿ë
function resizeFrame(iframeObj) {
	var innerBody   = iframeObj.contentWindow.document.body;
	var innerHeight = innerBody.scrollHeight + (innerBody.offsetHeight - innerBody.clientHeight);
	var innerWidth  = innerBody.scrollWidth  + (innerBody.offsetWidth  - innerBody.clientWidth);
	iframeObj.style.height = innerHeight;
	iframeObj.style.width  = innerWidth;
	this.scrollTo(1,1);
}
**************************************************************************************************/