/* ±ÛÀÚÅ©±â */
var font=12;
var layers = 1;

function fontplus(){
	font += 2;

	if(font>20){
		font = 20;
	}

	if(document.all.bodytext){
		document.all.bodytext.style.fontSize=font;
	}				
}

function fontminus(){
	font -= 2;

	if(font<12){
		font = 12;
	}
	
	if(document.all.bodytext){
		document.all.bodytext.style.fontSize=font;
	}	
}

/* ÁØºñ */
function ready() {
	alert("ÁØºñ Áß ÀÔ´Ï´Ù.");
}
function member_only() {
	alert("·Î±×ÀÎ ÈÄ ÀÌ¿ëÇÏ¼¼¿ä.");
}
function member_ing() {
	alert("·Î±×ÀÎ ÁßÀÔ´Ï´Ù. ·Î±×¾Æ¿ôÇÑ ÈÄ ÀÌ¿ëÇÏ¼¼¿ä.");
}
function openWindow(doc, name, property)
   { 
      winObject = window.open(doc, name, property);
   }

var furl="http://www.2min.com/"
var ftitle="¢Ã Å¬·´ÀÌ¹Î(ÁÖ) ¢Ã"

function add_favorites()
{
if (document.all)
	window.external.AddFavorite(furl,ftitle)
else
	window.alert('ÀÍ½ºÇÃ·Î¾î¿¡¼­¸¸ °¡´ÉÇÕ´Ï´Ù.');
}

//ÇÃ·¡½Ã 
function swf(src, w, h)
{
	html = '';
	html += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="param" width="'+w+'" height="'+h+'">';
	html += '<param name="movie" value="'+src+'">';
	html += '<param name="quality" value="high">';	
	html += '<param name="wmode" value="transparent">';
	html += '<param name="menu" value="0">';
	html += '<embed src="'+src+'" menu="false" quality="high" wmode="transparent" type="application/x-shockwave-flash" width="'+w+'"  height="'+h+'"><\/embed>';
	html += '<\/object>';
	document.write(html);
}