function flash_top_write() {
	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="700" height="290">\n');
	document.write('<param name="movie" value="swf/opening.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="swf/opening.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="700" height="290"></embed>\n');
	document.write('</object>\n');
}

function flash_head_write() {
	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="745" height="130">\n');
	document.write('<param name="movie" value="/swf/head.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/head.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="745" height="130"></embed>\n');
	document.write('</object>\n');
}

function flash_navi_write() {
	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="160" height="398">\n');
	document.write('<param name="movie" value="/swf/navi.swf">\n');
	document.write('<param name="quality" value="high">\n');
	document.write('<embed src="/swf/navi.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="160" height="398"></embed>\n');
	document.write('</object>\n');
}


// :::::::: Profile ::::::::
RefHref2="";
function RefOpen(RefHref2){
var RefWin=window.open(RefHref2,'RefWin2','scrollbars=no,resizable=no,width=700,height=480');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref2,'RefWin2','scrollbars=no,resizable=no,width=700,height=480')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

// :::::::: gavure::::::::
RefHref3="";
function RefOpen2(RefHref3){
var RefWin=window.open(RefHref3,'RefWin2','scrollbars=no,resizable=no,width=620,height=620');
if(navigator.appVersion.charAt(0)==2){RefWin=window.open(RefHref3,'RefWin2','scrollbars=no,resizable=no,width=620,height=620')};
if(navigator.appVersion.charAt(0)>=3){RefWin.focus()}};

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}

// :::::::: event :::::::
function OpenWinEVENT(){
	win1=window.open("/home/event_may.html","EVENT","width=360,height=400,scrollbars=no,resizable=no");
}

// :::::::: mm :::::::
function OpenWinMM(){
	win1=window.open("../mm/index.html","MM","width=610,height=580,scrollbars=no,resizable=no");
}
// :::::::: mb :::::::
function OpenWinMOBILE(){
	win1=window.open("../mobile/index.html","MOBILE","width=610,height=530,scrollbars=no,resizable=no");
}
// :::::::: mb :::::::
function OpenWinTICKET(){
	win1=window.open("../event/index.html","TICKET","width=530,height=250,scrollbars=no,resizable=no");
}
// :::::::: map :::::::
function OpenWinMAP(){
	win1=window.open("../system/map.html","MAP","width=700,height=500,scrollbars=no,resizable=no");
}
// :::::::: popup for flash :::::::
function openNewWindow(URLtoOpen, windowName, windowFeatures) { 
  newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
