function pyeonib_sample(pyeonib_lec_code,period){
	window.open("about:blank","cp_player","width=980 height=580 top=0 left=0");
	document.pyeonib_dummy.num.value=pyeonib_lec_code
	document.pyeonib_dummy.period.value=period
	document.pyeonib_dummy.target="cp_player"
	if (document.pyeonib_dummy.period.value !==""){
	document.pyeonib_dummy.action="/lecture/pyeonib_dummy.asp"
	}else{
	document.pyeonib_dummy.action="/lecture/pyeonib_dummy_sample.asp"
	}
	document.pyeonib_dummy.submit();
}
function incom_sample(code){
	window.open("about:blank","cp_player","width=980 height=580 top=0 left=0");
	document.incom_dummy.code.value=code
	document.incom_dummy.target="cp_player"
	document.incom_dummy.submit();
}
function gosiguide_sample(code,idx){
	window.open("about:blank","cp_player","width=980 height=580 top=0 left=0");
	document.gosiguide_dummy.code.value=code
	document.gosiguide_dummy.idx.value=idx
	document.gosiguide_dummy.target=	"cp_player"
	document.gosiguide_dummy.submit();
}
function gosiinfra_sample(sample,code,idx,gotopage,mem_id,sub_title){
	window.open("about:blank","view_lecture","width=1024 height=650 top=0 left=0");
	document.player_hochul.sample.value=sample
	document.player_hochul.code.value=code
	document.player_hochul.idx.value=idx
	document.player_hochul.gotopage.value=gotopage
	document.player_hochul.mem_id.value=mem_id
	document.player_hochul.target="view_lecture"
	document.player_hochul.submit();
}
function openwin(a,b,c){
	window.open(a,b,c);
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		preloadFlag = true;
	}
}