/* ÀÌº¥Æ® ·¹ÀÌ¾î °ü·Ã ºÎºÐ */
var imgUrl = "./img/mainnew_img/";
var eventIdx ;
var eventTime ;
var obj;
function eventLoad(eventIdx) {
	//ÀÌº¥Æ®°ü·ÃºÎºÐ
	len = eventString.length;
	event_layer = document.getElementById("eventLayer");
	if(eventIdx==null) eventIdx = parseInt(Math.random()*len);
	event_layer.innerHTML = eventString[eventIdx];

	if(eventIdx+1==len) eventIdx=0;
	else eventIdx++;
	eventTime = window.setTimeout("eventLoad("+eventIdx+")", 7000);
}
/* ÁÂÃø ÅäÀÇ¸¶´ç ºÎºÐ */
//ÃÊ±â ·£´ý

var discussTime; //settimeout¿¡ »ç¿ëÇÒ ½Ã°£obj
function initDiscuss(i) {
	if(i==null) i = parseInt(Math.random()*3);

	layer = "discussLayer_"+i;
	img = "discussImg_"+i;
	if(i==0) tmpImg = "tab_discuss.gif";
	else if(i==1) tmpImg = "tab_academy.gif";
	else tmpImg = "tab_wit.gif";

	document.getElementById(img).src= imgUrl + tmpImg;
	document.getElementById(layer).style.display="block";
}

//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeDiscuss(idx) {
	clearTimeout(discussTime);
	discussTime = window.setTimeout("changeDiscussStart("+idx+")", 100);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotDiscuss(idx) {
	clearTimeout(discussTime);
}

//½ÇÁ¦º¯°æ
function changeDiscussStart(idx) {
	document.getElementById("discussImg_0").src= imgUrl + "tab_discuss_1.gif";	
	document.getElementById("discussImg_1").src= imgUrl + "tab_academy_1.gif";	
	document.getElementById("discussImg_2").src= imgUrl + "tab_wit_1.gif";	

	document.getElementById("discussLayer_0").style.display = "none";
	document.getElementById("discussLayer_1").style.display = "none";
	document.getElementById("discussLayer_2").style.display = "none";

	initDiscuss(idx);
}


/*  ÃÖ½ÅÀÛÇ° ºÎºÐ */
//ÇÁ·ÎÁ§Æ® Á¦¿ÜÇÑ °øÅëºÎºÐ
var newBookInitTime;

function initNewBook(i) {
	if(i==null) i = parseInt(Math.random()*4);
	if(i==0) {	tmpImg = "tab_new_view.gif";	layer = "newBookLayer";	}
	else if(i==1) {	tmpImg = "tab_new_common.gif";	layer = "newCommonLayer";}
	else if(i==2) {	tmpImg = "tab_new_short.gif";	layer = "newShortLayer";}
	else {	tmpImg = "tab_new_cartoon.gif";	layer = "newCartoonLayer";	}
	img = "newBookImg_"+i;
	document.getElementById(layer).style.display="block";
	document.getElementById(img).src= imgUrl + tmpImg;
}
//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeNewBook(idx) {
	clearTimeout(newBookInitTime);
	newBookInitTime = window.setTimeout("changeNewBookStart("+idx+")", 300);
}

//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotNewBook(idx) {
	clearTimeout(newBookInitTime);
}

//½ÇÁ¦º¯°æ
function changeNewBookStart(idx) {
	document.getElementById("newBookImg_0").src= imgUrl + "tab_new_view_1.gif";	
	document.getElementById("newBookImg_1").src= imgUrl + "tab_new_common_1.gif";	
	document.getElementById("newBookImg_2").src= imgUrl + "tab_new_short_1.gif";	
	document.getElementById("newBookImg_3").src= imgUrl + "tab_new_cartoon_1.gif";	

	document.getElementById("newBookLayer").style.display = "none";
	document.getElementById("newCommonLayer").style.display = "none";
	document.getElementById("newShortLayer").style.display = "none";
	document.getElementById("newCartoonLayer").style.display = "none";
	initNewBook(idx);
}
// ÃÖ½ÅÀÛÇ° - ÇÁ·ÎÁ§Æ® 
var newProIdx;
var newBookMainMouse=false;
function newProLoad(idx) {
	newProIdx = idx;
	tmpObj = document.getElementById("newBookMain")
	tmpObj.onmouseover = function() {newBookMainMouse=true};
	tmpObj.onmouseout = function() {newBookMainMouse=false};
	if(!newBookMainMouse) 	window.setInterval("newProNextPlay()",10000); 
}

