
var barunsoncard_url = "/";

/*-------------- Main --------------*/
b0="/main.asp";//Home



/*-------------- Sub --------------*/

/* top
b1="/photocard/product_photocard.html";// 포토영상카드
	b1_1="/photocard/product_photocard.html";// 포토영상카드
	b1_2="/greetings/greetings_list.html";// 인사말사전
	b1_3="/map/map_list.html";// 예식장약도
	b1_4="/review/review_best.html";// 이용후기
		b1_4_1="/review/review_best.html";// 금주베스트이용후기
		b1_4_2="/review/review_rank.html";// 소문난카드랭킹
	b1_5="/event/event_list.html";// 이벤트
		b1_5_1="/event/event_list.html";// 이벤트
		b1_5_2="/event/prize_list.html";// 당첨자list
	b1_6="/shopguide/shopguide_order.html";// 쇼핑가이드
	b1_7="/story/brand_story1.html";// 바른손카드스토리
top */

/* 제품 */
b2="/product/product_list.asp";// 청첩장전체보기
	b2_1="#";// 행복한 웨딩 청첩장
		b2_1_1="/product/product_list.asp?prod_div=new";//2010봄신상list
		b2_1_2="/product/product_list_best.asp";// 베스트셀러
		b2_1_3="/product/product_list.asp?prod_div=quick";// 당일제작상품
		b2_1_4="/product/product_list_style.asp";// 스타일샵
		b2_1_5="/product/product_list_thema.asp";// 테마샵
		b2_1_6="/product/product_list_sprice.asp";// 초특가상품

	b2_2="#";// 뜻깊은 행사카드
		b2_2_1="/product/product_list_thanks.asp";//감사/답례장
		b2_2_2="/product/product_list_thanks.asp?prod_div=evcard";// 기업행사/회갑연/고희연

	b2_3="#";
		b2_3_1="/product/product_minicard_list.asp";	//휴대용미니청첩장
		b2_3_2="/product/product_fticket_list.asp";	//피로연식권
		b2_3_3="/photocard/photocard_main.asp";	//포토영상청첩장
		b2_3_4="/event/event_view.asp?seq=2&div=event1";	//구매혜택이벤트

//	b2_3="/product/minicard/minicard_list.html";// 미니청첩장

//	b2_4="/product/product_fticket.html";// 피로연식권
//	b2_5="/product/product_detail.html";// 피로연식권


/* 마이페이지
b3="/mypage/mypage_main.html";// 마이페이지submain
	b3_1="/mypage/order_list/wedding/wedding_list.html";// 상품주문내역
	b3_2="/mypage/sample/sample_step01.html";// 샘플신청정보
		b3_2_1="/mypage/sample/sample_step01.html";// 샘플장바구니
		b3_2_2="/mypage/sample/sample_step02_mobile.html";// 샘플주문/결제
		b3_2_3="/mypage/sample/sample_step03_01.html";// 주문완료
		b3_2_4="/mypage/sample/sample_order_list.html";// 샘플주문내역

	b3_3="/mypage/wishlist/wishlist_card_list.html";// 내찜리스트

	b3_4="/mypage/eWedd/ewedd_list.html";// 포토영상카드관리

	b3_5="/mypage/consult/consult_list.html";// 온라인상담
	b3_6="/mypage/review/review_list.html";// 내이용후기

	b3_7="/mypage/member_modify.html	";// 개인정보수정
	b3_8="/mypage/member_leave.html";// 회원탈퇴
마이페이지  */	

/* 회원가입
b4="/member/login.html";// 회원가입submain
	b4_1="/member/login.html";// 로그인
	b4_2="/member/join_step01.html";// 회원가입
	b4_3="/member/find_id.html";// 아이디찾기
	b4_4="/member/find_pw.html";// 비밀번호찾기
회원가입  */

/* 고객센타 */
b5="/cscenter/cscenter_main.asp";// 고객센터 submain
//	b5_1="/cscenter/notice_list.html";// 공지사항
//	b5_2="/cscenter/qnaBest5_howOrder.html";// 질문베스트5
//	b5_3="/cscenter/cs_faq.html";// 자주묻는질문
	b5_4="/cscenter/cs_consult.asp";// 온라인상담

/* 회사소개 */
b6="/company/company_info.asp";// 회사소개
	b6_1="/company/company_info.asp";// 회사소개
//	b6_2="/company/company_greetings.html";// CEO인사말
//	b6_3="/company/company_history.html";// 회사연혁
	b6_4="/company/company_helping_apply.asp";// 제휴안내
	b6_5="/company/company_location1.asp";// 찾아오시는길

/* 주문하기
b7="/order/wedding/order_step01.html";// 주문하기
주문하기  */

/* etc */
b8="/info/person_agree.asp";//개인정보보호방침
	b8_1="/info/person_agree.asp";//개인정보보호방침
	b8_2="/info/service_agree.asp";//서비스이용약관

/* 초안신청
b9="/apply/wedding/order_step01.html";// 초안신청
초안신청  */



/*-------------- popup --------------*/

/* top menu */
p00="photocard";//포토영상카드
	p0001="photocard_p1";//배경음악찾기
	p0001="photocard_p2";//미리보기
	p0001="photocard_p3";//제작가이드1
	p0001="photocard_p4";//제작가이드2

p01= "greetings";//인사말사전
p02= "map_list";//예식장약도
	p0201= "map_wish";//예식장약도_list
	p0202= "map_view";//예식장약도_view
p03= "review";//이용후기
	p0301="review";//상품이용후기작성
	p0302="review2";//포토카드리뷰

