//ÇÃ·¡½¬ ·Îµå
function showFlash(dir,width,height)
{
	document.write("<object classid='clsid:D27CDB6E-AE6D-11cf-96B8-444553540000' codebase='../download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0/#version=6,0,29,0/default.htm' width='"+width+"' height='"+height+"'>");
	document.write("<param name='movie' value='"+dir+"'>");
	document.write("<param name='wmode' value='transparent'>");
	document.write("<param name='scale' value='showall'>");
//	document.write("<param name='scale' value='noscale'>");
//	document.write("<param name='scale' value='extraFit'>");
	document.write("<embed src='"+dir+"' pluginspage='../www.macromedia.com/go/getflashplayer' type='application/x-shockwave-flash' wmode='transparent'></embed>");
	document.write("</object>");
}

// ¼¿·ºÆ® ¸Þ´º ¼±ÅÃ½Ã ¹Ù·Î ÀÌµ¿
function newGo(box) {
if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value.lastIndexOf('ap.org') != -1)) {
        document.forms[0].action = box.options[box.selectedIndex].value;
        document.forms[0].submit();
        return true;
        }
if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != 'nil')) {
        val = box.options[box.selectedIndex].value;
        if (val.lastIndexOf(',') != -1) {
                window.open ((val.substring(0,val.lastIndexOf(","))), (val.substring((val.lastIndexOf(",")+1) , val.length)));
        } else {
                window.open (val,'_self');		
                }
        }
        return true;
}

function newGo2(box) {
if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value.lastIndexOf('ap.org') != -1)) {
        document.forms[0].action = box.options[box.selectedIndex].value;
        document.forms[0].submit();
        return true;
        }
if ((-1 < box.selectedIndex) && (box.options[box.selectedIndex].value != 'nil')) {
        val = box.options[box.selectedIndex].value;
        if (val.lastIndexOf(',') != -1) {
                window.open ((val.substring(0,val.lastIndexOf(","))), (val.substring((val.lastIndexOf(",")+1) , val.length)));
        } else {
                window.open (val,'_blank');	
                }
        }
        return true;
}

// Áñ°ÜÃ£±â Ãß°¡
var favoriteurl="http://www.pensiona.com/"
var favoritetitle="Ææ¼Ç¿©Çà(pensiona.com)"
function addfavorites(){
if (document.all)
window.external.AddFavorite(favoriteurl,favoritetitle)
}

//À½¾ÇÆíÁö ¿¬°á	

function zzimto(user_no, zzim_table, com_no)   
{    
	var window_url;        
	window_url = "http://211.110.17.75/scripts/omlv_handphone2.asp" + "?member_no=" + member_no + "&source_member_no=" + source_member_no + "&music_no=" + music_no;
	window.open(window_url, "handphone", "width=373,height=415,resizable=no,status=no");
}
