BLANK_IMAGE = 'En/images/b.gif';

var STYLE = {
	border:0,			// item's border width, pixels; zero means "none"
	shadow:0,			// item's shadow size, pixels; zero means "none"
	color:{
		border:"",	// color of the item border, if any
		shadow:"",	// color of the item shadow, if any
		bgON:"",		// background color for the items
		bgOVER:""	// background color for the item which is under mouse right now
	},
	css:{
		ON:"",		// CSS class for items
		OVER:""		// CSS class  for item which is under mouse
	}
};



document.write("<center><font size='0' color='#000000' style=display:none>"+navigator.appName+"</font></center>");
//document.write("<center><font size='0' color='#2D4A34'>d</font></center>");

var winW = document.body.offsetWidth;
var winH = screen.heigth;
var wpos = ((winW-750)/2);

if (parseInt(navigator.appVersion)>3) {
 if (navigator.appName=="Netscape") {
  winW = window.innerWidth;
  winH = window.innerHeight;
 }
 if (navigator.appName.indexOf("Microsoft")!=-1) {
  winW = document.body.offsetWidth;
  winH = document.body.offsetHeight;
 }
 if(navigator.appName == "Microsoft Internet Explorer") {
  winW = document.body.offsetWidth;
  winH = document.body.offsetHeight;
 }	
}



var MENU_ITEMS = [
	{pos:[wpos,440], itemoff:[0,73], leveloff:[21,0], style:STYLE, size:[20,73]},
	{code:'<img src="En/images/menu_01.gif" width="73" height="20" style="border:0" />',
		ocode:'<img src="En/images/menuover_01.gif" width="73" height="20" />','url':'En/home.php'
	
	},
	{code:'<img src="En/images/menu_02.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_02.gif" width="73" height="20" />',
		sub:[
			{itemoff:[21,0]},
			{code:'<img src="images/sub_location2.gif" width="100" height="20" />',
				ocode:'<img src="images/osub_location2.gif" width="100" height="20" />','url':'http://www.bangkokoasis.com/En/l_bkk.php'},
			{code:'<img src="images/sub_location1.gif" width="100" height="20" />',
				ocode:'<img src="images/osub_location1.gif" width="100" height="20" />','url':'http://www.chiangmaioasis.com/En/l_cm.php'},
			{code:'<img src="images/sub_location4.gif" width="100" height="20" />',
				ocode:'<img src="images/osub_location4.gif" width="100" height="20" />','url':'http://www.phuketoasis.com/En/l_pk.php'},
			{code:'<img src="images/sub_location3.gif" width="100" height="20" />',
				ocode:'<img src="images/osub_location3.gif" width="100" height="20" />','url':'http://www.pattayaoasis.com/En/l_py.php'}
		]
	},
	{code:'<img src="En/images/menu_03.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_03.gif" width="73" height="20" />',
		sub:[
			{itemoff:[21,0]},
			{code:'<img src="En/images/sub_massage1.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_massage1.gif" width="100" height="20" />','url':'En/t_signature.php'},
			{code:'<img src="En/images/sub_massage2.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_massage2.gif" width="100" height="20" />','url':'En/t_package.php'},
			{code:'<img src="En/images/sub_massage3.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_massage3.gif" width="100" height="20" />','url':'En/t_alacartre.php'}
		]
	},
	{code:'<img src="En/images/menu_04.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_04.gif" width="73" height="20" />','url':'En/promotion.php'
	},
	{code:'<img src="En/images/menu_05.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_05.gif" width="73" height="20" />',
		sub:[
			{itemoff:[21,0]},
			{code:'<img src="En/images/sub_event1.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_event1.gif" width="100" height="20" />','url':'En/e_party.php'},
			{code:'<img src="En/images/sub_event2.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_event2.gif" width="100" height="20" />','url':'En/e_wedding.php'},
			{code:'<img src="En/images/sub_event3.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_event3.gif" width="100" height="20" />','url':'En/e_launch.php'}
		]
	},
	{code:'<img src="En/images/menu_06.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_06.gif" width="73" height="20" />',
		sub:[
			{itemoff:[21,0]},
			{code:'<img src="En/images/sub_gallery2.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_gallery2.gif" width="100" height="20" />','url':'http://www.bangkokoasis.com/En/g_bkk.php'},
			{code:'<img src="En/images/sub_gallery1.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_gallery1.gif" width="100" height="20" />','url':'http://www.chiangmaioasis.com/En/g_cm.php'},
			{code:'<img src="En/images/sub_gallery4.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_gallery4.gif" width="100" height="20" />','url':'http://www.phuketoasis.com/En/g_pk.php'},
			{code:'<img src="En/images/sub_gallery3.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_gallery3.gif" width="100" height="20" />','url':'http://www.pattayaoasis.com/En/g_py.php'}
		]
	},
	{code:'<img src="En/images/menu_07.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_07.gif" width="73" height="20" />',
		sub:[
			{itemoff:[21,0]},
			{code:'<img src="En/images/sub_pr2.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_pr2.gif" width="100" height="20" />','url':'En/pr_video.php'},
			{code:'<img src="En/images/sub_pr3.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_pr3.gif" width="100" height="20" />','url':'En/pr_magazine.php',
				sub:[
					{itemoff:[22,0],leveloff:[0,100]},
					{code:'<img src="En/images/sub_pr5.gif" width="100" height="20" />',
						ocode:'<img src="En/images/osub_pr5.gif" width="100" height="20" />','url':'En/pr_magazine.php'}						
				]
			}
		]
	},
	{code:'<img src="En/images/menu_08.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_08.gif" width="73" height="20" />','url':'En/gift.php'
		
	},
	{code:'<img src="En/images/menu_09.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_09.gif" width="73" height="20" />',
		sub:[
			{itemoff:[21,0]},
			{code:'<img src="En/images/sub_res1.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_res1.gif" width="100" height="20" />','url':'En/res_mail.php'},
			{code:'<img src="En/images/sub_res2.gif" width="100" height="20" />',
				ocode:'<img src="En/images/osub_res2.gif" width="100" height="20" />','url':'En/res_book.php'}			
		]
	},
	{code:'<img src="En/images/menu_10.gif" width="73" height="20" />',
		ocode:'<img src="En/images/menuover_10.gif" width="73" height="20" />','url':'En/member.php'
	}
];

