
 //===============================================================
//전체스크립트
//===============================================================

var EchoID = "hi2";
var EchoGoodNm = "";
var EchoAmount = "";
var EchoUIP = "";
var EchoTarget = "";
var EchoLogSend = "Y";
var EchoCV = "";
var EchoPN = "";


//EchoScriptV2.js start
var EchoLogServer = "adlog.cresendo.net";
var EchoCookieDays = 45;
var Echotoday = new Date();
function FN_ZoneMark(_Ea) { if (_Ea < 10) { return "0" + _Ea; } else { return _Ea; } }
var EchoToDay = Echotoday.getYear() + "" + FN_ZoneMark(Echotoday.getMonth()) + "" + FN_ZoneMark(Echotoday.getDate());
var EchoToDayHours = Echotoday.getHours();
function FN_GetDomain(_Eb) { var _s = _Eb.split("."); if (_s.length == 3) { if (_s[1].length == 2) { return _Eb; } else { return _s[1] + "." + _s[2]; } } else if (_s.length > 3) { if (_s[_s.length-2].length == 2) { return _s[_s.length-3] + "." + _s[_s.length-2] + "." + _s[_s.length-1]; } else { return _s[_s.length-2] + "." + _s[_s.length-1]; } } else { return _Eb; } }
function FN_SetCookie(_Ec,_Ed,_Ee,_Ef,_Eg) { var _dt = new Date(); _ut = _dt.getTime(); _Ee = (!_Ee) ? "/" : _Ee; if( _Ed == null ) { _Eg = 0; } if( _Eg != null ) { _et = _ut + (_Eg * 1000); _dt.setTime(_et); _pt = " expires=" + _dt.toUTCString() + ";"; 	} else { _pt = ""; } if( _Ef != null ) { _pt += " domain=" + _Ef + ";"; } document.cookie = _Ec + "=" + escape(_Ed) + "; path=" + _Ee + ";" + _pt; }
function FN_GetCookie(_Ec) { var _nc = _Ec + "="; var _x = 0; while( _x <= document.cookie.length ) { var _y = _x + _nc.length; if (document.cookie.substring(_x,_y) == _nc) { if ((_ec = document.cookie.indexOf(";",_y)) == -1) { _ec = document.cookie.length; } return unescape(document.cookie.substring(_y,_ec)); } _x = document.cookie.indexOf(" ", _x) + 1; if (_x == 0) { break; } } return ""; }
function FN_StrPos(_Eh,_Ei) { for (var _i=0; _i < _Eh.length; _i++) { if (_Eh.substring(_i, _i+1) == _Ei) { return _i; } } return -1; }
function FN_FullDomain(_Ej) { if (FN_StrPos(_Ej, ":") > 0) { _Ej = _Ej.substring(0, FN_StrPos(_Ej, ":")); } if (FN_StrPos(_Ej, "/") > 0) { _Ej = _Ej.substring(0, FN_StrPos(_Ej, "/")); } _Ej = FN_GetDomain(_Ej); return _Ej; }
function FN_PageUrl(_Ek) { _Ek = _Ek.replace("http://", ""); _Ek = _Ek.replace("https://", ""); if (_Ek.indexOf("/") > 0 ) { _Ek = _Ek.replace(_Ek.substring(0, FN_StrPos(_Ek, "/")), ""); _Ek = _Ek.substring(0, FN_StrPos(_Ek, "?")); return _Ek; } else { return "/"; } }
function FN_getNavigatorInfoStr() { var name = navigator.appName, ver = navigator.appVersion, ver_int = parseInt(navigator.appVersion), ua = navigator.userAgent, infostr; if(name == "Microsoft Internet Explorer") { if(ver.indexOf("MSIE 3.0") != -1) { return "Internet Explorer 3.0x"; } if(ver_int != 4) { return "Internet Explorer " + ver.substring(0, ver.indexOf(" ")); } var real_ver = parseInt(ua.substring(ua.indexOf("MSIE ") + 5)); if(real_ver >= 7) { infostr = "Windows Internet Explorer "; } else {infostr = "Microsoft Internet Explorer "; } if(ua.indexOf("MSIE 5.5") != -1) { return infostr + "5.5"; } else { return infostr + real_ver + ".x"; } return "Internet Explorer"; } else if(name == "Netscape") { if(parseInt(ua.substring(8, 8)) <= 4) { return "Netscape " + ver.substring(0, ver.indexOf(" ")); } else if(ua.lastIndexOf(" ") < ua.lastIndexOf("/")) { return ua.substring(ua.lastIndexOf(" ")); } else { return "Netscape"; } } else { return name; } }
function FN_getOSInfoStr() { var ua = navigator.userAgent; if(ua.indexOf("NT 6.0") != -1) { return "Windows Vista/Server 2008"; }  else if(ua.indexOf("NT 5.2") != -1) { return "Windows Server 2003"; } else if(ua.indexOf("NT 5.1") != -1) { return "Windows XP"; } else if(ua.indexOf("NT 5.0") != -1) { return "Windows 2000"; } else if(ua.indexOf("NT") != -1) { return "Windows NT"; } else if(ua.indexOf("9x 4.90") != -1) { return "Windows Me"; } else if(ua.indexOf("98") != -1) { return "Windows 98"; } else if(ua.indexOf("95") != -1) { return "Windows 95"; } else if(ua.indexOf("Win16") != -1) { return "Windows 3.x"; } else if(ua.indexOf("Windows") != -1) { return "Windows"; } else if(ua.indexOf("Linux") != -1) { return "Linux"; } else if(ua.indexOf("Macintosh") != -1) { return "Macintosh"; } else { return ""; } }
function FN_IPClose() { document.write("<body oncontextmenu='return false' onselectstart='return false' style='overflow:hidden;'><div id='DIVIPCLOSE' style='position:absolute; left:0; top:0; height:1200px; z-index: 90; background-color: #FFFFFF; filter:alpha(opacity=70);display:none;'><table id='tb1' border='0' height='500' cellpadding='0' cellspacing='0' align='center'><tr><td><table width='400' height='300' border='0' cellpadding='0' cellspacing='0' background='http://www.cresendo.net/img/ipClose/pop_back.jpg'><tr><td><table width='300' border='0' align='center' cellpadding='0' cellspacing='0'><tr valign='top'><td height='200' colspan='2'><div align='center' style='font-family:돋움;font-size:9pt;'><p><strong>죄송합니다 !</strong><br><br>지금 접속은 검색을 통한 접근이 차단된 경로 입니다.<br><br>많은 중복 검색과 접속으로 인해 불가피하게 <br>접근을 차단합니다.<br>아래 &quot;<strong>즐겨찾기 추가하기</strong>&quot; 를 눌러 <br>직접 접속하시기를 권장합니다.</p></div></td></tr><tr><td><div align='center'><a href='javascript:FN_bookmarksite()'><img src='http://www.cresendo.net/img/ipClose/pop_bt1.gif' width='138' height='29' border='0'></a></div></td><td><div align='center'><a href='javascript:window.close()'><img src='http://www.cresendo.net/img/ipClose/pop_bt2.gif' border='0' width='70' height='29'></div></td></tr></table></td></tr></table></td></tr></table></div></body>"); var arrayPageSize = this.getPageSize(); document.getElementById('tb1').style.width = arrayPageSize[0] + 'px'; document.getElementById('DIVIPCLOSE').style.height = arrayPageSize[1] + 'px'; FN_DivSH(document.getElementById("DIVIPCLOSE"), "true"); document.getElementById("DIVIPCLOSE").focus(); }
function FN_DivSH(DivName, SHType) { if (SHType == "auto") { if (DivName.style.display == "none") { DivName.style.display = "block"; } else { DivName.style.display = "none"; } } else if (SHType == "true") { DivName.style.display = "block"; } else if (SHType == "false") { DivName.style.display = "none"; } }
function getPageSize() { var xScroll, yScroll; if (window.innerHeight && window.scrollMaxY) { xScroll = window.innerWidth + window.scrollMaxX; yScroll = window.innerHeight + window.scrollMaxY; } else if (document.body.scrollHeight > document.body.offsetHeight){ xScroll = document.body.scrollWidth; yScroll = document.body.scrollHeight; } else { xScroll = document.body.offsetWidth; yScroll = document.body.offsetHeight; } var windowWidth, windowHeight; if (self.innerHeight) { if(document.documentElement.clientWidth){ windowWidth = document.documentElement.clientWidth; } else { windowWidth = self.innerWidth; } windowHeight = self.innerHeight; } else if (document.documentElement && document.documentElement.clientHeight) { windowWidth = document.documentElement.clientWidth; windowHeight = document.documentElement.clientHeight; } else if (document.body) { windowWidth = document.body.clientWidth; windowHeight = document.body.clientHeight; } if(yScroll < windowHeight){ pageHeight = windowHeight; } else { pageHeight = yScroll; } if(xScroll < windowWidth){ pageWidth = xScroll; } else { pageWidth = windowWidth; } return [pageWidth,pageHeight]; }
function FN_bookmarksite() { var title=window.location.title; var url=window.location.href; if (window.sidebar) { window.sidebar.addPanel(title, url, ""); }else if(window.opera && window.print) { var elem = document.createElement('a');  elem.setAttribute('href',url); elem.setAttribute('title',title); elem.setAttribute('rel','sidebar'); elem.click(); } else if(document.all) { window.external.AddFavorite(parent.location.href, parent.location.title); } }

