<!-- 

var EmbedStr = "";
function GetFlash(url,x,y) { 
	EmbedStr = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='" + x + "' height='" + y + "'>";
	EmbedStr += "<param name='allowScriptAccess' value='always' />";
	EmbedStr += "<param name='movie' value='" + url + "' />";
	EmbedStr += "<param name='quality' value='high' />";
	EmbedStr += "<param name='bgcolor' value='#ffffff' />";
	EmbedStr += "<param name='menu' value='false' />";
	EmbedStr += "<param name='wmode' value='transparent' />";
	EmbedStr += "<embed src='" + url + "' quality='high' menu='flase' wmode='transparent' bgcolor='#FFFFFF' width='" + x + "' height='" + y + "' allowScriptAccess='always' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	EmbedStr += "</object>";
	
	document.write(EmbedStr);
	return;
}


		function openFullPopup( popUrl , popName ){
			var xSize = "";
			var ySize = "";
			if(window.navigator.appName == "Microsoft Internet Explorer") {
				xSize = screen.width - 10;
				ySize = screen.height - 30;
			} else {
				xSize = screen.width;
				ySize = screen.height;
			}
			
			
			var sOption = "left=0,top=0,width=" + xSize + ", height=" + ySize + ",toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=1";
			window.open(popUrl, popName, sOption );
		}

function bot(no) {
	switch (no) {
		case 1 : //È¸»ç¼Ò°³
			window.open('http://thesto.kr/www/sto/company/sto.asp','sto') ;
			break;
		case 2 : //È¸¿ø¾à°ü ¹× °³ÀÎÁ¤º¸
			window.open('http://thesto.kr/www/sto/etc/agree.asp','sto') ;
			break;
		case 3 : //¸¶ÀÏ¸®Áö¾à°ü
			window.open('http://thesto.kr/www/sto/etc/agree_mile.asp','sto') ;
			break;
	}
}



function fam(no) {
	switch (no) {
		case 1 : //ÆÐ¹Ð¸® »çÀÌÆ®¿¡¼­ ºñ³ë
			window.open('http://www.vino-korea.com') ;
			break;
		case 2 : //ÆÐ¹Ð¸®»çÀÌÆ®¿¡¼­ ¿¡½ºÆ¼ÄÚ
			window.open('http://www.thestco.com') ;
			break; 
	}
}



function top1(no) {
	switch (no) {
		case 1 : //·Î±×ÀÎ
			location.href='https://www.thesto.kr:446/www/sto/mypage/login.asp?url=http://www.paulandlouis.com/' ;			
			break;
		case 2 : //Á¶ÀÎ
			location.href='https://www.thesto.kr:446/www/sto/mypage/join.asp' ;
			break; 
	}
}


function top2(no) {
	switch (no) {
		case 1 : //·Î±×¾Æ¿ô
			location.href='http://thesto.kr/www/sto/mypage/logout.asp?url=http://www.paulandlouis.com/' ;
			break;
		case 2 : //mypage
			window.open('http://thesto.kr/www/sto/mypage/mileage.asp') ;
			break; 
	}
}

function menu_1(){ //shoppingmall
	window.open('http://codigallery.com/');
}
function menu_5_2(){ //1:1
	window.open('http://thesto.kr/www/sto/customer/consult_faq.asp?tar=paulandlouis');
}
function menu_5_3(){ //Á¦ÈÞ¹®ÀÇ
	window.open('http://thesto.kr/www/sto/cooperation/cooperation.asp');
}

function as(){ //as
	window.open('http://thesto.kr/www/sto/customer/as_guide.asp');
}



function recruit(){ //recruit
	window.open('http://www.thesto.kr/www/sto/sRct/store.asp?always_cd=Y');
}

		
function img_go(img) {
   var img,x,y,x1,y1, im;
      if (img.length < 1) {
            alert("ÀÌ¹ÌÁö ÆÄÀÏÀÌ ¼±ÅÃµÇÁö ¾Ê¾Ò°Å³ª \n\n Àß¸øµÈ ÆÄÀÏÀÌ¸§ ÀÔ´Ï´Ù ");
            return false;
   } 
  im =  LoadImg(img);
   x= im.wd + 18;
   y= im.ht + 18;
          x1=500;
          y1=400; 
       if (x<x1) { 
          x1=x;
       }
       if (y<y1) {
          y1=y;
       }
    window.open('img_pop.asp?img='+img,'','width='+x1+',height='+y1+',top=100,left=100,scrollbars=1,resizable=1');  
}

function LoadImg(img) {
	var d=new Object();
	var imgInfo = new Image(); //ÀÌ¹ÌÁö °´Ã¼¸¦ »ý¼ºÇÏ°í
	imgInfo.src = img; //ÀÌ¹ÌÁö ÁÖ¼Ò¸¦ ´ëÀÔÇÑÈÄ¿¡,
	d.wd=imgInfo.width; //ÀÌ¹ÌÁöÀÇ ³Êºñ¿Í
	d.ht=imgInfo.height; //³ôÀÌ¸¦ ±¸ÇÑµÚ
	return d; //°ªÀ» ¹ÝÈ¯
}

function getCookie(name){
	var arg = name + "=";
	var alen = arg.length;
	var clen = document.cookie.length;
	var i = 0;

	while(i< clen){
		var j = i + alen;
		if(document.cookie.substring(i,j)==arg){
			var end = document.cookie.indexOf(";",j);
			if(end == -1)
				end = document.cookie.length;
			return unescape(document.cookie.substring(j,end));
		}
		i=document.cookie.indexOf(" ",i)+1;
		if (i==0) break;
	}
	return null;
}



	
		
		
function layer_view (layer_name, layer_display){
	if (layer_display == "view"){
		document.getElementById(layer_name).style.display = "block" ;
	} else {
		document.getElementById(layer_name).style.display = "none" ;
	}
}



// -->