function addEvent(elm, evType, fn, useCapture)
{
	if(elm.addEventListener)
	{
		elm.addEventListener(evType, fn, useCapture);
		return true;
	}
	else if (elm.attachEvent)
	{
		var r = elm.attachEvent('on' + evType, fn);
		return r;
	}
	else
	{
		elm['on' + evType] = fn;
	}
}

function loadreservation()
{
	hhotelSearchPromo('FRMARHTLRMargaux','france','');
}

function loadcadeaux()
{
	Shadowbox.open(
		{
			player:     'iframe',
			content:    '/produits.asp',
			width:      1000
		});
}

function loadoffres()
{
	location = 'pageseditos,27,top_4F1A5433.html';
}

function loadservices()
{
	Shadowbox.open(
		{
			player:     'iframe',
			content:    'popup.asp?IDPAGE=26',
			width:      1000
		});
}

function loadhotel()
{
	location = 'hotel,luxe,bordeaux,pageseditos,1,top_414C4030.html';
}

function loadgolf()
{
	location = 'golf,margaux,pageseditos,6,top_58C8D359.html';
}

function loadspa()
{
	location = 'pageseditos,11,top_8C74996.html';
}

function loadreunion()
{
	location = 'pageseditos,67,top_7FCB0D72.html';
}

function loadrestaurant()
{
	location = 'pageseditos,20,top_556BCF34.html';
}

/*fonctions version anglaise*/

function loadreservationen()
{
	hhotelSearchPromo('FRMARHTLRMargaux','','');
}

function loadcadeauxen()
{
	Shadowbox.open(
		{
			player:     'iframe',
			content:    '/produits.asp',
			width:      1000
		});
}

function loadoffresen()
{
	location = 'pageseditos,57,top_bF1A5433.html';
}

function loadservicesen()
{
	Shadowbox.open(
		{
			player:     'iframe',
			content:    'popup.asp?IDPAGE=56',
			width:      1000
		});
}

function loadhotelen()
{
	location = 'pageseditos,31,top_b14C4030.html';
}

function loadgolfen()
{
	location = 'pageseditos,36,top_b8C8D359.html';
}

function loadspaen()
{
	location = 'pageseditos,41,top_bC74996.html';
}

function loadreunionen()
{
	location = 'pageseditos,90,top_bFCB0D72.html';
}

function loadrestauranten()
{
	location = 'pageseditos,50,top_b56BCF34.html';
}

function loadacces()
{
	Shadowbox.open(
		{
			player:     'iframe',
			content:    'http://maps.google.fr/maps?f=q&hl=fr&geocode=&q=Relais+de+Margaux,+33460+Margaux,+Gironde,+Aquitaine,+France&sll=45.054757,-0.65833&sspn=0.01099,0.027809&g=Relais+de+Margaux,+33460+Margaux,+Gironde,+Aquitaine,+France&ie=UTF8&ll=45.08443,-0.64167&spn=0.1759,0.444946&z=12&output=embed&s=AARTsJpm0sAvzJ3fD4q6B8roAw18t48KGQ',
			width:      1000
		});	
}
