	// 화면 확대 축소 시작 IE 전용
	 var nowZoom = 100; // 현재비율
	 var maxZoom = 200; // 최대비율(500으로하면 5배 커진다)
	 var minZoom = 80; // 최소비율
	
	
	
	 //화면 확대
	 function zoomIn() {
	  if (nowZoom < maxZoom) {
	   nowZoom += 10; //25%씩 커진다.
	  } else {
	   return;
	  }
	
	  document.body.style.zoom = nowZoom + "%";
	 }
	
	
	 //화면 축소
	 function zoomOut() {
	  if (nowZoom > minZoom) {
	   nowZoom -= 10; //25%씩 작아진다.
	  } else {
	   return;
	  }
	
	  document.body.style.zoom = nowZoom + "%";
	 }
	 
	 function cookieVal(cookieName) {
	    thisCookie = document.cookie.split("; ")
			for (i = 0; i < thisCookie.length; i++) {
			if (cookieName == thisCookie[i].split("=")[0]) {
					return thisCookie[i].split("=")[1];
			   }
			}
	    return 0;
	}


function jisik_menu(url,w,h,id,bg,win){

	// 플래시 코드 정의
	var flashStr=
	"<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0' width='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
	"<param name='movie' value='"+url+"' />"+
	"<param name='wmode' value='"+win+"' />"+
	"<param name='menu' value='false' />"+
	"<param name='quality' value='high' />"+
	"<param name='bgcolor' value='"+bg+"' />"+
	"<embed src='"+url+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
	"</object>";

	// 플래시 코드 출력
	document.write(flashStr);

}


/*-- 이미지 점선제거--*/
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
document.body.focus();
}
//document.onfocusin=bluring;



/*--플래쉬 점선제거--*/
function setEmbed()
{
	var obj = new String;
	var parameter = new String;
	var embed = new String;
	var html = new String;
	var allParameter = new String;
	var clsid = new String;
	var codebase = new String;
	var pluginspace = new String;
	var embedType = new String;
	var src = new String;
	var width = new String;
	var height = new String;

	// Main function
	this.init = function( getType , s ,w , h ) {
		switch (getType) {
			case "flash":
				clsid = "D27CDB6E-AE6D-11cf-96B8-444553540000";
				codebase = "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0";
				pluginspage = "http://www.macromedia.com/go/getflashplayer";
				embedType = "application/x-shockwave-flash";

				break;

			default:
		}

		parameter += "<param name='movie' value='"+ s + "'>\n";
		parameter += "<param name='quality' value='high'>\n";

		src = s;
		width = w;
		height = h;
	}

	// Get parameters
	this.parameter = function( parm , value ) {
		parameter += "<param name='"+parm +"' value='"+ value + "'>\n";
		allParameter += " "+parm + "='"+ value+"'";
	}

	// Show function
	this.show = function() {
		if ( clsid ) {
			obj = "<object classid=\"clsid:"+ clsid +"\" codebase=\""+ codebase +"\" width='"+ width +"' height='"+ height +"'>\n";
		}

		embed = "<embed src='" + src + "' pluginspage='"+ pluginspage + "' type='"+ embedType + "' width='"+ width + "' height='"+ height +"'"+ allParameter +" ></embed>\n";

		if ( obj ) {
			embed += "</object>\n";
		}

		html = obj + parameter + embed;

		document.write( html );
	}
}


