 // IE 패치
function showflash(str, wid, hei) {
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ");
	document.write("width='"+wid+"' height='"+hei+"'");
//	document.write("codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' >")
	document.write("codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab'>");
	document.write("<param name='movie' value='"+str+"'>")
	if (navigator.appName=="Netscape")	{
		document.write("<param name='wmode' value='transparent'>")
	}	else	{
		document.write("<param name='wmode' value='window'>")
	}
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='quality' value='high'>")
	document.write("<embed src='"+str+"' allowScriptAccess='always' quality='high'");
	document.write("pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' ");
	document.write(" width='"+wid+"' height='"+hei+"' ");
	if (navigator.appName=="Netscape")	{
		document.write(" wmode='transparent'>");
	} else	{
		document.write(" wmode='window'>");
	}
	document.write("</embed>");
	document.write("</object>");
}

 // IE 패치
function showflash1(str, wid, hei) {
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ");
	document.write("width='"+wid+"' height='"+hei+"'");
//	document.write("codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' >")
	document.write("codebase='http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab'>");
	document.write("<param name='movie' value='"+str+"'>")
	document.write("<param name='wmode' value='transparent'>")
	document.write("<param name='allowScriptAccess' value='always' />");
	document.write("<param name='quality' value='high'>")
	document.write("<embed src='"+str+"' allowScriptAccess='always' quality='high'");
	document.write("pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' ");
	document.write(" width='"+wid+"' height='"+hei+"' ");
	document.write(" wmode='transparent'>");
	document.write("</embed>");
	document.write("</object>");
}

//라디오,체크버튼 border 없애기
function input_nb(obj){
    obj.style.zIndex="1";
    if(obj.type.toLowerCase()=="radio" || obj.type.toLowerCase()=="image"

|| obj.type.toLowerCase()=="checkbox"){

        obj.style.border="0";

    }
}


// PNG 투명도관련
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 ''; 
} 



/*공백 제거*/
String.prototype.sch_trim = function(){
	return this.replace(/(^\s*)|(\s*$)/g, "");
}


/* flash 에서 호출하는 페이지 이동 */
function MoveUrl(url)
{
	document.location.replace(url);
}



function div_hide()
{
	FullMenu_Hide();
}





function getFalshTags( src, wid, hei )
{
	var str;
	str = "<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' ";
	str += "width='" + wid + "' height='" + hei + "'";
	str += "codebase='http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0' >";
	str += "<param name='movie' value='"+src+"'>";
	str += "<param name='wmode' value='transparent'>";
	str += "<param name='allowScriptAccess' value='always' />";
	str += "<param name='quality' value='high'>";
	str += "<embed src='"+src+"' allowScriptAccess='always' quality='high'";
	str += "pluginspage='http://www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' ";
	str += " width='"+wid+"' height='"+hei+"' ";
	str += " wmode='transparent'>";
	str += "</embed>";
	str += "</object>";

	return str;
}



