﻿// flashWrite(파일경로, 가로, 세로, 아이디, 배경색, 변수, 윈도우모드)
function flashWrite(url,w,h,id,bg,vars,win){

// 플래시 코드 정의
var flashStr=
"<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='"+w+"' height='"+h+"' id='"+id+"' align='middle'>"+
"<param name='allowScriptAccess' value='always' />"+
"<param name='allowFullScreen' value='true' />"+
"<param name='movie' value='"+url+"' />"+
"<param name='FlashVars' value='"+vars+"' />"+
"<param name='wmode' value='"+win+"' />"+
"<param name='menu' value='false' />"+
"<param name='quality' value='high' />"+
"<param name='bgcolor' value='"+bg+"' />"+
"<embed src='"+url+"' FlashVars='"+vars+"' wmode='"+win+"' menu='false' quality='high' bgcolor='"+bg+"' width='"+w+"' height='"+h+"' name='"+id+"' align='middle' allowScriptAccess='always' allowFullScreen='true' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' />"+
"</object>";

document.write(flashStr);
}

// 링크정의
function en() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/en/gate.html";}
function fr() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/fr/gate.html";}
function de() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/de/gate.html";}
function nl() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/nl/gate.html";}
function es() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/es/gate.html";}

function en_main() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/en/gate.html";}
function fr_main() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/fr/gate.html";}
function de_main() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/de/gate.html";}
function nl_main() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/nl/gate.html";}
function es_main() {location.href = "http://nximage.nexoneu.com/promotion/maplestory/cygnus/es/gate.html";}

function official_de() {window.open('http://de.maplestory.nexoneu.com/Maple.aspx?PART=/Main', '_self');}
function official_en() {window.open('http://en.maplestory.nexoneu.com/Maple.aspx?PART=/Main', '_self');}
function official_es() {window.open('http://es.maplestory.nexoneu.com/Maple.aspx?PART=/Main', '_self');}
function official_fr() {window.open('http://fr.maplestory.nexoneu.com/Maple.aspx?PART=/Main', '_self');}
function official_nl() {window.open('http://nl.maplestory.nexoneu.com/Maple.aspx?PART=/Main', '_self');}

function guide_de() {window.open('http://de.maplestory.nexoneu.com/Landing.aspx?viewType=VIEW', '_self');}
function guide_en() {window.open('http://en.maplestory.nexoneu.com/Landing.aspx?viewType=VIEW', '_self');}
function guide_es() {window.open('http://es.maplestory.nexoneu.com/Landing.aspx?viewType=VIEW', '_self');}
function guide_fr() {window.open('http://fr.maplestory.nexoneu.com/Landing.aspx?viewType=VIEW', '_self');}
function guide_nl() {window.open('http://nl.maplestory.nexoneu.com/Landing.aspx?viewType=VIEW', '_self');}