function newProNextPlay() {
	if(!newBookMainMouse) newProInputData();
}

function newProInputData() {
	document.getElementById("newProLayer").innerHTML = newProString[newProIdx];
	newProIdx++;
	len = newProString.length;
	if(newProIdx==len) newProIdx=0;
}

//´õº¸±â Å¬¸¯½Ã
function newProNext(Idx) {
	len = newProString.length;
	Idx++;
	if(Idx==len) Idx=0;
	document.getElementById("newProLayer").innerHTML = newProString[Idx];
	newProIdx = Idx;
}



// ÃÖ½ÅÀÛÇ° - ¿¬Àç 
//var newNormalMouse = false;


var newBookIdx;
function newBookLoad(idx) {
	newBookIdx = idx;
	tmpObj = document.getElementById("newBookMain")
	tmpObj.onmouseover = function() {newBookMainMouse=true};
	tmpObj.onmouseout = function() {newBookMainMouse=false};
	if(!newBookMainMouse) 	window.setInterval("newBookNextPlay()",10000); 
}

function newBookNextPlay() {
	if(!newBookMainMouse) newBookInputData();
}

function newBookInputData() {
	document.getElementById("newBookLayer").innerHTML = newBookString[newBookIdx];
	newBookIdx++;
	len = newBookString.length;
	if(newBookIdx==len) newBookIdx=0;
}

// ÃÖ½Å¿¬ÀçÀÛÇ° ´õº¸±â Å¬¸¯½Ã
function newBookNext(Idx) {
	len = newBookString.length;
	Idx++;
	if(Idx==len) Idx=0;
	document.getElementById("newBookLayer").innerHTML = newBookString[Idx];
	newBookIdx = Idx;
}




// ÃÖ½ÅÀÛÇ° - °øµ¿ 
var newCommonIdx;

function newCommonLoad(idx) {
	newCommonIdx = idx;
	tmpObj = document.getElementById("newBookMain")
	tmpObj.onmouseover = function() {newBookMainMouse=true};
	tmpObj.onmouseout = function() {newBookMainMouse=false};
	if(!newBookMainMouse) 	window.setInterval("newCommonNextPlay()",10000); 
}

function newCommonNextPlay() {
	if(!newBookMainMouse) newCommonInputData();
}

function newCommonInputData() {
	document.getElementById("newCommonLayer").innerHTML = newCommonString[newCommonIdx];
	newCommonIdx++;
	len = newCommonString.length;
	if(newCommonIdx==len) newCommonIdx=0;
}

// ÃÖ½Å°øµ¿ÀÛÇ° ´õº¸±â Å¬¸¯½Ã
function newCommonNext(Idx) {
	len = newCommonString.length;
	Idx++;
	if(Idx==len) Idx=0;
	document.getElementById("newCommonLayer").innerHTML = newCommonString[Idx];
	newCommonIdx = Idx;
}



// ÃÖ½ÅÀÛÇ° - ´ÜÆí 
var newShortIdx;

function newShortLoad(idx) {
	newShortIdx = idx;
	tmpObj = document.getElementById("newBookMain")
	tmpObj.onmouseover = function() {newBookMainMouse=true};
	tmpObj.onmouseout = function() {newBookMainMouse=false};
	if(!newBookMainMouse) 	window.setInterval("newShortNextPlay()",10000); 
}

function newShortNextPlay() {
	if(!newBookMainMouse) newShortInputData();
}

function newShortInputData() {
	document.getElementById("newShortLayer").innerHTML = newShortString[newShortIdx];
	newShortIdx++;
	len = newShortString.length;
	if(newShortIdx==len) newShortIdx=0;
}

