function  CookieSet( Name, Value, ExpireDays )
{
   var  Today = new Date() ;


   Today.setDate( Today.getDate() + ExpireDays ) ;

   document.cookie = Name + "=" + escape(Value) + ";expires=" + Today.toGMTString() + ";" ;
}


function  CookieGet( Name )
{
   var  StringName = Name + "=" ;
   var  StringCookie = document.cookie ;
   var  StringReturn = "" ;
   var  IndexBegin ;
   var  IndexEnd ;


   if( StringCookie.length > 0 )
   {
       IndexBegin = StringCookie.indexOf( StringName ) ;

       if( IndexBegin != -1 )
       {
           IndexBegin += StringName.length ;

           IndexEnd = StringCookie.indexOf( ";", IndexBegin ) ;

           if( IndexEnd == -1 )
               IndexEnd = StringCookie.length ;

           StringReturn = unescape( StringCookie.substring( IndexBegin, IndexEnd ) ) ;
       }
   }

   return( StringReturn ) ;
}


function  IsAllEmpty( String )
{
   var  Len = String.length ;


   for( var i=0 ; i<Len ; i++ )
   {
      var  Str = String.substring( i, i+1 ) ;

      if( (Str != ' ') && (Str != '\r') && (Str != '\n') )
          return( false ) ;

   }

   return( true ) ;
}


function  IsNumber( String )
{
   var  Len = String.length ;
   var  Str ;


   if( Len == 0 )
       return( false ) ;

   for( var i=0 ; i<Len ; i++ )
   {
      Str = String.substring( i, i+1 ) ;

      if( (Str < '0') || (Str > '9') )
          return( false ) ;
   }

   Str = String.substring( 0, 1 ) ;

   if( Str == '0' )
       return( false ) ;

   return( true ) ;
}


function  FullScreen()
{
//   FullScreenWindow = window.open( "index0.htm", "FullScreenWindow", "scrollbars=no,hotkeys=no,status=yes,fullscreen=yes,location=no,directories=no" ) ;
   FullScreenWindow = window.open( "index0.htm", "FullScreenWindow", "fullscreen=yes" ) ;
   FullScreenWindow.focus() ;
}


function  WindowShow( html )
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = html ;
   ShowWindow.focus() ;
}


function  NewsShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_NEWS&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_n"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  OewsShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_OEWS&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_o"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  DataShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_DATA&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_d"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  EataShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_EATA&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_e"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  FataShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_FATA&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_f"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  ReportShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_REPORT&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_r"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  ReportWrite()
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = "c_repor1.htm" ;
   ShowWindow.focus() ;
}


function  ReportWrite1()
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = "h_000010.htm" ;
   ShowWindow.focus() ;
}


function  QNAShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_QNA&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_q"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  QNAQuestion()
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = "c_qna1.htm" ;
   ShowWindow.focus() ;
}


function  JobShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_JOB&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_j"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  JobRegistration()
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = "c_job1.htm" ;
   ShowWindow.focus() ;
}


function  KobShow( Code )
{
   var  cgi = "http://cgi.chollian.net/~kahpa/kahpa.cgi?_MENU=_KOB&_CLASS=_COUNT&_CODE="+Code ;

   ShowWindow = window.open( cgi, "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
//   ShowWindow.document.close() ;
//   ShowWindow.document.location.href = "z_k"+Code+".htm" ;
   ShowWindow.focus() ;
}


function  KobRegistration()
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = "c_kob1.htm" ;
   ShowWindow.focus() ;
}


