//Mozilla°¡ ¾Æ´Ñ ºê¶ó¿ìÁ®¿¡¼­ innerText¸¦ ÀÌ¿ëÇÏ°Ô ÇÏ´Â ÇÔ¼ö.
var isMozilla = !(document.all);
appname = navigator.appName;

//¿ÀÆä¶óÀÇ °æ¿ì IE¿Í °ÅÀÇ Èí»çÇÏ°Ô ½ºÅ©¸³Æ®¸¦ Áö¿øÇÏ³ª ¿ÀÈ÷·Á ÀÌ ¼Ò½º°¡ »ç¿ëµÉ °æ¿ì ³»¿ëÀ» 2¹ø¾¿ Áßº¹ ÀÐ¾î¼­ Ãâ·ÂÇÏ´Â µî ¹®Á¦°¡ ¹ß»ýÇØ µû·Î Ã³¸®
//20080918 ³ª·Î°õ
if (appname=="Opera"){}
else
{
	if(isMozilla)
	{
	 HTMLElement.prototype.__defineGetter__("innerText", function () {
	  var r = this.ownerDocument.createRange();
	  r.selectNodeContents(this);
	  return r.toString();
	 });
	 HTMLElement.prototype.__defineSetter__("innerText", function (sText) {
	  this.innerHTML = sText.replace("/&/g", "&").replace("/g", ">");
	 });
	}
}


// ´ÙÀÌ³ª¹Í ¸ðµâ¿¡¼­ÀÇ popup ¸ðµâÀ» À§ÇÑ ÇÔ¼ö
function MM_openBrWindowPrint(theURL,winName,sfeatures) { //v2.0

sAgent = navigator.userAgent;
t1 = sAgent.indexOf("Mac") > -1;
t10 = sAgent.indexOf("MSIE") > -1;
t11 = sAgent.indexOf("IE 3") > -1;
t101 = sAgent.indexOf("IE 4") > -1;
t110 = sAgent.indexOf("IE 5")  > -1;
t111 = sAgent.indexOf("Mozilla") > -1 && !t10;
nick = t101;
//alert (sAgent) ;
	if(nick){
		theURL=theURL+'&bv=ie4';
		window.open(theURL,winName,sfeatures);
	}		
	else{
		window.open(theURL,winName,sfeatures);
	}	
}
