

//플래시출력함?
function getFlash(id,url,w,h,t,bg){
document.write("\
<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width="+w+" height="+h+" id="+id+">\
<param name='movie' value="+url+" />\
<param name='wmode' value="+t+" />\
<param name='bgcolor' value="+bg+" />\
<param name='allowScriptAccess' value='sameDomain' />\
<param name='quality' value='high' />\
<param name='menu' value='false' />\
<embed src="+url+" width="+w+" height="+h+" name="+id+" bgcolor="+bg+" swLiveConnect='true' allowScriptAccess='sameDomain' quality='high' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
</object>\
");
}

// 페이지 focus blur
function bluring(){
	if (event.srcElement!=null) {
		if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
	}
}
document.onfocusin=bluring;


//document.onmousedown=click;
/*
function click() {
 if((event.button==2) || (event.button==3)) {
  alert("마우?오른?버튼은 사용하실 ?없습니다");
  return false;
 }
}
function clickIE() {
	if (document.all) {
	return false;
	}
}
function clickNS(e) {
	if (document.layers||(document.getElementById&&!document.all)) {
		if (e.which==2||e.which==3) {
			return false;
		}
	}
}

if (document.layers) {
	document.captureEvents(Event.MOUSEDOWN);
	document.onmousedown=clickNS;
}else{
	document.onmouseup=clickNS;
	document.oncontextmenu=clickIE;
}
document.oncontextmenu=new Function("return false")
*/

//팝업 화면 중앙?띄우?
function Win_pop(newwin,w,h) {
var winl = (screen.width - w) / 2;
var wint = (screen.height - h) / 2;
winprops = 'width='+w+',height='+h+',top='+wint+',left='+winl+',resizable=no,scrollbars=no,toolbars=no,status=no,menu=no';
win = window.open(newwin, "new1", winprops)
if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
}

//Footer
function footer() {
document.write("<div class='footer'>");
document.write("<img src=\"Images/footer1.gif\" usemap='#footer' style='margin:50px 0px 94px 0px'>");
document.write("<map name=\"footer\">");
document.write("	<area shape=\"rect\" href=\"mailto:yudo@yudohot.com\" coords=\"488,54,591,61\" onFocus=\"this.blur()\">");
document.write("<area shape=\"rect\" href=\"/kor_yes/\" coords=\"622,54,684,67\" onFocus=\"this.blur()\">");
document.write("	</map>");
document.write("</div>");
} 	

//Family
function family() {
document.write("<div style='top:343px; left:890px; z-index:100; position:absolute'>");
document.write("</div>");
} 		