var _EchoPR = location.protocol.indexOf("https");
var _EchoHostName = location.hostname;
var _EchoPathName = location.pathname;
var _EchoSearch = location.search;
var _EchoHash = location.hash
var _EchoUL = document.URL;
var _EchoRF = document.referrer;
var _EchoDoMain = FN_FullDomain(_EchoHostName);

var _EchoAK = FN_GetCookie("ECHO_AKEY");
var _EchoCK = FN_GetCookie("ECHO_CKEY");
var _EchoSK = FN_GetCookie("ECHO_KEY");
var _EchoSS = FN_GetCookie("ECHO_SESSION");
var _EchoOv = FN_GetCookie("ECHO_OVKEY");
var _EchoK = "";
var _EchoDate = FN_GetCookie("ECHO_DATE");
var _EchoInKey = "";
var _EchoCV = "";
var _EchoPN = "";
var _EchoLogSend = "";

if (_EchoUL.indexOf("#") > 0) { _EchoUL = _EchoUL.substring(0, _EchoUL.indexOf("#")); }
if (_EchoUL.charAt(_EchoUL.length-1) == "/" ) { _EchoUL = _EchoUL.substring(0, _EchoUL.length-1); }

var _EchoULEchoKey = _EchoUL.toUpperCase().indexOf("ECHO_KEY=");
var _EchoULOvKey = _EchoUL.toUpperCase().indexOf("OVKEY=");
var _EchoULTemp="", _EchoULSubDomain="", _EchoRFTemp="", _EchoRFSubDomain="";

