<!--
//ºê¶ó¿ìÀú Å¸ÀÌÆ²
document.title ="OVEN&JOY";


// ÀÌ¹ÌÁö ¿ë
function bluring(){ 
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG")
document.body.focus(); 
} 
document.onfocusin=bluring


// FLASH ¿ë
function flash_view(flash_src,width,height){
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="'+width+'" height="'+height+'"><PARAM NAME="movie" VALUE="'+flash_src+'"><PARAM NAME="quality" VALUE="high"><param name="wmode" value="transparent"><embed src="'+flash_src+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+width+'" height="'+height+'"></object>');
}


// ·¹ÀÌ¾î È¿°ú
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);


function GoFunc() {
	var gourl = document.GoFuncForm.FuncGo[document.GoFuncForm.FuncGo.selectedIndex].value;
	if (gourl != "")
		if (document.GoFuncForm.FuncGo.selectedIndex == document.GoFuncForm.FuncGo.length-1) {
		//alert(gourl);
		window.location.href = "/" + gourl;
		}
		else {	
		//alert("/" + gourl);
		window.location.href = "/" + gourl;
		}
}


//½ºÅ©·Ñ ½ºÅ©¸³Æ® ½ÃÀÛ ----------------------------------------
var stmnGAP1 = 210; // ÆäÀÌÁö Çì´õºÎºÐÀÇ ¿©¹é (ÀÌº¸´Ù À§·Î´Â ¿Ã¶ó°¡Áö ¾ÊÀ½)
var stmnGAP2 = 50; // ½ºÅ©·Ñ½Ã ºê¶ó¿ìÀú »ó´Ü°ú ¾à°£ ¶ç¿ò. ÇÊ¿ä¾øÀ¸¸é 0À¸·Î ¼¼ÆÃ
var stmnBASE = 200; // ½ºÅ©·Ñ¸Þ´º ÃÊ±â ½ÃÀÛÀ§Ä¡ (¾Æ¹«·¸°Ô³ª ÇØµµ »ó°üÀº ¾øÁö¸¸ stmnGAP1°ú ¾à°£ Â÷ÀÌ¸¦ ÁÖ´Â°Ô º¸±â ÁÁÀ½)
var stmnActivateSpeed = 1; // ¿òÁ÷ÀÓÀ» °¨ÁöÇÏ´Â ¼Óµµ (¼ýÀÚ°¡ Å¬¼ö·Ï ´Ê°Ô ¾Ë¾ÆÂ÷¸²)
var stmnScrollSpeed = 1; // ½ºÅ©·ÑµÇ´Â ¼Óµµ (Å¬¼ö·Ï ´Ê°Ô ¿òÁ÷ÀÓ)

var stmnTimer;

function RefreshStaticMenu()
{
		var stmnStartPoint, stmnEndPoint, stmnRefreshTimer;

		stmnStartPoint = parseInt(STATICMENU.style.top, 10);
		stmnEndPoint = document.body.scrollTop + stmnGAP2;
		if (stmnEndPoint < stmnGAP1) stmnEndPoint = stmnGAP1;

		stmnRefreshTimer = stmnActivateSpeed;

		if ( stmnStartPoint != stmnEndPoint ) {
				stmnScrollAmount = Math.ceil( Math.abs( stmnEndPoint - stmnStartPoint ) / 15 );
				STATICMENU.style.top = parseInt(STATICMENU.style.top, 10) + ( ( stmnEndPoint<stmnStartPoint ) ? -stmnScrollAmount : stmnScrollAmount );
				stmnRefreshTimer = stmnScrollSpeed;
		}

		stmnTimer = setTimeout ("RefreshStaticMenu();", stmnRefreshTimer);
}

function InitializeStaticMenu()
{
		STATICMENU.style.top = document.body.scrollTop + stmnBASE;
		RefreshStaticMenu();
		// STATICMENU.style.left = stmnLEFT;
}

//½ºÅ©·Ñ ½ºÅ©¸³Æ® ³¡ ----------------------------------------


// ÇÏ´Ü 

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}


// ÆË¾÷Ã¢
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}








//-->


