// ÇÃ·¡½Ã ½ºÅ©¸³Æ®
function printFlashObject(flash_src,name,width,height,option_param_tag){
	obj_html = "<object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0' width='"+width+"' height='"+height+"' id='"+name+"' align='middle'>\
	<param name='allowScriptAccess' value='always' />\
	<param name='movie' value='"+flash_src+"' />\
	<param name='quality' value='high' />\
	<param name='bgcolor' value='#ffffff' />\
	<param name='wmode' value='transparent'>\
	<param name='menu' value='false'>";
	obj_html = obj_html + option_param_tag;
	obj_html = obj_html + "<embed src='"+flash_src+"' quality='high' bgcolor='#ffffff' width='"+width+"' height='"+height+"' name='"+name+"' align='middle' allowscriptaccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />\
	</object>";
	document.write(obj_html);
}

// ¹Ìµð¾îÇÃ·¹ÀÌ¾î ½ºÅ©¸³Æ®
function printPlayerObject(file_src,name,width,height,file_start,option_param_tag){
	obj_html = "<object CLASSID=CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6 width='"+width+"' height='"+height+"' id='"+name+"' />\
	<param name='URL' value='"+file_src+"' />\
	<param name='AutoStart' value='"+file_start+"'>";
	obj_html = obj_html + option_param_tag;
	obj_html = obj_html + "</object>";
	document.write(obj_html);
}

//Æ÷Ä¿½º Blur ÇÔ¼ö
function bluring(){ 
	if(event.srcElement.tagName == "A" || event.srcElement.tagName == "IMG")
	document.body.focus(); 
} 
document.onfocusin=bluring;

// 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 '';  
}

// ÇÃ·ÎÆÃ ½ºÅ©¸³Æ®
function Floating(FloatingObj,MarginY,Percentage,setTime) {
	this.FloatingObj = FloatingObj;
	this.FloatingObj.style.position = "absolute";
	this.MarginY = (MarginY) ? MarginY : 0;
	this.Percentage = (Percentage) ? Percentage : 20;
	this.setTime = (setTime) ? setTime : 10;
	this.Run();
}
Floating.prototype.Run = function () {
	var This = this;
	var FloatingObjTop = (this.FloatingObj.style.top) ? parseInt(this.FloatingObj.style.top,10) : this.FloatingObj.offsetTop;
	var DocTop = document.body.scrollTop + this.MarginY;
	var MoveY = Math.abs(FloatingObjTop - DocTop);
	MoveY = Math.ceil(MoveY / this.Percentage);

	if (FloatingObjTop < DocTop) {
		this.FloatingObj.style.top = FloatingObjTop + MoveY + "px";
	} else {
		this.FloatingObj.style.top = FloatingObjTop - MoveY + "px";
	}
	setTimeout(function () { This.Run(); },This.setTime);
}

// Ã¤¿ë °øÁö ·¹ÀÌ¾î
function noticeOpen(){
	document.getElementById('recruit_notice').style.display='block';
}