function setPng24(obj) {
 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 '';
}

// lo: source url
// w: source width
// h: source height
// t: wmode ("" none, transparent, opaque ...)
// flashID: source ID
// flashvar: get variable
function view_flash(lo,w,h,t, flashID, flashvar,bg_color){
	if(bg_color){
		var bg_c=bg_color;
	}else{
		var bg_c="#FFFFFF";
	}
	var vn_screenx = screen.availWidth; // È­¸é½ºÅ©¸° ³ÐÀÌ
	var vn_screeny = screen.availHeight; // È­¸é½ºÅ©¸° ³ôÀÌ
//	alert('È­¸é³ÐÀÌ:' +vn_screenx+', È­¸é³ôÀÌ : '+vn_screeny);

document.write ('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'+w+'" height="'+h+'" id="'+flashID+'">');
document.write ('<param name="movie" value="'+lo+'">');
document.write ('<param name="quality" value="high">');
document.write ('<param name="wmode" value="'+t+'">');
document.write ('<param name="allowScriptAccess" value="always">');
document.write ('<param name="FlashVars" value="'+flashvar+'&screenW='+vn_screenx+'&screenH='+vn_screeny+'">');
document.write ('<param name="allowFullScreen" value="true"/>');
document.write ('<param name="bgColor" value="'+bg_c+'"/>');
document.write ('<embed src="'+lo+'" FlashVars="'+flashvar+'&screenW='+vn_screenx+'&screenH='+vn_screeny+'" quality="high" allowFullScreen="true" allowScriptAccess="always" bgColor= "'+bg_c+'" wmode="'+t+'" width="'+w+'" height="'+h+'" name="'+flashID+'" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" ></embed>');
document.write ('</object>');
}

function set_focus(target){
			target.focus();
//			alert(target);
			flash_resizing();
		}
		function flash_resizing(){
			s_height();
		}
		function s_height(){
			var hei=document.body.clientHeight;
			var wid=document.body.clientWidth;
			var minHei=780;
			var minWid=1000;
			if(hei<minHei){
				flash_div.style.height=minHei;
			}else{
				flash_div.style.height=hei;
			}
			if(wid<minWid){
				
				flash_div.style.width=minWid;
			}else{
				flash_div.style.width=wid;
			}
		}

function thisMovie(movieName) {
    if (navigator.appName.indexOf("Microsoft") != -1) {
        return window[movieName]
    }
    else {
        return document[movieName]
    }
}

 
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
