var title_js_var = "대기업 취업의 모든 것, 에듀스 (http://educe.co.kr)";// 링크점선없애기 ///////////////////////////////////////////////function bluring(){ 	if(event.srcElement != null &&(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")) document.body.focus(); } document.onfocusin=bluring; // faq 펼쳐지는 메뉴  ///////////////////////////////////////////////var old_menu = '';function menuclick( submenu ){  if( old_menu != submenu ) {    if( old_menu !='' ) {      old_menu.style.display = 'none';    }    submenu.style.display = 'block';    old_menu = submenu;  } else {    submenu.style.display = 'none';    old_menu = '';  }}// 오픈창 (일반정렬) ///////////////////////////////////////////////function popup(a,b) {	popUpWin = window.open(a,'aaa',b);}// 오픈창 (중앙정렬) ///////////////////////////////////////////////function popcenter(mypage,myname,w,h,scroll,resize){  var winl = (screen.width-w)/2;  var wint = (screen.height-h)/2;  var settings  ='height='+h+',';      settings +='width='+w+',';      settings +='top='+wint+',';      settings +='left='+winl+',';      settings +='scrollbars='+scroll+',';	  settings +='status=no,';      settings +='resizable='+resize;  win=window.open(mypage,myname,settings);  if(parseInt(navigator.appVersion) >= 4){win.window.focus();}}// 오픈창 (FullScreen)  ///////////////////////////////////////////////	function fullscreen(szhref) {		FullWin = window.open(szhref,"FullWin", "fullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0");}// 검색창에 텍스트있다가 포커스 가면 없어지기 ///////////////////////////////////////////////	function clearText(thefield){        if (thefield.defaultValue==thefield.value)            thefield.value = ""    } // 검색창에 이미지 배경있다가 포커스 가면 없어지기 ///////////////////////////////////////////////function ch (obj) {  if(obj.style.backgroundImage == "") return;  obj.style.backgroundImage=""; } // 플래시 링크('플레쉬 경로' , 넓이, 높이, name, value);//////////////function printSWF(fn, w, h){	var arg = arguments;	var argc =  arguments.length;	str   = "<object id='flash_id' classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0\"width=\""+w+"\" height=\""+h+"\">";	str += "        <param name=\"SRC\" value=\""+fn+"\">";	str += "        <param name=\"menu\" value=\"false\">";	str += "		<param name=\"allowScriptAccess\" value=\"always\">";	for(var i = 3; i < argc ; i++){		str += "        <param name=\""+arg[i++]+"\" value=\""+arg[i]+"\">";	}	str += "        <embed name=\"flash_id\" src=\""+fn+"\" menu=\"false\" pluginspage=\"http://www.macromedia.com/shockwave/download/\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\">";	str += "        </embed> ";	str += "</object>";	document.write(str);}// 동영상 링크(id, '경로' , 넓이, 높이);//////////////function printMEDIA(id, fn, w, h){	objstr  = "<OBJECT id=\""+id+"\" name=\""+id+"\" classid=\"CLSID:22D6f312-B0F6-11D0-94AB-0080C74C7E95\" codebase=\" ";	objstr += "http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\" ";	objstr += "standby=\"Loading Microsoft Windows Media Player components...\" ";	objstr += "type=\"application/x-oleobject\" bgcolor=\"DarkBlue\" ";	objstr += "width=\""+w+"\" height=\""+h+"\" ";	objstr += ">";	objstr += " <PARAM NAME=\"Filename\" VALUE=\""+fn+"\">";	objstr += "      <param name=\"ClickToPlay\" value=\"true\">";	objstr += "      <param name=\"width\" value=\""+w+"\">";	objstr += "      <param name=\"height\" value=\""+h+"\">";	objstr += "      <param name=\"AutoSize\" value=\"true\">";	objstr += "      <param name=\"AutoStart\" value=\"true\">";	objstr += "      <param name=\"ShowControls\" value=\"false\">";	objstr += "      <param name=\"ShowAudioControls\" value=\"true\">";	objstr += "      <param name=\"ShowDisplay\" value=\"false\">";	objstr += "      <param name=\"ShowTracker\" value=\"true\">";	objstr += "      <param name=\"ShowStatusBar\" value=\"true\">";	objstr += "      <param name=\"EnableContextMenu\" value=\"false\">";	objstr += "      <param name=\"ShowPositionControls\" value=\"false\">";	objstr += "      <param name=\"ShowCaptioning\" value=\"false\">";	objstr += "      <param name=\"AutoRewind\" value=\"true\">";	objstr += "      <param name=\"Enabled\" value=\"true\">";	objstr += "      <param name=\"EnablePositionControls\" value=\"true\">";	objstr += "      <param name=\"EnableTracker\" value=\"true\">";	objstr += "      <param name=\"PlayCount\" value=\"1\">";	objstr += "      <param name=\"SendWarningEvents\" value=\"true\">";	objstr += "      <param name=\"SendErrorEvents\" value=\"true\">";	objstr += "      <param name=\"SendKeyboardEvents\" value=\"false\">";	objstr += "      <param name=\"SendMouseClickEvents\" value=\"false\">";	objstr += "      <param name=\"SendMouseMoveEvents\" value=\"false\">";	objstr += "      <param name=\"ShowGotoBar\" value=\"false\">";	objstr += "      <param name=\"TransparentAtStart\" value=\"false\">";	objstr += "      <param name=\"Volume\" value=\"50\">";	objstr += "	  <param name=\"DisplaySize \" value=\"0\">";	objstr += "</OBJECT>";	return objstr;}// 앞뒤공백 제거function trim(sString){	sString = sString.replace(/^\s*/,'');    	sString = sString.replace(/\s*$/,'');   	return sString;}// 폰트 축소,확대function scaleFont(val){	var fontSize = 12;	if(val > 0)	{	if (fontSize <= 14)         {             fontSize = fontSize + val;             lineHeight = fontSize+Math.round(1.1*fontSize);             font_size.style.fontSize = fontSize + "px";          }  	}	else	{ 		if (fontSize > 8)     	{              fontSize = fontSize + val;              lineHeight = fontSize+Math.round(1.1*fontSize);              font_size.style.fontSize = fontSize + "px"; 		} 		else 		{      		lineHeight = fontSize+Math.round(1.1*fontSize);      		font_size.style.fontSize = fontSize + "px";          }	}} // 주석 감추기,보기function f_noteView(pLayerName){		var obj = eval(pLayerName+'.style');		if(obj.display == 'none' || obj.display == ''){		obj.display = 'block';	} else {		obj.display = 'none';	}}// input type=text 값 계산해서 에러 메시지 출력function checkText(form, err_msg){	if( trim(form.value).length < 1 )	{		alert(err_msg);		form.focus();		form.select();		return false;	}else return true;}//Number_Formatfunction number_format(num) {     var num_str = num.toString();	 num_str = num_str.replace("/,/g", "");          var result = '';       for(var i=0; i<num_str.length; i++) {            var tmp = num_str.length-(i+1);            if(i%3==0 && i!=0) result = ',' + result;            result = num_str.charAt(tmp) + result;       }         return result; } // NvScroll() 시작 : 함수로 선언해두고 재사용 할 수 있도록 설계되어 있습니다.function NvScroll() {this.version = "0.2";this.name = "NvScroll";this.item = new Array();this.itemcount = 0;this.currentspeed = 0;this.scrollspeed = 5;this.pausedelay = 1000;this.pausemouseover = false;this.stop = false;this.type = 1;this.height = 100;this.width = 180;this.stopHeight=0;this.i=0;this.k = 54;this.arg1 = 54;this.arg2 = 54;this.nouse = false;this.add = function () {	var text = arguments[0];	this.item[this.itemcount] = text;	this.itemcount = this.itemcount + 1;};/*this.add2 = function () {	var url = arguments[0];	var title = arguments[1];	this.item[this.itemcount] = "<a href=" + url + ">" + title + "</a>";	this.itemcount = this.itemcount + 1;};*/this.start = function () {	if(this.nouse == true)	{		this.display(); // 그냥 멈추어 있는다.	}	else	{		if ( this.itemcount == 1 ) {			//this.add(this.item[0]);			this.display();		}else{			this.display();						this.currentspeed = this.scrollspeed;			if ( this.type == 1 || this.type == 2 ) {				this.stop = true;				setTimeout(this.name+'.scroll()',this.currentspeed);				window.setTimeout(this.name+".stop = false", this.pausedelay);			} else if ( this.type == 3 ) {				this.stop = true;				setTimeout(this.name+'.rolling()',this.currentspeed);				window.setTimeout(this.name+".stop = false", this.pausedelay);			}		}	}};this.display = function () {/*	document.write('<div id="'+this.name+'" style="height:'+this.height+'; width:'+this.width+'; position:relative; overflow:hidden; " OnMouseOver="'+this.name+'.onmouseover(); " OnMouseOut="'+this.name+'.onmouseout(); ">');	for(var i = 0; i < this.itemcount; i++) {		if ( this.type == 1 ) {			document.write('<div id="'+this.name+'item'+i+'"style="left:0px; width:'+this.width+'; position:absolute; top:'+(this.height*i)+'px; ">');			document.write(this.item[i]);			document.write('</div>');		} else if ( this.type == 2 || this.type == 3 ) {			document.write('<div id="'+this.name+'item'+i+'"style="left:'+(this.width*i)+'px; width:'+this.width+'; position:absolute; top:0px; ">');			document.write(this.item[i]);			document.write('</div>');		}	}	document.write('</div>');*/document.write('<div id="'+this.name+'" style="height:'+this.height+'; width:'+this.width+'; position:relative; overflow:hidden; " OnMouseOver="'+this.name+'.onmouseover(); " OnMouseOut="'+this.name+'.onmouseout(); ">');	var j = 0;		for(var i = 0; i < this.itemcount; i++) {	j=i*this.arg1;		if ( this.type == 1 ) {			document.write('<div id="'+this.name+'item'+i+'"style="left:0px; width:'+this.width+'; position:absolute; top:'+j+'px; ">');			document.write(this.item[i]);			document.write('</div>');		} else if ( this.type == 2 || this.type == 3 ) {			document.write('<div id="'+this.name+'item'+i+'"style="left:'+(this.width*i)+'px; width:'+this.width+'; position:absolute; top:0px; ">');			document.write(this.item[i]);			document.write('</div>');		}	}	document.write('</div>');	};this.scroll = function () {		if ( this.pause == true ) {		window.setTimeout(this.name+".scroll()",this.pausedelay);		this.pause = false;	} else {		this.currentspeed = this.scrollspeed;		if ( this.stop == false ) {					var k = this.k;			for (i = 0; i < this.itemcount; i++) {								obj = document.getElementById(this.name+'item'+i).style;				//alert("this.height:"+this.height+",obj.top:"+obj.top);				if ( this.type == 1 ) {										obj.top = parseInt(obj.top)-1;					//if ( parseInt(obj.top) <= this.height * (-1) ) obj.top = this.hieight * (this.itemcount-1);					if(this.itemcount > 1){						if ( parseInt(obj.top) <= ((this.itemcount) - 1) * this.arg2 * (-1) ) {obj.top = k;}					}					else if (this.itemcount <= 1)					{						if ( parseInt(obj.top) <= ((this.itemcount)) * this.arg2 * (-1) ) {obj.top = k;}					}					if ( parseInt(obj.top) == 0 ) this.currentspeed = this.pausedelay;				} else if ( this.type == 2 ) {					obj.left = parseInt(obj.left) - 1;					if ( parseInt(obj.left) <= this.width * (-1) ) obj.left = this.width * (this.itemcount-1);					if ( parseInt(obj.left) == 0 ) this.currentspeed = this.pausedelay;				}			}		}				window.setTimeout(this.name+".scroll()",this.currentspeed);	}};this.rolling = function () {	if ( this.stop == false  ) {		this.next();	}	window.setTimeout(this.name+".rolling()",this.scrollspeed);}this.onmouseover = function () {	if ( this.pausemouseover ) {		this.stop = true;	}};this.onmouseout = function () {	if ( this.pausemouseover ) {		this.stop = false;	}};this.next = function() {	//alert(this.itemcount);	this.stop = true;	for (i = 0; i < this.itemcount; i++) {		obj = document.getElementById(this.name+'item'+i).style;		if ( parseInt(obj.top) < 1 ) { 			height = this.height + parseInt(obj.top);			break;		}	}	for (i = 0; i < this.itemcount; i++) {		obj = document.getElementById(this.name+'item'+i).style;		if ( parseInt(obj.top) < 1 ) { 			obj.top = this.height * (this.itemcount-1);		} else {			obj.top = parseInt(obj.top) - height;		}	}}this.prev = function() {	for (i = 0; i < this.itemcount; i++) {		obj = document.getElementById(this.name+'item'+i).style;		if ( parseInt(obj.left) < 1 ) { 			width = parseInt(obj.left) * (-1);			break;		}	}	if ( width == 0 ) {		total_width = this.width * (this.itemcount-1);		for (i = 0; i < this.itemcount; i++) {			obj = document.getElementById(this.name+'item'+i).style;			if ( parseInt(obj.left) + 1 > total_width ) { 				obj.left = 0;			} else {				obj.left = parseInt(obj.left) + this.width;			}		}	} else {		for (i = 0; i < this.itemcount; i++) {			obj = document.getElementById(this.name+'item'+i).style;			if ( parseInt(obj.left) < 1 ) { 				obj.left = 0;			} else {				obj.left = parseInt(obj.left) + width;			}		}	}}this.unext = function () {	this.onmouseover();	this.next();	window.setTimeout(this.name+".onmouseout()",this.pausedelay);}this.uprev = function () {	this.onmouseover();	this.prev();	window.setTimeout(this.name+".onmouseout()",this.pausedelay);}}  // FullScreen 오픈창  ///////////////////////////////////////////////	function fullscreen(szhref) {		FullWin = window.open(szhref,"FullWin", "fullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0");}// FullScreen 오픈창  ///////////////////////////////////////////////	function fullscreen_open(szhref,arg) {		FullWin = window.open(szhref,"FullWin", "fullscreen=yes,toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars="+arg+",resizable=no,left=0,top=0");}// 숫자 체크function checkInt(obj){	for(var i=0;i<Byte(obj.value);i++)	{         val = obj.value.charAt(i);         if(!((val>=0 && val<=9))) return false;			}	return true;}function checkIntOnly(form){	var k = 0;	var str = "";	var inum = new String(form.value);	for(var i=inum.length-1; i > -1; i--)	{		val = inum.charAt(i);		if(!((val>=0 && val<=9))){ 	form.focus();	form.select(); return false;}	}	return true;}function checkInt1(form){	var k = 0;	var str = "";	var inum = new String(form.value);	for(var i=inum.length-1; i > -1; i--)	{		val = inum.charAt(i);		if(!((val>=0 && val<=9) || val == ",")){ 	form.focus();	form.select(); return false;}	}	return true;}function checkInt2(form){	var k = 0;	var str = "";	var inum = new String(form.value);	for(var i=inum.length-1; i > -1; i--)	{		val = inum.charAt(i);		if(!((val>=0 && val<=9) || val == ".")){ 	form.focus();	form.select(); return false;}	}	return true;}function checkPrice(form){	var k = 0;	var str = "";	var inum = new String(form.value);	for(var i=inum.length-1; i > -1; i--)	{		val = inum.charAt(i);		if(!((val>=0 && val<=9) || val == ",")){ alert("숫자가 아닙니다."); form.value = ''; return;}		else {str = inum.charAt(i) + str;}	}	form.value = str;}// 주민번호 체크function f_juminCheck(jumin_1,jumin_2){	var juminNum=jumin_1+jumin_2;	var totalJumin=0;	var weightNum=new Array(2,3,4,5,6,7,8,9,2,3,4,5);	var i;	var checkJumin;		for(i=0;i<juminNum.length-1;i++)	{				totalJumin+=parseInt(juminNum.charAt(i),10)*weightNum[i];			}		checkJumin=(11-(totalJumin%11))%10;	if(checkJumin!=juminNum.charAt(12))	{		return false;	}		return true;}// 재외국인 번호 체크function check_fgnno(jumin_1,jumin_2) {		var fgnno = jumin_1+''+jumin_2;        var sum=0;        var odd=0;        buf = new Array(13);        for(i=0; i<13; i++) { buf[i]=parseInt(fgnno.charAt(i)); }        odd = buf[7]*10 + buf[8];        if(odd%2 != 0) { return false; }        if( (buf[11]!=6) && (buf[11]!=7) && (buf[11]!=8) && (buf[11]!=9) ) {                return false;        }        multipliers = [2,3,4,5,6,7,8,9,2,3,4,5];        for(i=0, sum=0; i<12; i++) { sum += (buf[i] *= multipliers[i]); }        sum = 11 - (sum%11);        if(sum >= 10) { sum -= 10; }        sum += 2;        if(sum >= 10) { sum -= 10; }        if(sum != buf[12]) { return false }        return true;}// 즐겨찾기 스크립트function bookmark_main(){	window.external.AddFavorite('http://www.educe.co.kr', '에듀스(EDUCE) - 대기업 취업의 모든것');}function MM_swapImgRestore() { //v3.0  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;}function MM_swapImage() { //v3.0  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}}function MM_findObj(n, d) { //v4.01  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);  if(!x && d.getElementById) x=d.getElementById(n); return x;}function f_toolTipViewControl(pObjName,pThisObj){	if($(pObjName).style.display == 'block'){		$(pObjName).style.display = 'none';	} else {		$(pObjName).style.display = 'block';	}}function f_toolTipViewControlReset(pObjName,pThisObj,pTotal){	var nm = '';	for(var i=1; i <= pTotal; i++)	{		nm = 'toolTip_'+i;		$(nm).style.display = 'none';	}	$(pObjName).style.display = 'block';}// JavaScript Document// printSWF('플레쉬 경로' , 넓이, 높이);function printSWFHAVEID(idz, fn, w, h){	var arg = arguments;	var argc =  arguments.length;	str   = "<object id=\""+idz+"\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"width=\""+w+"\" height=\""+h+"\">";	str += "        <param name=\"SRC\" value=\""+fn+"\">";	for(var i = 4; i < argc ; i++){		str += "        <param name=\""+arg[i++]+"\" value=\""+arg[i]+"\">";	}	str += "</object>";	document.write(str);}// printSWF1('플레쉬 경로' , 넓이, 높이);function printSWF1(fn, w, h){	var arg = arguments;	var argc =  arguments.length;	str   = "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"width=\""+w+"\" height=\""+h+"\">";	str += "        <param name=\"SRC\" value=\""+fn+"\">";	str += "        <param name=\"menu\" value=\"false\">";	for(var i = 3; i < argc ; i++){		str += "        <param name=\""+arg[i++]+"\" value=\""+arg[i]+"\">";	}	str += "        <embed src=\""+fn+"\" menu=\"false\" pluginspage=\"http://www.macromedia.com/shockwave/download/\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\">";	str += "        </embed> ";	str += "</object>";	document.write(str);}function printSWF_Layer(fn, w, h,layerName,headHtml,footHtml){		var args = printSWF_Layer.arguments;	var str = '';	if(headHtml.length > 0)	{		str += headHtml;		}	str += "<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\"width=\""+w+"\" height=\""+h+"\">";	str += "<param name=\"SRC\" value=\""+fn+"\">";	str += "<param name=\"menu\" value=\"false\">";	str += "<embed src=\""+fn+"\" menu=\"false\" pluginspage=\"http://www.macromedia.com/shockwave/download/\" type=\"application/x-shockwave-flash\" width=\""+w+"\" height=\""+h+"\">";	str += "</embed>";	str += "</object>";		if(footHtml.length > 0)	{		str += footHtml;		}	$(layerName).innerHTML = str;}//창 크기 변경function f_reSize(arg1,arg2){	window.moveTo(10,10);	window.resizeTo(arg1,arg2);	var winl = (screen.width-arg1)/2;	var wint = (screen.height-arg2)/2;	window.moveTo(winl,wint);}//창 크기 변경function f_reSize1(arg1,arg2){	window.moveTo(10,10);	window.resizeTo(arg1,arg2);}//창 크기 변경function f_reSize1_center(arg1,arg2){	var winl = (screen.width-arg1)/2;	var wint = (screen.height-arg2)/2;	window.moveTo(winl,wint);	window.resizeTo(arg1,arg2);}function contents_cp(){	if (window.event)	{		window.event.returnValue = true;		window.setTimeout('attach_kinref()', 25);	}}function attach_kinref(){	if (window.clipboardData) // IE	{		// get data from clipboard		var txt = window.clipboardData.getData('Text');		// attach the source at the end of text		txt = txt + '\r\n(출처 : \''+title_js_var+'\')\r\n';		// set data to clibboard		var result = window.clipboardData.setData('Text', txt);	}}// 레이어창 활성/비활성var old_pop = '';function popclick( pop ){  if( old_pop != pop ) {	if( old_pop !='' ) {	  old_pop.style.display = 'none';	}	pop.style.display = 'block';	old_pop = pop;  } else {	pop.style.display = 'none';	old_pop = '';  }}function popOver( pop ){	pop.style.display = 'block';}function popOut( pop ){	pop.style.display = 'none';}// 깜빡이는 글자...function doBlink() { var blink = document.all.tags("BLINK") for (var i=0; i < blink.length; i++) blink[i].style.visibility = blink[i].style.visibility == "" ? "hidden" : "" } function startBlink() { if (document.all) setInterval("doBlink()",350) } window.onload = startBlink; 