﻿home="http://www.yespen.co.kr"; // 국문메인

/* 상품기획전 */
	product01="planning/planning_big.asp"; 

/* 한정/스페셜샵 */
	special01="limited/list.asp"; 


/* 대량구매  */
	outlet01="b2b/b2b_store.asp"; 

/* 펜존*/
	penzone01="penzone/penzone.asp"; 

/* 고객센터 */
	cscenter01="cscenter/cscenter.asp"; 


/* best brand */
	montblanc01="/product/product_detail.asp?cd_product=MO11323";
	montblanc02="경로를 넣어주세여"; 
	montblanc03="경로를 넣어주세여"; 
	montblanc04="경로를 넣어주세여"; 

	parker01="경로를 넣어주세여";
	parker02="경로를 넣어주세여"; 
	parker03="경로를 넣어주세여"; 
	parker04="경로를 넣어주세여"; 

	waterman01="경로를 넣어주세여";
	waterman02="경로를 넣어주세여"; 
	waterman03="경로를 넣어주세여"; 
	waterman04="경로를 넣어주세여"; 

	lamy01="경로를 넣어주세여";
	lamy02="경로를 넣어주세여"; 
	lamy03="경로를 넣어주세여"; 
	lamy04="경로를 넣어주세여"; 

	faber01="경로를 넣어주세여";
	faber02="경로를 넣어주세여"; 
	faber03="경로를 넣어주세여"; 
	faber04="경로를 넣어주세여"; 

	pelikan01="경로를 넣어주세여";
	pelikan02="경로를 넣어주세여"; 
	pelikan03="경로를 넣어주세여"; 
	pelikan04="경로를 넣어주세여"; 

	cross01="경로를 넣어주세여";
	cross02="경로를 넣어주세여"; 
	cross03="경로를 넣어주세여"; 
	cross04="경로를 넣어주세여"; 

    rotring01="경로를 넣어주세여";
	rotringc02="경로를 넣어주세여"; 
	rotring03="경로를 넣어주세여"; 
	rotring04="경로를 넣어주세여"; 

	sailor01="경로를 넣어주세여";
	sailor02="경로를 넣어주세여"; 
	sailor03="경로를 넣어주세여"; 
	sailor04="경로를 넣어주세여"; 

	carandache01="경로를 넣어주세여";
	carandache02="경로를 넣어주세여"; 
	carandache03="경로를 넣어주세여"; 
	carandache04="경로를 넣어주세여"; 



/* 고객센터 */
	cscenter01="/cscenter/cscenterjsp"; 

