<!--

//È¸¿ø °¡ÀÔ¾à°ü Ã¼Å©
function check() {
form=document.form1;
if(form.checkbox.checked == false) {
alert('¾à°ü¿¡ µ¿ÀÇ ÇÏ¼Å¾ß µË´Ï´Ù.');
return;
}
form.submit();
}

// ÀÌ¹ÌÁö ÁÖÀ§ Á¡¼±¾ø¾Ö±â ¼Ò½º
function bluring(){ 
	if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus(); 
}
document.onfocusin=bluring; 

// »óÅÂ¹Ù ÁÖ¼Ò °¨Ãß±â ¼Ò½º
function hidestatus(){
	window.status='ÀÎµµ·Î°¡´Â±æ'
	return true
}

//Å¸ÀÌÆ² ÁÖ¼Ò °íÁ¤
try {
 top.document.title='ÀÎµµ·Î°¡´Â±æ'
}catch (Exception){
}


//========================== Wish List ¿¡ Ãß°¡ÇÏ´Â ÇÔ¼ö ==================================
function wishlist(g_uid){
	document.add.location.replace("../mypage/wishlist_add.html?g_uid="+g_uid);	
}

if (document.layers)
document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover=hidestatus
document.onmouseout=hidestatus

//»õÃ¢¼Ò½º
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

//Åä±Û¸Þ´º
var old_menu = '';
function toggleMenu(submenu) {
	if( old_menu != submenu ) {
		if( old_menu !='' ) {
			old_menu.style.display = 'none';
		}
		submenu.style.display = '';
		old_menu = submenu;
	} else {
		submenu.style.display = 'none';
		old_menu = '';
	}
}

//Áß¾Ó¿¡¼­ »õÃ¢¶ç¿ì´Â ¼Ò½º
function CenterWin(url,winname,features)
{
features = features.toLowerCase();
len = features.length;
sumchar= "";
for (i=1; i <= len; i++) // ºóÄ­ Á¦°Å
{ 
onechar = features.substr(i-1, 1);
if (onechar != " ") sumchar += onechar;
}

features = sumchar; 
sp = new Array();
sp = features.split(',', 10); // ¹è¿­¿¡ ¿É¼ÇÀ» ºÐ¸®ÇØ¼­ ÀÔ·Â
splen = sp.length; // ¹è¿­ °¹¼ö
for (i=0; i < splen; i++) // width, height °ªÀ» ±¸ÇÏ±â À§ÇÑ ºÎºÐ
{ 
if (sp[i].indexOf("width=") == 0) // width °ªÀÏ¶§ 
{ 
width = Number(sp[i].substring(6)); 
} else if (sp[i].indexOf("height=") == 0) // height °ªÀÏ¶§
{
height = Number(sp[i].substring(7)); 
}
}
sleft = (screen.width - width) / 2;
stop = (screen.height - height) / 2;
features = features + ",left=" + sleft + ",top=" + stop;
popwin = window.open(url,winname,features); 
}
// -->
<!--
// Ä«Å×°í¸® º¯°æ
function c_change(b_uid){
	if(b_uid == ""){
		document.search_form.b_uid.options[0].selected = true;
		document.search_form.b_uid.options[0].text = ":: ¼±ÅÃ ::";
		document.search_form.m_uid.options[0].selected = true;
		document.search_form.m_uid.options[0].text = ":: ¼±ÅÃ ::";
		return;
	}
	else {
		document.search_form.m_uid.options[0].selected = true;
		document.search_form.m_uid.options[0].text = ":: ¼±ÅÃ ::";
		window.sclist.location.href="../include/sclist.php?b_uid="+b_uid;
		return true;
	}
}

// °Ë»ö Ã¼Å©
function search_formcheck(){
	var here = document.search_form

	if(here.b_uid.value == ""){
		alert("Ä«Å×°í¸®¸¦ ÀÔ·ÂÇÏ¼¼¿ä")
		here.b_uid.focus()
		return
	}

	here.submit()
}
//-->

<!--
//ÇÃ·¡½¬ ¼Ò½º
function flash(width,height,flash_name) {
 var flash_tag = "";
 flash_tag = '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ';
 flash_tag +='codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" ';
 flash_tag +='WIDTH="'+width+'" HEIGHT="'+height+'" >';
 flash_tag +='<param name="movie" value="'+flash_name+'">';
 flash_tag +='<param name="quality" value="high">';
  flash_tag +='<param name="wmode" value="transparent">';
 flash_tag +='<embed src="'+flash_name+'" wmode="transparent" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" ';
 flash_tag +='type="application/x-shockwave-flash"  WIDTH="'+width+'" HEIGHT="'+height+'"></embed></object>'
 document.write(flash_tag);
}
//-->