// ÃÖ½Å°øµ¿ÀÛÇ° ´õº¸±â Å¬¸¯½Ã
function newShortNext(Idx) {
	len = newShortString.length;
	Idx++;
	if(Idx==len) Idx=0;
	document.getElementById("newShortLayer").innerHTML = newShortString[Idx];
	newShortIdx = Idx;
}


// ÃÖ½ÅÀÛÇ° - ¸¸È­ 
var newCartoonIdx;
function newCartoonLoad(idx) {
	newCartoonIdx = idx;
	tmpObj = document.getElementById("newBookMain")
	tmpObj.onmouseover = function() {newBookMainMouse=true};
	tmpObj.onmouseout = function() {newBookMainMouse=false};
	if(!newBookMainMouse) 	window.setInterval("newCartoonNextPlay()",10000); 
}

function newCartoonNextPlay() {
	if(!newBookMainMouse) newCartoonInputData();
}

function newCartoonInputData() {
	document.getElementById("newCartoonLayer").innerHTML = newCartoonString[newCartoonIdx];
	newCartoonIdx++;
	len = newCartoonString.length;
	if(newCartoonIdx==len) newCartoonIdx=0;
}

// ÃÖ½Å°øµ¿ÀÛÇ° ´õº¸±â Å¬¸¯½Ã
function newCartoonNext(Idx) {
	len = newCartoonString.length;
	Idx++;
	if(Idx==len) Idx=0;
	document.getElementById("newCartoonLayer").innerHTML = newCartoonString[Idx];
	newCartoonIdx = Idx;
}


/* ÃÖ½ÅÀÛÇ° Text ±¤°í */
var adNewIdx ;
var adNewTime ;
function adNewLoad(adNewIdx) {
	//ÀÌº¥Æ®°ü·ÃºÎºÐ
	len = adNewString.length;
	adNew_layer = document.getElementById("adNewLayer");
	if(adNewIdx==null) adNewIdx = parseInt(Math.random()*len);
	adNew_layer.innerHTML = adNewString[adNewIdx];

	if(adNewIdx+1==len) adNewIdx=0;
	else adNewIdx++;
	adNewTime = window.setTimeout("adNewLoad("+adNewIdx+")", 7000);
}




/* º£½ºÆ® ÀÛÇ° ºÎºÐ */
//ÃÊ±â ·£´ý
var bestTime; //settimeout¿¡ »ç¿ëÇÒ ½Ã°£obj
function initBest(i) {
	if(i==null) i = parseInt(Math.random()*3);

	layer = "bestLayer_"+i;
	img = "bestImg_"+i;
	document.getElementById(layer).style.display="block";
	if(i==0) tmpImg = "tab_best_today.gif";
	else if(i==1) tmpImg = "tab_best_love.gif";
	else tmpImg = "tab_best_recom.gif";
	document.getElementById(img).src= imgUrl + tmpImg;

}

//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeBest(idx) {
	clearTimeout(bestTime);
	bestTime = window.setTimeout("changeBestStart("+idx+")", 300);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotBest(idx) {
	clearTimeout(bestTime);
}

//½ÇÁ¦º¯°æ
function changeBestStart(idx) {
	document.getElementById("bestImg_0").src= imgUrl + "tab_best_today_1.gif";	
	document.getElementById("bestImg_1").src= imgUrl + "tab_best_love_1.gif";	
	document.getElementById("bestImg_2").src= imgUrl + "tab_best_recom_1.gif";	

	document.getElementById("bestLayer_0").style.display = "none";
	document.getElementById("bestLayer_1").style.display = "none";
	document.getElementById("bestLayer_2").style.display = "none";
	initBest(idx);
}

/* BestÀÛÇ° Text ±¤°í */
var adBestIdx ;
var adBestTime ;
function adBestLoad(adBestIdx) {
	//ÀÌº¥Æ®°ü·ÃºÎºÐ
	len = adBestString.length;
	if(adBestIdx==null) {
		adBest_layer = document.getElementById("adBestLayer");
		adBestIdx = parseInt(Math.random()*len);
	}
	adBest_layer.innerHTML = adBestString[adBestIdx];

	if(adBestIdx+1==len) adBestIdx=0;
	else adBestIdx++;
	adBestTime = window.setTimeout("adBestLoad("+adBestIdx+")", 7000);
}


