var isIndex = isMatchUrl('index.shtml') ? 1 : 0; 

AC_FL_RunContent(
	'codebase', 'https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0',
	'width', '828',
	'height', '200',
	'src', '/ff11fr/imgs/hdim',
	'quality', 'high',
	'pluginspage', 'http://www.macromedia.com/go/getflashplayer',
	'align', 'middle',
	'play', 'true',
	'loop', 'true',
	'scale', 'showall',
	'wmode', 'transparent',
	'devicefont', 'false',
	'id', 'hdim',
	'bgcolor', '#ffffff',
	'name', 'hdim',
	'menu', 'true',
	'allowFullScreen', 'false',
	'allowScriptAccess','sameDomain',
	'movie', '/ff11fr/imgs/hdim',
	'salign', '',
	'flashvars', 'bnURL=http://www.ff11europe.com/index_fr.html&bnImage=/ff11fr/imgs/bn.swf&bnX=0&bnY=40&fileNum=3&locale=fr&isIndex=' + isIndex
);

/*
 * 
 *------------------------------------------------------------------------*/
if (isMatchUrl('https')) var str = 'http://www.playonline.com';
else var str = '';

/*------------------------------------------------------------------------*/

/*
 * MainMenu
 *------------------------------------------------------------------------*/
var button = new Button();

button.id('home');
button.size(173,40);
button.padding('0px 0px 0px 0px');
button.link(str+'/ff11fr/index.shtml');
button.alt('HOME');

button.id('intro');
button.size(135,22);
button.position(173,-33,-173,-7);
button.link(str+'/ff11fr/intro/about/welcom.html?pageID=about');
button.alt('');

button.id('envi');
button.size(118,22);
button.position(310,-22,-310,-7);
button.link(str+'/ff11fr/envi/xbox/xbox01.html');
button.alt('');

button.id('guide');
button.size(118,22);
button.position(430,-22,-430,-7);
button.link(str+'/ff11fr/guide/system/index.html?pageID=system');
button.alt('');

button.id('comm');
button.size(118,22);
button.position(550,-22,-550,-7);
button.link('http://www.playonline.com/polapps/s/fansite2.lnk.Top?polg_loc=fr');
button.alt('');

button.id('download');
button.size(135,22);
button.position(670,-22,-670,-7);
button.link(str+'/ff11fr/download/media/sysinfo01.html?pageID=media');
button.alt('');

var main = new Menu('main');
main.cutTypeOfBackgroundImage('row');

if(isMatchUrl('index.shtml')){
	main.backgroundImage('/ff11fr/menu/imgs/hdmntop.jpg' );
	main.size(828,39);
} else if (isMatchUrl('/info/')||isMatchUrl('/polnews')||isMatchUrl('/polff11s')||isMatchUrl('/topics')||isMatchUrl('/server')||isMatchUrl('/service/')||isMatchUrl('/verup/')) {
	main.backgroundImage('/ff11fr/menu/imgs/hdmn02.jpg' );
	main.size(828,51);
} else {
	main.backgroundImage('/ff11fr/menu/imgs/hdmn01.jpg' );
	main.size(828,51);
}


main.flush(button);

button.cleanup();
/*------------------------------------------------------------------------*/

/*
 * PullDown
 *------------------------------------------------------------------------*/
button.id('intro_pul1');
button.backgroundImage('/ff11fr/menu/imgs/intro/mn01.gif');
button.size(148,37);
button.link(str+'/ff11fr/intro/about/welcom.html?pageID=about');
button.alt('');

button.id('intro_pul2');
button.backgroundImage('/ff11fr/menu/imgs/intro/mn02.gif');
button.size(148,25);
button.link(str+'/ff11fr/intro/world/index.html');
button.alt('');

button.id('intro_pul3');
button.backgroundImage('/ff11fr/menu/imgs/intro/mn03.gif');
button.size(148,25);
button.link(str+'/ff11fr/intro/monster/index.html?pageID=monster');
button.alt('');

button.id('intro_pul4');
button.backgroundImage('/ff11fr/menu/imgs/intro/mn04.gif');
button.size(148,25);
button.link(str+'/ff11fr/intro/extension.html?pageID=extension');
button.alt('');

button.id('intro_pul5');
button.backgroundImage('/ff11fr/menu/imgs/intro/mn05.gif');
button.size(148,25);
button.link(str+'/ff11fr/intro/shop.html');
button.alt('');

button.id('intro_pul6');
button.backgroundImage('/ff11fr/menu/imgs/intro/mn06.gif');
button.size(148,35);
button.link(str+'/ff11fr/intro/optional/wd_transfer01.html');
button.alt('');

var intro_pd = new Pulldown('intro_pd');
intro_pd.position(175,230);
intro_pd.flush(button);

button.cleanup();

button.id('envi_pul1');
button.backgroundImage('/ff11fr/menu/imgs/envi/mn01.gif');
button.size(148,37);
button.link(str+'/ff11fr/envi/win/win01.html');
button.alt('');

button.id('envi_pul2');
button.backgroundImage('/ff11fr/menu/imgs/envi/mn02.gif');
button.size(148,25);
button.link(str+'/ff11fr/envi/xbox/xbox01.html');
button.alt('');

