
scroll_cnt = 0;   // ½½¶óÀÌµù º¯¼ö ÃÊ±â°ª

/***************************************************
	ÆäÀÌÁö URL °ª Parsing Á¤º¸ DATA (ÀÓ½Ã »ç¿ë)
/***************************************************/
var now_path = self.location.href;
var myAdd = now_path.split("/",6);


/********************************/
/*  ÀÌ¹ÌÁö ·Ñ¿À¹ö  */
/********************************/
function EImgChg(flag) 
{
    source=event.srcElement;
    if (source.id == "") 
    { return false;  }
    
    else if (document.images && source.tagName=="IMG") {
        imgElement = source.id;  // ÀÌ¹ÌÁö name
        imgPath = source.src;   // ÀÌ¹ÌÁö src ¼Ó¼º°ª
        
        imgPathLen = imgPath.length;
        imgPathFlag = imgPath.lastIndexOf("/");
        imgName = imgPath.substring(0,imgPathFlag+1);
        
        document.images[imgElement].src =  imgName + imgElement + "_" + flag + ".gif";  }
}

/********************************************************************************************************
	ÆË¾÷Ã¢ ¿ÀÇÂ
********************************************************************************************************/
function uf_popOpen(url) {
	var positionX = 0;
	var positionY = 0;
//	var positionX = (screen.width-450)/2;
//	var positionY = (screen.height-250)/2;
	window.open(url,"","left="+positionX+",top="+positionY+",width=622,height=500,toolbar=no,scrollbars=no" );
}

/****** ÆË¾÷Ã¢ ¸®»çÀÌÁî **************************************************************/
function uf_popResize() {
	var thisX = document.getElementById("offsetTable").offsetWidth;
	var thisY = document.getElementById("offsetTable").offsetHeight;
	var maxThisX = screen.width - 50;
	var maxThisY = screen.height - 80;
	if (window.navigator.userAgent.indexOf("SV1") != -1){
	var marginY = 50; //¸¶Áö¸· ¼ö´Â »óÈ²¿¡µû¶ó ¾Ë¸Â°Ô ³ÖÀ¸¼¼¿ä. (ÅÛÇÃ¸´ÀÇ Çì´õ³ôÀÌ + Ç²ÅÍ ³ôÀÌ + ¾ËÆÄ)
	} else {
	var marginY = 29; //¸¶Áö¸· ¼ö´Â »óÈ²¿¡µû¶ó ¾Ë¸Â°Ô ³ÖÀ¸¼¼¿ä. (ÅÛÇÃ¸´ÀÇ Çì´õ³ôÀÌ + Ç²ÅÍ ³ôÀÌ + ¾ËÆÄ)
	}
	
	if (thisX > maxThisX) {
		window.document.body.scroll = "yes";
		thisX = maxThisX;
	}
	if (thisY > maxThisY - marginY) {
		window.document.body.scroll = "yes";
		thisX += 19;
		thisY = maxThisY - marginY;
	}
	
	var windowX = (screen.width - (thisX+10))/2;
	var windowY = (screen.height - (thisY+marginY))/2 - 20;
//	window.moveTo(windowX,windowY);
	window.resizeTo(thisX+10,thisY+marginY);
}

/****** ÆË¾÷Ã¢ ¸®»çÀÌÁî **************************************************************/

/***************************************************
	Flash Link function various
/***************************************************/
function t_home() {  window.location.href = "/"  }   // woopon ·Î°í
function t_contact() {  window.location.href = "/etc/contactus.jsp"  }  // contactus
function t_sitemap() {  window.location.href = "/etc/sitemap.jsp"  }  // sitemap

function sitemap() {  t_sitemap()  }  // Main sitemap
function contact() {  t_contact()  }  // Main contactus

function company() {  window.location.href = "/company/company.jsp"  }  // Company

function brand() {  brand_1()  }   // Brand Main

function brand_1() {  window.location.href = "/brand/gucci/main.jsp"  }  // Gucci Main
//function brand_1_1() {  window.location.href = "/brand/gucci/prd/prd_gucci.jsp"  }  // Gucci Product
function brand_1_1() {  window.location.href = "/brand/showing/prd/prod.jsp?seq=1&category1=1&category2=1"  }  //
function brand_1_2() {  window.location.href = "/brand/gucci/stores/store_gucci.jsp"  }  // Gucci Stores

function brand_2() {  window.location.href = "/brand/coach/main.jsp"  }  // Coach Main
//function brand_2_1() {  window.location.href = "/brand/coach/prd/prd_coach.jsp"  }  // Coach Product
function brand_2_1() {  window.location.href = "/brand/showing/prd/prod.jsp?seq=2&category1=1&category2=7"  }
function brand_2_2() {  window.location.href = "/brand/coach/stores/store_coach.jsp"  }  // Coach Stores

function brand_3() {  window.location.href = "/brand/guess/main.jsp"  }  // Guess Main
//function brand_3_1() {  window.location.href = "/brand/guess/prd/prd_guess.jsp"  }  // Guess Product
function brand_3_1() {  window.location.href = "/brand/showing/prd/prod.jsp?seq=3&category1=1&category2=12"  }  // Guess Product
function brand_3_2() {  window.location.href = "/brand/guess/stores/store_guess.jsp"  }  // Guess Stores

function brand_4() {  window.location.href = "/brand/gc/main.jsp"  }  // Gc Main
//function brand_4_1() {  window.location.href = "/brand/gc/prd/prd_gc.jsp"  }  // Gc Product
function brand_4_1() {  window.location.href = "/brand/showing/prd/prod.jsp?seq=4&category1=1&category2=17"  }  // Gc Product
function brand_4_2() {  window.location.href = "/brand/gc/stores/store_gc.jsp"  }  // Gc Stores

function brand_5() {  window.location.href = "/brand/nautica/main.jsp"  }  // Nautica Main
//function brand_5_1() {  window.location.href = "/brand/nautica/prd/prd_nautica.jsp"  }  // Nautica Product
function brand_5_1() {  window.location.href = "/brand/showing/prd/prod.jsp?seq=5&category1=1&category2=21"  }  // Nautica Product
function brand_5_2() {  window.location.href = "/brand/nautica/stores/store_nautica.jsp"  }  // Nautica Stores

function service() {  window.location.href = "/service/as01.jsp"  }  // A/S service

function news() {  window.location.href = "/news/news_intro.jsp"  }  // News

function faq() {  faq_1()  }  // FAQ
function faq_1() {  window.location.href = "/faq/general/faq.jsp"  }  // General FAQ
function faq_2() {  window.location.href = "/faq/brand/gucci.jsp"  }  // Brand FAQ


