/////////////////////////°æ»óºÏµµ¼Ò¹æ//////////////////////////////////////////


//function main(){window.document.location.href="/index.html";}
function main(){window.document.location.href="/main/main.html";}

/////////////////¿­¸°±¤Àå/////////////
function sub0101(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=notice";}
function sub0102(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=free";}
function sub0103(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=public";}
function sub0104(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=recruit";}
function sub0105(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=qna";}
function sub0106(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=praise";}
function sub0107(){window.document.location.href="/sub01/01_07.php?chk_on=m7";}
function sub0108(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=exit";}


///////////////¹Î¿ø¾È³»/////////////
function sub0201(){window.document.location.href="/sub02/02_01.php?chk_on=m1";}
function sub0202(){window.document.location.href="/sub02/02_02.php?chk_on=m2";}
function sub0203(){window.document.location.href="/sub02/02_03.php?chk_on=m3";}
function sub0204(){window.document.location.href="/sub02/02_04.php?chk_on=m4";}
function sub0205(){window.document.location.href="/sub02/02_05.php?chk_on=m5";}
function sub0206(){window.document.location.href="/sub02/02_06.php?chk_on=m6";}

///////////////ÀÚ·á½Ç////////////
function sub0301(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=law";}
function sub0302(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=statistics";}
function sub0303(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=pds_photo";}
function sub0304(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=pds_movie";}
function sub0305(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=pds_fire";}

//////////////¼Ò¹æ°¡Á·¹æ////////////
function sub0401(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=innovation";}
function sub0402(){window.document.location.href="/sub04/04_02.php?chk_on=m2";}
function sub04022(){window.document.location.href="/sub04/04_02_2.php?chk_on=m2";}
function sub04023(){window.document.location.href="/sub04/04_02_3.php?chk_on=m2";}
function sub04024(){window.document.location.href="/sub04/04_02_4.php?chk_on=m2";}
function sub040202(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=volunteer";}
function sub0403(){window.document.location.href="/sub04/04_03.php?chk_on=m3";}
function sub04032(){window.document.location.href="/sub04/04_03_2.php?chk_on=m3";}
function sub040302(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=duty";}
function sub0404(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=employee";}

////////////¼Ò¹æÈ°µ¿Á¤º¸//////////
function sub0501(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=daily_state";}
function sub0502(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=daily_event";}
function sub0503(){window.document.location.href="/sub05/05_03.php?chk_on=m3";}
function sub0504(){window.document.location.href="/sub05/05_04.php?chk_on=m4";}
function sub0505(){window.document.location.href="/sub05/05_05.php?chk_on=m5";}
function sub0506(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=gallery_spot";}

////////////¼Ò¹æ»ó½Ä//////////
function sub0601(){window.document.location.href="/sub06/06_01.php?chk_on=m1";}
function sub060102(){window.document.location.href="/sub06/06_01_02.php?chk_on=m1";}
function sub060103(){window.document.location.href="/sub06/06_01_03.php?chk_on=m1";}
function sub060104(){window.document.location.href="/sub06/06_01_04.php?chk_on=m1";}

function sub0602(){window.document.location.href="/sub06/06_02.php?chk_on=m2";}
function sub0603(){window.document.location.href="/sub06/06_03.php?chk_on=m3";}
function sub060302(){window.document.location.href="/sub06/06_03_02.php?chk_on=m3";}
function sub060303(){window.document.location.href="/sub06/06_03_03.php?chk_on=m3";}
function sub060304(){window.document.location.href="/sub06/06_03_04.php?chk_on=m3";}
function sub060305(){window.document.location.href="/sub06/06_03_05.php?chk_on=m3";}
function sub060306(){window.document.location.href="/sub06/06_03_06.php?chk_on=m3";}
function sub060307(){window.document.location.href="/sub06/06_03_07.php?chk_on=m3";}
function sub060308(){window.document.location.href="/sub06/06_03_08.php?chk_on=m3";}
function sub060309(){window.document.location.href="/sub06/06_03_09.php?chk_on=m3";}

function sub0604(){window.document.location.href="/sub06/06_04.php?chk_on=m4";}
function sub060402(){window.document.location.href="/sub06/06_04_02.php?chk_on=m4";}
function sub060403(){window.document.location.href="/sub06/06_04_03.php?chk_on=m4";}
function sub060404(){window.document.location.href="/sub06/06_04_04.php?chk_on=m4";}
function sub0605(){window.document.location.href="/sub06/06_05.php?chk_on=m5";}

function sub060502(){window.document.location.href="/sub06/06_05_02.php?chk_on=m5";}
function sub060503(){window.document.location.href="/sub06/06_05_03.php?chk_on=m5";}
function sub060504(){window.document.location.href="/sub06/06_05_04.php?chk_on=m5";}
function sub060505(){window.document.location.href="/sub06/06_05_05.php?chk_on=m5";}
function sub060506(){window.document.location.href="/sub06/06_05_06.php?chk_on=m5";}
function sub060507(){window.document.location.href="/sub06/06_05_07.php?chk_on=m5";}
function sub060508(){window.document.location.href="/sub06/06_05_08.php?chk_on=m5";}
function sub060509(){window.document.location.href="/sub06/06_05_09.php?chk_on=m5";}
function sub060510(){window.document.location.href="/sub06/06_05_10.php?chk_on=m5";}
function sub060511(){window.document.location.href="/sub06/06_05_11.php?chk_on=m5";}
function sub060512(){window.document.location.href="/sub06/06_05_12.php?chk_on=m5";}
function sub060513(){window.document.location.href="/sub06/06_05_13.php?chk_on=m5";}
function sub060514(){window.document.location.href="/sub06/06_05_14.php?chk_on=m5";}
function sub060515(){window.document.location.href="/sub06/06_05_15.php?chk_on=m5";}
function sub060516(){window.document.location.href="/sub06/06_05_16.php?chk_on=m5";}
function sub060517(){window.document.location.href="/sub06/06_05_17.php?chk_on=m5";}
function sub060518(){window.document.location.href="/sub06/06_05_18.php?chk_on=m5";}
function sub060519(){window.document.location.href="/sub06/06_05_19.php?chk_on=m5";}

function sub0606(){window.document.location.href="../bj_board/bjbrd_list.htm?board_id=commonsence";}

///////////º»ºÎ¼Ò°³//////////
function sub0701(){window.document.location.href="/sub07/07_01.php?chk_on=m1";}
function sub0702(){window.document.location.href="/sub07/07_02.php?chk_on=m2";}
function sub070202(){window.document.location.href="/sub07/07_02_02.php?chk_on=m2";}
function sub070203(){window.document.location.href="/sub07/07_02_03.php?chk_on=m2";}
function sub070204(){window.document.location.href="/sub07/07_02_04.php?chk_on=m2";}
function sub070205(){window.document.location.href="/sub07/07_02_05.php?chk_on=m2";}
function sub070206(){window.document.location.href="/sub07/07_02_06.php?chk_on=m2";}
function sub070207(){window.document.location.href="/sub07/07_02_07.php?chk_on=m2";}

function sub0703(){window.document.location.href="/sub07/07_03.php?chk_on=m3";}
function sub0704(){window.document.location.href="/sub07/07_04.php?chk_on=m4";}
function sub0705(){window.document.location.href="/sub07/07_05.php?chk_on=m5";}
function sub0706(){window.document.location.href="/sub07/07_06.php?chk_on=m6";}
function sub070602(){window.document.location.href="/sub07/07_06_02.php?chk_on=m6";}
function sub070603(){window.document.location.href="/sub07/07_06_03.php?chk_on=m6";}
function sub070604(){window.document.location.href="/sub07/07_06_04.php?chk_on=m6";}

function sub0707(){window.document.location.href="/sub07/07_07.php?chk_on=m7";}
function sub0708(){window.document.location.href="/sub07/07_08.php?chk_on=m8";}
function sub070802(){window.document.location.href="/sub07/07_08_02.php?chk_on=m8";}
function sub070803(){window.document.location.href="/sub07/07_08_03.php?chk_on=m8";}
function sub070804(){window.document.location.href="/sub07/07_08_04.php?chk_on=m8";}

///////////º»ºÎ¼Ò°³//////////
function sub0801(){window.document.location.href="/sub08/08_01.php?chk_on=m1";}
function sub0802(){window.document.location.href="/sub08/08_02.php?chk_on=m2";}
function sub0803(){window.document.location.href="/sub08/08_03.php?chk_on=m3";}

///////////·Î±ä//////////
function sub0901(){window.document.location.href="/member/login.htm?chk_on=m1";}///·Î±×ÀÎ
function sub0902(){window.document.location.href="/member/join_agree.htm?chk_on=m2";}///È¸¿ø°¡ÀÔ
function sub0903(){window.document.location.href="/member/find_id.htm?chk_on=m3";}//¾ÆÀÌµðºñ¹Ð¹øÈ£Ã£±â
function sub0904(){window.document.location.href="/member/member_mod.htm?chk_on=m4";}//È¸¿øÁ¤º¸¼öÁ¤
function sub0905(){window.document.location.href="/member/mem_secede.htm?chk_on=m5";}//È¸¿øÅ»Åð


// Embed

//Window Open
function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)
{
  toolbar_str = toolbar ? 'yes' : 'no';
  menubar_str = menubar ? 'yes' : 'no';
  statusbar_str = statusbar ? 'yes' : 'no';
  scrollbar_str = scrollbar ? 'yes' : 'no';
  resizable_str = resizable ? 'yes' : 'no';
  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);
}


function setEmbed()
{
  var obj = new String;
  var parameter = new String;
  var embed = new String;
  var html = new String;
  var allParameter = new String;
  var clsid = new String;
  var codebase = new String;
  var pluginspace = new String;
  var embedType = new String;
  var src = new String;
  var width = new String;
  var height = new String;


  this.init = function( getType , s ,w , h ) {

      if ( getType == "flash")
      {

        clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";
        codebase = "http://downlocd.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0";
        pluginspage = "http://www.macromedia.com/go/getflashplayer";
        embedType = "application/x-shockwave-flash";
      }
      /* type Ãß°¡
      else if ( )
      {
      }
      */

      parameter += "<param name='movie' value='"+ s + "'>\n";
      parameter += "<param name='quality' value='high'>\n";

      src = s;
      width = w;
      height = h;
  }

  this.parameter = function( parm , value ) {
      parameter += "<param name='"+parm +"' value='"+ value + "'>\n";
      allParameter += " "+parm + "='"+ value+"'";
  }

  this.show = function() {
      if ( clsid )
      {
        obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n";
      }

      embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n";

      if ( obj )
      {
        embed += "</object>\n";
      }

      html = obj + parameter + embed;

      document.write( html );
  }

}





// Image rollover
var changedImg;
function EImgChg(flag)
{
	source=event.srcElement;
	if (source.name == "")
	{ return false;	}

	if(changedImg == source.name)
	return;

	else if (document.images && source.tagName=="IMG")	{
			imgElement = source.name;
			imgPath = source.src;

			imgPathLen = imgPath.length;
			imgPathFlag = imgPath.lastIndexOf("/");
			imgName = imgPath.substring(0,imgPathFlag+1);

			document.images[imgElement].src = imgName + imgElement + "_" + flag + ".gif";
	}
}