if (_EchoULEchoKey > 0) { var _ii = _EchoUL.indexOf("&", _EchoULEchoKey+9); if( _ii > 0 ) { _EchoK = _EchoUL.substring(_EchoULEchoKey+9, _ii); } else { _EchoK = _EchoUL.substring(_EchoULEchoKey+9); } if( _EchoK != _EchoSK ) { echo_new_session = true; } FN_SetCookie("ECHO_KEY", _EchoK, "/", _EchoDoMain); }
if (_EchoULOvKey > 0) { var _ii = _EchoUL.toUpperCase().substring(_EchoULOvKey+6, _EchoUL.toUpperCase().indexOf("&", _EchoULOvKey+6)); _EchoOv = _ii; FN_SetCookie("ECHO_OVKEY", _ii, "/", _EchoDoMain); }
if (!_EchoK || _EchoK == "") { _EchoK="unknown"; }
if (!_EchoCK || _EchoCK == "") { _EchoCK="unknown"; }
if (_EchoK != "unknown") { _EchoCK = _EchoK; _EchoDate = EchoToDay; FN_SetCookie("ECHO_CKEY", _EchoK, "/", _EchoDoMain, EchoCookieDays * 24 * 60 * 60); FN_SetCookie("ECHO_DATE", EchoToDay, "/", _EchoDoMain, EchoCookieDays * 24 * 60 * 60); if (!_EchoAK || _EchoAK == "") { _EchoAK = _EchoK; FN_SetCookie("ECHO_AKEY", _EchoK, "/", _EchoDoMain, 1 * 24 * 60 * 60); } }
if (!_EchoSS || _EchoSS == "") { var _DT=new Date(); _EchoSS = ((Math.round(Math.random()*900)%900+100)) + "" + _DT.getTime(); FN_SetCookie("ECHO_SESSION", _EchoSS, "/", _EchoDoMain); }