button.id('envi_pul3');
button.backgroundImage('/ff11fr/menu/imgs/envi/mn03.gif');
button.size(148,35);
button.link(str+'/ff11fr/envi/charge.html');
button.alt('');


var envi_pd = new Pulldown('envi_pd');
envi_pd.position(295,230);
envi_pd.flush(button);

button.cleanup();

button.id('guide_pul1');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn01.gif');
button.size(235,37);
button.link(str+'/ff11fr/guide/system/index.html?pageID=system');
button.alt('');

button.id('guide_pul2');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn02.gif');
button.size(235,25);
button.link(str+'/ff11fr/guide/development/concept01.html?pageID=development');
button.alt('');

button.id('guide_pul3');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn03.gif');
button.size(235,25);
button.link(str+'/ff11fr/guide/mogbon/index.html');
button.alt('');

button.id('guide_pul4');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn04.gif');
button.size(235,25);
button.link(str+'/ff11fr/guide/mogtab/index.html');
button.alt('');

button.id('guide_pul5');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn05.gif');
button.size(235,25);
button.link(str+'/ff11fr/guide/recruitment01.html');
button.alt('');

button.id('guide_pul6');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn06.gif');
button.size(235,25);
button.link(str+'/ff11fr/crs/');
button.target('_blank');
button.alt('');

button.id('guide_pul7');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn07.gif');
button.size(235,25);
button.link('http://forum.square-enix.com/ffxi/threads/17022');
button.target('_blank');
button.alt('');

button.id('guide_pul8');
button.backgroundImage('/ff11fr/menu/imgs/guide/mn08.gif');
button.size(235,35);
button.link(str+'/ff11fr/guide/glossary/index.html');
button.alt('');

var guide_pd = new Pulldown('guide_pd');
guide_pd.position(372,230);
guide_pd.flush(button);

button.cleanup();

button.id('comm_pul1');
button.backgroundImage('/ff11fr/menu/imgs/comm/mn01.gif');
button.size(228,37);
button.link('http://www.playonline.com/polapps/s/fansite2.lnk.Top?polg_loc=fr');
button.alt('');

button.id('comm_pul2');
button.backgroundImage('/ff11fr/menu/imgs/comm/mn02.gif');
button.size(228,25);
button.link('http://fanzone.playonline.com/lscom/index.do');
button.target('_blank');
button.alt('');

button.id('comm_pul3');
button.backgroundImage('/ff11fr/menu/imgs/comm/mn03.gif');
button.size(228,25);
button.link('https://secure.playonline.com/eventsupport/index.html?polg_loc=fr');
button.target('_blank');
button.alt('');

button.id('comm_pul4');
button.backgroundImage('/ff11fr/menu/imgs/comm/mn04.gif');
button.size(228,35);
button.link(str+'/ff11fr/wedding/index.html');
button.target('_blank');
button.alt('');

var comm_pd = new Pulldown('comm_pd');
comm_pd.position(495,230);
comm_pd.flush(button);

button.cleanup();

button.id('download_pul1');
button.backgroundImage('/ff11fr/menu/imgs/download/mn01.gif');
button.size(148,37);
button.link(str+'/ff11fr/download/media/sysinfo01.html?pageID=media');
button.alt('Multimedia');

button.id('download_pul2');
button.backgroundImage('/ff11fr/menu/imgs/download/mn02.gif');
button.size(148,35);
button.link(str+'/ff11fr/download/wind/index.html');
button.alt('Vana\'diel Wind');

var download_pd = new Pulldown('download_pd');
download_pd.position(655,230);
download_pd.flush(button);

button.cleanup();

/*
 * Event
 *------------------------------------------------------------------------*/
var up = 8;
var down = 2;
document.getElementById('intro').onmouseover = document.getElementById('intro_pd').onmouseover = function(){intro_pd.down(down)}
document.getElementById('intro').onmouseout = document.getElementById('intro_pd').onmouseout = function(){intro_pd.up(up)}
document.getElementById('envi').onmouseover = document.getElementById('envi_pd').onmouseover = function(){envi_pd.down(down)}
document.getElementById('envi').onmouseout = document.getElementById('envi_pd').onmouseout = function(){envi_pd.up(up)}
document.getElementById('guide').onmouseover = document.getElementById('guide_pd').onmouseover = function(){guide_pd.down(down)}
document.getElementById('guide').onmouseout = document.getElementById('guide_pd').onmouseout = function(){guide_pd.up(up)}
document.getElementById('comm').onmouseover = document.getElementById('comm_pd').onmouseover = function(){comm_pd.down(down)}
document.getElementById('comm').onmouseout = document.getElementById('comm_pd').onmouseout = function(){comm_pd.up(up)}
document.getElementById('download').onmouseover = document.getElementById('download_pd').onmouseover = function(){download_pd.down(down)}
document.getElementById('download').onmouseout = document.getElementById('download_pd').onmouseout = function(){download_pd.up(up)}
/*------------------------------------------------------------------------*/

document.write('<div id="snowDeco"></div>');

var _ANid = "playonlinecom";
var _ANadd = "";
var _ANprm = "";

document.write('<script type="text/javascript" src="/sitestratos/ss_playonlinecom.js"></script>');
