function fnGoLogin()
{
	var string;	
	string = new String([document.location]);
	document.location = "/common/login.asp?url=" + escape(string.replace("http://"+document.domain,"")) + "&what="+ escape(document.domain);
}


function fnGoFindId(){
    window.open("https://certify.ybmsisa.com/member/id_question.asp","","scrollbars=yes,width=680,height=600");   
}
function fnGoMemberJoin()
{
	window.open("http://www.ybmsisa.com/member/join.asp?site=tea","","scrollbars=yes,width=680,height=600");
}


 

function fnGoMemberChange()
{
	window.open("http://www.ybmsisa.com/member/info_confirm.asp","","scrollbars=yes,width=680,height=600");
}


function goToLogout(){
    //var string;	
	//string = new String([document.location]);
    //location.href="/common/logout.asp?url=/index.asp&what=" + escape(string.replace("http://"+document.domain,""))  
	location.href="/common/logout.asp?url=http://"+document.domain+"&what="+document.domain
}

function goToSafety(){
    window.open("/YBMSisacom.asp?SiteURL=http://www.ybmsisa.com&PageURL=footer/safety_03.asp&newWin=o","","scrollbars=yes,width=680,height=600");
}


function goToAgreement(){
    window.open("/YBMSisacom.asp?SiteURL=http://www.ybmsisa.com&PageURL=footer/agree.asp&newWin=o","","scrollbars=yes,width=680,height=600");
}

function goToMailDeny(){
    window.open("http://www.ybmsisa.com/footer/mail_deny.htm","","width=500,height=260");
}



function fnGoPoint()
{
	window.open("/YBMSISAcom.asp?SiteURL=http://www.ybmsisa.com&PageURL=mypage/mypage.asp","","scrollbars=yes,width=1020,height=700");
}