_EchoUL = _EchoUL.replace("'", "");
_EchoULTemp = _EchoUL.replace("http://", "");
_EchoULTemp = _EchoULTemp.replace("https://", "");
_EchoULSubDomain = FN_FullDomain(_EchoULTemp);

if (!_EchoRF || _EchoRF == "") { _EchoRFSubDomain = ""; } else { _EchoRF = _EchoRF.replace("'", ""); _EchoRFTemp = _EchoRF.replace("http://", ""); _EchoRFTemp = _EchoRFTemp.replace("https://", ""); _EchoRFSubDomain = FN_FullDomain(_EchoRFTemp); }

var _LandYn = "N";
var _BookMark = "N";
var _EchoIPCloseYn = "N";

if (_EchoPR > 0) { if (_EchoULSubDomain != _EchoRFSubDomain) { _LandYn="Y"; if (_EchoRFSubDomain == "") { _BookMark="Y"; _LandYn="N"; } } _EchoInKey = _EchoCK; } else { if (_EchoULSubDomain != _EchoRFSubDomain) { _LandYn="Y"; if (_EchoRFSubDomain == "") {  _BookMark="Y"; _LandYn="N"; } } if (_EchoK=="unknown") { if (_EchoCK=="unknown") { _EchoInKey = _EchoAK; } else { _EchoInKey = _EchoCK; } } else { _EchoInKey = _EchoK; } }
if (_LandYn=="Y" && _BookMark=="N") { if (typeof(IPClose)=="object") {  if (IPClose[0].indexOf(EchoUIP) > 0) { _EchoIPCloseYn="Y"; FN_IPClose(); } } }
if (typeof(EchoTarget)!="string") { EchoTarget=""; }
if (typeof(EchoCV)=="undefined" || typeof(EchoCV)!="string") { _EchoCV=""; } else { _EchoCV=EchoCV; }
if (typeof(EchoPN)=="undefined" || typeof(EchoPN)!="string") { _EchoPN=""; } else { _EchoPN=EchoPN; }
if (typeof(EchoLogSend)=="undefined" || typeof(EchoLogSend)!="string") { _EchoLogSend=""; } else { _EchoLogSend=EchoLogSend; }

if (_EchoLogSend=="Y") {
	if (_EchoInKey!="" || _EchoAK!="") {
		if (_LandYn=="Y" || _EchoCV=="Y") {
			var _EchoLogUrl = "//" + EchoLogServer + "/?ac=" + EchoID + "&k=" + escape(_EchoInKey) + "&ak=" + _EchoAK + "&ok=" + escape(_EchoOv)+ "&la=" + _LandYn + "&bm=" + _BookMark + "&gd=" + encodeURIComponent(EchoGoodNm) + "&at=" + EchoAmount + "&ud=" + escape(_EchoULSubDomain) + "&ul=" + escape(_EchoUL) + "&rd=" + escape(_EchoRFSubDomain) + "&rl=" + escape(_EchoRF) + "&pg=" + escape(_EchoUL.replace(_EchoSearch + _EchoHash,"")) + "&cd=" + _EchoDate + "&ic=" + _EchoIPCloseYn + "&br=" + escape(FN_getNavigatorInfoStr()) + "&os=" + escape(FN_getOSInfoStr()) + "&et=" + EchoTarget + "&cv=" + _EchoCV + "&pn=" + _EchoPN + "&ss=" + _EchoSS + "&vr=4.0";
			var _EchoImg = new Image(); _EchoImg.src = _EchoLogUrl;
		}
	}
} else {
	var _EchoLogUrl = "//" + EchoLogServer + "/?ac=" + EchoID + "&k=" + escape(_EchoInKey) + "&ak=" + _EchoAK + "&ok=" + escape(_EchoOv)+ "&la=" + _LandYn + "&bm=" + _BookMark + "&gd=" + encodeURIComponent(EchoGoodNm) + "&at=" + EchoAmount + "&ud=" + escape(_EchoULSubDomain) + "&ul=" + escape(_EchoUL) + "&rd=" + escape(_EchoRFSubDomain) + "&rl=" + escape(_EchoRF) + "&pg=" + escape(_EchoUL.replace(_EchoSearch + _EchoHash,"")) + "&cd=" + _EchoDate + "&ic=" + _EchoIPCloseYn + "&br=" + escape(FN_getNavigatorInfoStr()) + "&os=" + escape(FN_getOSInfoStr()) + "&et=" + EchoTarget + "&cv=" + _EchoCV + "&pn=" + _EchoPN + "&ss=" + _EchoSS + "&vr=4.0";
	var _EchoImg = new Image(); _EchoImg.src = _EchoLogUrl;
}
//EchoScriptV2.js end