function GoMenu(name) 
{
	
	var LeftPosition = (screen.width) ?        (screen.width-400)/2 : 0;
    var TopPosition = (screen.height) ?        (screen.height-200)/2 : 0;    
    if (name == "") 
    {
        alert("서비스 준비중입니다.");
        return;    
    }
		else if (name == "/index.asp") 
		{
			top.document.location.href = name;
    }
    else if(name =="product01")
    {
        url="/planning/planning_big.asp"
        document.location.href = url;    	
    }
    else if(name =="special01")
    {
        url="/limited/list.asp"
        document.location.href = url;    	
    }
    else if(name =="outlet01")
    {
        url="/b2b/b2b_store.asp"
        document.location.href = url;    	
    }
    else if(name =="penzone01")
    {
        url="/penzone/penzone.asp"
        document.location.href = url;    	
    }    
    else if(name =="cscenter01")
    {
        url="/cscenter/cscenter.asp"
        document.location.href = url;    	
    }        
    else if(name =="montblanc01")//Montblanc Best Brand ≫??- 
    	GoNavi('3','MO11323');
    else if(name =="montblanc02")
    	GoNavi('2','MO11119');    	
    else if(name =="montblanc03")
    	GoNavi('2','MO11293');    	
    else if(name =="montblanc04")
    	GoNavi('3','MO12082');    	
    else if(name =="parker01")//Parker Best Brand ≫??
    	GoNavi('2','PA11225');    	
    else if(name =="parker02")
    	GoNavi('4','PA11564');    	
    else if(name =="parker03")
    	GoNavi('2','PA12258');    	
    else if(name =="parker04")
    	GoNavi('4','PA12336');    	
    else if(name =="waterman01")//waterman Best Brand ≫??
    	GoNavi('2','WA11536');    	
    else if(name =="waterman02")
    	GoNavi('3','WA11514');    	
    else if(name =="waterman03")
    	GoNavi('2','WA11224');    	
    else if(name =="waterman04")
    	GoNavi('2','WA11202');    	
    else if(name =="lamy01")  //Lamy Best Brand ≫??
    	GoNavi('2','LA11608');    	
    else if(name =="lamy02")  
    	GoNavi('2','LA11870');    	
    else if(name =="lamy03")   
    	GoNavi('2','LA11602');    	
    else if(name =="lamy04")  
    	GoNavi('3','LA11601');    	
    else if(name =="faber01")  //Faber Best Brand ≫??
    	GoNavi('2','FA11880');    	
	else if(name =="faber02")  
    	GoNavi('11','FA12041');    	
	else if(name =="faber03")   
    	GoNavi('4','FA11463');    	
	else if(name =="faber04") 
    	GoNavi('3','FA11493');    	
	else if(name =="pelikan01")  //pelikan Best Brand ≫??
    	GoNavi('2','PE11147');    	
	else if(name =="pelikan02")   
    	GoNavi('2','PE11151');    	
	else if(name =="pelikan03")   
    	GoNavi('2','PE11157');    	
	else if(name =="pelikan04")   
    	GoNavi('2','PE11806');    	
	else if(name =="cross01")  //cross Best Brand ≫??
    	GoNavi('2','CR12095');    	
	else if(name =="cross02")   
    	GoNavi('2','CR11248');    	
	else if(name =="cross03")   
    	GoNavi('2','CR11261');    		
	else if(name =="cross04")  
    	GoNavi('3','CR11585');    	
	else if(name =="rotring01")  //rotring Best Brand ≫??
    	GoNavi('11','RO11815');    	
	else if(name =="rotring02") 
    	GoNavi('2','RO12098');    	
	else if(name =="rotring03") 
    	GoNavi('12','RO11227');    	
	else if(name =="rotring04") 
    	GoNavi('12','RO11221');    	
	else if(name =="sailor01") //sailor Best Brand ≫??
    	GoNavi('2','SA12135');    	
	else if(name =="sailor02") 
    	GoNavi('2','SA11901');    	
	else if(name =="sailor03") 
    	GoNavi('2','SA11897');    	
	else if(name =="sailor04") 
    	GoNavi('2','SA11902');    	
	else if(name =="carandache01") //carandache Best Brand ≫??
    	GoNavi('2','CA11813');    	
	else if(name =="carandache02") 
    	GoNavi('2','CA11941');    	
	else if(name =="carandache03") 
    	GoNavi('2','CA11681');    	
	else if(name =="carandache04") 
    	GoNavi('2','CA12527');    	
	else if(name =="event01") 
    	GoEvent('b','student',''); 
	else if(name =="event02") 
    	GoEvent('b','diary',''); 
	else if(name =="event03") 
    	GoEvent('b','event',''); 
	else if(name =="event04") 
    	GoEvent('b','cscenter'); 
   else if(name =="event05") 
    	GoNavi('25','LA12651'); 
    else 
    {
        //document.location.href = name;
        url="/product/list_big.asp?ptype=b&stype="+name   
        document.location.href = ""+url;
	 }
	 
}


function GoNavi(stype,cd_product) 
{
	
	url="/product/product_detail.asp?return_page=/index.asp&ptype=b&stype="+stype+"&cd_product="+cd_product;
    document.location.href = url;    	
}

function GoEvent(ptype,stype,cd_cat) 
{
	if(stype=='swiss')
		url="/product/list_big.asp?return_page=/index.asp&ptype=b&stype="+stype;
	else if(stype=='oth')
		url="/product/list_big.asp?return_page=/index.asp&ptype=b&stype="+stype+"&cd_cat="+cd_cat;
	else if(stype=='cscenter')
		url="/cscenter/cscenter.asp"
	else if (stype=='student')
		url="/attempt/attempt_student.asp"
	else if (stype=='diary')
		url="/diary/diary_big.asp"
	else
		url="/brandEvent/brandEvent.asp"
    document.location.href = url;    	
}