// ÃÖ½ÅÀÛÇ° - ÇÁ·ÎÁ§Æ® 
var bookAdIdx;
var bookAdMainMouse=false;
function bookAdLoad(idx) {
	len = bookAdString.length;
	tmpObj = document.getElementById("bookAdLayer")
	if(idx==null) {
		bookAdIdx = parseInt(Math.random()*len);
	}
	else {
		bookAdIdx = idx;
	}

	tmpObj.onmouseover = function() {bookAdMainMouse=true};
	tmpObj.onmouseout = function() {bookAdMainMouse=false};
	if(!bookAdMainMouse) 	window.setInterval("bookAdNextPlay()",10000); 
}

function bookAdNextPlay() {
	if(!bookAdMainMouse) bookAdInputData();
}

function bookAdInputData() {
	document.getElementById("bookAdLayer").innerHTML = bookAdString[bookAdIdx];
	bookAdIdx++;
	len = bookAdString.length;
	if(bookAdIdx==len) bookAdIdx=0;
}

//´õº¸±â Å¬¸¯½Ã
function bookAdNext(Idx) {
//	alert(Idx);
	len = bookAdString.length;
	Idx++;
	if(Idx==len) Idx=0;
	document.getElementById("bookAdLayer").innerHTML = bookAdString[Idx];
	bookAdIdx = Idx;
}



/* ¿¡ÀÌÀüÆ® Text ±¤°í */
var adAgentIdx ;
var adAgentTime ;
function adAgentLoad(adAgentIdx) {
	//ÀÌº¥Æ®°ü·ÃºÎºÐ
	len = adAgentString.length;
	if(adAgentIdx==null) {
		adAgent_layer = document.getElementById("adAgentLayer");
		adAgentIdx = parseInt(Math.random()*len);
	}
	adAgent_layer.innerHTML = adAgentString[adAgentIdx];

	if(adAgentIdx+1==len) adAgentIdx=0;
	else adAgentIdx++;
	adAgentTime = window.setTimeout("adAgentLoad("+adAgentIdx+")", 7000);
}

/* ¸¸È­ Text ±¤°í */
var adCartoonIdx ;
var adCartoonTime ;
function adCartoonLoad(adCartoonIdx) {
	//ÀÌº¥Æ®°ü·ÃºÎºÐ
	len = adCartoonString.length;
	if(adCartoonIdx==null) {
		adCartoon_layer = document.getElementById("adCartoonLayer");
		adCartoonIdx = parseInt(Math.random()*len);
	}
	adCartoon_layer.innerHTML = adCartoonString[adCartoonIdx];

	if(adCartoonIdx+1==len) adCartoonIdx=0;
	else adCartoonIdx++;
	adCartoonTime = window.setTimeout("adCartoonLoad("+adCartoonIdx+")", 7000);
}


/* ¿À´ÃÀÇ µµ¼­(ÀÛÇ°¼Ò°³, ½Å°£µµ¼­) */

var todayBookInitTime;
function initTodayBook(i) {
	if(i==null) i = parseInt(Math.random()*2);
	if(i==0) {	tmpImg = "tab_today_intro.gif";	layer = "todayBookLayer_0";	}
	else {	tmpImg = "tab_today_book.gif";	layer = "todayBookLayer_1";	}
	img = "todayBookImg_"+i;
	document.getElementById(layer).style.display="block";
	document.getElementById(img).src= imgUrl + tmpImg;
}
//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeTodayBook(idx) {
	clearTimeout(todayBookInitTime);
	todayBookInitTime = window.setTimeout("changeTodayBookStart("+idx+")", 300);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotTodayBook(idx) {
	clearTimeout(todayBookInitTime);
}
//½ÇÁ¦º¯°æ
function changeTodayBookStart(idx) {
	document.getElementById("todayBookImg_0").src= imgUrl + "tab_today_intro_1.gif";	
	document.getElementById("todayBookImg_1").src= imgUrl + "tab_today_book_1.gif";	

	document.getElementById("todayBookLayer_0").style.display = "none";
	document.getElementById("todayBookLayer_1").style.display = "none";
	initTodayBook(idx);
}


