
function BVplayflash(file,width,height,bgcolor,quality,name,wmode){/// ÀÏ¹Ý ÇÃ·¡½Ã »ðÀÔ

	
 fval='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+width+'" height="'+height+'" id="'+name+'">'+
	'<param name="movie" value="'+file+'" />'+
	'<param name="quality" value="'+quality+'" />'+
	'<param name="wmode" value="'+wmode+'" />'+
	'<param name="bgcolor" value="'+bgcolor+'" />'+
	'<embed src="'+file+'" quality="'+quality+'" wmode="'+wmode+'" bgcolor="'+bgcolor+'" width="'+width+'" height="'+height+'" name="'+name+'" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'+
	'</object>';
	
	//document.write(fval);
	document.getElementById(name).innerHTML=fval;
}

function setPng24(obj) { //// IE 6.0¿ë png ÀÌ¹ÌÁö »ç¿ë
  obj.width=obj.height=1; 
  obj.className=obj.className.replace(/\bpng24\b/i,''); 
  obj.style.filter = 
  "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+ obj.src +"',sizingMethod='image');" 
  obj.src='';  
  return ''; 
}

function namosw_goto_byselect(sel, targetstr)
{
  var index = sel.selectedIndex;
  if (sel.options[index].value != '') {
     if (targetstr == 'blank') {
       window.open(sel.options[index].value, 'win1');
     } else {
       var frameobj;
       if ((frameobj = eval(targetstr)) != null)
       frameobj.location = sel.options[index].value;
     }
  }
}

function Trm(Object,message,kind){
	Tstring = "";
	Tempo = (kind == 2) ? Object : Object.value;

	for(var i = 0;i < Tempo.length;i++){
		Temp = Tempo.substring(i,i+1);
		if(Temp != ' ') Tstring += Temp;
	}

	if(kind == 0 || kind == 2) return Tstring;

	if(Tstring == ""){
		alert(message);
		Object.focus();
		return false;
	}
	else return true;
}
