function cn_Link(value) {
	if (value=="menu_00") location.href('/');
	if (value=="menu_01") location.href('/00_company/00_company.php');
	if (value=="menu_01_01") location.href('/00_company/00_company.php');
	if (value=="menu_01_02") location.href('/00_company/01_history.php');
	if (value=="menu_01_03") location.href('/00_company/02_intro.php');
	if (value=="menu_01_04") location.href('/00_company/03_media.php');
	if (value=="menu_01_05") location.href('/00_company/04_consultant.php');
	if (value=="menu_01_06") location.href('/00_company/05_cooperate.php');
	if (value=="menu_01_07") location.href('/00_company/06_ad.php');
	if (value=="menu_02") location.href('/01_collection/list_wedding.php');
	if (value=="menu_03") location.href('/02_weddinghall/list_weddinghall.php');
	if (value=="menu_04") location.href('/03_collection/list_koreadress.php');
	if (value=="menu_05") location.href('/04_guide/schedule.php');
	if (value=="menu_06") location.href('/05_community/notice.php');
	if (value=="menu_07") location.href('/06_event/event.php');
}

function swf(src,width,height) {
    object = '';
    object += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="param" width="'+width+'" height="'+height+'">';
    object += '<param name="movie" value="'+src+'">';
    object += '<param name="allowscriptAccess" value="always">';
    object += '<PARAM NAME="wmode" VALUE="transparent">';
    object += '<embed src="'+src+'" quality="high" wmode="transparent" bgcolor="#ffffff" menu="false" width="'+width+'" height="'+height+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
    object += '<\/object>';
    document.write(object);
}

//»õÃ¢¶ç¿ì±â
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
    LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
    TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
    settings = 'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable' 
    win = window.open(mypage,myname,settings)
}

function changeImage(filename,goods,price,txt) { 
 if(filename != ""){
  document.all.mainimage.filters.blendTrans.stop();
  document.all.mainimage.filters.blendTrans.Apply();
  document.all.mainimage.src = filename;
  document.all.mainimage.filters.blendTrans.Play();
 }  
}

function changeImage2(filename,goods,price,txt) { 
 if(filename != ""){
  document.getElementById("coll_info_goods").innerHTML = goods;
  document.getElementById("coll_info_goods").style.fontWeight = 'bold';
  document.getElementById("coll_info_price").innerHTML = price;
  document.getElementById("coll_info_txt").innerHTML = txt;
  //document.all.mainimage.filters.blendTrans.stop();
  document.all.mainimage.filters.blendTrans.Apply();
  document.all.mainimage.src = filename;
  document.all.mainimage.filters.blendTrans.Play();
 
 }  
}
