

// °ü·Ã»çÀÌÆ® ¶ç¿ì±â
function change_select() {
	var f = document.form2;
	var go_url = f.sites[f.sites.selectedIndex].value;
	if (go_url){
		window.open(go_url,'sites');
	}
}

// buy_book()
function buy_book() {
	var url = "popup/afpk_pocket.htm";
	window.open(url,'lecture','left=0,top=0,toolbar=0,scrollbars=no,width=500,height=672');
}

function open_lecture(code){
	var url="contents/temp_lecture/skin_afpk.htm?r_code="+code;
	window.open(url,'lecture','left=0,top=0,toolbar=0,scrollbars=no,width=990,height=672');
}


function sample_view(strTemp){
  if(strTemp==1){
    window.open("/sample/ilovefund/fd02_06.html","ilovefund","width=1010,height=700,resizable=no,scrollbars=no,top=0,left=0");
  }else if(strTemp==2){
    window.open("/sample/welcometofund/14/fd01_14_set_01.html","welcometofund","width=959,height=700,resizable=no,scrollbars=no,top=0,left=0");  
  }
  
}

// JavaScript Document

    function showhide(num, p_totcount)    { 
	  //for (i=1; i<=main_cnt; i++)   {  by leeman93
	  for (i=1; i<=p_totcount; i++)   { 
		  
		  menu=eval("document.all.block"+i+".style"); 

		  if (num==i ) {
			if (menu.display=="block")
			{
				menu.display="none"; 
			}
			else
			{
			  menu.display="block"; 
			}

		  }else { 
			 menu.display="none"; 
		  } 
		}
	}



