function wstatus(){
 window.status="인천도시개발공사"
}
setInterval(wstatus,100);

oncontextmenu="return false"

var isNS = (navigator.appName == "Netscape") ? 1 : 0;
var EnableRightClick = 0;
if(isNS) 
document.captureEvents(Event.MOUSEDOWN||Event.MOUSEUP);

function mischandler(){
  if(EnableRightClick==1){ return true; }
  else {return false; }
}

document.oncontextmenu = mischandler;

<!--새창 정가운데 띄우는 스크립트 -->
function wopen(url, t, w, h, scroll) {
var sw;
var sh;

sw = (screen.Width - w) / 2;
sh = (screen.Height - h) / 2;

window.open(url, t, 'Width='+w+'px, Height='+h+'px, Left='+sw+', Top='+sh +', scrollbars='+scroll+',resizable');
}
<!--새창 정가운데 띄우는 스크립트 -->

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

/* OBJECT 통합생성 스크립트 */
function makeobject(type,path,w,h,id,vars,transparent,bg) {
	this.type = type; // flash, applet, movie
	this.id = id;
	this.path = path;
	this.w = w;
	this.h = h;
	this.vars = (vars) ? vars : '';
	this.trnasparent = (transparent) ? transparent : 'transparent';
	this.bg = (bg) ? bg : '#ffffff';

	this.gettag =
		function() {
			switch(this.type) {
				case 'flash' :
					this.classid = 'clsid:d27cdb6e-ae6d-11cf-96b8-444553540000';
					this.codebase = 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0';
					this.tag = "<object classid='"+this.classid+"' codebase='"+this.codebase+"' id='"+this.id+"' width='"+this.w+"' height='"+this.h+"'>";
					this.tag += "<param name='movie' value='"+this.path+"' />";
					this.tag += "<param name='allowScriptAccess' value='always' />";
					if(this.vars) this.tag += "<param name='FlashVars' value='"+this.vars+"' />";
					if(this.trnasparent) this.tag += "<param name='wmode' value='"+this.trnasparent+"' />";
					this.tag += "<param name='menu' value='false' />";
					this.tag += "<param name='quality' value='high' />"
					this.tag += "<param name='bgcolor' value='"+this.bg+"' />";
					this.tag += "<param value='"+this.path+"'>";
					this.tag += "<param name='base' value='.'>";
					this.tag += "<embed src='"+this.path+"'";
					if(this.vars) this.tag += " FlashVars='"+this.vars+"'";
					if(this.trnasparent) this.tag += " wmode='"+this.trnasparent+"'";
					this.tag += " width='"+this.w+"'";
					this.tag += " height='"+this.h+"'";
					this.tag += " bgcolor='"+this.bg+"'";
					this.tag += " name='"+this.id+"'";
					this.tag += " menu='false'";
					this.tag += " quality='high'";
					this.tag += " allowScriptAccess='always'";
					this.tag += " type='application/x-shockwave-flash'";
					this.tag += " pluginspage='http://www.macromedia.com/go/etflashplayer'";
					this.tag += " />";
					this.tag += "</object>";
					return this.tag;
					break;
				case 'midia' :
					this.classid = 'clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95';
					this.codebase = 'http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0';
					this.tag = "<object classid='"+this.classid+"' codebase='"+this.codebase+"' id='"+this.id+"' width='"+this.w+"' height='"+this.h+"'>";
					this.tag += "<param name='movie' value='"+this.path+"' />";
					this.tag += "<param name='allowScriptAccess' value='always' />";
					if(this.vars) this.tag += "<param name='FlashVars' value='"+this.vars+"' />";
					if(this.trnasparent) this.tag += "<param name='wmode' value='"+this.trnasparent+"' />";
					this.tag += "<param name='menu' value='false' />";
					this.tag += "<param name='quality' value='high' />"
					this.tag += "<param name='bgcolor' value='"+this.bg+"' />";
					this.tag += "<param value='"+this.path+"'>";
					this.tag += "<param name='base' value='.'>";
					this.tag += "<embed src='"+this.path+"'";
					if(this.vars) this.tag += " FlashVars='"+this.vars+"'";
					if(this.trnasparent) this.tag += " wmode='"+this.trnasparent+"'";
					this.tag += " width='"+this.w+"'";
					this.tag += " height='"+this.h+"'";
					this.tag += " bgcolor='"+this.bg+"'";
					this.tag += " name='"+this.id+"'";
					this.tag += " menu='false'";
					this.tag += " quality='high'";
					this.tag += " allowScriptAccess='always'";
					this.tag += " type='application/x-mplayer2";
					this.tag += " pluginspage='http://www.macromedia.com/go/etflashplayer'";
					this.tag += " />";
					this.tag += "</object>";
					return this.tag;
					break;
			}

		}

	this.writetag =
		function() {
			document.write(this.gettag());
			//Flash의 ExternalInterface가 Form Tag내에서 오류나는 버그를 해결하는 코드
			eval("window." + this.id + " = document.getElementById('" + this.id + "');");
		}
}


