	getCompanyIndex = function() {
		document.location.href = "Company.do?action=getIndex";
	}
	getPRList = function() {
		document.location.href = "Company.do?action=getPRList";
	}
	getRecruitList = function() {
		document.location.href = "Company.do?action=getRecruitList";
	}
	RegistManuscriptForm = function() {
		document.location.href = "Company.do?action=RegistManuscriptForm";
	}					
	getIndex = function() {
		document.location.href = "Main.do?action=getIndex";
	}
	getBookIndex = function() {
		document.location.href = "Main.do?action=getBookIndex";
	}	
	getPurpleIndex = function() {
		document.location.href = "Main.do?action=getPurpleIndex";
	}	
	getReviewIndex = function() {
		document.location.href = "Main.do?action=getReviewIndex";
	}	
	getReviewerIndex = function() {
		document.location.href = "Main.do?action=getReviewerIndex";
	}	
	getEventIndex = function() {
		document.location.href = "Main.do?action=getEventIndex";
	}
	getCSCenterIndex = function() {
		document.location.href = "Main.do?action=getCSCenterIndex";
	}
										
	getNewBookList = function() {
		document.location.href = "Book.do?action=getNewBookList";
	}		
	getBestBookList = function() {
		document.location.href = "Book.do?action=getBestBookList";
	}
	getPreBookList = function() {
		document.location.href = "Book.do?action=getPreBookList";
	}		
	getRecomBookList = function() {
		document.location.href = "Book.do?action=getRecomBookList";
	}	
	getBookNewsList = function() {
		document.location.href = "Book.do?action=getBookNewsList";
	}	

	getMultimediaList = function(bbs_info_seq) {
		document.location.href = "Book.do?action=getMultimediaList&bbs_info_seq=" + bbs_info_seq;
	}		
	getMultimediaDetail = function(seq, bbs_info_seq) {
		document.location.href = "Book.do?action=getMultimediaDetail&seq=" + seq +"&bbs_info_seq=" + bbs_info_seq;
	}
	function getBookInfo(book_seq, pView) {
		if (pView == null) pView = "";
		var url="Book.do?";
		if (pView == "pre") {				
			url = url + "action=getPreBookInfo";
		} else {
			url = url + "action=getBookInfo";
		}
		url = url + "&book_seq=" + book_seq;
		url = url + "&pView=" + pView;			
	
		document.location.href = url;			
	}
	function getBookNewsDetail(seq) {
		var url="Book.do?";
		url = url + "action=getBookNewsDetail";
		url = url + "&seq=" + seq;			
		document.location.href = url;			
	}
	function getMultimediaDetail(seq, lang_type, lang_name) {
		var url="Book.do?";
		url = url + "action=getMultimediaDetail";
		url = url + "&seq=" + seq;	
		url = url + "&lang_type=" + lang_type;		
		url = url + "&lang_name=" + lang_name;		
		document.location.href = url;			
	}
		
	
	getNewPostList = function() {
		document.location.href = "Blog.do?action=getNewPostList";
	}
	getBestPostList = function() {
		document.location.href = "Blog.do?action=getBestPostList";
	}
	getTagList = function() {
		document.location.href = "Blog.do?action=getTagList";
	}	
	getTagReviewList = function(tag_no, tag_name) {
		document.location.href = "Blog.do?action=getTagReviewList&tag_no=" + tag_no + "&tag_name=" + tag_name;
	}
	openPost = function(openURL, review_no) {
		var url = "Blog.do?action=increasePostHitCount&review_no=" + review_no;
		var dest = $('blog_count');
		var exec = "";
		go(url, dest, exec);
			
		window.open(openURL);
	}	
	
	
	getNewReviewList = function() {
		document.location.href = "Review.do?action=getNewReviewList";
	}			
	getReplyReviewList = function() {
		document.location.href = "Review.do?action=getReplyReviewList";
	}	
	getRecomReviewList = function() {
		document.location.href = "Review.do?action=getRecomReviewList";
	}	
	getViewReviewList = function() {
		document.location.href = "Review.do?action=getViewReviewList";
	}	
	regReviewForm = function() {
		document.location.href = "Review.do?action=regReviewForm";
	}	
	updateReviewForm = function(review_no) {
		var pReturnUrl = $('pReturnUrl').value;		
		document.location.href = "Review.do?action=updateReviewForm&review_no=" + review_no + "&pReturnUrl=" + pReturnUrl;
	}	
	deleteReview = function(review_no,page) {
		if (page == null) page = "1";
		if (confirm('Á¤¸» »èÁ¦ÇÏ°Ú½À´Ï±î?')) {
			document.location.href = "Review.do?action=deleteReview&review_no=" + review_no + "&page=" + page;
		} 
		return;
	}	
	registComment = function(review_no) {
		document.location.href = "Review.do?action=registComment&review_no=" + review_no;
	}	
	
	function getReviewInfo(review_no, pView, page) {
		if (page == null) page = "1";
		var url="Review.do?";
		url = url + "action=getReviewInfo";
		url = url + "&review_no=" + review_no;	
		url = url + "&pView=" + pView;	
		url = url + "&page=" + page;				
		document.location.href = url;			
	}
			
	increaseReviewRecomCount = function(review_no, pView) {
		var url = "Review.do?action=increaseReviewRecomCount&review_no=" + review_no + "&pView=" + pView;
		var dest = $('blog_count');
		var exec = "";
		go(url, dest, exec);
	}	
	
	function goSeminar(link_url, article_no) {
		var url = "Event.do?action=addSeminarViewCount&article_no=" + article_no;
		var dest = $('blog_count');
		var exec = "";
		go(url, dest, exec);
		
		openwin( link_url, "Realseminar", "1014", "635", 3, "N", "N" );
	}
		
	getSeminarList = function() {
		document.location.href = "Event.do?action=getSeminarList&pView=seminar";
	}												
	getNoticeList = function() {
		document.location.href = "Event.do?action=getNoticeList&pView=notice";
	}	
	getEventList = function() {
		document.location.href = "Event.do?action=getEventList&pView=event";
	}
	getFreeList = function() {
		document.location.href = "Event.do?action=getFreeList&pView=free";
	}
	getLectureList = function() {
		document.location.href = "Event.do?action=getLectureList&pView=lecture";
	}	
	getAcademyList = function() {
		document.location.href = "Event.do?action=getAcademyList&pView=academy";
	}
	regEventForm = function(pView) {
		document.location.href = "Event.do?action=regEventForm&pView=" + pView;
	}
	function getEventDetail(article_no, pView, page) {
		if (page == null) page = "1";
		var url="Event.do?";
		url = url + "action=getEventDetail";
		url = url + "&article_no=" + article_no;	
		url = url + "&pView=" + pView;	
		url = url + "&page=" + page;				
		document.location.href = url;			
	}		
	function updateEventForm(article_no, pView) {
		var pReturnUrl = $('pReturnUrl').value;		
		document.location.href = "Event.do?action=updateEventForm&pView=" + pView + "&article_no=" + article_no + "&pReturnUrl=" + pReturnUrl;
	}	
	function deleteEvent(article_no, pView, page) {
		if (page == null) page = "1";
		document.location.href = "Event.do?action=deleteEvent&pView=" + pView + "&article_no=" + article_no + "&page=" + page;
	}
		
	getFAQList = function(category_no) {
		document.location.href = "CSCenter.do?action=getFAQList&category_no=" + category_no;
	}
		
	guide = function() {
		document.location.href = "CSCenter.do?action=guide";
	}	
	service = function() {
		document.location.href = "CSCenter.do?action=service";
	}
	privacy = function() {
		document.location.href = "CSCenter.do?action=privacy";
	}
			
	findUserIdForm = function() {
		document.location.href = "CSCenter.do?action=findUserIdForm";
	}
	findPasswordForm = function() {
		document.location.href = "CSCenter.do?action=findPasswordForm";
	}
	
	checkNameForm = function() {
		document.location.href = "Member.do?action=checkNameForm";
	}
	delForm = function() {
		document.location.href = "Member.do?action=delForm";
	}
	getQnAList = function() {
		document.location.href = "Bbs.do?action=getQnAList";
	}
	
	
	getMemberInfo = function() {
		document.location.href = "Member.do?action=getMemberInfo";
	}
	findBlog = function() {
		document.location.href = "Blog.do?action=findBlog";
	}
	registBlogWithoutLoginForm = function(pView) {
		document.location.href = "Blog.do?action=registBlogWithoutLoginForm&pView=" + pView;
	}
	registBlogForm = function() {
		document.location.href = "Blog.do?action=registBlogForm";
	}
	getMyPoint = function() {
		document.location.href = "Member.do?action=getMyPoint";
	}
	getMyBookCerti = function() {
		document.location.href = "Member.do?action=getCertiList";
	}
	getMyOrder = function() {
		document.location.href = "Order.do?action=getMyOrderList";
	}
	getTransBookList = function(left_point) {
		document.location.href = "Book.do?action=getTransBookList&left_point=" + left_point;
	}	
	getReviewerList = function() {
		document.location.href = "Member.do?action=getReviewerList";
	}	
	getDeliInfo = function() {
		document.location.href = "Member.do?action=getDeliInfo";
	}	
	getRssList = function(pView) {
		document.location.href = "Blog.do?action=getRssList&pView=" + pView;
	}
	getRssHelp = function() {
		document.location.href = "Blog.do?action=getRssHelp";
	}
	getDownList = function(pView) {
		document.location.href = "Bbs.do?action=getDownList&pView=" + pView;
	}
	getBookList = function(searchtype, searchkeyword) {
		document.location.href = "Search.do?action=getBookList&searchkeyword=" + searchkeyword + "&searchtype=" + searchtype;
	}
	getArticleList = function(searchtype, searchkeyword) {
		document.location.href = "Search.do?action=getArticleList&searchkeyword=" + searchkeyword + "&searchtype=" + searchtype;
	}
	getPostList = function(searchtype, searchkeyword) {
		document.location.href = "Search.do?action=getPostList&searchkeyword=" + searchkeyword + "&searchtype=" + searchtype;
	}
	
	function ToggleItemMenu(label_id) {		
		var ItemMenu = $('BookSatisfy');		   
		if( ItemMenu.style.display == "block" || ItemMenu.style.display == ""){
			ItemMenu.style.display = "none";
		} else {
			ItemMenu.style.display = "block";
		}

	}	
	function ChangeText(label_id, count) {			
		var targetElement = eval("document.getElementById('"+label_id+"')");
		var sourceElement = eval("document.getElementById('"+label_id + "_" + count+"')");
		targetElement.innerHTML =sourceElement.innerHTML;
	}
	function selectElement(elementID, setValue) {			
		var ele = $(elementID);
		var objForm = $("frmForm");
		if(ele){
			ele.value = setValue;
		} else {
			var newEle = document.createElement("input");
			newEle.type = "hidden"
			newEle.id = elementID;
			newEle.name = elementID;
			newEle.value = setValue;
			objForm.appendChild(newEle)
		}
	}	
	checkScript = function(checkStr){
		var re = /\r\n/g;
		
		checkStr = checkStr.replace(re, "@!-_-!@");
			 re = /<\s*script.+?<\/\s*script\s*>/gi
			 
			 checkStr = checkStr.replace(re, "");
			 re = /@!-_-!@/g
			 checkStr = checkStr.replace(re, "\r\n");
			 re = /^\r\n/g
			 checkStr = checkStr.replace(re, "");
			
		return checkStr;
	}
	
	getBrandList = function(code, type, title) {		
		var url = "Evaluation.do?action=getBrandList&code=" + code + "&type=" + type + "&title=" + title;
		var dest = $('brandList');
		var exec = "";
		go(url, dest, exec);				
	}	
	checkPoll = function(poll_no, brand_code) {
		document.location.href = "Evaluation.do?action=checkPoll&poll_no=" + poll_no + "&brand_code=" + brand_code;
	}
	getAnswerResult = function(poll_no, brand_code, page) {
		if (page == null) page = "1";
		document.location.href = "Evaluation.do?action=getAnswerResult&poll_no=" + poll_no + "&brand_code=" + brand_code + "&page=" + page;
	}
	getPollList = function(brand_code) {
		document.location.href = "Evaluation.do?action=getPollList&brand_code=" + brand_code;
	}
	getBoardDetail = function(bbs_type, seq, brand_code, page) {
		if (page == null) page = "1";
		document.location.href = "Evaluation.do?action=getBoardDetail&seq=" + seq + "&bbs_type=" + bbs_type + "&brand_code=" + brand_code + "&page=" + page;
	}
	getCurrentJoinYN = function(brand_code, seq, bbs_type) {
		var url = "Evaluation.do?action=getCurrentJoinYN";
		if (seq == null) seq = "";
		if (bbs_type == null) bbs_type = "1";
		
		var params ="";
		params += "&seq=" + seq;
		params += "&bbs_type=" + bbs_type;
		params += "&brand_code=" + brand_code;

		var myAjax = new Ajax.Request (
								url, 
								{
									method: 'get', 
									parameters: params, 
									onComplete: callBackResult,
									onException: function(a,b){
										alert(b.description);
									}
								}
							  );
	}	
	callBackResult = function(req) {
		var result = eval('(' + req.responseText + ')');
		if (result.successYN == "Y") {
			brand_code = result.brand_code;
			bbs_type = result.bbs_type;
			seq = result.seq;
			if ((bbs_type == "1" || bbs_type == "2") && seq != "")
				document.location.href = "Evaluation.do?action=getBoardDetail&seq=" + seq + "&bbs_type=" + bbs_type + "&brand_code=" + brand_code;
			else
  				document.location.href = "Evaluation.do?action=getBoardList&bbs_type=1&brand_code=" + brand_code;	
  		}else{
  			alert("ÇØ´ç ºê·£µåÀÇ µµ¼­Æò°¡´Ü¸¸ ÀÌ¿ëÇÒ ¼ö ÀÖ½À´Ï´Ù.");  			
  		}	
	}	
	
	getBoardList = function(bbs_type, brand_code) {
		document.location.href = "Evaluation.do?action=getBoardList&bbs_type=" + bbs_type + "&brand_code=" + brand_code;
	}		
	
	getMissionPostList = function(brand_code, bbs_no, bbs_name) {
		document.location.href = "Evaluation.do?action=getMissionPostList&brand_code=" + brand_code + "&bbs_no=" + bbs_no;
	}	
	getOldMissionPostList = function(brand_code, active_no, bbs_name) {
		document.location.href = "Evaluation.do?action=getOldMissionPostList&brand_code=" + brand_code + "&active_no=" + active_no;
	}
	getMissionDetail = function(seq, brand_code, bbs_no, bbs_name, category_type, page) {
		if (page == null) page = "1";
		if (category_type == "1") {
			document.location.href = "Evaluation.do?action=getMissionDetail&seq=" + seq + "&brand_code=" + brand_code + "&bbs_no=" + bbs_no + "&category_type=1&page=" + page; //+ category_type;
		} else {
			document.location.href = "Evaluation.do?action=getMissionDetail&seq=" + seq + "&brand_code=" + brand_code + "&active_no=" + bbs_no + "&category_type=2&page=" + page;// + category_type;
		}
	}	
	function swf(fw,fh,_src,_id,vars){
		var html = ''
			+ '<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" id="'+_id+'" width="'+fw+'" height="'+fh+'" align="middle">\n'
			+ '<param name="allowScriptAccess" value="always" />'
			+ '<param name="movie" value="'+_src+'" />\n'
			+ '<param name="quality" value="high" />\n'
			+ '<param name="scale" value="exactfit" />\n'
			+ '<param name="wmode" value="transparent" />\n'
			+ '<param name="flashvars" value="'+vars+'" />\n'
			+ '<embed src="'+_src+'" wmode="transparent" flashvars="'+vars+'" scale="exactfit" quality="high" width="'+fw+'" height="'+fh+'" id="'+_id+'" name="'+_id+'" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />\n'
			+ '</object>\n';
		document.write(html);
	}
	function controlFocus(obj, toID) {
		if (toID == null) return;
		var maxLen = obj.getAttribute("maxlength"); 
		if (obj.value.length >= maxLen) {
			focusThis(toID);
		}
	}	
	function focusThis(id) {
		document.getElementById(id).focus();
	}	
	
	function fc_chk_len(aro_name,ari_max) {
		var ls_str = aro_name.value; 
		var li_str_len = ls_str.length;
		
		var li_max = ari_max;
		var ls_str2 = ""; 
		
		if (li_str_len > li_max) {
			alert( li_max + "ÀÚ¸¦ ÃÊ°ú ÀÔ·ÂÇÒ¼ö ¾ø½À´Ï´Ù. \nÃÊ°úµÈ ³»¿ëÀº ÀÚµ¿À¸·Î »èÁ¦ µË´Ï´Ù. ");
			ls_str2 = ls_str.substr(0, li_max);
			aro_name.value = ls_str2;	
		}
		aro_name.focus(); 
	}
		
	var maxwidth = 690;	
	function varwidth(imgobj) {	
		if (imgobj.width>maxwidth)
			imgobj.width = maxwidth	
	}	
	
	function getFileSize(path) {
		var maxSize = 2048000; //5M
		var img = new Image();
		img.src = path.value;
		var filesize = img.fileSize;
		//alert(filesize); 
		if(filesize > maxSize) {
			alert("Ã·ºÎ ÆÄÀÏ ¿ë·®À» ÃÊ°úÇß½À´Ï´Ù.");			
			return ;			
		}
		return true;
	}	
	
	
	function registOrder(prod_seq) {
		var width = "630";
		var height = "900";
		
		var scleft = document.documentElement.scrollLeft;
		var sctop = document.documentElement.scrollTop;
		
		var screenwidth = document.documentElement.clientWidth ;
		var screenheight = document.documentElement.clientHeight;
		var left = parseInt((screenwidth - width)/2) + scleft;
		var top = parseInt((screenheight - height)/2) + sctop;
	                			
		var url = "https://www.wisdomhouse.co.kr/Order.do?action=orderForm&prod_seq="+prod_seq;
		var exec = "";
		//popup_window4(top, width, height, url, exec);
		openwin( url, "Order", 655, 565, 3, false, false );
	}