

//¸µÅ© ÁÖº¯ Á¡¼± ¾ø¾Ö±â
var myAnchors=document.all.tags("A");
function allblur() {
	for (i=0;i<myAnchors.length;i++) {
		myAnchors[i].onfocus=new Function("blur()");
	}
}

allblur();

function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;





//ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â
function Win_pop(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=no,toolbars=no,status=yes,menu=no';
win = window.open(newwin, "new1", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}


//ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â
function OpenCenter(parm, width, height)
{
 var sw  = screen.availWidth ;
 var sh  = screen.availHeight ;

 px=(sw - width)/2 ;
 py=(sh - height)/2 ;

 var set  = 'top=' + py + ',left=' + px ;
 set += ',width=' + width + ',height=' + height + ',toolbar=0,resizable=0,status=0,scrollbars=0' ;

    window.open (parm , '' , set) ;
}


//ÆË¾÷ È­¸é Áß¾Ó¿¡ ¶ç¿ì±â
function OpenCenter2(parm, width, height)
{
 var sw  = screen.availWidth ;
 var sh  = screen.availHeight ;

 px=(sw - width)/2 ;
 py=(sh - height)/2 ;

 var set  = 'top=' + py + ',left=' + px ;
 set += ',width=' + width + ',height=' + height + ',toolbar=0,resizable=0,status=0,scrollbars=1' ;

    window.open (parm , '' , set) ;
}



//ÆË¾÷ »çÀÌÁî ÀÚµ¿ Á¶Àý 
	function resize_pop(){
		c_width = document.getElementById('resize_div').clientWidth;
		c_height = document.getElementById('resize_div').clientHeight;
		resizeTo(c_width+9,c_height+59);
	}







/* ¾ÆÀÌÇÁ·¹ÀÓ_ÀÚµ¿¸®»çÀÌÂ¡*/
function Resize_Frame(name){
    var Frame_Body  = document.frames(name).document.body;
    var Frame_name  = document.all(name);

    Frame_name.style.width = Frame_Body.scrollWidth + (Frame_Body.offsetWidth-Frame_Body.clientWidth);
    Frame_name.style.height = Frame_Body.scrollHeight + (Frame_Body.offsetHeight-Frame_Body.clientHeight);

    if (Frame_name.style.height == "0px" || Frame_name.style.width == "0px"){
        Frame_name.style.width = "100%";       //±âº» iframe ³Êºñ
        Frame_name.style.height = "300px";      //±âº» iframe ³ôÀÌ
        //window.status = 'iframe resizing fail.';
    }
    else{
        window.status = '';
    }
}





//object ÆÄÀÏ ÆÐÄ¡ ´ëºñ 
	var paramInfo = new Array;
	
	function initParam()
	{
	  var oldSize = paramInfo.length;
	
		for (var i=0; i<oldSize; i++) {
			paramInfo.length--;
		}	
	}
	
	function setParam(paramName, paramValue)
	{
		var idx = paramInfo.length;
	
		paramInfo[idx] = [];
		paramInfo[idx][0] = paramName;  
		paramInfo[idx][1]= paramValue;
	}
	

	function playMedia(objID, objSource, objWidth, objHeight, objStyle)
	{
		document.write('<OBJECT id="' + objID + '" name="' + objID + '" classid="clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95" ');
		document.write('WIDTH="' + objWidth + '" HEIGHT="' + objHeight + '" ' + objStyle + '>');
	
		for (var i=0; i<paramInfo.length; i++) {
			document.write('<PARAM NAME="' + paramInfo[i][0] + '" VALUE="'+ paramInfo[i][1] +'">');		
		}	
		
		document.write('</OBJECT>');
	}
	
	
//media player
	var nVolLeftPosition = 0;							// º¼·ý ¹Ù ¹è°æ ½ÃÀÛÁ¡
	var nVolStartPosition = 0;							// º¼·ý ¹Ù ½ÃÀÛ Á¡
	var nVolEndPosition = 40;							// º¼·ý ¹Ù ³¡ Á¡
	var nVolume = 30;									// º¼·ý ÃÊ±â °ª
	var nPrevVol;										// º¼·ýÀÌ º¯°æµÇ±â ÀüÀÇ °ª
	var bIsVolumeSet		= false;						// º¼·ý¹Ù µå·¡±× ¿©ºÎ
	var nZoomed			= 0;							// ±âº»°ª 1 : ÁÜµÊ,   0 : Ãà¼ÒµÊ

	function killErr(){return true;}

	function setVolumeBar(){
		nPrevVol = event.clientX;
		nVolLeftPosition = sound.style.pixelLeft;

		bIsVolumeSet = true;
		document.onmousemove=drag_dropie;
		if (document.all){document.onmouseup=endVolume;}
	}

	function drag_dropie(){
		if (bIsVolumeSet==true){
			var mov = nVolLeftPosition+event.clientX-nPrevVol;
			if ((mov >= nVolStartPosition)  && (mov < nVolEndPosition)){
				cutpoint=nVolEndPosition-sound.style.pixelLeft;
				document.all.soundbg.style.pixelWidth=39-cutpoint;
				//document.all.sbg.width = 58-cutpoint;
				sound.style.pixelLeft=nVolLeftPosition+event.clientX-nPrevVol;
				mplayer.Volume = -2500*(cutpoint/37);
				nVolume=sound.style.pixelLeft
				nVolume1=document.all.sbg.width;
				mplayer.Mute=false;
			}
			return false;
		}
	}
	

	function endVolume(){
		bIsVolumeSet=false;
	}

	function ris(name, nsdoc)
	{
		var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
		if (name == '') return;
		if (img && img.altsrc) {
			img.src    = img.altsrc;
			img.altsrc = null;
		}
	}

	function cis(name, nsdoc, rpath, preload)
	{ 
		var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
		if (name == '')	return;
		if (img) {
			img.altsrc = img.src;
			img.src    = rpath;
		}
	}		
   
   function mutecheck(){
     if(document.all.mplayer.mute==0) document.all.mplayer.mute=1;
     else document.all.mplayer.mute=0;
   }

	
	
	function mediOff() { //À½¼Ò°ÅÇÑ °ÍÀ» º»·¡´ë·Î ÇÏ´Â ¹öÆ°ÀÔ´Ï´Ù. 
		if(document.mplayer.Mute==true){
			document.mplayer.Mute = false;		
			document.getElementById('type1').src = "/images/topia/btn_soundOff.gif";	
			
		}else{
			document.mplayer.Mute = true;
			document.getElementById('type1').src = "/images/topia/btn_soundOn.gif";

		}
	} 



	 function mplay(){
	    document.getElementById('mplay').style.display='block';
	    mplayer.play();
	  }
	  function mpause(){
	    mplayer.pause();
	  }
	  function mstop(){
	    mplayer.stop();
	  }

	  
	  function playFlash(objID, objSource, objWidth, objHeight, objStyle, cabVersion, embedAttr)
	{
		document.write('<OBJECT id="' + objID + '" name="' + objID + '" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ');
	  
		if (cabVersion != '') {
			document.write('codebase="' + self.window.document.protocol + '"://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=' + cabVersion + '" ');
		}
		document.write('WIDTH="' + objWidth + '" HEIGHT="' + objHeight + '" ' + objStyle + '>');
		for (var i=0; i<paramInfo.length; i++) {
			document.write('<PARAM NAME="' + paramInfo[i][0] + '" VALUE="'+ paramInfo[i][1] +'">');		
		}
		
		document.write('<embed src="' + objSource + '" width="' + objWidth + '" height="' + objHeight + '" ' + embedAttr + '>');
		document.write('</OBJECT>');
	
	}



//¶ó¿îµå ¸ð¼­¸®
	function roundTable(objID) {
	var obj = document.getElementById(objID);
	var Parent, objTmp, Table, TBody, TR, TD;
	var bdcolor, bgcolor, Space;
	var trIDX, tdIDX, MAX;
	var styleWidth, styleHeight;
	
	// get parent node
	Parent = obj.parentNode;
	objTmp = document.createElement('SPAN');
	Parent.insertBefore(objTmp, obj);
	Parent.removeChild(obj);
	
	// get attribute
	bdcolor = obj.getAttribute('rborder');
	bgcolor = obj.getAttribute('rbgcolor');
	radius = parseInt(obj.getAttribute('radius'));
	if (radius == null || radius < 1) radius = 1;
	else if (radius > 6) radius = 6;
	
	MAX = radius * 2 + 1;
	
	/*
	create table {{
	*/
	Table = document.createElement('TABLE');
	TBody = document.createElement('TBODY');
	
	Table.cellSpacing = 0;
	Table.cellPadding = 0;
	
	for (trIDX=0; trIDX < MAX; trIDX++) {
	TR = document.createElement('TR');
	Space = Math.abs(trIDX - parseInt(radius));
	for (tdIDX=0; tdIDX < MAX; tdIDX++) {
	TD = document.createElement('TD');
	
	styleWidth = '1px'; styleHeight = '1px';
	if (tdIDX == 0 || tdIDX == MAX - 1) styleHeight = null;
	else if (trIDX == 0 || trIDX == MAX - 1) styleWidth = null;
	else if (radius > 2) {
	if (Math.abs(tdIDX - radius) == 1) styleWidth = '2px';
	if (Math.abs(trIDX - radius) == 1) styleHeight = '2px';
	}
	
	if (styleWidth != null) TD.style.width = styleWidth;
	if (styleHeight != null) TD.style.height = styleHeight;
	
	if (Space == tdIDX || Space == MAX - tdIDX - 1) TD.style.backgroundColor = bdcolor;
	else if (tdIDX > Space && Space < MAX - tdIDX - 1) TD.style.backgroundColor = bgcolor;
	
	if (Space == 0 && tdIDX == radius) TD.appendChild(obj);
	TR.appendChild(TD);
	}
	TBody.appendChild(TR);
	}
	
	/*
	}}
	*/
	
	Table.appendChild(TBody);
	
	// insert table and remove original table
	Parent.insertBefore(Table, objTmp);
	}

	
	
	
//¼±ÅÃ¿µ¿ª ÇÁ¸°Æ®
var initBody 
						 
function beforePrint(){ 
 initBody = document.body.innerHTML; 
 document.body.innerHTML = idPrint.innerHTML; 
} 
function afterPrint(){ 
 document.body.innerHTML = initBody; 
} 
function printArea() { 
 window.print(); 
} 
window.onbeforeprint = beforePrint; 
window.onafterprint = afterPrint; 



//***************************************************************************//
// Popup Window - URL, window name, width, height
//***************************************************************************//
function NewWindowOpen (str,str2,str3,str4) {
	var tmpUrl  = str;
	str3 = parseInt(str3) + 20;
	str4 = parseInt(str4) + 20;
	var tmp		= "width="+ str3 +", height="+ str4 +",scrollbars=yes";
	window.open(tmpUrl,str2,tmp);
}


//***************************************************************************//
// Numeric Check - form object
//***************************************************************************//
function DigitChk(str,str1) {

	var CurrObj = eval(str +"."+ str1);
	var chkstr = CurrObj.value;

	if(!NumberCheck(chkstr))
		CurrObj.value = "";
}

//***************************************************************************//
// Numeric Check - Checking ÇÒ º¯¼ö
//***************************************************************************//
function NumberCheck(str) {

	var residentValue = "0123456789";
	var string = str;

	var len = string.length;

	for(i=0; i < len; i++) {
		if(residentValue.indexOf(string.substring(i, i+1)) < 0) {
			alert("Çã¿ëµÈ ¹®ÀÚ°¡ ¾Æ´Õ´Ï´Ù. ¼ýÀÚ·Î ´Ù½Ã ÀÔ·ÂÇØÁÖ¼¼¿ä.");
			return false;
		}
	}
	return true;

}

//***************************************************************************//
// Special Check - Checking ÇÒ º¯¼ö
//***************************************************************************//
function SpecialCheck(str) {

	var special = '%`~!@#$%^&*()-_=+|\\{}[];:"\'%<>,.?\/';
	var i;
	var t = str.length;

	for (i=0; i < t; i++) {
		if(special.indexOf(str.substring(i,i+1))>=0) {
			alert("Æ¯¼ö ¹®ÀÚ´Â »ç¿ëÇÏ½Ç ¼ö ¾ø½À´Ï´Ù. ¿µ¹®ÀÚ³ª ¼ýÀÚ·Î ´Ù½Ã ÀÔ·ÂÇØÁÖ¼¼¿ä.");
			return false;
		}
	}
    return true;
}

//***************************************************************************//
// Space Erase - Trim ÇÒ º¯¼ö
//***************************************************************************//
function TrimAll(str) {
	tmpstr = ""
	var chkstr = str;
	if (chkstr == "" ){
		return chkstr;
	}
	for (var i = 0; i < chkstr.length; i++){
		if (chkstr.charAt(i) == " "){
			tmpstr = tmpstr + ""
		}else{
			tmpstr = tmpstr + chkstr.charAt(i)
		}
	}
	return tmpstr;
}






var EmbedStr = "";
function GetFlash(objid,url,x,y) { 
	EmbedStr = "<object id='objid' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0' width='" + x + "' height='" + y + "'>";
	EmbedStr += "<param name='allowScriptAccess' value='sameDomain' />";
	EmbedStr += "<param name='movie' value='" + url + "' />";
	EmbedStr += "<param name='quality' value='high' />";
	EmbedStr += "<param name='bgcolor' value='#ffffff' />";
	EmbedStr += "<param name='wmode' value='transparent' />";
	EmbedStr += "<embed src='" + url + "' quality='high' wmode='transparent' bgcolor='#ffffff' width='" + x + "' height='" + y + "' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	EmbedStr += "</object>";
	
	document.write(EmbedStr);
	return;
}


var EmbedStr1 = "";
function GetFlash1(objid,url,x,y) { 
	EmbedStr1 = "<object id='objid' classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='" + x + "' height='" + y + "'>";
	EmbedStr1 += "<param name='allowScriptAccess' value='sameDomain' />";
	EmbedStr1 += "<param name='movie' value='" + url + "' />";
	EmbedStr1 += "<param name='quality' value='high' />";
	EmbedStr1 += "<param name='bgcolor' value='#ffffff' />";
	EmbedStr1 += "<param name='wmode' value='transparent' />";
	EmbedStr1 += "<param name='base' value='.' />";
	EmbedStr1 += "<embed src='" + url + "' quality='high' base='.' wmode='transparent' bgcolor='#ffffff' width='" + x + "' height='" + y + "' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />";
	EmbedStr1 += "</object>";
	
	document.write(EmbedStr1);
	return;
}




// ÅÇ¹öÆ° °ü·Ã ½ºÅ©¸³Æ®1

function initTabMenu(menuContainerID, menuTabName) {
	var tabMenu = document.getElementsByName(menuTabName);
	var i = 0;

	for(i=0; i<tabMenu.length; i++) {
		thismenu = tabMenu.item(i);
		thismenu.menuContainer = document.getElementById(menuContainerID);
		thismenu.targetEl = document.getElementById(tabMenu.item(i).href.split("#")[1]);
		thismenu.targetEl.style.display = "none";
		if (thismenu.getElementsByTagName("img").item(0)) {
			thismenu.getElementsByTagName("img").item(0).onmouseover = mOver;
			thismenu.getElementsByTagName("img").item(0).onmouseout = mOut;
		}
		thismenu.onclick = tabMenuClick;
	}

	initmenu = tabMenu.item(0);
	initmenu.targetEl.style.display = "block";
	if (initmenu.getElementsByTagName("img").item(0)) {
		initmenu.getElementsByTagName("img").item(0).onmouseover();
		initmenu.getElementsByTagName("img").item(0).onmouseover = null;
		initmenu.getElementsByTagName("img").item(0).onmouseout = null;
	}
	initmenu.menuContainer.current = initmenu;
}

function tabMenuClick() {
	currentmenu = this.menuContainer.current;
	if (currentmenu != this) {
		currentmenu.targetEl.style.display = "none";
		if (currentmenu.getElementsByTagName("img").item(0)) {
			currentmenu.getElementsByTagName("img").item(0).onmouseover = mOver;
			currentmenu.getElementsByTagName("img").item(0).onmouseout = mOut;
			currentmenu.getElementsByTagName("img").item(0).onmouseout();
		}
	
		this.targetEl.style.display = "block";
		if (this.getElementsByTagName("img").item(0)) {
			this.getElementsByTagName("img").item(0).onmouseover = null;
			this.getElementsByTagName("img").item(0).onmouseout = null;
		}
		this.menuContainer.current = this;
	}
	return false;
}

// CONTENT TAB MENU
function mOver()
{
	this.src = this.src.replace(".gif", "_on.gif");
}
function mOut()
{
	this.src = this.src.replace("_on.gif", ".gif");
}

// ÅÇ¹öÆ° °ü·Ã ½ºÅ©¸³Æ®2
function initTabMenu2(tabContainerID) {
	var tabContainer = document.getElementById(tabContainerID);
	var tabAnchor = tabContainer.getElementsByTagName("a");
	var i = 0;

	for(i=0; i<tabAnchor.length; i++) {
		if (tabAnchor.item(i).className == "tab")
			thismenu = tabAnchor.item(i);
		else
			continue;

		thismenu.container = tabContainer;
		thismenu.targetEl = document.getElementById(tabAnchor.item(i).href.split("#")[1]);
		thismenu.targetEl.style.display = "none";
		thismenu.imgEl = thismenu.getElementsByTagName("img").item(0);
		thismenu.onmouseover = function tabMenuClick() {
			currentmenu = this.container.current;
			if (currentmenu == this)
				return;

			if (currentmenu) {
				currentmenu.targetEl.style.display = "none";
				if (currentmenu.imgEl) {
					currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.gif", ".gif");
				} else {
					currentmenu.className = currentmenu.className.replace(" on", "");
				}
			}

			this.targetEl.style.display = "block";
			if (this.imgEl) {
				this.imgEl.src = this.imgEl.src.replace(".gif", "_on.gif");
			} else {
				this.className += " on";
			}
			this.container.current = this;

			return false;
		};

		if (!thismenu.container.first)
			thismenu.container.first = thismenu;
	}
	if (tabContainer.first)
		tabContainer.first.onmouseover();
}






//xml_ÆË¾÷ ½ºÅ©¸³Æ®
function openWin(url, winname, width, height, scrollbars, resizable) {
 msgWindow = window.open(url, winname, 'scrollbars='+scrollbars+', resizable='+resizable+', width='+width+' ,height='+height+' ,left=0, top=0');
 msgWindow.focus();
}


//image change
function imageChg(obj) {
	if(obj.src.indexOf("off.gif") != -1) obj.src = obj.src.replace("off.gif", "on.gif");
	else if(obj.src.indexOf("on.gif") != -1) obj.src = obj.src.replace("on.gif", "off.gif");
}
// Content Display
function contView(obj) {
	var target = document.getElementById(obj);
	target.style.display = (target.style.display=='none' ? 'block':'none');
}

function tabMenu(obj){
	var isUl = document.getElementById(obj),
		isItem = isUl.getElementsByTagName('li'),
		len = isItem.length;
	this.target = function(obj){
		return obj.href.split('#')[1];
	}
	this.switchFunc = function(targetId){
		var el = document.getElementById(targetId);
		el.style.display = (el.style.display == "none") ? "block" : "none" ;
	}
	for(var i=0; i<len; i++){
		isItem[i].childNodes[0].onclick = function(){
			if(this.parentNode.className=="on"){
				return false;
			}else{
				for(var t = 0; t <len; t++){
					if(this !== isItem[t].childNodes[0]){
						if(isItem[t].className.indexOf("on") != -1){
							isItem[t].className = isItem[t].className.replace("on","");
							switchFunc(target(isItem[t].childNodes[0]));
						}
					}
				}
				if(this.parentNode.className.indexOf("on") != -1){
					switchFunc(target(this));
					this.parentNode.className = this.parentNode.className.replace("on","on");
				}
				else{
					switchFunc(target(this));
					this.parentNode.className = (this.parentNode.className) ? this.parentNode.className + "on" : "on";
				}
				return false;
			}
		}
	}
}


//lnb ¸Þ¹Â on off Ã³¸®  : Á¤ÈñÁ¤
function leftMenuOn(menuName) {
 

	//ÇØ´ç ¸Þ´ºÀÌ¸§ÀÌ Á¸ÀçÇÒ°æ¿ì¿¡¸¸
	if (document.getElementById(menuName)) {
		var menuObj = document.getElementById(menuName);
		var menuTagName = menuObj.tagName.toLowerCase();

		if (menuTagName == "a") {
			//alert(menuObj.parentNode.tagName.toLowerCase());
			var parentObj = menuObj.parentNode;
			//alert(parentObj.className);
			parentObj.className = "on"; 
		  
		}
	}
	

	// 2depth¸Þ´º ¿Â : ÇØ´ç ¸Þ´ºÀÌ¸§ÀÌ Á¸ÀçÇÒ°æ¿ì¿¡¸¸
	 depthmenu = menuName.substring(0,5) + "00" ;

	if (document.getElementById(depthmenu)) {
		var menuObj1 = document.getElementById(depthmenu);
		var menuTagName = menuObj1.tagName.toLowerCase(); 

		if (menuTagName == "a") {
			//alert(menuObj.parentNode.tagName.toLowerCase());
			var parentObj = menuObj1.parentNode;
			//alert(parentObj.className);
			parentObj.className = "on"; 
		}else{
			menuObj1.className = "on"; 
		}
	}
 
	//GNB ¸Þ´º ¿Â : ÇØ´ç ¸Þ´ºÀÌ¸§ÀÌ Á¸ÀçÇÒ°æ¿ì¿¡¸¸
	var gnbMenu = "menu" + menuName.substring(3,4) ;
	 
	if (document.getElementById(gnbMenu)) {
		var gnbmenuObj = document.getElementById(gnbMenu);
		var gnbmenuTagName = gnbmenuObj.tagName.toLowerCase();
 
		if (gnbmenuTagName == "li") {
 
			gnbmenuObj.className = "menu04 on"; 
		  
		}
	}
  
}


/* °í°´¼¾ÅÍ °Ô½Ã±Û µî·Ï½Ã  ÅÇ º¯°æ 20100806 */
 function fnViewNE(v){   
  
   var news  = document.getElementById("dd_news");
   var eve  = document.getElementById("dd_eve");

         if(v == "1"){                        
                  news.style.display = "";
                  eve.style.display = "none";
           //   document.all.news.style.display="";             
          //    document.all.event.style.display="none";     
                 document.all.barImg.src="http://www.topia.co.kr/popup/20100806/20100730_middle_ac.jpg";          

        }else {
                    news.style.display = "none";
                    eve.style.display = "";
                // document.all.news.style.display="none";
               // document.all.event.style.display="";
                   document.all.barImg.src="http://www.topia.co.kr/popup/20100806/20100730_middle_ac02.jpg";
         }
 }  


// Table TR Hover
	function changeTr(el, bgco){
		var obj = el.parentNode.getElementsByTagName("tr");
		for (i=0; i<obj.length; i++) {
			obj[i].style.backgroundColor = "#fff";
		}
		el.style.backgroundColor = bgco;
	}



