	(function($){
		 $("document").ready(function() {

			// ±â¾÷ »çÁø Á¤º¸
			$(".devImgPhoto1").mouseover(function() {
				var imgSrc = $(this).attr("src");
				//imgSrc = imgSrc.substr(imgSrc.lastIndexOf("="));
				imgSrc = imgSrc.replace("http://coimg.jobkorea.co.kr/Company/Visual_Co/ThumbNail/","");
				imgSrc = "<img src='http://file2.jobkorea.co.kr/Company/Visual_Co/Image_View_Original.asp?FN="+imgSrc+"' width='288' height='217'>";
				$("#devCoBigImg").html(imgSrc);
				var imgTitle = $(this).attr("alt");
				$("#devCoBigTitle").html(imgTitle);
			});

			$(".devImgPhoto2").mouseover(function() {
				var imgSrc = $(this).attr("src");
				imgSrc = "<img src='"+imgSrc+"' width='288' height='217'>";
				$("#devCoBigImg").html(imgSrc);
				var imgTitle = $(this).attr("alt");
				$("#devCoBigTitle").html(imgTitle);
			});

			// ±Ù¹«ºôµù »çÁø Á¤º¸
			$(".devImgBD").mouseover(function() {
				var imgSrc = $(this).attr("src");

				if (imgSrc.toLowerCase().indexOf("file2.jobkorea.co.kr") > 0 ){
					imgSrc = imgSrc.substr(imgSrc.lastIndexOf("=")+1);
					imgSrc = imgSrc.replace("http://coimg.jobkorea.co.kr/Company/Visual_Co/ThumbNail/","");

					imgSrc = imgSrc.replace("288_217\\","");
					imgSrc = imgSrc.replace("78_59\\","");
					imgSrc = imgSrc.replace("196_301\\","");
					imgSrc = imgSrc.replace("66_56\\","");
					imgSrc = imgSrc.replace("156_116\\","");
					imgSrc = imgSrc.replace("90_68\\","");

					//imgSrc = "<img src='http://file2.jobkorea.co.kr/Company/Guin_BD/Image_View.asp?FN="+imgSrc+"' width='288' height='217'>";
					imgSrc = "<img src='http://file2.jobkorea.co.kr/Company/Guin_BD/ThumbNail_Image_View.asp?FN=288_217\\"+imgSrc+"' width='288' height='217'>";
				} else {
					imgSrc = imgSrc.replace("img_sample_no.jpg","img_sample_noimg_big_1.gif");
					imgSrc = "<img src='"+imgSrc+"' width='288' height='217'>";
				}
				$("#devBigImg").html(imgSrc);
				var imgTitle = $(this).attr("alt");
				$("#devBigTitle").html(imgTitle);
			});

			// ±â¾÷ »çÁø Á¤º¸_New
			$(".devPhotoCo").mouseover(function() {
				var imgSrc='';
				$(".devPhotoCo").removeClass("selected");
				$(this).addClass("selected");

				$(".devPhotoCo.selected img").each(function(i) {
						var imgSrc = $(this).attr("src");

						if (imgSrc.toLowerCase().indexOf("coimg.jobkorea.co.kr") > 0 ){
							//imgSrc = imgSrc.substr(imgSrc.lastIndexOf("="));
							imgSrc = imgSrc.replace("http://coimg.jobkorea.co.kr/Company/Visual_Co/ThumbNail/","");
							imgSrc = 'http://file2.jobkorea.co.kr/Company/Visual_Co/Image_View_Original.asp?FN=' + imgSrc;
						} else {
							imgSrc = imgSrc.replace("img_sample_no.jpg","img_sample_noimg_big_1.gif");
						}

						imgSrc = "<img src='"+imgSrc+"' width='288' height='217'>";

						$("#devCoBigImg" + i).html(imgSrc);
						$("#devCoBigTitle" + i).html( $(this).attr("alt") );
        })

				$("#devCoBigImg").html(imgSrc);
				var imgTitle = $(this).attr("alt");
				$("#devCoBigTitle").html(imgTitle);
			});

			// ±Ù¹«ºôµù »çÁø Á¤º¸_New
			$(".devPhotoBd").mouseover(function() {
				var imgSrc='';
				$(".devPhotoBd").removeClass("selected");
				$(this).addClass("selected");

				$(".devPhotoBd.selected img").each(function(i) {
					var imgSrc = $(this).attr("src");

					if (imgSrc.toLowerCase().indexOf("file2.jobkorea.co.kr") > 0 ){
						imgSrc = imgSrc.substr(imgSrc.lastIndexOf("=")+1);
						imgSrc = imgSrc.replace("http://coimg.jobkorea.co.kr/Company/Visual_Co/ThumbNail/","");

						imgSrc = imgSrc.replace("288_217\\","");
						imgSrc = imgSrc.replace("78_59\\","");
						imgSrc = imgSrc.replace("196_301\\","");
						imgSrc = imgSrc.replace("66_56\\","");
						imgSrc = imgSrc.replace("156_116\\","");
						imgSrc = imgSrc.replace("90_68\\","");

						//imgSrc = "<img src='http://file2.jobkorea.co.kr/Company/Guin_BD/Image_View.asp?FN="+imgSrc+"' width='288' height='217'>";
						imgSrc = "<img src='http://file2.jobkorea.co.kr/Company/Guin_BD/ThumbNail_Image_View.asp?FN=288_217\\"+imgSrc+"' width='288' height='217'>";
					} else {
						imgSrc = imgSrc.replace("img_sample_no.jpg","img_sample_noimg_big_1.gif");
						imgSrc = "<img src='"+imgSrc+"' width='288' height='217'>";
					}

					$("#devBdBigImg"+ i).html(imgSrc);
					$("#devBdBigTitle"+ i).html( $(this).attr("alt") );
				});
			});

			// tooltip°ü·Ã
			jQuery(".dev_toolTip_over").css("cursor","pointer").mouseover(function(){	// ÀÔ»çÁö¿ø ÅøÆÁ ¿­±â
					jQuery(".dev_tooTip_view").hide();
					var toolTip_click_id = jQuery(this).attr("id")
					var info_id = toolTip_click_id.substring(4);
					jQuery("#"+info_id).show();				// ¼±ÅÃ ÅøÆÁ show();
			});

			jQuery(".dev_tooTip_view").mouseover(function(){
				var toolTip_over_id = jQuery(this).attr("id");
				jQuery("#"+toolTip_over_id).mouseleave(function(){
					jQuery("#"+toolTip_over_id).hide();
				});
			});

			jQuery(".dev_toolTip_close").css("cursor","pointer").click(function(){	// ÅøÆÁ ´Ý±â
				jQuery(".dev_tooTip_view").hide();
			});

			jQuery(".dev_layer").css("cursor","pointer").mouseover(function(){	// ÃßÃµ°ø°í ·¹ÀÌ¾î ¿À¹ö

				jQuery(".loc01").css("z-index","101");
				jQuery(".loc02").css("z-index","100");
				jQuery(".loc03").css("z-index","99");

				var layer_over_id = jQuery(this).attr("id");
				var layer_border_id = layer_over_id.substring(0,5);

				jQuery(".booth .dev_layer").removeClass("odd");
				jQuery(".booth .locdd").removeClass("odd01");

				jQuery("#"+layer_over_id).css("z-index", "103");
				jQuery("#"+layer_over_id).addClass("odd");
				jQuery("#"+layer_over_id+"_dd").addClass("odd01");

				var now_num = jQuery("#match_now_num").val();
				var now_num0 = (now_num-1)*3;
				var now_num1 = (now_num-1)*3+1;
				var now_num2 = (now_num-1)*3+2;
				switch (layer_border_id)
				{
					case 'loc01':
						jQuery("#toolTip_"+now_num1).hide();
						jQuery("#toolTip_"+now_num2).hide();
						break;
					case 'loc02':
						jQuery("#toolTip_"+now_num0).hide();
						jQuery("#toolTip_"+now_num2).hide();
						break;
					case 'loc03':
						jQuery("#toolTip_"+now_num).hide();
						jQuery("#toolTip_"+now_num1).hide();
						break;
				}

			});

			// ºí·çÄ¨ µµ¿ò¸» Ç³¼±
			jQuery(".devBlueChipIcon").css("cursor","pointer").mouseover(function(){
				jQuery("#devBlueChipTooltip").css("z-index","10000");
				jQuery("#devBlueChipTooltip").show();
				jQuery(".bubbleText").show();
			});

			jQuery(".devBlueChipClose").css("cursor","pointer").click(function(){	// ÅøÆÁ ´Ý±â
				jQuery(".bubbleText").hide();
			});

		});

	})(jQuery)

	// Ã¤¿ë°ø°í ÇÁ¸°Æ®
	var go_print = function(){
		var a = "/List_GI/GI_Preview.asp?Type=Read&GI_No=" + gino+"&C_ID="+cid;
		OpenWin = window.open( a ,'printwin','toolbar=no,location=yes,directories=no,status=no,scrollbars=yes,menubar=no,width=680,height=650' );
	}

	// °ü½É±â¾÷ µî·Ï
	var go_favor = function(){
		if (mid == "") {
			if (confirm("'°ü½É±â¾÷µî·Ï'Àº °³ÀÎÈ¸¿ø ·Î±×ÀÎ ÈÄ »ç¿ë°¡´É ÇÕ´Ï´Ù.\n\nÁö±Ý ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")) {
				var re_url = "/List_GI/GIB_Read.asp?GI_No=" + gino;
				top.location.href="/Login/Login_GG.asp?re_url=" + escape(re_url);
			}
		}
		else {
			var go_url ="/Text_User/GG_FavorCo_Reg.asp?C_ID="+cid+"&C_Name=" + cname;
			window.open(go_url,'FavorCo','width=300,height=230,toolbar=0,scrollbars=yes,resizable=no');
		}
	}

	// Ã¤¿ë°ø°í ½ºÅ©·¦
	var go_scrap = function(){
		if (mid == "") {
			if (confirm("'½ºÅ©·¦'Àº °³ÀÎÈ¸¿ø ·Î±×ÀÎ ÈÄ »ç¿ë°¡´É ÇÕ´Ï´Ù.\n\nÁö±Ý ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")) {
				var re_url = "/List_GI/GIB_Read.asp?GI_No=" + gino;
				top.location.href="/Login/Login_GG.asp?re_url=" + escape(re_url);
			}
		}
		else {
			var position = jQuery(window).scrollTop()+200;
			document.getElementById("MsgIfrm").src = "/List_GI/GI_Scrap.asp?GI_No=" + gino+"&C_ID="+cid;
			document.getElementById("MsgIfrm").style.width = 333+"px";
			document.getElementById("MsgIfrm").style.height = 210+"px";
			document.getElementById("devMsg").style.top = position+"px";
			document.getElementById("devMsg").style.display = "block";
		}

	}

	// Ã¤¿ë°ø°í Àü´Þ
	var go_delivery = function(){

		var logosize = 0;
		if(document.form.Logo_Stat.value == "1"){
	 		if(document.getElementById('cologo').width>200){
				logosize = 200;
			}else{
				logosize = document.getElementById('cologo').width;
			}
		}
		var position = jQuery(window).scrollTop()+200;
		document.getElementById("MsgIfrm").src = "/List_GI/GI_Email.asp?GI_No=" + gino + "&C_ID=" + cid + "&logosize=" + logosize;
		document.getElementById("MsgIfrm").style.width = 437+"px";
		document.getElementById("MsgIfrm").style.height = 375+"px";
		document.getElementById("devMsg").style.top = position+"px";
		document.getElementById("devMsg").style.display = "block";
	}

	// ³» Æ®À§ÅÍ·Î Àü¼Û	'chk´Â »ç¿ëÇÏÁö ¾ÊÁö¸¸ ´Ù¸¥°Í°ú ¸ÂÃß±â À§ÇØ¼­ ³ÖÀ½.
	var go_twitter = function(GI_No,Short_Div,chk){

		var position = jQuery(window).scrollTop()+200;
		document.getElementById("MsgIfrm").src = "/List_GI/GI_Twitter.asp?GI_No="+GI_No+"&Short_Div="+Short_Div;
		document.getElementById("MsgIfrm").style.width = 437+"px";
		document.getElementById("MsgIfrm").style.height = 600+"px";
		document.getElementById("devMsg").style.top = position+"px";
		document.getElementById("devMsg").style.display = "block";
	}

	// ³» Æ®À§ÅÍ·Î Àü¼Û¿¡¼­ Æ®À§ÅÍ °èÁ¤¿¡¼­ ·Î±×ÀÎÇÏ±â.
	var go_twitter_auth = function(GI_No,Short_Div){
		var topen = window.open(
			'/List_GI/GI_Twitter_Authenticate.asp?GI_No='+GI_No+'&Short_Div='+Short_Div,
			'signIn',
			'width=800,height=420,left=' + ((screen.width/2) - 420) + ',top=' + ((screen.height/2) - 210) + ',location=0,toolbar=0,menubar=0,scrollbars=0,resizable=1'
		);
		if(!topen) {
			alert("ÇöÀç ÆË¾÷ÀÌ Â÷´ÜµÇ¾î ÀÖ½À´Ï´Ù. \n\nÂ÷´ÜÀ» ÇØÁ¦ÇÏ½Å ÈÄ¿¡ ½ÇÇàÇØ ÁÖ½Ê½Ã¿À.");
		}
	}

	//È¸¿ø Ã³¸®
	function Booth_Nlayer_Cls(passStat){
		if(passStat == 1){ // ÀÔ»çÁö¿ø ¿Ï·á ÈÄ ¶óÀÌÆ®À©µµ¿ì ¿ìÃø »ó´ÜÀÇ ´Ý±â ¹öÆ° ¹×  È®ÀÎ ¹öÆ° Å¬¸¯½Ã			
					
				//ºê¶ó¿ìÀú°¡ Å©·ÒÀÏ °æ¿ì´Â ½ÇÇà						
				if ($.browser.name == "chrome"){		
					document.form.Pass_Stat.value = "1";
					document.location.reload();
					$("#abox").focus();			
				
				//ºê·¯¿ìÀú°¡ Å©·ÒÀÌ ¾Æ´Ñ °æ¿ì ½ÇÇà	
				}else {
					document.form.action = "/List_Gi/Gib_Read.asp?#abox"
					document.form.Pass_Stat.value = "1";
					document.form.submit();							
				}
											
		}else{			
			$.fancybox.close();
		}

	}

	//ºñÈ¸¿ø  Ã³¸®
	function Booth_Nlayer_Cls2(passStat){
		$.fancybox.close();
		document.form.action = "/List_Gi/Gib_Read.asp"
		document.form.Pass_Stat.value = "1";
		document.form.submit();
	}

	function Booth_New_Layer(booth_link,stat){			
		//°³ÀÎÀÌ ¼³Á¤ÇÑ ¿­¶÷Á¦ÇÑ ±â¾÷ÀÇ °ø°í¿¡  °³ÀÎÀÌ ÀÔ»çÁö¿øÀ» ½Ãµµ ÇÏ´Â °æ¿ì
		/*
		if(document.form.alert_text.value != "" && document.form.alert_text.value == "È¸¿ø´Ô²²¼­ ¿­¶÷Á¦ÇÑ ¼­ºñ½º¿¡ µî·ÏÇÑ ±â¾÷ÀÔ´Ï´Ù. ÀÔ»çÁö¿ø ÇÏ½Ã°Ú½À´Ï±î?"){
			var booth_link = booth_link +'&pass_chk=1'	
			if (confirm('È¸¿ø´Ô²²¼­ ¿­¶÷Á¦ÇÑ ¼­ºñ½º¿¡ µî·ÏÇÑ ±â¾÷ÀÔ´Ï´Ù. ÀÔ»çÁö¿ø ÇÏ½Ã°Ú½À´Ï±î?')){} else {return;}			
		}
		// ±âÅ¸ °æ°í ¸Þ½ÃÁö¸¦ ³ëÃâÇÏ´Â °æ¿ì
		else if(document.form.alert_text.value != "" && document.form.alert_text.value != "È¸¿ø´Ô²²¼­ ¿­¶÷Á¦ÇÑ ¼­ºñ½º¿¡ µî·ÏÇÑ ±â¾÷ÀÔ´Ï´Ù. ÀÔ»çÁö¿ø ÇÏ½Ã°Ú½À´Ï±î?"){			
			alert(document.form.alert_text.value);
			return;
		}

		if(stat=="1"){
			if(confirm("'¿Â¶óÀÎ ÀÔ»çÁö¿ø'Àº °³ÀÎÈ¸¿ø ·Î±×ÀÎ ÈÄ °¡´ÉÇÕ´Ï´Ù. ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){

			}else{
				return;
			}
		}*/		

		
		if(Prototype.Browser.IE){
			document.body.scroll = 'no';
		}
		else{
			document.body.style.overflow = 'hidden';
		}
		var myLightWindow = null;
		myLightWindow = new lightwindow({resizeSpeed:10000});
		myLightWindow.activateWindow({
			href: booth_link,
			title: '',
			type:'external',
			width:774,
			height:720
		});
		

		
	}


	function go_Area_List(loc,loc2,AreaNo) {
		top.location.href = "/List_GI/GI_Area_List.asp?loc="+loc+"&loc2="+loc2+"&AreaNo="+AreaNo;
	}

	function go_BDInfo(BDCode) {
		top.location.href = "/List_GI/GI_Building_Info.asp?BDCode="+BDCode;
	}

	function go_send(loc,Part_No,tc) {
		top.location.href = "/List_GI/GI_Part_List.asp?loc="+loc+"&Part_No="+Part_No+"&tc="+tc;
		return;
	}

	//¾÷Á÷Á¾ °³¼ö ³Ñ±âÁö ¾ÊÀ»°æ¿ì GI_Part_List_Cnt·Î ³Ñ±è
	function go_send_cnt(loc,Part_No,tc) {
		top.location.href = "/List_GI/GI_Part_List_Cnt.asp?loc="+loc+"&Part_No="+Part_No+"&tc="+tc;
		return;
	}

	//ÀÏ¹Ý ±â¾÷Á¤º¸º¸±â
	function GIInfoRead(C_ID) {
		top.location.href = "/List_GI/GI_Info_Read.asp?C_ID="+C_ID;
	}

	//¾Ë¹Ù ±â¾÷Á¤º¸º¸±â - ÇØ´ç±â¾÷
	function GIInfoReadCo(C_ID,name) {
		top.location.href = "/List_GI/GI_Info_Read.asp?C_ID="+C_ID+"#"+name;
	}

	function goHomePage(home) {
		window.open("/List_GI/Co_HomePage_Open.asp?home="+home,'win_home');
	}

	function goHomePageTrace(home,gino) {
		window.open("/List_GI/Co_HomePage_Open.asp?home="+home+"&GI_No=" + gino + "&AppHomeUrlStat=1",'win_home');
	}

	// ½º¸¶Æ® ¸ÅÄ¡ Ã¤¿ëÁ¤º¸
	function match_GI_GI(){
		document.form.action = "/List_GI/Match_GI_GI.asp";
		document.form.target = "_top";
		document.form.submit();
	}

	function go_Hyup(loc,C_No) {
		var loc = "<b>" + loc + "</b>";
		top.location.href = "/List_GI/Hyup_Dangi/Hyup_Part_Info.asp?loc=" + escape(loc) + "&C_No=" + C_No ;
	}

	//ÇùÈ¸Á¤º¸
	function Hyup_Info(a,b,c){
		window.open("/List_Gi/Hyup_Dangi/Hyup_Info.asp?C_No="+a ,"newWin_001",'toolbar=no, location=no,directories=no,status=no,scrollbars=yes,menubar=no,width=' + b + ',height=' + c );
	}

	function go_Dangi(loc,C_No) {
		var loc = "<b>" + loc + "</b>";
		top.location.href = "/List_GI/Hyup_Dangi/Dangi_Part_Info.asp?loc=" + escape(loc) + "&C_No=" + C_No ;
	}

	//´ÜÁöÁ¤º¸
	function Dangi_Info(a,b,c){
		window.open("/List_Gi/Hyup_Dangi/Dangi_Info.asp?C_No="+a ,"newWin_001",'toolbar=no, location=no,directories=no,status=no,scrollbars=yes,menubar=no,width=' + b + ',height=' + c );
	}

	function ImageView(cid,name,title,type,img_no) {
		var ie=document.all&&navigator.userAgent.indexOf("Opera")==-1 
		if (ie || document.getElementById)
		{ 
			var PhotoMmcLayY = document.getElementById("gibWorkEnvDiv").offsetTop;;
			var viewpage = "/List_GI/Photo_CompayInfo.asp?C_ID="+cid+"&IMG_Name="+name+"&IMG_Title="+title+"&IMG_Type="+type+"&img_no="+img_no+"&Re_Host=http://www.jobkorea.co.kr";
			if(navigator.appVersion.indexOf("MSIE 6")!=-1)
			{
				document.getElementById("GIphotoIfrm").style.width = "630px";
			}			
			document.getElementById("GIphotoIfrm").src = viewpage;
			document.getElementById("GIphoto_process").style.position = "absolute";
			document.getElementById("GIphoto_process").style.top = parseInt(PhotoMmcLayY) + 600 + "px";
			//document.getElementById("GIphoto_process").style.left = "80px";
			document.getElementById("GIphoto_process").style.zindex = "500";
			document.getElementById("GIphoto_process").style.display = "block";
		}
		else if (document.layers)
		{ 
			var PhotoMmcLayY = document.gibWorkEnvDiv.offsetTop;;
			var viewpage = "/List_GI/Photo_CompayInfo.asp?C_ID="+cid+"&IMG_Name="+name+"&IMG_Title="+title+"&IMG_Type="+type+"&img_no="+img_no+"&Re_Host=http://www.jobkorea.co.kr";
			if(navigator.appVersion.indexOf("MSIE 6")!=-1)
			{
				document.GIphotoIfrm.width = "630px";
			}			
			document.GIphotoIfrm.src = viewpage;
			document.GIphoto_process.position = "absolute";
			document.GIphoto_process.top = parseInt(PhotoMmcLayY) + 600 + "px";
			//document.GIphoto_process.left = "80px";
			document.GIphoto_process.zindex = "500";
			document.GIphoto_process.display = "block";
		}
	}

	//ºôµù ÀÌ¹ÌÁö º¸±â
	function ImageViewBD(bdcode) {
		var viewpage = "http://file2.jobkorea.co.kr/Company/Guin_BD/Image_Thumb_View.asp?BDCode="+bdcode;
		window.open(viewpage,'ImageView','toolbar=no,location=yes,directories=no,status=no,scrollbars=no,menubar=no,width=520,height=740');
	}

	//ÀÌ¸ÞÀÏ Áö¿ø
	function mailpass(stat,gino,gimail,mid,PassStat) {
		
		if (stat != "1") { alert("Á¢¼ö¹æ¹ýÀÌ e-¸ÞÀÏ ÀÔ»çÁö¿øÀÌ ¾Æ´Õ´Ï´Ù."); return; }
		else {
			if (mid == "") {
				if (confirm("'e-¸ÞÀÏ ÀÔ»çÁö¿ø'Àº ·Î±×ÀÎ ÈÄ Áö¿øÀÌ °¡´ÉÇÕ´Ï´Ù.\n\n°³ÀÎÈ¸¿øÀ¸·Î ·Î±×ÀÎ ÈÄ e-¸ÞÀÏ ÀÔ»çÁö¿øÀ» \n\nÅ¬¸¯ÇÏ¿© Áö¿øÇØÁÖ½Ã±â ¹Ù¶ø´Ï´Ù.")) {
				//	var loc = "<%=LocTitle%>";
					var re_url = "/List_GI/GIB_Read.asp?GI_No=" + gino;
					top.location.href="/Login/Login_GG.asp?re_url=" + escape(re_url);
				}
			}
			else	{
				//ÀÌ¸ÞÀÏ ÀçÀÔ»çÁö¿ø
				if (PassStat != 0) {
					OpenWin = window.open( '/List_GI/MPass_pop.asp?GI_No='+gino+"&gi_email="+gimail,'passwin','toolbar=no,location=yes,directories=no,status=no,scrollbars=yes,menubar=no,width=530,height=400');
				}
				else
				{
					var go_url = "/List_GI/Mail_Pass.asp?gi_no="+ gino +"&gi_email=" + gimail;
					window.open(go_url,'onlineMail','width=420,height=320, toolbar=0,location=yes,scrollbars=1,resizable=no');
				}
			}
		}
		
	}

	function ChartView(mid,gino) {
		if (mid == "") {			
			window.open("/Service_JK/GG_Chart_GINoSample.asp?GI_No="+gino,"","");
		}
		else {
			window.open("/Text_User/Apply_Chart/Basic_Chart.asp?GI_No=" + gino,"","");
		}
	}

	//¿Â¶óÀÎ ÀÔ»çÁö¿ø ÈÄ ÃßÃµ°ø°í °ü·Ã Ä«¿îÆ® ¹× Ã¼Å© ·ÎÁ÷
	function Pass_Match_Link(gino, stype, url) {
		jQuery.ajax({
			type: "GET",
			url: "/List_GI/Online_Pass_Check.asp",
			data: "S_Type="+stype+"&Pass_Match=1" ,
			dataType: "html",
			success: function(data) {
				switch(stype) {
					case 'HC':
						window.open(url,'match_homepage');
						break;
					case 'BC':
					case 'MC':
					case 'VC':
						window.open(url,'match_booth_gib_read');
						break;
				}
			}
		});
	}

	//¿Â¶óÀÎÀÔ»çÁö¿ø New
	function onlinePassNew(gino,stat) {	
		
		
		//Å¸ È¸¿ø ·Î±×ÀÎÀÌ µÇ¾î ÀÖ´Â °æ¿ì
		if(stat=="1"){
			if(confirm("'¿Â¶óÀÎ ÀÔ»çÁö¿ø'Àº °³ÀÎÈ¸¿ø ·Î±×ÀÎ ÈÄ °¡´ÉÇÕ´Ï´Ù. ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){

			}else{
				return;
			}
		}
		
		jQuery.ajax({
			type: "GET",
			url: "/List_GI/Online_Pass_Check.asp",
			data: "GI_No="+gino+"&S_Type=OPC&Pass_Match=1" ,
			dataType: "html",
			success: function(data) {				

				switch(data) {
					
					case "0" :
						
						var go_url = "/List_GI/GIB_Read_Booth_Frame.asp?GI_No=" + gino + "&Pass_Match=1" ;

						if (screen.availWidth <= 1024){
							if(navigator.appVersion.indexOf("MSIE6")!=-1){
								wval = 800;
								hval = 670;
							}else{
								wval = 787;
								hval = 665;
							}

							window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=1,resizable=no,left=235,top=175');
						}else{
							if(navigator.appVersion.indexOf("MSIE6")!=-1){
								wval = 775;
								hval = 670;
							}else{
								wval = 770
								hval = 665;
							}

							window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=0,resizable=no,left=235,top=175');
						}
						break;

					case "6" :
						
					if (confirm('È¸¿ø´Ô²²¼­ ¿­¶÷Á¦ÇÑ ¼­ºñ½º¿¡ µî·ÏÇÑ ±â¾÷ÀÔ´Ï´Ù. ÀÔ»çÁö¿ø ÇÏ½Ã°Ú½À´Ï±î?')){} else {return;}			

					var go_url = "/List_GI/GIB_Read_Booth_Frame.asp?GI_No=" + gino + "&Pass_Match=255" + "&PageGbn="+ PageGbn +"&pass_chk=1";
					
					if (screen.availWidth <= 1024){
						if(navigator.appVersion.indexOf("MSIE6")!=-1){					
							wval = 800;
							hval = 670;
						}else{
							wval = 787;
							hval = 665;
						}
							
						window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=1,resizable=no,left=235,top=175');
					}else{
						if(navigator.appVersion.indexOf("MSIE6")!=-1){					
							wval = 775;
							hval = 670;
						}else{
							wval = 770
							hval = 665;
						}
							
						window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=0,resizable=no,left=235,top=175');
					}	
				
				
				break;
					

					default : pass_alert(data); break;
				}
				
			 }
		});

		
	}

	// e-¸ÞÀÏ ÀÔ»çÁö¿ø New
	function onlinePassEmailNew(gino,stat) {

		//Å¸ È¸¿ø ·Î±×ÀÎÀÌ µÇ¾î ÀÖ´Â °æ¿ì
		if(stat=="1"){
			if(confirm("'e-¸ÞÀÏ ÀÔ»çÁö¿ø'Àº °³ÀÎÈ¸¿ø ·Î±×ÀÎ ÈÄ °¡´ÉÇÕ´Ï´Ù. ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")){

			}else{
				return;
			}
		}

		jQuery.ajax({
			 type: "GET",
			 url: "/List_GI/Online_Pass_Check.asp",
			 data: "GI_No="+gino+"&S_Type=EPC&Pass_Match=1" ,
			 dataType: "html",
			 success: function(data) {
				switch(data) {
					case '0' :
						var go_url = "/List_GI/GIB_Read_Booth_Email_Frame.asp?GI_No=" + gino + "&Pass_Match=1";
						if (screen.availWidth <= 1024){
							if(navigator.appVersion.indexOf("MSIE6")!=-1){
								wval = 800;
								hval = 670;
							}else{
								wval = 793
								hval = 665;
							}

							window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=1,resizable=no,left=235,top=175');
						}else{
							if(navigator.appVersion.indexOf("MSIE6")!=-1){
								wval = 775;
								hval = 670;
							}else{
								wval = 770
								hval = 665;
							}

							window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=0,resizable=no,left=235,top=175');
						}
					break;


					case "6" :
					if (confirm('È¸¿ø´Ô²²¼­ ¿­¶÷Á¦ÇÑ ¼­ºñ½º¿¡ µî·ÏÇÑ ±â¾÷ÀÔ´Ï´Ù. ÀÔ»çÁö¿ø ÇÏ½Ã°Ú½À´Ï±î?')){} else {return;}			

					var go_url = "/List_GI/GIB_Read_Booth_Email_Frame.asp?GI_No=" + gino + "&Pass_Match=255" + "&PageGbn="+ PageGbn +"&pass_chk=1";
					
					if (screen.availWidth <= 1024){
						if(navigator.appVersion.indexOf("MSIE6")!=-1){					
							wval = 800;
							hval = 670;
						}else{
							wval = 787;
							hval = 665;
						}
							
						window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=1,resizable=no,left=235,top=175');
					}else{
						if(navigator.appVersion.indexOf("MSIE6")!=-1){					
							wval = 775;
							hval = 670;
						}else{
							wval = 770
							hval = 665;
						}
							
						window.open(go_url,'','width=' + wval + ',height=' + hval + ',toolbar=0,scrollbars=0,resizable=no,left=235,top=175');
					}	
				
				
				break;


					default : pass_alert(data); break;
				}
			 }
		});
	}

	function pass_alert(num){
		switch(num) {
			case '1' : alert('°ø°í°¡ ¸¶°¨µÇ¾î Áö¿øÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù.'); break;
			case '2' : alert('°ø°í°¡ »èÁ¦µÇ¾î Áö¿øÀÌ ºÒ°¡´ÉÇÕ´Ï´Ù.'); break;
			case '3' : alert('ÀÌ¹Ì ÀÔ»çÁö¿øÇÑ Ã¤¿ë°ø°íÀÔ´Ï´Ù.'); break;
			case '4' : alert('±â¾÷È¸¿øÀÌ È¸¿ø´ÔÀÇ ÀÌ·Â¼­¸¦ ¿­¶÷ÇÏ°í ½ºÅ©·¦ÇÏ¿© °ËÅäÁßÀÔ´Ï´Ù.'); break;
			case '5' : alert('ÀÌ·Â¼­°¡ ¿Ï¼ºµÇÁö ¾Ê¾Ò½À´Ï´Ù.'); break;
			case '6' : alert('¿­¶÷±â¾÷ Á¦ÇÑ ¼­ºñ½º¿¡ µî·ÏµÈ ±â¾÷ÀÌ¹Ç·Î  ÀÔ»çÁö¿øÀ» ÇÒ ¼ö ¾ø½À´Ï´Ù.'); break;
		}
	}

	function scrapNew(gino, mid, passstat){
		if (mid == "") {

			if (confirm("'½ºÅ©·¦'Àº °³ÀÎÈ¸¿ø ·Î±×ÀÎ ÈÄ »ç¿ë°¡´É ÇÕ´Ï´Ù.\n\nÁö±Ý ·Î±×ÀÎ ÇÏ½Ã°Ú½À´Ï±î?")) {
				var re_url = "/List_GI/GIB_Read.asp?GI_No=" + gino + "&Pass_Stat=" + passstat;
				top.location.href="/Login/Login_GG.asp?re_url=" + escape(re_url);
			}
		}
		else {
			var position = jQuery(window).scrollTop()+200;
			document.getElementById("MsgIfrm").src = "/List_GI/GI_Scrap.asp?GI_No="+gino+"&C_ID="+cid+"&Pass_Match=1";
			document.getElementById("MsgIfrm").style.width = 333+"px";
			document.getElementById("MsgIfrm").style.height = 210+"px";
			document.getElementById("devMsg").style.top = position+"px";
			document.getElementById("devMsg").style.display = "block";
		}
	}

	function recommend_view(stat){
		if (stat=='up')	{
			jQuery("#gibListFloating").hide();
			jQuery("#gibListFloatingBig").show();
			jQuery("#subFooter").css("padding-bottom","145px");
		}else{
			jQuery("#gibListFloating").show();
			jQuery("#gibListFloatingBig").hide();
			jQuery("#subFooter").css("padding-bottom","40px");
			jQuery(".dev_tooTip_view").hide();
		}

	}

	function match_prev(){

		jQuery(".dev_tooTip_view").hide();

		var max_cnt = jQuery("#match_max_cnt").val();
		var now_num = jQuery("#match_now_num").val();

		if (now_num > 1){
			jQuery("#pass_match_gi_"+now_num).hide();
			now_num--;
			jQuery("#match_now_num").val(now_num);
			jQuery("#pass_match_gi_"+now_num).show();
		}

		button_display(max_cnt, now_num);
	}

	function match_next(){
		jQuery(".dev_tooTip_view").hide();

		var max_cnt = jQuery("#match_max_cnt").val();
		var now_num = jQuery("#match_now_num").val();

		if (max_cnt > now_num){
			jQuery("#pass_match_gi_"+now_num).hide();
			now_num++;
			jQuery("#match_now_num").val(now_num);
			jQuery("#pass_match_gi_"+now_num).show();
		}

		button_display(max_cnt, now_num);

	}

	function button_display(max_cnt, now_num) {

		if (now_num > 1){
			jQuery(".button01").show();
		}else{
			jQuery(".button01").hide();
		}
		if (now_num < max_cnt){
			jQuery(".button02").show();
		}else{
			jQuery(".button02").hide();
		}
	}


	// URL º¹»ç
	function go_clipboard_copy(){
		if (navigator.userAgent.indexOf("MSIE") > 0) {
			var data = window.clipboardData.getData("Text");
			if (data == ''){
				alert('ÁÖ¼Òº¹»ç¸¦ ÇÏ½Ã·Á¸é [Å¬¸³º¸µå ¿¢¼¼½º Çã¿ë]À» ¼±ÅÃÇÏ¼Å¾ß ÇÕ´Ï´Ù. \n\n»õ·Î°íÄ§(F5)À» ÇÏ½ÅÈÄ [ÁÖ¼Òº¹»ç]¸¦ ´Ù½Ã ¼±ÅÃÇÏ½Ã°í \n\n[Å¬¸³º¸µå ¿¢¼¼½º Çã¿ë] ¹öÆ°À» ¼±ÅÃÇØ ÁÖ¼¼¿ä.');
				return false;
			}else{
				window.clipboardData.setData('Text', 'http://'+self.location.host+'/List_GI/GIB_Read.asp?GI_No='+gino);
				var position = jQuery(window).scrollTop()+200;
				document.getElementById("MsgIfrm").style.width = 393+"px";
				document.getElementById("MsgIfrm").style.height = 210+"px";
				document.getElementById("MsgIfrm").src = "/List_GI/GIB_Read_UrlCopy.asp";
				document.getElementById("devMsg").style.top = position+"px";
				document.getElementById("devMsg").style.display = "block";
			}
		}else if (window.netscape)
		{
			if(navigator.userAgent.indexOf('Firefox')>0)
			{
				try{
					netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
					var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard);
					if (!clip) return;
					var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable);
					if (!trans) return;
					trans.addDataFlavor('text/unicode');
					var str = new Object();
					var len = new Object();
					var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString);
					var copytext = 'http://'+self.location.host+'/List_GI/GIB_Read.asp?GI_No='+gino;
					str.data=copytext;
					trans.setTransferData("text/unicode",str,copytext.length*2);
					var clipid=Components.interfaces.nsIClipboard;
					if (!clip) return false;
					clip.setData(trans,null,clipid.kGlobalClipboard);

					var position = jQuery(window).scrollTop()+200;
					document.getElementById("MsgIfrm").src = "/List_GI/GIB_Read_UrlCopy.asp";
					document.getElementById("MsgIfrm").style.width = 393+"px";
					document.getElementById("MsgIfrm").style.height = 210+"px";
					document.getElementById("devMsg").style.top = position+"px";
					document.getElementById("devMsg").style.display = "block";
				} catch(e) {
					var position = jQuery(window).scrollTop()+200;
					document.getElementById("MsgIfrm").src = "/List_GI/GIB_Read_UrlCopy.asp?GI_No="+gino;
					document.getElementById("MsgIfrm").style.width = 500+"px";
					document.getElementById("MsgIfrm").style.height = 350+"px";
					document.getElementById("devMsg").style.top = position+"px";
					document.getElementById("devMsg").style.display = "block";
				}
			}
		}else {
			var position = jQuery(window).scrollTop()+200;
				document.getElementById("MsgIfrm").style.width = 500+"px";
				document.getElementById("MsgIfrm").style.height = 350+"px";
				document.getElementById("MsgIfrm").src = "/List_GI/GIB_Read_UrlCopy.asp?GI_No="+gino;
				document.getElementById("devMsg").style.top = position+"px";
				document.getElementById("devMsg").style.display = "block";
		}

	}

	function gibreadResultCls(){
		//window.top.parent.opener.document.location.href = "/List_GI/GIB_Read.asp?GI_No=<%=GI_NO%>#abox";
	}


	function view_applicant_stat(s){
		switch(s){
			case 1:	document.getElementById("ViewApplicantStat").style.display = "block"; break;
			case 2:	document.getElementById("ViewApplicantStat").style.display = "none"; break;
			case 3: window.open("/Text_User/Apply_Chart/Basic_Chart.asp?GI_NO="+gino,'aviewstat','');
			default : break;
		}
	}

	function korchamView(C_Ident) {
		var linkpage = "/List_Gi/korchamView.asp?compno="+C_Ident
		window.open(linkpage,'kcview','width=680,height=600, toolbar=0,scrollbars=yes,resizable=no');
		return;
	}

	function go_alert_msg(arg){
		alert(arg);
		return;
	}
