var thePreviousIndex=0;//[¸ÞÀÎ¼¾ÅÍ¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç °ü·Ã º¯¼ö] ÀÌÀü ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º
var theNextIndex=0;//[¸ÞÀÎ¼¾ÅÍ¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç °ü·Ã º¯¼ö] ´ÙÀ½ ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º
var theNumOfjykimMainBanners=0;//[¸ÞÀÎ¼¾ÅÍ¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç °ü·Ã º¯¼ö] ¸ÞÀÎ¹è³ÊÀÇ °³¼ö¸¦ ±¸ÇØ¿È
var thePreviousIndex2=0;//[¸ÞÀÎ¿ìÃø¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç °ü·Ã º¯¼ö] ÀÌÀü ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º
var theNextIndex2=0;//[¸ÞÀÎ¿ìÃø¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç °ü·Ã º¯¼ö] ´ÙÀ½ ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º
var theNumOfjykimMainBanners2=0;//[¸ÞÀÎ¿ìÃø¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç °ü·Ã º¯¼ö] ¸ÞÀÎ¹è³ÊÀÇ °³¼ö¸¦ ±¸ÇØ¿È
	//°Ë»öÃ¢¿¡ Æ÷Ä¿½º µÇ¾î ÀÖÁö ¾Ê´õ¶óµµ, Å°º¸µåÀÔ·Â½Ã °Ë»öÃ¢À¸·Î Æ÷Ä¿½º
	//2011-01-19 by Jykim
	function mOver(s,nums){
		//°Ë»öÃ¢
	}
	var isFocus=false;//°Ë»öÃ¢
	$j(function(){//********************************************************************************************
		$j(document).keypress(function(){
			if(!isFocus){
				$j('#ARKIMG').css("ime-mode","inactive").click();
				$j('#ARKIMG').select().css("ime-mode","inactive");
				isFocus=true;
			}
			if($j('#ARKIMG').length==0) $j('#ARKIMG').val('');
		});
		$j('#ARKIMG').click(function(){
			if(isFocus){
				$j(this).css("ime-mode","active");
			}
		});
		$j('#ARKIMG').focus(function(){
			$j('#set_sugicn img').attr('src','/ark/img/icon_up2.gif');
		});
		$j('#ARKIMG').focusout(function(){
			$j('#set_sugicn img').attr('src','/ark/img/icon_down2.gif');
		});
		$j(':input').focusout(function(){
			isFocus=false;
		});
		$j(':input').focusin(function(){
			isFocus=true;
		});
		$j('#ARKIMG').css("ime-mode","active");
		
		//½Ç½Ã°£ ÀÎ±â°Ë»ö¾î ÀüÈ¯ by jykim 2011-02-11		
		$j('#top_keyword2').mouseleave(function(){			
			$j('#top_keyword2').hide();
			$j('#top_keyword').show();			
		});
		$j('#top_keyword2').mouseenter(function(){			
			$j('#top_keyword').hide();
			$j('#top_keyword2').show();			
		});
		$j('#top_keyword').mouseenter(function(){									
			$j('#top_keyword').hide();
			$j('#top_keyword2').show();
		});
		$j('#top_keyword').mouseleave(function(){					
			$j('#top_keyword2').hide();
			$j('#top_keyword').show();
		});
		//$j('*').each(function(){
			//$j(this).css('font-family','³ª´®°íµñ');
		//});
		//[½ÃÀÛ] ¸ÞÀÎÁß°£°Ô½Ã¹° 2011-05-07
//		$j('p.list_paging img').click(function(){//ÀÌÀü ÆäÀÌÁö¸¦ °¡Á®¿Â´Ù
//			//ÇöÀç º¸ÀÌ´Â ÆäÀÌÁöÀÇ ¾ÆÀÌµð¸¦ °¡Á®¿È
//			//$j('#notice_01')
//			alert($j(this).attr('alt'));
//			alert($j(this).val());
			//alert($j(this).parent().parent().parent().parent().html());
//		});
		//[Á¾·á] ¸ÞÀÎÁß°£°Ô½Ã¹° 2011-05-07
		/* [½ÃÀÛ] ¸ÞÀÎÁß°£¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç 2011-05-07 */
		theNumOfjykimMainBanners=jykim.countImg('jykimFadingImg');//[Àü¿ªº¯¼ö] ¸ÞÀÎ¹è³ÊÀÇ °³¼ö¸¦ ±¸ÇØ¿È
		thePreviousIndex="0";//[Àü¿ªº¯¼ö] ÀÌÀü ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º 
		theNextIndex=(theNumOfjykimMainBanners===1)?"0":"1";//[Àü¿ªº¯¼ö] ´ÙÀ½ ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º
		var theCounting=theNumOfjykimMainBanners;//Ä«¿îÅÍ	
		var theCenterBannerAnimation=function(){//¸ÞÀÎ¼¾ÅÍ¹è³Ê ±âº»¾Ö´Ï¸ÞÀÌ¼Ç
			//´ÙÀ½ ÀÎµ¦½º¸¦ ±¸ÇÑ´Ù
			theNextIndex=jykim.getNextIndex(thePreviousIndex,theNumOfjykimMainBanners);
			//alert(theNextIndex);
			//ÀÌÀüÀÎµ¦½º¸¦ °¨Ãß°í, ÇöÀçÀÎµ¦½º¸¦ º¸ÀÌ°Ô ÇÑ´Ù
			$j($j('#jykimFadingImg img').get(thePreviousIndex)).fadeOut(1000);//°£°Ý
			$j($j('#jykimFadingImg img').get(theNextIndex)).fadeIn(1000);//°£°Ý
			//ÀÌ¹ÌÁöÄ«¿îÅÍ
			var theCounter="";
			for(n=0;n<=theNumOfjykimMainBanners-1;n++){
				if(n==theNextIndex) theCounter+="<font color=#000000><span onMouseover=jykim.theCenterBannerQuickAnimation("+n+",this)>¡Ü</span></font>";
				else theCounter+="<span onMouseover=jykim.theCenterBannerQuickAnimation("+n+",this) alt="+n+">¡Ü</span>";
			}
			$j('#jykimImgCounter').html(theCounter);
			thePreviousIndex=theNextIndex;//´ÙÀ½ÀÎµ¦½º°¡ ÀÌÀüÀÎµ¦½º°¡µÊ
			//alert(theModeOfjykimMainBanners+" "+theCounting);//µð¹ö±×¿ë
		}
		//ÀÌ¹ÌÁöÄ«¿îÅÍ
		var theCounter="";
		for(n=0;n<=theNumOfjykimMainBanners-1;n++){
			if(n==0) theCounter+="<font color=#000000><span onMouseover=jykim.theCenterBannerQuickAnimation("+n+",this)>¡Ü</span></font>";
			else theCounter+="<span onMouseover=jykim.theCenterBannerQuickAnimation("+n+",this) alt="+n+">¡Ü</span>";
		}
		$j('#jykimImgCounter').html(theCounter).fadeIn(3000);
		var jykimMainBannerAnimation=setInterval(theCenterBannerAnimation,4000);//¾Ö´Ï¸ÞÀÌ¼Ç°£°Ý
		$j('#jykimFadingImg').mouseover(function(){//¸ÞÀÎ¼¾ÅÍ¹è³Ê¿¡ ¸¶¿ì½º¿À¹ö
			clearInterval(jykimMainBannerAnimation);
		});
		$j('#jykimFadingImg').mouseleave(function(){//¸ÞÀÎ¼¾ÅÍ¹è³Ê¿¡ ¸¶¿ì½º¸®ºê
			jykimMainBannerAnimation=setInterval(theCenterBannerAnimation,4000);//¾Ö´Ï¸ÞÀÌ¼Ç°£°Ý
		});
		/* [Á¾·á] ¸ÞÀÎÁß°£¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç */

		/* [½ÃÀÛ] ¸ÞÀÎ¿ìÃø¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç 2011-05-07 */
		theNumOfjykimMainBanners2=$j('#jykimFadingImg2>a>img').get().length;//[Àü¿ªº¯¼ö] ¸ÞÀÎ¿ìÃø¹è³ÊÀÇ °³¼ö¸¦ ±¸ÇØ¿È
		thePreviousIndex2="0";//[Àü¿ªº¯¼ö] ÀÌÀü ¸ÞÀÎ¿ìÃø¹è³Ê ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º 
		theNextIndex2=(theNumOfjykimMainBanners===1)?"0":"1";//[Àü¿ªº¯¼ö] ´ÙÀ½ ¸ÞÀÎ¿ìÃø¹è³Ê ÀÌ¹ÌÁöÀÇ ÀÎµ¦½º
		var theCounting2=theNumOfjykimMainBanners2;//Ä«¿îÅÍ	
		var theCenterBannerAnimation2=function(){//¸ÞÀÎ¼¾ÅÍ¹è³Ê ±âº»¾Ö´Ï¸ÞÀÌ¼Ç
			//´ÙÀ½ ÀÎµ¦½º¸¦ ±¸ÇÑ´Ù
			theNextIndex2=jykim.getNextIndex(thePreviousIndex2,theNumOfjykimMainBanners2);
			//alert(theNextIndex);
			//ÀÌÀüÀÎµ¦½º¸¦ °¨Ãß°í, ÇöÀçÀÎµ¦½º¸¦ º¸ÀÌ°Ô ÇÑ´Ù
			$j($j('#jykimFadingImg2>a>img').get(thePreviousIndex2)).fadeOut(1000);//°£°Ý
			$j($j('#jykimFadingImg2>a>img').get(theNextIndex2)).fadeIn(1000);//°£°Ý
			thePreviousIndex2=theNextIndex2;//´ÙÀ½ÀÎµ¦½º°¡ ÀÌÀüÀÎµ¦½º°¡µÊ
			//alert(theModeOfjykimMainBanners+" "+theCounting);//µð¹ö±×¿ë
		}
		var jykimMainBannerAnimation2=setInterval(theCenterBannerAnimation2,4000);//¾Ö´Ï¸ÞÀÌ¼Ç°£°Ý
		$j('#jykimFadingImg2').mouseover(function(){//¸ÞÀÎ¼¾ÅÍ¹è³Ê¿¡ ¸¶¿ì½º¿À¹ö
			clearInterval(jykimMainBannerAnimation2);
		});
		$j('#jykimFadingImg2').mouseleave(function(){//¸ÞÀÎ¼¾ÅÍ¹è³Ê¿¡ ¸¶¿ì½º¸®ºê
			jykimMainBannerAnimation2=setInterval(theCenterBannerAnimation2,4000);//¾Ö´Ï¸ÞÀÌ¼Ç°£°Ý
		});
		/* [Á¾·á] ¸ÞÀÎ¿ìÃø¹è³Ê ¾Ö´Ï¸ÞÀÌ¼Ç 2011-05-07 */

		/* [½ÃÀÛ] ·Î±×ÀÎÀ¯´Ö 2011-05-13 */
		$j('#member_tab01_01').click(function(){//°³ÀÎÈ¸¿øÅ¬¸¯
			$j(this).removeClass("menu01").addClass("menu01_on");
			$j('#member_tab01_02').removeClass("menu02_on").addClass("menu02");
			$j('#member_kind').val("general");
			return false;
		});
		$j('#member_tab01_02').click(function(){//±â¾÷È¸¿øÅ¬¸¯
			$j(this).removeClass("menu02").addClass("menu02_on");
			$j('#member_tab01_01').removeClass("menu01_on").addClass("menu01");
			$j('#member_kind').val("company");
			return false;
		});
		$j('#member_tab01_01,#member_tab01_02').focus(function(){//this.blur();
			$j(this).blur();
		});
		$j('#outLoginFrm').submit(function(){//Á¦Ãâ
			//°ËÁõ
			if(!$j('#uid').val().trim()){ 
				alert('¾ÆÀÌµð¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
				$j('#uid').focus();
				return false;
			}
			if(!$j('#passwd').val().trim()){ 
				alert('¾ÏÈ£¸¦ ÀÔ·ÂÇØÁÖ¼¼¿ä');
				$j('#passwd').focus();
				return false;
			}
			//ÄíÅ°Ã³¸®
			//[ÄíÅ°ÀúÀå] °³ÀÎ°ú ±â¾÷È¸¿ø
			if($j('#member_kind').val()=="general"){//°³ÀÎÈ¸¿ø
				$j.cookie('LOGINKIND1', 'checked', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
				$j.cookie('LOGINKIND2', '', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
			}
			else{//±â¾÷È¸¿ø
				$j.cookie('LOGINKIND1', '', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
				$j.cookie('LOGINKIND2', 'checked', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
			}
			//[ÄíÅ°ÀúÀå] IDÀúÀå
			if($j('#idsavechkid').attr('checked')){
				$j.cookie('IDSAVECHK', 'checked', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
				$j.cookie('SAVEUSERID', $j('#uid').val(), {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
			}
			else{
				$j.cookie('IDSAVECHK', '', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
				$j.cookie('SAVEUSERID', '', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
			}
			//[ÄíÅ°ÀúÀå] º¸¾ÈÁ¢¼Ó
			if($j('#secconnid').attr('checked')){
				$j.cookie('SECSAVECHK', 'checked', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
			}
			else{
				$j.cookie('SECSAVECHK', 'unchecked', {expires:30,domain:BASE_DOMAIN, path:'/', secure:0});
			}
			return true;
		});
		/* [Á¾·á] ·Î±×ÀÎÀ¯´Ö 2011-05-13 */
		/* [½ÃÀÛ] ¿ìÃøÄü¹Ù 2011-05-17 */
		var jykimScrollMarginTop=165;//±âº»margin top
		var jykimScrollPrviousePosition=jykimScrollMarginTop;//±âÁ¸À§Ä¡
		var jykimScrollNextPosition=jykimScrollMarginTop;//´ÙÀ½À§Ä¡
		var jykimScrollEasing=0.05;//Easing Rate
		var jykimScrollFn=function(){
			jykimScrollPrviousePosition=parseInt($j('#quick').css('top'));//ÀÌÀüÀ§Ä¡
			jykimScrollNextPosition=$j(window).scrollTop()+jykimScrollMarginTop;//´ÙÀ½À§Ä¡
			var theDistance=Math.floor((jykimScrollNextPosition-jykimScrollPrviousePosition)*jykimScrollEasing);//°£°Ý(use Easing)
			theDistance=(theDistance<0)?theDistance-1:((theDistance==0)?theDistance:theDistance+1);//¼Ò¼öÁ¡Â÷ÀÌ¸¦Á¶ÀýÇØÁÜ
			if(jykimScrollNextPosition>$j(document).height()-750){
				jykimScrollPrviousePosition=$j(document).height()-750;
				theDistance=0;
			}
			//$j('#whatthe').val(theDistance);//µð¹ö±ë¿ë
			$j('#quick').css('top',jykimScrollPrviousePosition+theDistance);
			//if(Math.abs(theDistance)==0) clearInterval(jykimScrolling);//return memory
		}
		var jykimScrolling=setInterval(jykimScrollFn,10);
		var jykTemp=0;
		/* [Á¾·á] ¿ìÃøÄü¹Ù 2011-05-17 */
		/* [½ÃÀÛ] Äü¸Þ´º 2011-05-17 */
		//Äü¸Þ´º Àá±Ý
		//ÄíÅ°¸¦ ºÒ·¯¿Í ÄíÅ°°ªÀÌ locked¸é Ã³À½ºÎÅÍ Àá±Ý
		if($j.cookie('jykRight001')=="locked"){
			window.clearInterval(jykimScrolling);
			$j('#quickRight001').attr('src','/images/index/quick_topLock_on.gif');
			jykTemp=document.getElementById("quick").style.top;
			document.getElementById("quick").style.top = $j.cookie('jykRight002');//ÀúÀåµÈ YÁÂÇ¥
			document.getElementById("quick").style.visibility="visible";//±âº» hidden
			//diffTop=$j.cookie('jykRight002');//ÀúÀåµÈ YÁÂÇ¥
			//lastScrollY=$j.cookie('jykRight002');//ÀúÀåµÈ lastScrollY
			//percent=$j.cookie('jykRight004');//ÀúÀåµÈ percent
		}
		$j('#quickRight001').click(function(){//Àá±Ý
			if($j('#quickRight001').attr('src')=="/images/index/quick_topLock_off.gif"){
				$j('#quickRight001').attr('src','/images/index/quick_topLock_on.gif');
				window.clearInterval(jykimScrolling);
				$j.cookie('jykRight001', 'locked', {expires:0,domain:'hackersjob.com', path:'/', secure:0});
				$j.cookie('jykRight002', document.getElementById("quick").style.top, {expires:0,domain:'hackersjob.com', path:'/', secure:0});//ÇöÀç YÁÂÇ¥¸¦ ÀúÀå
			}
			else if($j('#quickRight001').attr('src')=="/images/index/quick_topLock_on.gif"){//Ç®¾îÁü			
				if(jykTemp){
					document.getElementById("quick").style.top = jykTemp;
				}
				$j('#quickRight001').attr('src','/images/index/quick_topLock_off.gif');
				jykimScrolling=setInterval(jykimScrollFn,10);
				$j.cookie('jykRight001', 'unlocked', {expires:0,domain:'hackersjob.com', path:'/', secure:0});
			}
		});	
		$j('#uid').css("ime-mode","inactive");//·Î±×ÀÎÃ¢ µðÆúÆ® ¿µ¾î·Î ¼ÂÆÃ 2011-03-15
		//·Î±×ÀÎÃ¢ Æ÷Ä¿½º½Ã »¡°£»ö º¯È¯ ¾Ö´Ï¸ÞÀÌ¼Ç
		$j('#uid').focusin(function(){
			jyKimRainbowAnimation('uid',50,'border-color','#d2aaaa','#d99e9e','#d98888','#e06464','#e53c3c','#ee1a1a','#ff0000');
		});
		$j('#uid').focusout(function(){
			//$j('#uid').css('border','1px solid #cacaca');
			jyKimRainbowAnimation('uid',50,'border-color','#ee1a1a','#e53c3c','#e06464','#d98888','#d99e9e','#d2aaaa','#cacaca');
		});
		$j('#passwd').focusin(function(){
			jyKimRainbowAnimation('passwd',50,'border-color','#d2aaaa','#d99e9e','#d98888','#e06464','#e53c3c','#ee1a1a','#ff0000');
		});
		$j('#passwd').focusout(function(){
			jyKimRainbowAnimation('passwd',50,'border-color','#ee1a1a','#e53c3c','#e06464','#d98888','#d99e9e','#d2aaaa','#cacaca');
		});
		$j('#passwd').bind('keypress',function(e){
			//alert(e.keyCode);
			//if(e.keyCode=='13') goConfirm(this.form);//¿£ÅÍÅ°¸¦ ´©¸£¸é submit
		});
		//document.getElementById("right").style.visibility="visible";//±âº» hidden
		/* [Á¾·á] Äü¸Þ´º 2011-05-17 */
		/* [½ÃÀÛ] ¿À´Ã ¿­¶÷ÇÑ Ã¤¿ëÁ¤º¸¼ö 2011-05-17 */
		var theNumOfNoticeThatYouHaveSeenToday=0;//±âº»Àº 0°³
		if($j.cookie('uweToday')){
			theNumOfNoticeThatYouHaveSeenToday=$j.cookie('uweToday').split(',').length-1;//½°Ç¥·Î ºÐ¸® °³¼ö¸¦ ¼À
			if(theNumOfNoticeThatYouHaveSeenToday===0) theNumOfNoticeThatYouHaveSeenToday=1;//ÇÑ°³´Â ½°Ç¥°¡ ¾øÀ½
		}
		$j('#theNumOfNoticeThatYouHaveSeenToday').text(theNumOfNoticeThatYouHaveSeenToday);
		/* [Á¾·á] ¿À´Ã ¿­¶÷ÇÑ Ã¤¿ëÁ¤º¸¼ö 2011-05-17 */
		/* [½ÃÀÛ] ½Ç½Ã°£ ÀÎ±â°Ë»ö¾î 2011-05-18 */
		//$j('#new_header .real_search ol').css('top','-10px');
		$j('#realSearchFloater').html($j('#realSearchFloater').html()+$j('#realSearchFloater').html());
		var realSearchInterval=setInterval(function(){
			var theGap=$j('#new_header .real_search ol li').height();//ÀÌ°Ô ¿Ö ½ÇÁ¦º¸´Ù ¼ýÀÚ°¡ ´õ ÀûÁö -_-?
			var theGap=19;//overide theGap
			var theCurrentHeight=parseInt($j('#new_header .real_search ol').css('top'));
			if(theCurrentHeight<-theGap*9){
				$j('#new_header .real_search ol').css('top','0');
				theCurrentHeight=parseInt($j('#new_header .real_search ol').css('top'));
				//alert($j('#new_header .real_search ol').css('top'));
			}
			var theNextHeight=(Math.abs(theCurrentHeight)+theGap>$j('#new_header .real_search ol').height()-1)?0:Math.abs(theCurrentHeight)+theGap;
			//alert(theNextHeight);
			//$j('#new_header .real_search ol').css('top','-'+theNextHeight+'px');
			$j('#new_header .real_search ol').animate({'top':'-'+theNextHeight+'px'},500,"easeInOutSine");//easing modes : easeInOutSine(´À·È´Ù»¡¶óÁü) / easeInOutExpo(»¡¶óÁ³´Ù ´À·ÁÁü)
		},2000);
		$j('#realSearchFloater').mouseover(function(){
			$j('#realSearchViewer').slideDown();
			//var realSearchViewerSelfClose=setTimeout(function(){$j('#realSearchViewer').slideUp();},5000);//5ÃÊÈÄ ÀÚµ¿À¸·Î ´ÝÈû
		});
		$j('#realSearchViewer').mouseleave(function(){
			$j('#realSearchViewer').slideUp();
			//clearTimeout(realSearchViewerSelfClose);
		});
		/* [Á¾·á] ½Ç½Ã°£ ÀÎ±â°Ë»ö¾î 2011-05-18 */
		/* [½ÃÀÛ] ¸ÞÀÎ¼­ºê¸Þ´º 2011-05-24 */
		window.hideSub="";
		$j('a[id^=msub]').mouseover(function(){
			clearTimeout(window.hideSub);
			var that=this;
			var forMenuTimer;
			$j('div[id^=dmsub]').each(function(){
				if($j(this).attr('id')==='d'+$j(that).attr('id')) $j(this).show();
				else $j(this).hide();
			});
		});
		$j('a[id^=msub]').mouseleave(function(){
			clearTimeout(window.hideSub);
			window.hideSub=setTimeout(function(){$j('div[id^=dmsub]').hide();},100);
		});
		$j('div[id^=dmsub]').mouseover(function(){
			clearTimeout(window.hideSub);
		});
		$j('div[id^=dmsub]').mouseleave(function(){
			clearTimeout(window.hideSub);
			window.hideSub=setTimeout(function(){$j('div[id^=dmsub]').hide();},100);
		});
		/* [Á¾·á] ¸ÞÀÎ¼­ºê¸Þ´º 2011-05-24 */
		/* [½ÃÀÛ] ÇÑÁÙ°Ô½ÃÆÇ 2011-10-10 */

		$j('#cbbsWrite').click(function(){//¾²±â¸ðµå
			var data=$j('div.misson_origin textarea,div.misson_origin input').serialize();
			$j.ajax({
				url:"/bbs/bbsAjax.php?mode=cbbsInsert&CODE1="+CODE1+"&CODE2="+CODE2+"&CODE3="+CODE3+"&"+data,
				success:function(text){
					if(text=="·Î±×ÀÎ»óÅÂ¿¡¼­¸¸ ÀÛ¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù."){
						if(confirm(text+"\n·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){
							var tempURI=encodeURIComponent(top.location.href);
							var tempURI2=top.location.href;
							tempURI2=tempURI2.replace(/&/g,"HJOBSEPARATOR");
							top.location.href="/rankup_module/rankup_member/login.html?pre_page="+tempURI2;
						}
					}
					else{
						alert(text);
						cbbsGetList(1);
						document.getElementById('cbbs_memo').value='';
					}
				}
			});//end ajax
		 });
		window.cbbsGetList=function(page){//¸®½ºÆ®°¡Á®¿À±â
			$j.ajax({
				url:"/bbs/bbsAjax.php?mode=cbbsGetList&CODE1="+CODE1+"&CODE2="+CODE2+"&CODE3="+CODE3+"&page="+page,
				dataType:"json",
				success:function(json){
					$j('#cbbsList').html(json.html);
					$j('#cbbsPages').html(json.pages);
				}
			});//end ajax
		}
		window.cbbsDeleteList=function(IDX,page){//¸®½ºÆ®»èÁ¦ÇÏ±â
			$j.ajax({
				url:"/bbs/bbsAjax.php?mode=cbbsDeleteList&CODE1="+CODE1+"&CODE2="+CODE2+"&CODE3="+CODE3+"&page="+page+"&IDX="+IDX,
				success:function(text){
					alert(text);
					cbbsGetList(page);
				}
			});//end ajax
		}
		/* [Á¾·á] ÇÑÁÙ°Ô½ÃÆÇ 2011-10-10 */

		/* [½ÃÀÛ] È¸¿øºñÈ¸¿ø ÇÑÁÙ°Ô½ÃÆÇ 2012-01-05 */
		$j('#cbbsMWrite').click(function(){//¾²±â¸ðµå
			var data=$j('div.misson_origin textarea,div.misson_origin input').serialize();
			$j.ajax({
				url:"/bbs/bbsAjax.php?mode=cbbsMInsert&CODE1="+CODE1+"&CODE2="+CODE2+"&CODE3="+CODE3+"&"+data,
				success:function(text){
					if(text=="·Î±×ÀÎ»óÅÂ¿¡¼­¸¸ ÀÛ¼ºÇÒ ¼ö ÀÖ½À´Ï´Ù."){
						if(confirm(text+"\n·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){
							var tempURI=encodeURIComponent(top.location.href);
							var tempURI2=top.location.href;
							tempURI2=tempURI2.replace(/&/g,"HJOBSEPARATOR");
							top.location.href="/rankup_module/rankup_member/login.html?pre_page="+tempURI2;
						}
					}
					else{
						alert(text);
						cbbsMGetList(1);
					}
				}
			});//end ajax
		 });
		window.cbbsMGetList=function(page){//¸®½ºÆ®°¡Á®¿À±â
			$j.ajax({
				url:"/bbs/bbsAjax.php?mode=cbbsMGetList&CODE1="+CODE1+"&CODE2="+CODE2+"&CODE3="+CODE3+"&page="+page,
				dataType:"json",
				success:function(json){
					$j('#cbbsMList').html(json.html);
					$j('#cbbsPages').html(json.pages);
				}
			});//end ajax
		}
		window.cbbsMDeleteList=function(IDX,page){//¸®½ºÆ®»èÁ¦ÇÏ±â
			$j.ajax({
				url:"/bbs/bbsAjax.php?mode=cbbsMDeleteList&CODE1="+CODE1+"&CODE2="+CODE2+"&CODE3="+CODE3+"&page="+page+"&IDX="+IDX,
				success:function(text){
					alert(text);
					cbbsMGetList(page);
				}
			});//end ajax
		}
		/* [Á¾·á] È¸¿øºñÈ¸¿ø ÇÑÁÙ°Ô½ÃÆÇ 2012-01-05 */




	});//end $j(); ********************************************************************************************
	/* [½ÃÀÛ] jykim FW 2011-05-07 */
	var jykim={
		"name":"jykim",
		"hideAndShow":function(toHide,toShow){//ÇØ´ç ¾ÆÀÌµðÀÇ D¸¦ ¼û±â°í º¸¿©ÁØ´Ù
			$j('#'+toHide).hide();
			$j('#'+toShow).show();
		},
		"countImg":function(id){//ÇØ´ç ¾ÆÀÌµð ¾È¿¡ ÀÌ¹ÌÁö°¡ ¸î°³ÀÎÁö ±¸ÇØ¿È
			var theCounting=0;
			$j('#'+id+' img').each(function(){
				theCounting++;
			});
			return theCounting;
		},
		"getNextIndex":function(prev,total){//´ÙÀ½ÀÎµ¦½º¸¦ ±¸ÇÑ´Ù
			prev=parseInt(prev);
			total=parseInt(total);
			if(total===0) return 0;//ÃÑ°³¼ö¾øÀ½
			if(total===1) return 1;//ÃÑ°³¼ö1
			if(total===2){//ÃÑ°³¼ö2
				if(prev===0) return 1;
				else return 0;
			}
			if(total===3){//ÃÑ°³¼ö3
				if(prev===0) return 1;
				if(prev===1) return 2;
				if(prev===2) return 0;
			}
			else return (prev+1>total-1)?0:prev+1;
		},
		"getPrevIndex":function(prev,total){//´ÙÀ½ÀÎµ¦½º¸¦ ±¸ÇÑ´Ù
			prev=parseInt(prev);
			total=parseInt(total);
			if(total===0) return 0;//ÃÑ°³¼ö¾øÀ½
			if(total===1) return 1;//ÃÑ°³¼ö1
			if(total===2){//ÃÑ°³¼ö2
				if(prev===0) return 1;
				else return 0;
			}
			if(total===3){//ÃÑ°³¼ö3
				if(prev===0) return 2;
				if(prev===1) return 0;
				if(prev===2) return 1;
			}
			else return (prev-1<0)?total-1:prev-1;
		},
		"theCenterBannerQuickAnimation":function(index,that){//¸ÞÀÎ¼¾ÅÍ¹è³Ê Äü¾Ö´Ï¸ÞÀÌ¼Ç
			//ÀÌÀüÀÎµ¦½º¸¦ °¨Ãß°í, ÇöÀçÀÎµ¦½º¸¦ º¸ÀÌ°Ô ÇÑ´Ù
			//alert(index);
			theNextIndex=index;
			if(theNextIndex==thePreviousIndex) return false;
			$j($j('#jykimFadingImg img').get(thePreviousIndex)).fadeOut();//°£°Ý
			$j($j('#jykimFadingImg img').get(theNextIndex)).fadeIn();//°£°Ý
			$j('#jykimImgCounter span').css('color','#CCCCCC');
			$j(that).css('color','#000000');
			thePreviousIndex=theNextIndex;//´ÙÀ½ÀÎµ¦½º°¡ ÀÌÀüÀÎµ¦½º°¡µÊ
		},
		"theRightBannerQuickAnimationNext":function(){//¸ÞÀÎ¿ìÃø¹è³Ê Äü¾Ö´Ï¸ÞÀÌ¼Ç[´ÙÀ½]
			//ÀÌÀüÀÎµ¦½º¸¦ °¨Ãß°í, ÇöÀçÀÎµ¦½º¸¦ º¸ÀÌ°Ô ÇÑ´Ù
			theNextIndex2=this.getNextIndex(thePreviousIndex2,theNumOfjykimMainBanners2);
			$j($j('#jykimFadingImg2>a>img').get(thePreviousIndex2)).fadeOut();//°£°Ý
			$j($j('#jykimFadingImg2>a>img').get(theNextIndex2)).fadeIn();//°£°Ý
			thePreviousIndex2=theNextIndex2;//´ÙÀ½ÀÎµ¦½º°¡ ÀÌÀüÀÎµ¦½º°¡µÊ
		},
		"theRightBannerQuickAnimationPrev":function(){//¸ÞÀÎ¿ìÃø¹è³Ê Äü¾Ö´Ï¸ÞÀÌ¼Ç[ÀÌÀü]
			//ÀÌÀüÀÎµ¦½º¸¦ °¨Ãß°í, ÇöÀçÀÎµ¦½º¸¦ º¸ÀÌ°Ô ÇÑ´Ù
			theNextIndex2=this.getPrevIndex(thePreviousIndex2,theNumOfjykimMainBanners2);
			$j($j('#jykimFadingImg2>a>img').get(thePreviousIndex2)).fadeOut();//°£°Ý
			$j($j('#jykimFadingImg2>a>img').get(theNextIndex2)).fadeIn();//°£°Ý
			thePreviousIndex2=theNextIndex2;//´ÙÀ½ÀÎµ¦½º°¡ ÀÌÀüÀÎµ¦½º°¡µÊ
		},
		"viewNotice1000":function(page,orderby){//1000´ë±â¾÷°øÃ¤¼Ò½Ä ¸®½ºÆ®¸¦ ºÒ·¯¿È
			if(orderby) window.viewNotice1000orderby=orderby;//Àü¿ªº¯¼ö·Î µî·Ï
			//º¼µåÃ³¸® 2011-08-12
			if(orderby=="write_date"){//µî·ÏÀÏ¼ø
				$j('#job_notice_div h2 a').each(function(){
					if($j(this).text()=="µî·ÏÀÏ¼ø"){
						$j(this).css('font-weight','bold');
					}
					else $j(this).css('font-weight','normal');
				});
			}
			else if(orderby=="open_date"){//½ÃÀÛÀÏ¼ø
				$j('#job_notice_div h2 a').each(function(){
					if($j(this).text()=="½ÃÀÛÀÏ¼ø"){
						$j(this).css('font-weight','bold');
					}
					else $j(this).css('font-weight','normal');
				});
			}
			else{//¸¶°¨ÀÏ¼ø
				$j('#job_notice_div h2 a').each(function(){
					if($j(this).text()=="¸¶°¨ÀÏ¼ø"){
						$j(this).css('font-weight','bold');
					}
					else $j(this).css('font-weight','normal');
				});
			}
			$j.ajax({
				type:"POST",
				url:"/html/S_Application/main2011.ajax.php?mode=notice1000&page="+page+"&orderby="+orderby,
				data:"",
				dataType:"json",
				beforeSend:function(){
					$j('#notice1000tableLoading').fadeIn();
				},
				success:function(data){
					$j('#notice1000tableLoading').fadeOut();
					if(data.Numbers.hasOwnProperty('chkMessage')&&data.Numbers.hasOwnProperty('pageList')&&data.Numbers.hasOwnProperty('moreInfo')){
						$j('#notice1000table').html(data.Numbers.chkMessage);
						$j('#notice1000tablePaging').html(data.Numbers.pageList);
						$j('div[id^=notice1000tableMoreInfo]').remove();
						$j('#job_notice_div').append(data.Numbers.moreInfo);
					}
				}
			});
		},
		"the1000CompaniesMoreInfo":function(index,that){//1000´ë±â¾÷°øÃ¤¼Ò½Ä ´õº¸±â
			if($j('#notice1000tableMoreInfo'+index).css('display')!=="none"){//¿­·ÁÀÖ´Ù¸é
				$j('div[id^=notice1000tableMoreInfo]').slideUp();
				$j('.more_on').removeClass('more_on').addClass('more');
				return false;
			}
			$j('div[id^=notice1000tableMoreInfo]').slideUp();
			$j('.more_on').removeClass('more_on').addClass('more');
			var theHeightTimeout=setTimeout(function(){
				var theHeight=87+index*30;
				$j('#notice1000tableMoreInfo'+index).css('top',theHeight);
				$j('#notice1000tableMoreInfo'+index).slideDown();
				$j(that).removeClass('more').addClass('more_on');
			},500);
		},
		"graph":{//±×·¡ÇÁ¶óÀÌºê·¯¸® (2011-07-04, /MM_Annual_Income.html¿ë)
			"doGraph":function(ID,graphData1,graphData2,graphData3){
				$j('#'+ID+' div div').each(function(i){
					$j(this).animate({'height':graphData1[i]},1000,function(){//callback
						$j(this).css({'color':'#FFFFFF'});
					});
					$j(this).html("<span>"+graphData2[i]+"</span>");//ÅØ½ºÆ®
					$j(this).attr("title",graphData3[i]+"\n"+graphData2[i]);//ALT
					$j(this).mouseover(function(){
						$j(this).addClass('bg004');
					});
					$j(this).mouseleave(function(){
						$j(this).removeClass('bg004');
					});
				});
			},//[end]"doGraph"
			"doGraphTitle":function(ID,graphData1,graphData2,graphData3){
				$j('#'+ID+' div').each(function(i){
					$j(this).html("<span>"+graphData3[i]+"</span>");//ÅØ½ºÆ®
				});
			},//[end]"doGraphTitle"
			"doGraphType2":function(ID,graphData1,graphData2,graphData3){
				$j('#'+ID+' div.theGraph03_02 div div').each(function(i){//the graph area
					$j(this).animate({'width':graphData1[i]},1000,function(){//callback
						$j(this).css({'color':'#FFFFFF'});
					});
					$j(this).html("<span>"+graphData2[i]+"</span>");//ÅØ½ºÆ®
					$j(this).attr("title",graphData3[i]+"\n"+graphData2[i]);//ALT
					$j(this).mouseover(function(){
						$j(this).addClass('bg004');
					});
					$j(this).mouseleave(function(){
						$j(this).removeClass('bg004');
					});
				});
				$j('#'+ID+' div.theGraph03_01 div').each(function(i){//the title bar area
					$j(this).html("<span>"+graphData3[i]+"</span>");//ÅØ½ºÆ®
				});
			}//[end]"doGraph"
		},//[end]"graph"
		"getParameter":function(){//GETÀ¸·Î ³Ñ¿À¿Â ÆÄ¶ó¹ÌÅÍµéÀ» ¹è¿­·Î ¹ÝÈ¯ÇÔ
			if(window.location.search.match(/^\?.+/)){
				var temp=window.location.search.replace(/^\?/,"").split("&");
				var temp2=new Array();
				for(i=0;i<temp.length;i++){
					temp3=temp[i].split("=");
					temp2[temp3[0]]=temp3[1];//_GET[Å°]=°ªÇü½Ä
					//alert(temp3[0]+"===>"+temp3[1]);//µð¹ö±ë¿ë
				}
				return temp2;//
			}
			else return new Array();//2011-10-18 GET°ªÀÌ ¾øÀ» ¶§ »õ ¹è¿­À» ¹ÝÈ¯(¿À·ù¹æÁö)
		},//[end]"getParameter"
		"setParameter":function(data){//¹è¿­·Î ³Ñ¾î¿Â °ªµéÀ», GETÀ¸·Î ³Ñ±æ ¹®ÀÚ¿­·Î ¹ÝÈ¯ÇÔ
			if(data.constructor==Array){
				var temp=new String();
				for(i in data){
					if(data.hasOwnProperty(i)) temp+=i+"="+data[i]+"&";
				}
				//alert(temp);//µð¹ö±ë¿ë
				return temp;
			}
		}//[end]"getParameter"
	}
	/* [Á¾·á] jykim FW */
	/* [½ÃÀÛ] °Ë»öÀ¯´Ö 2011-05-16 */
	function searchFCL(){
		if(document.search_s.link.value){
			if(document.search_s.linkT.value == 1) window.open(document.search_s.link.value);
			else top.location.href = document.search_s.link.value;
		}
		else{
			if(document.search_s.SUBJECT.value){
			document.search.query.value = document.search_s.SUBJECT.value;
		}
		if(!document.search.query.value){
			alert('°Ë»öÇÒ Å°¿öµå¸¦ ÀÔ·ÂÇØ ÁÖ¼¼¿ä');
			document.search.query.focus();
			return false;
		}
			searchSubmit();
		}
	}
	function onKeyPress(e, cmd) {
	 var whichCode = (window.Event) ? e.which : e.keyCode;
		if(e.keyCode == 13){
			searchSubmit();
		}
	}
	function searchSubmit() {
		var searchForm = document.search;
		searchForm.submit();
	}
	/* [Á¾·á] °Ë»öÀ¯´Ö 2011-05-16 */
	/* [½ÃÀÛ] 7´Ü°è ¾Ö´Ï¸ÞÀÌ¼Ç 2011-05-17 */
	function jyKimRainbowAnimation(id,time,ele,c1,c2,c3,c4,c5,c6,c7){		
		setTimeout(function(){$j('#'+id).css(ele,c1);
			setTimeout(function(){$j('#'+id).css(ele,c2);
				setTimeout(function(){$j('#'+id).css(ele,c3);
					setTimeout(function(){$j('#'+id).css(ele,c4);
						setTimeout(function(){$j('#'+id).css(ele,c5);
							setTimeout(function(){$j('#'+id).css(ele,c6);
								setTimeout(function(){$j('#'+id).css(ele,c7);
								},time)
							},time)
						},time)
					},time)
				},time)
			},time)
		},time);
	}
	/* [Á¾·á] 7´Ü°è ¾Ö´Ï¸ÞÀÌ¼Ç 2011-05-17 */
	/* [½ÃÀÛ] ¼­ºê¸Þ´º º¸ÀÌ±â ¼û±â±â */
	function subView(take){
		if($j('#'+take).css('display')==="none") $j('#'+take).slideDown('normal');
		//$j('#'+take).show();
	}
	function subHide(take){
		if($j('#'+take).css('display')!=="none") $j('#'+take).slideUp('normal');
		//$j('#'+take).hide();
	}
	function SwapLayer(id,yn) {
		if(yn=="n") {
			document.getElementById(id).style.display='none';
		} else if(yn=="y") {
			document.getElementById(id).style.display='';
		}
		if(id!="Layerallmenu") {
					document.getElementById('Layerallmenu').style.position = "absolute";
					document.getElementById('Layerallmenu').style.left = "0px";
					document.getElementById('Layerallmenu').style.zIndex = "10000";
			document.getElementById('Layerallmenu').style.display='none';
		}
	}
	try { // IE only
		document.execCommand('BackgroundImageCache', false, true);
	} catch(e) { }
	/* [Á¾·á] ¼­ºê¸Þ´º º¸ÀÌ±â ¼û±â±â */
	/* [½ÃÀÛ] ÇØÄ¿½º ÆÐ¹Ð¸®»çÀÌÆ® */
	$j(document).ready(function(){
		$j('#new_header .family_site dt a').click(function () {
		$j('#new_header .family_site dd').slideToggle('middle');
		});
		$j('#footer .family_site dt a').click(function () {
			if($j('#footer .family_site dd').is(':visible')){
				$j('#footer .family_site dd').fadeOut();
			}
			else{
				$j('#footer .family_site dd').fadeIn();
			}
		});

	});
	/* [Á¾·á] ÇØÄ¿½º ÆÐ¹Ð¸®»çÀÌÆ® */
	/* [½ÃÀÛ] ¼­ºê ¸Þ´ºº¸±â */
	function show(c) { 
	if (document.getElementById && document.getElementById(c)!= null) 
	node = document.getElementById(c).style.display=''; 
	else if (document.layers && document.layers[c]!= null) 
	document.layers[c].display = ''; 
	else if (document.all) 
	document.all[c].style.display = ''; 
	}
	function hide(c) { 
	if (document.getElementById && document.getElementById(c)!= null) 
	node = document.getElementById(c).style.display='none'; 
	else if (document.layers && document.layers[c]!= null) 
	document.layers[c].display = 'none'; 
	else if (document.all) 
	document.all[c].style.display = 'none'; 
	}
	function member_tab01() {
	show('member_tab01');
	hide('member_tab02');
	}
	function member_tab02() {
	hide('member_tab01');
	show('member_tab02');
	}
	function recuit_notice01() {
	show('recuit_notice01');
	hide('recuit_notice02');
	hide('recuit_notice03');
	hide('recuit_notice04');
	hide('recuit_notice05');
	}
	function recuit_notice02() {
	hide('recuit_notice01');
	show('recuit_notice02');
	hide('recuit_notice03');
	hide('recuit_notice04');
	hide('recuit_notice05');
	}
	function recuit_notice03() {
	hide('recuit_notice01');
	hide('recuit_notice02');
	show('recuit_notice03');
	hide('recuit_notice04');
	hide('recuit_notice05');
	}
	function recuit_notice04() {
	hide('recuit_notice01');
	hide('recuit_notice02');
	hide('recuit_notice03');
	show('recuit_notice04');
	hide('recuit_notice05');
	}
	function recuit_notice05() {
	hide('recuit_notice01');
	hide('recuit_notice02');
	hide('recuit_notice03');
	hide('recuit_notice04');
	show('recuit_notice05');
	}
	function notice_01() {
	show('notice_01');
	hide('notice_02');
	hide('notice_03');
	hide('notice_04');
	hide('notice_05');
	}
	function notice_02() {
	hide('notice_01');
	show('notice_02');
	hide('notice_03');
	hide('notice_04');
	hide('notice_05');
	}
	function notice_03() {
	hide('notice_01');
	hide('notice_02');
	show('notice_03');
	hide('notice_04');
	hide('notice_05');
	}
	function notice_04() {
	hide('notice_01');
	hide('notice_02');
	hide('notice_03');
	show('notice_04');
	hide('notice_05');
	}
	function notice_05() {
	hide('notice_01');
	hide('notice_02');
	hide('notice_03');
	hide('notice_04');
	show('notice_05');
	}

	function rumor_01(){
		show('rumor_01');
		hide('rumor_02');
		hide('rumor_03');
		hide('rumor_04');
		hide('rumor_05');
	}
	function rumor_02(){
		hide('rumor_01');
		show('rumor_02');
		hide('rumor_03');
		hide('rumor_04');
		hide('rumor_05');
	}
	function rumor_03(){
		hide('rumor_01');
		hide('rumor_02');
		show('rumor_03');
		hide('rumor_04');
		hide('rumor_05');
	}
	function rumor_04(){
		hide('rumor_01');
		hide('rumor_02');
		hide('rumor_03');
		show('rumor_04');
		hide('rumor_05');
	}
	function rumor_05(){
		hide('rumor_01');
		hide('rumor_02');
		hide('rumor_03');
		hide('rumor_04');
		show('rumor_05');
	}

	/* [Á¾·á] ¼­ºê ¸Þ´ºº¸±â */
	/* [½ÃÀÛ] twitter facebook ÆÛ°¡±â */
	function spoonframelc(url,params,picture){
		var url = url+escape(params);
		if(picture) url = url + '&picture=' + escape(picture);
		top.spoonframe.location.href = url;
	}
	/* [Á¾·á] twitter facebook ÆÛ°¡±â */