/* 단순한 객체 display 콘트롤 */
var displayController = function(obj,swit) {
	getobj = document.getElementById(obj);
	switch(swit) {
		case 'on':getobj.style.display='block';break;
		case 'off':getobj.style.display='none';break;
	}
}

function removeNullNode(obj) {
	for(k=0;k<obj.length;k++) {
		if(obj[k].nodeType != 1) obj[k].parentNode.removeChild(obj[k]);
	}

	return obj;
}

function menuOn(imgEl)
{
  imgEl.src = imgEl.src.replace(".gif", "_on.gif");
}

function menuOut(imgEl)
{
  imgEl.src = imgEl.src.replace("_on.gif", ".gif");
}




/* 네비게이션 제어 : 2뎁스까지만 사용가능, 기본틀을 유지해야함 */
var NavigationController = function(obj) {

	this.getobj = document.getElementById(obj);
	this.objList = removeNullNode(this.getobj.childNodes);
	var topTimer = null;

	this.giveFunc = function(obj,activeD1,activeD2) {

		function initNew(obj) {
			for(i=0;i<obj.length;i++) {
				tmpImage = obj[i].firstChild.getElementsByTagName('img')[0];
				tmpImage.src = tmpImage.src.replace('_on.gif','.gif');

				if(obj[i].getElementsByTagName('ul')[0]) {
					obj[i].getElementsByTagName('ul')[0].parentNode.style.display="none";
				}

			}
		}

		function activeCode() {
			if(activeD1 == 'not') {
				initNew(obj);
			}	else {
				if(obj[activeD1]) {
					obj[activeD1].onmouseover();
					sgnb = removeNullNode(obj[activeD1].getElementsByTagName('ul')[0].childNodes);
					if(sgnb[activeD2]) sgnb[activeD2].getElementsByTagName('img')[0].onmouseover();
				}
			}

		}

		for(i=0;i<obj.length;i++) {

			obj[i].onmouseover = function() {


				clearTimeout(topTimer);
				topTimer = null;

				getobjlist = removeNullNode(this.parentNode.childNodes);
				initNew(getobjlist);

				getImage = this.firstChild.getElementsByTagName('img')[0];
				getImage.src = getImage.src.replace('.gif','_on.gif');

				if(this.getElementsByTagName('ul')[0]) {
					this.getElementsByTagName('ul')[0].parentNode.style.display="block";
					sgnb = this.getElementsByTagName('ul')[0].childNodes;
					for(k=0;k<sgnb.length;k++) {
						clearTimeout(topTimer);
						topTimer = null;

						getsgnbImage = sgnb[k].getElementsByTagName('img')[0];
						getsgnbImage.onmouseover = function() {
							this.src = this.src.replace('_on.gif','.gif');
							this.src = this.src.replace('.gif','_on.gif');
						}

						getsgnbImage.onmouseout = function() {
							this.src = this.src.replace('_on.gif','.gif');
						}
					}
				}

			}

			obj[i].onmouseout = function() {
				clearTimeout(topTimer);
				topTimer = null;

				topTimer = setTimeout(function() {
					activeCode();
				},500);

			}

		}

		initNew(obj);
		activeCode();

	}

	this.run = function() {
		this.activeD1 = (this.activeD1 && this.activeD1 != 0) ? (this.activeD1-1) : 'not';
		this.activeD2 = (this.activeD2) ? (this.activeD2-1) : 'not';

		this.giveFunc(this.objList,this.activeD1,this.activeD2);
	}

}





var fontSize = 10;
var lineHeight = 18;

function fontPlus()
{
	if (fontSize < 17)
	{
		fontSize = fontSize + 1;
		setFaceSize();
	}
}

function fontMinus()
{
	if (fontSize >= 10)
	{
		fontSize = fontSize - 1;
		setFaceSize();
	}
}

function setFaceSize()
{
	lineHeight = fontSize+Math.round(1.1*fontSize);
	obj = document.getElementById("viewfont");
	obj.style.fontSize = fontSize+"pt";
	obj.style.lineHeight = lineHeight+"px"
}
function MM_jumpMenu(targ,selObj,restore){
 eval("window.open('"+selObj.options[selObj.selectedIndex].value+"','','')");
 if (restore) selObj.selectedIndex=0;
}



/********************************************************************************************************
   MAIN CONTENTS LINK
********************************************************************************************************/

function flash_link(link_value)
{
	if(link_value=="100"){location.href="/pages/ik53/ik5301";
	}else if(link_value=="110"){location.href="/pages/ik53/ik5301";
	}else if(link_value=="120"){location.href="/pages/ik425/ik4251";
	}else if(link_value=="130"){location.href="/pages/ik4310/";
	}else if(link_value=="140"){location.href="/pages/ik421/";
	}else{location.href="/pages/ik53/ik5301";
	}
}


/***************************************
* 스크롤 탑 버튼
***************************************/
function GoTop() {
 window.scrollTo(0,0);
}