function initMoving(target, position, topLimit, btmLimit) {
	if (!target)
		return false;

	var obj = target;
	obj.initTop = position;
	obj.topLimit = topLimit;
	obj.bottomLimit = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight) - btmLimit - obj.offsetHeight;

	obj.style.position = "absolute";
	obj.top = obj.initTop;
	obj.left = obj.initLeft;

	if (typeof(window.pageYOffset) == "number") {	//WebKit
		obj.getTop = function() {
			return window.pageYOffset;
		}
	} else if (typeof(document.documentElement.scrollTop) == "number") {
		obj.getTop = function() {
			return Math.max(document.documentElement.scrollTop, document.body.scrollTop);
		}
	} else {
		obj.getTop = function() {
			return 0;
		}
	}

	if (self.innerHeight) {	//WebKit
		obj.getHeight = function() {
			return self.innerHeight;
		}
	} else if(document.documentElement.clientHeight) {
		obj.getHeight = function() {
			return document.documentElement.clientHeight;
		}
	} else {
		obj.getHeight = function() {
			return 500;
		}
	}

	obj.move = setInterval(function() {
		if (obj.initTop > 0) {
			pos = obj.getTop() + obj.initTop;
		} else {
			pos = obj.getTop() + obj.getHeight() + obj.initTop;
			//pos = obj.getTop() + obj.getHeight() / 2 - 15;
		}

		if (pos > obj.bottomLimit)
			pos = obj.bottomLimit;
		if (pos < obj.topLimit)
			pos = obj.topLimit;

		interval = obj.top - pos;
		obj.top = obj.top - interval / 3;
		obj.style.top = obj.top + "px";
	}, 30)
}
function changeTab(el){

	if(el == 1){ 
		document.getElementById('tit0').childNodes[0].childNodes[0].src=document.getElementById('tit0').childNodes[0].childNodes[0].src.replace("_off.gif","_on.gif");
		document.getElementById('tit1').childNodes[0].childNodes[0].src=document.getElementById('tit1').childNodes[0].childNodes[0].src.replace("_on.gif","_off.gif");
		document.getElementById('content0').style.display="block";
		document.getElementById('content1').style.display="none";
	}else {
	
		document.getElementById('tit0').childNodes[0].childNodes[0].src=document.getElementById('tit0').childNodes[0].childNodes[0].src.replace("_on.gif","_off.gif");
		document.getElementById('tit1').childNodes[0].childNodes[0].src=document.getElementById('tit1').childNodes[0].childNodes[0].src.replace("_off.gif","_on.gif");
		document.getElementById('content0').style.display="none";
		document.getElementById('content1').style.display="block";
	}

}

/*  롤팝업용 자바 스크립트 파일 (roll_popup.js)
---------------------------------------------------------*/
var popRolling = function(popContainer){
	// 시간단위는 ms로 1000이 1초
	if(popContainer.nodeType==1){
		this.popContainer = popContainer;
	}else{
		this.popContainer = document.getElementById(popContainer);
	}
	this.is_rolling = false;
	this.counter = 0;
	this.pop_children = null;
	this.timeDealy = 3000; //움직이는 타임딜레이
	this.time_timer = null;
	this.time_timer_pause=null;
	this.mouseover=false;
	this.init();
}

popRolling.prototype.init = function(){
	var pop_children = this.popContainer.childNodes;

	for(var i=(pop_children.length-1); 0<=i; i--){
		if(pop_children[i].nodeType==1){
			//pop_children[i].style.position='relative';
		}else{
			this.popContainer.removeChild(pop_children[i]);
		}
	}

	this.pop_children = this.popContainer.childNodes;
	var oRoll = this;

	for (var i=0; i<this.pop_children.length; i++) {

		for (var k=0; k<this.pop_children[i].childNodes.length; k++) {

			if (this.pop_children[i].childNodes[k].nodeType == 1) {

				this.pop_children[i].childNodes[k].onclick = function() {
					oRoll.moveAt(this.firstChild);
					return false;
				}
				this.pop_children[i].childNodes[k].onfocus = function() {
					oRoll.moveAt(this.firstChild);
					return false;
				}
				break;	// 첫번째 링크(A)에만 이벤트 할당
			}
		}
	}
}

