document.write("	<div id=\"cfooter\">");
										drawFooter();
document.write("	<\/div>");

document.write("	<div id=\"quickmnu\" style=\"top:122px;\"><div id=\"qfla\"><\/div><\/div>");




var qparam = "about";
if (magnaMenu && magnaMenu.list) {
	qparam = magnaMenu.list[cIndex].gName;
}
if (mgid != 'c0000000000a') drawFlash("qfla",imgRoot+"/image/flash/quickmenu.swf?param="+qparam+"&",66,239,{ });

/*QuickMenu 메뉴별호출*/
function QuickLink(idx) {
	if (qparam == "prod" || qparam == "careers" ) {
//		alert(idx);
		if (idx == 1) document.location.href ='/eng/about/overview.jsp';//Corporate Overview
		if (idx == 2) document.location.href ='/eng/media/press.jsp';//Media Center
		if (idx == 3) document.location.href ='/eng/worldwide/office.jsp';//Regional Sales Offices
	}
	if (qparam == "about" || qparam == "media" || qparam == "app" || qparam == "tech" ) {
		if (idx == 1) document.location.href ='/eng/product/display/overview.jsp';//Display Solutions
		if (idx == 2) document.location.href ='/eng/product/power/overview.jsp';//Power Solutions
		if (idx == 3) document.location.href ='/eng/product/imaging/overview.jsp';//Imaging Solutions
		if (idx == 4) document.location.href ='/eng/product/foundry/intro.jsp';//Foundry Services
	}
	if (qparam == "buy" ) {
		if (idx == 1) document.location.href ='/eng/worldwide/offce.jsp';//Regional Sales Offices
		if (idx == 2) document.location.href ='/eng/media/press.jsp';//Media Center
		if (idx == 3) document.location.href ='/eng/support/download.jsp';//Download Center
	}
	if (qparam == "supp" ) {
		if (idx == 1) document.location.href ='/eng/about/overview.jsp';//Corporate Overview
		if (idx == 2) document.location.href ='/eng/media/press.jsp';//Media Center
		if (idx == 3) document.location.href ='/eng/buy/overview.jsp';//Buy
	}
	if (qparam == "world" ) {
		if (idx == 1) document.location.href ='/eng/about/overview.jsp';//Corporate Overview
		if (idx == 2) document.location.href ='/eng/product/display/overview.jsp';//Display Solutions
		if (idx == 3) document.location.href ='/eng/product/power/overview.jsp';//Power Solutions
		if (idx == 4) document.location.href ='/eng/product/imaging/overview.jsp';//Imaging Solutions
		if (idx == 5) document.location.href ='/eng/product/foundry/intro.jsp';//Foundry Services
	}
}




var qm;
function quickMenu(params) {
	this.id = (params && params.id)?params.id:"quickmnu";
	this.actor = document.getElementById(this.id);
	this.width = (this.actor)?this.actor.clientWidth:10;
	this.height = (this.actor)?this.actor.clientHeight:10;
	this.dir = (params && params.dir)?params.dir:"down";
	this.min = (params && params.min != null)?params.min:0;
	this.max = (params && params.max != null)?params.max:0;
	this.x = (params && params.x != null)?params.x:0;
	this.y = (params && params.y != null)?params.y:0;
	this.speed = (params && params.speed != null)?params.speed:0.05;
	this.interval = (params && params.interval != null)?params.interval:5;
	this.timer;
	this.bound = (params && params.bound)?document.getElementById(params.bound):(document.compatMode=="CSS1Compat")?document.documentElement:document.body;
	this.screen = (document.compatMode=="CSS1Compat")?document.documentElement:document.body; //create reference to common "body" across doctypes
	this.screenX = (this.screen)?((window.all)?this.screen.scrollWidth+(this.screen.offsetWidth-this.screen.clientWidth):this.scrollWidth):0;
	this.screenY = (this.screen)?((window.all)?this.screen.scrollHeight+(this.screen.offsetHeight-this.screen.clientHeight):this.scrollHeight):0;

	this.move = function() {
		if (this.actor) {
			var boxMin = this.bound.offsetTop;
			var boxMax = this.bound.offsetTop+this.bound.offsetHeight;
			var boxMinY = parseFloat(this.min);
			var boxMaxY = this.bound.scrollHeight;
			var screenMin = this.screen.clientHeight;
			var screenMax = this.screenY;
			var diff_y;
			if (this.dir == "up") {
				diff_y = this.screen.scrollTop+this.min;
			} else {
				diff_y = this.screen.scrollTop+(screenMin-(this.max+this.height+boxMin));
			}
			if (this.y >= boxMinY && this.y <= (boxMaxY-this.height)) {// && screenMax>=(diff_y+this.height)) {
				var dist = 0;
				if (diff_y != this.y) {
					dist =  this.speed*(diff_y-this.y);
					dist = (dist > 0)?Math.ceil(dist):Math.floor(dist);
					this.actor.style.top = ((this.actor.style.top == "")?dist:parseFloat(this.actor.style.top)+dist);
					this.y += dist;
				}
			}
			if (this.y < boxMinY) {
				this.actor.style.top = boxMinY;
				this.y = boxMinY;
			}
			if (this.y > (boxMaxY-this.height)) {
				this.actor.style.top = boxMaxY-this.height;
				this.y =  boxMaxY-this.height;
			}
			this.timer = setTimeout("qm.move()",this.interval);
		}
	}
	this.setScreen = function() {
		if (this.screenY != this.screen.scrollHeight + (this.screen.offsetHeight - this.screen.clientHeight)) qm.screenY = (window.all)?(this.screen.scrollHeight + (this.screen.offsetHeight - this.screen.clientHeight)):this.screen.scrollHeight;
	}
}


function initQuick() {
	qm = new quickMenu({min:122, max:0, dir:"up", speed:0.06});
	qm.setScreen();
	qm.move();
}

if (mgid != 'c0000000000a') {
	addResizeEvent(function(){ qm.setScreen(); });
	addLoadEvent(initQuick);
}