// LEFT MENUÀÇ ¸µÅ©°ª

function GoMenu(name) {
    //alert(name);return;
    if (eval(name) == "") {
        alert("ÁË¼ÛÇÕ´Ï´Ù(__) ¼­ºñ½º ÁØºñÁßÀÔ´Ï´Ù.");
        return;    
    } else {
		document.location.href = eval(name);
	}
}
//*°¢ ¸µÅ©°ª*//

// ***********GNB Link*********** //

//È¨À¸·Î

var logo="/";	//È¨À¸·Î

//»ùÇÃ
var search="/search/main.jsp";	//»ùÇÃ
	var search0101="/search/main.jsp";	//»ùÇÃ

//»ùÇÃ
var genre="/genre/main.jsp";	//»ùÇÃ
	var search0101="/genre/main.jsp";	//»ùÇÃ

// ***********GNB Link*********** //


//*°¢ ¸µÅ©°ª*//


//flash JS
function JS_viewObj(html) {
	document.write(html);
}

//¸ÞÀÎÅÇ¸Þ´º
function tabMenu(idx,intLoop,filename) {
	for (var i=1; i<intLoop; i++)
	{
		if (i==idx)
		{
			document.getElementById("tm" + idx).src = "/web/images/" + filename + idx + "_on.gif";
			document.getElementById("sm" + idx).style.display = "";
		} else {
			document.getElementById("tm" + i).src = "/web/images/" + filename + i + "_off.gif";
			document.getElementById("sm" + i).style.display = "none";
		}
	}
}

//* ÇÃ·¡½Ã ¸µÅ© *//

/*
function render_flash(url, width, height) {
		document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="' + width + '" height="' + height + '" VIEWASTEXT>');
		document.write('<param name="allowScriptAccess" value="sameDomain" />');
		document.write('<param name="movie" value="' + url + '">');
		document.write('<param name="quality" value="high">');
		document.write('<param name="wmode" value="transparent">');
		document.write('<param name="menu" value="false" />');
		document.write('<param name="scale" value="noscale" />');
		document.write('<embed src="' + url + '" allowScriptAccess="always" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="' + width + '" height="' + height + '" wmode="transparent"></embed>');
		document.write('</object>');
}
*/

function render_flash(swf_name,swf_width,swf_height){
	var text ='';
	text ='<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="'+swf_width+'" height="'+swf_height+'">';
	text +='<param name="movie" value="'+swf_name+'">';
	text +='<param name="quality" value="high">';
	text +='<param name="wmode" value="transparent">';
	text +='<embed src="'+swf_name+'" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="'+swf_width+'" height="'+swf_height+'">';
    text +='</embed>';
	text +='</object>';
	document.write(text);
}