popRolling.prototype.moveAt = function(oBtn){
	//var i = oBtn.id.substring(6);
	var i = oBtn.className.substring(6);
	this.mouseover = true;
	if(!this.time_timer_pause){
		this.counter = (i-1);
		this.move_right();
		this.pause();
	}
}

popRolling.prototype.move_right = function(){
	var oRoll = this;
	var nTemp = 0;
	for(var i=0, m=oRoll.pop_children.length; i<m; i++){

		nTemp = 0;
		for (var k=0; k<this.pop_children[i].childNodes.length; k++) {

			if (this.pop_children[i].childNodes[k].nodeType == 1) {
				nTemp++;
				if (nTemp == 1) {
					var child_1 = oRoll.pop_children[i].childNodes[k].childNodes[0];	//버튼이미지
					child_1.src = child_1.src.replace("-on.gif",".gif");

					if (i == oRoll.counter) {
						child_1.src = child_1.src.replace(".gif","-on.gif");
					}
				}
				else {
					var child_2 = oRoll.pop_children[i].childNodes[k];	//배너이미지

					var aaa = oRoll.pop_children[i].childNodes[k];

					child_2.style.display = "none";

					if (i == oRoll.counter) {
						child_2.style.display = "block";
					}
				}

			}
		}
	}

	oRoll.counter++;
	if (oRoll.counter >= oRoll.pop_children.length) {
		oRoll.counter = 0;
	}
}


popRolling.prototype.start = function(){ //롤링 시작
	var oRoll = this;
	this.stop();
	this.is_rolling = true;

	var act = function(){
		if(oRoll.is_rolling){
			oRoll.move_right();
		}
	}
	if (!this.time_timer) {
		act();	// 처음 로딩시 첫번째 버튼이 즉시 선택되도록
	}
	this.time_timer = setInterval(act,this.timeDealy);
}

popRolling.prototype.pause = function(){ //일시 멈춤
	this.is_rolling = false;
}
popRolling.prototype.resume = function(){ //일시 멈춤 해제
	//if(!this.mouseover){
		this.is_rolling = true;
	//}
}

popRolling.prototype.stop = function(){ //롤링을 끝냄
	this.is_rolling = false;
	if(!this.time_timer){
		clearInterval(this.time_timer);
	}
	this.time_timer = null;
}
 

function eduChande(el){

	if(el==1){
		document.getElementById('edu-step01-content').style.display="block";
		document.getElementById('edu-step02-content').style.display="none";
		document.getElementById('edu-step03-content').style.display="none";
	}else if(el == 2){
		document.getElementById('edu-step01-content').style.display="none";
		document.getElementById('edu-step02-content').style.display="block";
		document.getElementById('edu-step03-content').style.display="none";
	}else if(el == 3){
		document.getElementById('edu-step01-content').style.display="none";
		document.getElementById('edu-step02-content').style.display="none";
		document.getElementById('edu-step03-content').style.display="block";	
	}

}

function faqTogle(){
	var target =document.getElementById('faq-list');
	var allDD = target.getElementsByTagName('DD');
	var allDT = target.getElementsByTagName('DT');

	for( var i=0; i<allDD.length;i++){
	
			allDD[i].style.display="none"; 
		allDT[i].onclick=function(){
			var allDD = target.getElementsByTagName('DD');
			var allDT = target.getElementsByTagName('DT');
			for( var i=0; i<allDD.length;i++){
				allDD[i].style.display="none"; 

				if(this.id.substring(2, 4)==allDD[i].id.substring(2, 4)){
					allDD[i].style.display="block";
				}

			}
		}

	}

}
function faqTogle2(){
	var target =document.getElementById('faq-list2');
	var allDD = target.getElementsByTagName('DD');
	var allDT = target.getElementsByTagName('DT');

	for( var i=0; i<allDD.length;i++){
	
			allDD[i].style.display="none"; 
		allDT[i].onclick=function(){
			var allDD = target.getElementsByTagName('DD');
			var allDT = target.getElementsByTagName('DT');
			for( var i=0; i<allDD.length;i++){
				allDD[i].style.display="none"; 

				if(this.id.substring(2, 4)==allDD[i].id.substring(2, 4)){
					allDD[i].style.display="block";
				}

			}
		}

	}

}
