//메인메뉴링크
function main() {
location = "/main.htm";
}
function main2() {
//location = "http://eng.alive-gallery.com/main.htm";
location = "http://alive-gallery-eng.realeyes.co.kr/main.htm";
}
function main3() {
//location = "http://jpn.alive-gallery.com/main.htm";
location = "http://alive-gallery-jpn.realeyes.co.kr/main.htm";
}
function main4() {
location = "http://alive-gallery-chn.realeyes.co.kr/main.htm";
//location = "http://chn.alive-gallery.com/main.htm";
}
function contactus() {
location.href = "mailto:info@sujis.net";
}
function notice() {
location = "/sub2_4.htm?board=en_notice";
}
function sitemap() {
alert("준비중입니다");
}
//서브1메뉴
function sub1_1() {
location = "/sub1_1.htm";
}
function sub1_2() {
location = "/sub1_2.htm";
}
function sub1_3() {
location = "/sub1_3.htm";
}
function sub1_4() {
location = "/sub1_4.htm";
}//서브2메뉴
function sub2_1() {
location = "/sub2_1.htm";
}
function sub2_2() {
location = "/sub2_2.htm";
}
function sub2_3() {
location = "/sub2_3.htm?board=news";
}

function sub2_4() {
location = "/sub2_4.htm?board=notice";
}

function sub3_1() {
location = "/sub3_1.htm?board=morgue";
}
function sub3_2() {
location = "/sub3_2.htm?board=photo";
}
function sub3_3() {
location = "/sub3_3.htm?board=column";
}
function sub3_4() {
location = "/sub3_4.htm?board=discussion";
}
function sub4_1() {
location = "/sub4_1.htm?board=event";
}
function sub4_2() {
location = "/sub4_2.htm?board=result";
}
function sub5_1() {
location = "/sub5_1.htm?board=faq";
}
function sub5_2() {
location = "/sub5_2.htm";
}
function sub5_3() {
location = "/sub5_3.htm?board=qna";
}


//무비다운로드
function movie1() {
window.open('/movie1.htm','pop','width=480,height=445,top=0,left=0,scrollbars=no,resizable=no');
}
function movie2() {
window.open('/movie2.htm','pop','width=320,height=290,top=0,left=0,scrollbars=no,resizable=no');
}
function movie3() {
window.open('/movie3.htm','pop','width=320,height=290,top=0,left=0,scrollbars=no,resizable=no');
}
function movie4() {
window.open('/movie4.htm','pop','width=320,height=290,top=0,left=0,scrollbars=no,resizable=no');
}
function pic1() {
window.open('/pic1.htm','pop2','width=500,height=780,top=0,left=0,scrollbars=no,resizable=no');
}
function pic2() {
window.open('/pic2.htm','pop2','width=500,height=780,top=0,left=0,scrollbars=no,resizable=no');
}
function pic3() {
window.open('/pic3.htm','pop2','width=500,height=780,top=0,left=0,scrollbars=no,resizable=no');
}

//로그인 메세지처리
function id_no() {
alert("회원아이디를 찾을수 없습니다.");
}
function pass_no() {
alert("비밀번호를 확인하세요.");
}

//200자 글쓰기 에러
function name_no() {
alert("작성자이름을 입력하세요");
}
function comment_no() {
alert("내용을 입력하세요");
}

//회원가입관련
function find_pass() {
location = "/find_pass.htm";
}
function member_modify() {
location = "/Member_modify.htm";
}
function register() {
location = "/register.htm";
}

//로그인팝업(이미 로그인되어있는 경우 nexturl로 이동)
function openLoginPop(nexturl){
	window.open('/pop.login.php?nexturl='+nexturl,'pop_login','width=500,height=360,top=250,left=200,scrollbars=no,resizable=no');
}

function openPop(nexturl){
	window.open(nexturl,'openPop','width=200,height=200,top=250,left=200,scrollbars=no,resizable=no');
}
