		<!--
			/*
			┌───────────────────────────────────────────────┼
			│	파일명 : /js/site_standard.js
			│	목적 : 모든 웹 페이지에서 자바스크립트를 사용을 위해 기본적으로 포함되어 제공되는 함수 목록
			│	작성자 : hoon
			└───────────────────────────────────────────────┼
			*/

			function ThisPage(){
				// SCRIPT CONSTANTS
				this.alpha = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz';
				this.num = '0123456789';
				this.searchAvoid = '~`!@#$%^&*=+\|{}:;",.<>/?()[]' + "'";

				// base, title, defaultStatus & etc
				this.baseTarget = '_self';									// (string) 페이지 기본 링크 대상
				this.siteName =	'*** [청호나이스샵] 나만의 웰빙스타일! ***';				// (string) 사이트명
				this.company = '*** [청호나이스샵] 나만의 웰빙스타일! ***';										// (string) 회사명
				this.docTitle = '';				// (string) 페이지 제목 문자열
				//this.docStatus = '【 Copyright@ 2007 ' + this.company + '.  All Rights Reserved. 】';
        this.docStatus = '';
				this.imgArray = new Array(".gif", ".jpg", ".png",".bmp",".jpe");	//이미지파일
				this.arrVoidId = new Array("admin","webmaster","webadmin","master");	//사용불가 아이디
				this.arrVoidWord = new Array("document","cookie");	// 게시판금지단어
				this.arrVoidEmail = new Array("hanmail.net","daum.net");	//사용불가 아이디
				this.winEmail = null;		//이메일 새창

				// 메타 태그에 대한 속성값 목록
				this.charSet = 'utf-8';					// (string) 페이지의 인코딩 문자세트 :: ks_c_5601-1987
				this.author = '청호쇼핑몰';					// (string) 개발자 서명
				this.description = '*** [청호나이스샵] 나만의 웰빙스타일! ***';					// (string) 사이트 설명
				this.keywords = '*** [청호나이스샵] 나만의 웰빙스타일! ***';					// (string) 사이트 검색 키워드

				// PROPERTIES
				// 클라이언트 플랫폼에 대한 속성값 목록
				this.platform = window.navigator.platform;				// (string) 클라이언트 플랫폼
				this.win = (this.platform.indexOf('Win')>-1);			// (boolean) 윈도우즈인지의 여부
				this.win16 = (this.platform.indexOf('Win16')>-1);		// (boolean) 윈도우즈 16비트 형식인지의 여부
				this.win32 = (this.platform.indexOf('Win32')>-1);		// (boolean) 윈도우즈 32비트 형식인지의 여부
				this.winCE = (this.platform.indexOf('WinCE')>-1);		// (boolean) 윈도우즈 CE 인지의 여부

				// 클라이언트 브라우저의 종류와 버전에 대한 속성값 목록
				this.ie = (navigator.userAgent.indexOf('MSIE')>-1);				// (boolean) 익스플로어 여부
				this.ns = (navigator.userAgent.indexOf('Netscape')>-1);		// (boolean) 넷스케이프 여부
				this.ie4 = (navigator.userAgent.indexOf('MSIE 4')>-1);			// (boolean) 익스플로어 4 여부
				this.ie5 = (navigator.userAgent.indexOf('MSIE 5')>-1);			// (boolean) 익스플로어 5 여부
				this.ie6 = (navigator.userAgent.indexOf('MSIE 6')>-1);			// (boolean) 익스플로어 6 여부
				this.ns4 = (navigator.userAgent.indexOf('Netscape4')>-1);	// (boolean) 넷스케이프 4 여부
				this.ns5 = (navigator.userAgent.indexOf('Netscape5')>-1);	// (boolean) 넷스케이프 5 여부
				this.ns6 = (navigator.userAgent.indexOf('Netscape6')>-1);	// (boolean) 넷스케이프 6 여부
				this.ver = 0;																// (integer) 브라우저 버전
				if(this.ns4 || this.ie4) this.ver=4;
				if(this.ns5 || this.ie5) this.ver=5;
				if(this.ns6 || this.ie6) this.ver=6;

				// 현재 웹 페이지의 사이트 경로, 파일명, 폴더명에 대한 속성값 목록
				this.pagePath = location.pathname;						// (string) 현재 페이지의 경로(파일 경로)
				this.folderPath = this.pagePath.substring(0, this.pagePath.lastIndexOf('/')+1);
																					// (string) 현재 폴더의 경로(폴더 경로)
				this.fileName = this.pagePath.substring(this.pagePath.lastIndexOf('/')+1);
																					// (string) 현재 파일명
				this.folderName = this.pagePath.substring(0, this.pagePath.lastIndexOf('/'));
				this.folderName = this.folderName.substring(this.folderName.lastIndexOf('/')+1);
																					// (string) 현재 폴더명

				//  페이지가 로드되는 시간, 날짜에 대한 속성값 목록
				this.today = new Date();									// (object) 현재 날짜 시간 객체
				this.date = '';
				this.time = '';
				this.datetime = '';

				this.setHeadTag = ThisPage_setHeadTag;		// 페이지의 기본 헤드 태그를 설정
				this.ThisPage_noControll = ThisPage_noControll;				// 페이지의 마우스 제한
			}

			// 페이지의 기본 헤드 태그를 설정 / ThisPage 함수의 메쏘드로 사용되어지는 함수
			function ThisPage_setHeadTag(){
				var cmdStr = '';
				cmdStr += '<meta http-equiv="content-type" content="text/html; charset=' + this.charSet + '">';
				cmdStr += '<meta name="author" content="' + this.author + '">';
				cmdStr += '<meta name="description" content="' + this.description + '">';
				cmdStr += '<meta name="keywords" content="' + this.keywords + '">';
//					cmdStr += '<link rel="shortcut icon" href="' + this.shortcutIcon + '">';
//					cmdStr += '<link rel="stylesheet" type="text/css" href="' + this.cssCommon + '">';
//					cmdStr += '<base target="' + this.baseTarget + '">';
				cmdStr += '<title>' + this.docTitle + '</title>';
				document.write(cmdStr);
				window.defaultStatus = this.docStatus
				try{
					top.window.document.title = '*** [청호나이스샵] 나만의 웰빙스타일! ***';
				}catch(e){
					window.document.title = '*** [청호나이스샵] 나만의 웰빙스타일! ***';
				}
			}
			function ThisPage_noControll(){
				window.document.ondragstart = ondrag;
				window.document.onselectstart = onselect;
				window.document.oncontextmenu = oncontext;
			}
			function ondrag(){
				return false;
			}
			function onselect(){
				return false;
			}
			function oncontext(){
				alert('마우스 오른쪽버튼을 이용할 수 없습니다!');
				return false;
			}

			var JS = new ThisPage();
			JS.setHeadTag();

		//-->