/* ¿À´ÃÀÇ ±â°£º° º£½ºÆ®(½ÅÀÛº£½ºÆ®, Old º£½ºÆ®) */

var todayPeriodInitTime;
function initTodayPeriod(i) {
	if(i==null) i = parseInt(Math.random()*2);
	if(i==0) {	tmpImg = "tab_today_lately.gif";	layer = "todayPeriodLayer_0";	}
	else {	tmpImg = "tab_today_old.gif";	layer = "todayPeriodLayer_1";	}
	img = "todayPeriodImg_"+i;
	document.getElementById(layer).style.display="block";
	document.getElementById(img).src= imgUrl + tmpImg;
}
//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeTodayPeriod(idx) {
	clearTimeout(todayPeriodInitTime);
	todayPeriodInitTime = window.setTimeout("changeTodayPeriodStart("+idx+")", 300);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotTodayPeriod(idx) {
	clearTimeout(todayPeriodInitTime);
}
//½ÇÁ¦º¯°æ
function changeTodayPeriodStart(idx) {
	document.getElementById("todayPeriodImg_0").src= imgUrl + "tab_today_lately_1.gif";	
	document.getElementById("todayPeriodImg_1").src= imgUrl + "tab_today_old_1.gif";	

	document.getElementById("todayPeriodLayer_0").style.display = "none";
	document.getElementById("todayPeriodLayer_1").style.display = "none";
	initTodayPeriod(idx);
}

/* ¼­Æò / ºñÆò / ÃßÃµ */
var criticismInitTime;
function initCriticism(i) {
	if(i==null) i = parseInt(Math.random()*3);
	
	if(i==0) {	tmpImg = "tab_review.gif";	layer = "criticismLayer_0";	}
	else if(i==1) {	tmpImg = "tab_criticism.gif";	layer = "criticismLayer_1";	}
	else {	tmpImg = "tab_recom.gif";	layer = "criticismLayer_2";	}
	img = "criticismImg_"+i;

	document.getElementById(layer).style.display="block";
	document.getElementById(img).src= imgUrl + tmpImg;
}
//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeCriticism(idx) {
	clearTimeout(criticismInitTime);
	criticismInitTime = window.setTimeout("changeCriticismStart("+idx+")", 300);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotCriticism(idx) {
	clearTimeout(criticismInitTime);
}
//½ÇÁ¦º¯°æ
function changeCriticismStart(idx) {
	document.getElementById("criticismImg_0").src= imgUrl + "tab_review_1.gif";	
	document.getElementById("criticismImg_1").src= imgUrl + "tab_criticism_1.gif";	
	document.getElementById("criticismImg_2").src= imgUrl + "tab_recom_1.gif";	

	document.getElementById("criticismLayer_0").style.display = "none";
	document.getElementById("criticismLayer_1").style.display = "none";
	document.getElementById("criticismLayer_2").style.display = "none";
	initCriticism(idx);
}



/* ¾Æ¹ÙÅ¸ / ½ºÅ² / ¾ÆÀÌÅÛ¼¥ */
var avatarInitTime;
function initAvatar(i) {
	if(i==null) i = parseInt(Math.random()*3);
	
	if(i==0) {	tmpImg = "tab_avatar.gif";	layer = "avatarLayer_0";	}
	else if(i==1) {	tmpImg = "tab_skin.gif";	layer = "avatarLayer_1";	}
	else {	tmpImg = "tab_items.gif";	layer = "avatarLayer_2";	}
	img = "avatarImg_"+i;

	document.getElementById(layer).style.display="block";
	document.getElementById(img).src= imgUrl + tmpImg;
}
//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeAvatar(idx) {
	clearTimeout(avatarInitTime);
	avatarInitTime = window.setTimeout("changeAvatarStart("+idx+")", 300);