function  SeekShow( Name, Tel, Homepage, Email )
{
   SeekWindow = window.open( "", "SeekWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   SeekWindow.document.close() ;
   SeekWindow.document.writeln( "<html>" ) ;
   SeekWindow.document.writeln( "   <head>" ) ;
   SeekWindow.document.writeln( "      <LINK rel='stylesheet' type='text/css' href='kahpa.css'>" ) ;
   SeekWindow.document.writeln( "      <title>" ) ;
   SeekWindow.document.writeln( "         Welcome to KAHPA" ) ;
   SeekWindow.document.writeln( "      </title>" ) ;
   SeekWindow.document.writeln( "   </head>" ) ;
   SeekWindow.document.writeln( "   <BODY>" ) ;
   SeekWindow.document.writeln( "      <CENTER>" ) ;
   SeekWindow.document.writeln( "      <BR>" ) ;
   SeekWindow.document.writeln( "      <FONT SIZE=+1 COLOR='#ff0000'>" ) ;
   SeekWindow.document.writeln( "      ¾÷Ã¼ ³»¿ª" ) ;
   SeekWindow.document.writeln( "      </FONT>" ) ;
   SeekWindow.document.writeln( "      <br>" ) ;
   SeekWindow.document.writeln( "      <br>" ) ;
   SeekWindow.document.writeln( "      <TABLE WIDTH=530 BORDER=0 CELLSPACING=1 CELLPADDING=5>" ) ;
   SeekWindow.document.writeln( "         <TR>" ) ;
   SeekWindow.document.writeln( "            <TD ALIGN=right VALIGN=top BGCOLOR='#DDDDDD' width='12%'>¾÷Ã¼¸í</TD>" ) ;
   SeekWindow.document.writeln( "            <TD BGCOLOR='#EEEEEE'>",Name,"&nbsp;</TD>" ) ;
   SeekWindow.document.writeln( "         </TR>" ) ;
   SeekWindow.document.writeln( "         <TR>" ) ;
   SeekWindow.document.writeln( "            <TD ALIGN=right BGCOLOR='#DDDDDD'>ÀüÈ­¹øÈ£</TD>" ) ;
   SeekWindow.document.writeln( "            <TD BGCOLOR='#EEEEEE'>",Tel,"&nbsp;</TD>" ) ;
   SeekWindow.document.writeln( "         </TR>" ) ;
   SeekWindow.document.writeln( "         <TR>" ) ;
   SeekWindow.document.writeln( "            <TD ALIGN=right BGCOLOR='#DDDDDD'>È¨ÆäÀÌÁö</TD>" ) ;
   SeekWindow.document.writeln( "            <TD BGCOLOR='#EEEEEE'><a href='",Homepage,"'>",Homepage,"</a>&nbsp;</TD>" ) ;
   SeekWindow.document.writeln( "         </TR>" ) ;
   SeekWindow.document.writeln( "         <TR>" ) ;
   SeekWindow.document.writeln( "            <TD ALIGN=right BGCOLOR='#DDDDDD'>E-Mail</TD>" ) ;
   SeekWindow.document.writeln( "            <TD BGCOLOR='#EEEEEE'><a href='mailto:",Email,"'>",Email,"</a>&nbsp;</TD>" ) ;
   SeekWindow.document.writeln( "         </TR>" ) ;
   SeekWindow.document.writeln( "      </TABLE>" ) ;
   SeekWindow.document.writeln( "      <BR>" ) ;
   SeekWindow.document.writeln( "      </CENTER>" ) ;
   SeekWindow.document.writeln( "   </BODY>" ) ;
   SeekWindow.document.writeln( "</html>" ) ;
   SeekWindow.focus() ;
}


function  MapShow()
{
   MapWindow = window.open( "", "MapWindow", "WIDTH=620,HEIGHT=420,MENUBAR=1,RESIZABLE=1" ) ;
   MapWindow.document.close() ;
   MapWindow.document.location.href = "h_030102.htm" ;
   MapWindow.focus() ;
}


function  NewsWrite()
{
   ShowWindow = window.open( "", "ShowWindow", "WIDTH=620,HEIGHT=460,MENUBAR=1,SCROLLBARS=1,RESIZABLE=1" ) ;
   ShowWindow.document.close() ;
   ShowWindow.document.location.href = "c_news1.htm" ;
   ShowWindow.focus() ;
}