p04= "p_calc";//미리계산기
p05= "p_review1";//상품이용후기작성
	p0502= "p_compare";//상품비교하기
	p0503= "p_jjim3";//카드찜하기

/*mypage*/
p06="salecoupon";//세일쿠폰팝업
	p0601 ="zoom_card"; //카드확대보기
	p0602 ="zoom_en";	//봉투확대보기
	p0603 ="before_chk1";//주문전확인청첩장
	p0604 ="before_chk11";//필수사항체크
	p0605="draft_preview";//초안확정미리보기

	p0606 ="before_chk2";//주문전확인미니청첩장
	p0607 ="before_chk21";//필수사항체크미니청첩장

	p0608 ="before_chk3";//주문전확인감사장
	p0609 ="before_chk31";//필수사항체크감사장

	p0610 ="before_chk4";//주문전확인행사카드
	p0611 ="before_chk41";//필수사항체크행사카드
	p0612 ="sam_shoppingbag";//샘플쇼핑백

	p0613 ="sam_mo1";//휴대폰결제팝업1
	p0614 ="sam_mo2";//휴대폰결제팝업2
	p0615 ="sam_mo3";//휴대폰결제팝업3

	p0616 ="sam_deli";//배송지정보확인
	p0617 ="sam_cash";//현금영수증
	p0618 ="find_order";//주문상품찾기


/*member*/
p0701 ="real_name"//실명인증
p0702 ="find_zip1"//우편번호1
p0703 ="find_add"//주소선택
p0704 ="check_id"//아이디중복체크

//popup을 name을 통해서 링크를 띄우기
function popLink(name){
	//alert (eval(name));
	switch (name){
		//case 'name':	window.open('url','pop','width=w,height=h,scrollbars=no,resizable=no,copyhistory=no,toolbar=no');break;
		case 'photocard_p1'	: window.open('/popup/pop_photocard_music.html','pop','width=630,height=530,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'photocard_p2'	: window.open('/popup/pop_photocard_preview.html','pop','width=520,height=600,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'photocard_p3'	: window.open('/popup/pop_photocard_guide1.html','pop','width=620,height=530,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'photocard_p4'	: window.open('/popup/pop_photocard_guide2.html','pop','width=470,height=240,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'greetings'	: window.open('/popup/pop_wish_greetings.html','pop','width=400,height=335,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'view_map'		: window.open('/popup/pop_view_map.html','pop','width=539,height=871,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'wish_map'		: window.open('/popup/pop_wish_map.html','pop','width=400,height=335,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'review'		: window.open('/popup/pop_product_review.html','pop','width=750,height=738,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'review2'		: window.open('/popup/pop_photocard_review.html','pop','width=908,height=647,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'p_calc'		: window.open('/popup/pop_calc.html','pop','width=561,height=600,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'p_compare'	: window.open('/popup/pop_compare.html','pop','width=942,height=870,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'p_jjim3'		: window.open('/popup/pop_wish_product.html','pop','width=400,height=305,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'salecoupon'	: window.open('/popup/pop_order_salecoupon.html','pop','width=400,height=450,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'zoom_card'	: window.open('/popup/pop_zoom_card.html','pop','width=100%,height=100%,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'zoom_en'		: window.open('/popup/pop_zoom_envelope.html','pop','width=100%,height=100%,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'before_chk1'	: window.open('/popup/pop_modify_apply.html','pop','width=550,height=613,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'before_chk11'	: window.open('/popup/pop_check_wedding.html','pop','width=650,height=657,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'draft_preview': window.open('/popup/pop_draft_preview.html','pop','width=100%,height=100%,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'before_chk2'	: window.open('/popup/pop_modify_apply_minicard.html','pop','width=550,height=483,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'before_chk21'	: window.open('/popup/pop_check_minicard.html','pop','width=650,height=461,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'before_chk3'	: window.open('/popup/pop_modify_apply_thanks.html','pop','width=550,height=517,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'before_chk31'	: window.open('/popup/pop_check_thanks.html','pop','width=650,height=569,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'before_chk4'	: window.open('/popup/pop_modify_apply_evcard.html','pop','width=550,height=517,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'before_chk41'	: window.open('/popup/pop_check_evcard.html','pop','width=650,height=569,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'sam_shoppingbag'	: window.open('/popup/pop_sample_shoppingbag.html','pop','width=920,height=576,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'sam_mo1'		: window.open('/popup/pop_mobile01.html','pop','width=400,height=450,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'sam_mo2'		: window.open('/popup/pop_mobile02.html','pop','width=400,height=450,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'sam_mo3'		: window.open('/popup/pop_mobile03.html','pop','width=400,height=450,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'sam_deli'		: window.open('/popup/pop_confirm_delivery.html','pop','width=400,height=830,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'sam_cash'		: window.open('/popup/pop_bill_cash.html','pop','width=620,height=100%,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'find_order'	: window.open('/popup/pop_find_order.html','pop','width=550,height=603,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;

		case 'real_name'	: window.open('/popup/pop_realname1.html','pop','width=550,height=572,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'find_zip1'	: window.open('/popup/pop_check_zipcod.html','pop','width=400,height=328,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		case 'check_id'		: window.open('/popup/pop_check_id.html','pop','width=400,height=341,scrollbars=no,resizable=no,copyhistory=no,toolbar=no'); break;
		default: break;
	}
}

function GoMenu(name) {
	if (eval(name) == "") {
		alert("서비스 준비중입니다.");
		return;
	} else {
		document.location.href = eval(name);
	}
}

