﻿///_/_/_/_/_/_/_/_/_/_/_/_/_/   2009-03-06 BASIC HOUSE 2009   _/_/_/_/_/_/_/_/_/_/_/_/_/	




	// 메인
	function mainPage() {
		location.href = '/default.asp'; // 메인
	}


	//로그아웃
	function logOut() {
		location.href = '/member/logout.asp'; // 로그아웃 
	}


	// 메인 컨텐츠 링크
	function basicPage(val) {
		switch(val)
		{
			case 1 :
				//location.href = '/'; // 리자켓
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 				
				window.open('/re-Jacket/index.html', "re_fleece", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				location.href = "http://www.basichouse.co.kr/campaign_site.asp";
				break;
			
			case 2 :
				//location.href = '/'; // 리패딩
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/re-padding/main.asp', "re_fleece", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				location.href = "http://www.basichouse.co.kr/campaign_site.asp";
				break;

			case 3 :
				location.href = '/5value/main.asp'; // 사회공헌
				break;

			case 4 :
				location.href = '/re_styling/catalogue.asp'; // 상품보기
				break;

			case 5 :
				location.href = '/re_creating/ucc.asp'; // 리크레이팅스튜디오
				break;

			case 6 :
				location.href = '/re_creating/screen.asp'; // 리크레이팅스크린
				break;

			case 7 :
				location.href = '/game/game.asp'; // 게임
				break;
		}
	}

	
	//상단메뉴 로그인
	function topPage(val) {
		switch(val)
		{
			case 1 :
				location.href = '/member/login.asp'; // login
				break;

			case 2 :
				location.href = '/member/member_modify.asp'; // edit info
				break;

			case 3 :
				location.href = '/re_styling/catalogue.asp'; // 상품보기
				break;

			case 4 :
				location.href = '/product/uniform.asp'; // 단체복
				break;

			case 5 :
				location.href = '/about/store_search.asp'; // store 
				break;

		}
	}


	//상단메뉴 패밀리 사이트
	function familySite(val) {
		switch(val)
		{
			case 1 :
				window.open('http://www.evoll.co.kr/'); // voll
				break;

			case 2 :
				window.open('http://www.mindbridge.co.kr/'); // mind bridge
				break;

			case 3 :
				window.open('http://www.thebasichouse.com/'); // the basic house
				break;

			case 4 :
				window.open('http://www.bstreet.co.kr/'); // 3.stree
				break;

			case 5 :
				window.open('http://www.diace.co.kr/web/main.asp'); // diace 
				break;

			case 6 :
				window.open('http://www.e-theclass.co.kr/'); // the class 
				break;

		}
	}



	//서브 좌측메뉴
	function leftPage(val) {

		switch(val)
		{
			case 1 :
				location.href = '/about/about_basichouse.asp'; // about basic house 
				break;

			case 2 :
				location.href = '/about/brand_concept.asp'; // brand concept
				break;

			case 3 :
				location.href = '/about/re_creating_campaign.asp'; // re-creating campaign 
				break;

			case 4 :
				location.href = '/about/news_list.asp'; // news 
				break;

			case 5 :
				location.href = '/about/store_search.asp'; // 매장안내 
				break;

			case 6 :
				location.href = '/about/card.asp'; // 나눔인카드 
				break;

			case 7 :
				location.href = '/about/help/as_search.asp'; // 고객문의 
				break;

			case 8 :
				location.href = '/member/member_auth.asp'; // 회원가입 
				break;

			case 9 :
				location.href = '/member/member_modify.asp'; // 회원정보수정 
				break;

		}
	}

	//서브 좌측메뉴 re_styling
	function re_styling(val) {

		switch(val)
		{
			case 1 :
				location.href = '/re_styling/catalogue.asp'; // 카달로그
				break;

			case 2 :
				location.href = '/re_styling/product.asp';		// 프로덕트
				break;

			case 3 :
				location.href = '/re_styling/style_coodi.asp'; // 스타일코디
				break;

			

		}
	}

	//하단메뉴
	function bottomPage(val) {

		switch(val)
		{
			case 1 :
				location.href = '/about/help/as_search.asp'; // 고객문의 
				break;

			case 2 :
				location.href = '/member/privacy.asp'; // 개인정보취급방침
				break;

			case 3 :
				location.href = '/member/agreement.asp'; // 이용약관 
				break;

		}
	}



	//Item Site
	function siteView(val) {

		switch(val)
		{
			case 0 :
				window.open("/product/ret.asp", "event0414");	 // RE-T 2008 티셔츠 
				break;

			case 1 :
				window.open("/olympic/main.asp", "event0414");	 // hangul pictogram 2008
				break;

			case 2 :
				window.open("/denim/loader.html","리폼진","fullscreen"); // re-form jean 'be hero' 2008 
				break;

			case 3 :
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/event/2008/padding/main.asp', "paddingEvent", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;

			case 4 :
				location.href = '/re_creating/screen.asp'; // RE-SHIRT 2009 
				break;

			case 5 :
				location.href = '/cambodia.asp'; // RE-creating hope 2009 캄보디아 
				break;

			case 6 :
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/repolo/2009/main.asp', "repolo", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;

			case 7 :
				// re-t 2009 
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/re-t/main.asp', "2009RET", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;
			
			case 8 :
				// 리스타일링 셔츠
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('re_shirt.html', "re_shirt", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;

			case 9 :
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/re-fleece/main.asp', "re_fleece", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;

			case 10 :
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/re-padding/main.asp', "re_fleece", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;

			case 11 :
				var iWidth = window.screen.width;
				var iHeight = window.screen.height;
				var ileft = 0;
				var itop = 0; 
				window.open('/re-Jacket/index.html', "re_fleece", "toolbar=no,menubar=no,location=no,scrollbars=no,resizable=yes,status=no,width=" + iWidth + ", height=" + iHeight + ", left=" + ileft +", top=" + itop ); // super light down 2008 
				break;

		}
	}


	//스크린세이버 다운로드
	function screenDown( num )
	{
		
		fileName = "/download/basic_screensaver0"+num+".zip";

		var sUrl = "/include/fileDownload.asp?filename="+fileName;
		
		var nwidth = 300;
		var nheight = 150;
		
		var LeftPosition = (document.body.clientWidth) ? (document.body.clientWidth-nwidth)/2+60 : 0;
		var TopPosition = (document.body.clientHeight) ? ((document.body.clientHeight-nheight)/2) + 60 : 0;

		window.open(sUrl, "download", "scrollbars=no, status=no,top="+TopPosition+",left="+LeftPosition+",width="+nwidth+",height="+nheight+"");

	}




	//Re-creating studio
	function re_down( num )
	{		
		
		fileName = "/download/mov"+num+".zip";

		var sUrl = "/include/fileDownload.asp?filename="+fileName;
		
		var nwidth = 300;
		var nheight = 150;
		
		var LeftPosition = (document.body.clientWidth) ? (document.body.clientWidth-nwidth)/2+60 : 0;
		var TopPosition = (document.body.clientHeight) ? ((document.body.clientHeight-nheight)/2) + 60 : 0;

		window.open(sUrl, "download", "resizable=yes, scrollbars=no, status=no,top="+TopPosition+",left="+LeftPosition+",width="+nwidth+",height="+nheight+"");

	}


	//캄보디아
	function topLink1() {
		window.open("http://www.basichouse.co.kr/5value/main.asp")
	} 

	function topLink2() {
		location.href = "http://www.basichouse.co.kr/campaign_site.asp"
	} 

	function bottomLink() {
		window.open("http://www.basichouse.co.kr/5value/main.asp")
	}

	function downLink() {
		location.href = "/flash/cambodia.zip"
	}