//	changeAvatarStart(idx);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotAvatar(idx) {
	clearTimeout(avatarInitTime);
}
//½ÇÁ¦º¯°æ
function changeAvatarStart(idx) {
	document.getElementById("avatarImg_0").src= imgUrl + "tab_avatar_1.gif";	
	document.getElementById("avatarImg_1").src= imgUrl + "tab_skin_1.gif";	
	document.getElementById("avatarImg_2").src= imgUrl + "tab_items_1.gif";	

	document.getElementById("avatarLayer_0").style.display = "none";
	document.getElementById("avatarLayer_1").style.display = "none";
	document.getElementById("avatarLayer_2").style.display = "none";
	initAvatar(idx);
}



/* ¶ã.Ä«Æä */
var ycInitTime;
function initYc(i) {
	if(i==null) i = parseInt(Math.random()*2);
	if(i==0) {	tmpImg = "tab_yard.gif";	layer = "ycLayer_0";	}
	else {	tmpImg = "tab_cafe.gif";	layer = "ycLayer_1";	}
	img = "ycImg_"+i;
	document.getElementById(layer).style.display="block";
	document.getElementById(img).src= imgUrl + tmpImg;
}
//¸¶¿ì½º¿À¹ö½Ã µ¿ÀÛ
function changeYc(idx) {
	clearTimeout(ycInitTime);
	ycInitTime = window.setTimeout("changeYcStart("+idx+")", 300);
}
//¸¶¿ì½º ¾Æ¿ô½Ã µ¿ÀÛ
function changeNotYc(idx) {
	clearTimeout(ycInitTime);
}
//½ÇÁ¦º¯°æ
function changeYcStart(idx) {
	document.getElementById("ycImg_0").src= imgUrl + "tab_yard_1.gif";	
	document.getElementById("ycImg_1").src= imgUrl + "tab_cafe_1.gif";	

	document.getElementById("ycLayer_0").style.display = "none";
	document.getElementById("ycLayer_1").style.display = "none";
	initYc(idx);
}



//ÀÛÇ°Á¤º¸ ·¹ÀÌ¾î °ü·Ã
var moreInfoTime;
function moreInfoHide() {
	clearTimeout(moreInfoTime);

	if(document.all) obj = document.all["tmpMoreLayer"];
	else if(document.getElementById) obj = document.getElementById("tmpMoreLayer");
	if(obj.style.display!="none") obj.style.display="none";

	
}

function moreInfo(subject, member_name, intro, e) {


	if(e.clientX>600) xL=e.clientX-120;
	else xL=e.clientX+10;

	var divscroll = typeof(bodyscroll)=='undefined' ? 0 : bodyscroll.scrollTop;
	yT=e.clientY + document.body.scrollTop;// + divscroll;


	moreInfoTime = window.setTimeout("moreInfoStart('"+subject+"', '" + member_name + "', '"+intro+"', '"+xL+"', '"+yT+"')", 500);
}

function moreInfoStart(subject, member_name, intro, x, y) {
	if(subject=="" && member_name=="" && intro.length<12) {
		return;
	}
	len = intro.length;
	if(len>200) {
		intro = intro.substring(0, 200)+"..";
	}
	if(document.all) obj = document.all["tmpMoreLayer"];
	else if(document.getElementById) obj = document.getElementById("tmpMoreLayer");
	else return;

	obj.style.left=x;
	obj.style.top=y;

	str = "<table width='180' border='0' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'  style='border:#CCCCCC 1px solid;background-color:#FFFFEE;margin:2px'><tr><td>";

	if(subject!="") {
		str += "	<tr> ";
		str += "		<td><p style='margin:2px'><b>"+subject+"</b></td>";
		str += "	</tr>";
	}
	
	if(member_name!="") {
		str += "	<tr> ";
		str += "		<td align=\"right\"><p style='margin:2px'>ÀÛ°¡-"+member_name+"</td>";
		str += "	</tr>";
	}
	str += "	<tr> ";
	str += "		<td><p style='margin:2px;line-height:140%'>"+intro+"</td>";
	str += "	</tr>";
	str += "</table>";

	obj.innerHTML=str;
	if(obj.style.display!="block") obj.style.display="block";
}


//±¸±Û ºÐ¼® ÄÚµå
 var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-17170623-1']);
  _gaq.push(['_setDomainName', '.joara.com']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();
