function swf(add, widthx, heighty){
	var add;
	var widthx;
	var heighty;

	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+widthx+'" height="'+heighty+'"> <param name=allowScriptAccess value=sameDomain> <param name=movie value="'+add+'"> <param name=quality value=high> <param name=menu value=false> <param name=bgcolor value=#ffffff> <param name=wmode value=transparent> <embed src="/imgaes/'+add+'" quality=high menu=false allowScriptAccess=sameDomain pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+widthx+'" height="'+heighty+'"></embed></object>')
}

function swf1(add, widthx, heighty){
	var add;
	var widthx;
	var heighty;

	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+widthx+'" height="'+heighty+'"> <param name=allowScriptAccess value=sameDomain> <param name=movie value="'+add+'"> <param name=quality value=high> <param name=menu value=false> <param name=bgcolor value=#8282ff> <embed src="/imgaes/'+add+'" quality=high menu=false allowScriptAccess=sameDomain pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+widthx+'" height="'+heighty+'"></embed></object>')
}

// ±â»ç ÆùÆ®»çÀÌÁî Á¶Àý +
function inc_font(){
	article_font+=1;
	if(article_font>16) article_font=16;
	article_content.style.fontSize=article_font+"pt";
	return true;
}

// ±â»ç ÆùÆ®»çÀÌÁî Á¶Àý -
function dec_font(){
	article_font-=1;
	if(article_font<8) article_font=8;
	article_content.style.fontSize=article_font+"pt";
	return true;
}

//ÇÁ¸°Æ® popup
function print_article(id){
	window.open("/news/seoul_print.php?id="+id,'q','menubar=0,resizable=0,scrollbars=yes,width=550,height=700,left='+(screen.width - 900)+', top=10');
}

//¸ÞÀÏ º¸³»±â popup
function send_mail(id){
	window.open("/news/send_mail.php?id="+id,'q','menubar=0,resizable=0,scrollbars=no,width=400,height=500,left='+(screen.width -800)+', top=10');
}

//Æ÷Ä¿½º ¾ø¾Ö±â
function bluring(){
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;

//»óÅÂ¹ÙÇ¥½Ã
function hidestatus(){
	window.status='EnerTec';
	return true
}


function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}