//따라다니는 메뉴 스크립트
function IEZN_quick_menu_simple(input_obj,move_top){
    this.timeId     = new Array();
    this.div_obj = new Array();
    try{
        this.input_obj = input_obj;
        this.input_obj.style.display = 'none';
    }catch(e){}
    var IEZN_quick_menu_counter;
    IEZN_quick_menu_counter = (typeof(IEZN_quick_menu_counter)=='undefined')? 0:IEZN_quick_menu_counter++;
    this.counter = IEZN_quick_menu_counter;
    this.div_obj_top = parseInt(this.input_obj.style.top);
    this.div_obj_left = parseInt(this.input_obj.style.left);
    this.div_obj_max_move_top = (move_top)? move_top:this.div_obj_top;//browser top offset
    this.move();
}

IEZN_quick_menu_simple.prototype = {
    move : function(){
        this.div_obj = document.createElement("div");
        this.div_obj.id='izqm1'+this.counter;
        this.div_obj.style.position = 'absolute';
        this.div_obj.style.top=this.div_obj_top+'px';
        this.div_obj.style.padding='0px';
        this.div_obj.style.left=this.div_obj_left+'px';
        this.div_obj.style.backgroundColor=(this.input_obj.style.backgroundColor)? this.input_obj.style.backgroundColor:'transparent';
        this.div_obj.style.overflow='hidden';
        this.div_obj.style.textOverflow='ellipsis';
        this.div_obj.style.width=this.input_obj.style.width;
        this.div_obj.style.border=this.input_obj.style.border;
        this.div_obj.style.padding=this.input_obj.style.padding;
        try{
            document.body.appendChild(this.div_obj);
            this.div_obj.innerHTML = this.input_obj.innerHTML;
            this.move_menu();
        }catch(e){alert(e)}
    },
    move_menu : function (){
        var obj = this;
        this.div_obj_start = parseInt(this.div_obj.style.top,10);
        this.div_obj_end = parseInt(this.scrollTop()) + parseInt(this.div_obj_max_move_top,10);
        if (this.div_obj_end < parseInt(this.div_obj_top,10)) this.div_obj_end = parseInt(this.div_obj_top,10);
        if (this.div_obj_start != this.div_obj_end ) {
            this.div_obj_offset = Math.ceil(Math.abs( this.div_obj_end - this.div_obj_start ) / 15 );
            t = parseInt(this.div_obj.style.top, 10) + ((this.div_obj_end<this.div_obj_start)? this.div_obj_offset*-1:this.div_obj_offset);
            this.div_obj.style.top = t+'px';
            this.slide_time = 10;
        }
        this.timeId[this.div_obj.id] = window.setTimeout(function(){obj.move_menu()},this.slide_time);
    },
    scrollTop : function (){//xhtml doctype patch
        if (window.pageYOffset){
            scroll_top = window.pageYOffset
        }else if (document.documentElement && document.documentElement.scrollTop){
            scroll_top = document.documentElement.scrollTop
        }else if (document.body){
            scroll_top = document.body.scrollTop
        }
        return scroll_top;
    }
}

//=========== 스크랩처리  ============//
function do_scrap(formName) {

	var form = eval("document." + formName);

	var postid = form.POSTID.value;
    var index = location.pathname.lastIndexOf("/") + 1;
    var path = location.pathname.substr(0, index);
	var realPath = path+"view.bbs?idx="+postid;

	form.URL.value = realPath;

	with (form) {
	  method = "POST";
	  target = iframePROCESS.name;
	  action = "/pages/ik6500/dup_chk.csp";
	  submit();
	}
}


	// 퀵메뉴 (IE6, IE7, FF1.5, Opera9, Safari2에서 테스트 완료)
	function initMoving(target, topPosition, topLimit, btmLimit) {
		if (!target)
			return false;

		var obj = target;
		obj.initTop = topPosition;
		obj.topLimit = topLimit;
		obj.bottomLimit = document.documentElement.scrollHeight - btmLimit;

		obj.style.position = "absolute";
		obj.top = obj.initTop;
		obj.left = obj.initLeft;
		obj.style.top = obj.top + "px";

		obj.getTop = function() {
			if (document.documentElement.scrollTop) {
				return document.documentElement.scrollTop;
			} else if (window.pageYOffset) {
				return window.pageYOffset;
			} else {
				return 0;
			}
		}
		obj.getHeight = function() {
			if (self.innerHeight) {
				return self.innerHeight;
			} else if(document.documentElement.clientHeight) {
				return document.documentElement.clientHeight;
			} else {
				return 500;
			}
		}
		obj.move = setInterval(function() {
			//pos = obj.getTop() + obj.getHeight() / 2 - 15;
			pos = obj.getTop() + topPosition;

			if (pos > obj.bottomLimit)
				pos = obj.bottomLimit
			if (pos < obj.topLimit)
				pos = obj.topLimit

			interval = obj.top - pos;
			obj.top = obj.top - interval / 3;
			obj.style.top = obj.top + "px";
		}, 30)
	}

//링크된 이미지에 실선 테두리 없애는법
function clear_dot_line(){
	if(event.srcElement.tagName=="A"|| event.srcElement.tagName=="IMG"){
	document.body.focus();
	}
}
document.onfocusin=clear_dot_line; 