/* [nodename, id, name, navigationtext, href, isnavigation, childs[], templatename] */

if (typeof(decodeURIComponent) == 'undefined') {
  decodeURIComponent = function(s) {
    return unescape(s);
  }
}

function jdecode(s) {
    s = s.replace(/\+/g, "%20")
    return decodeURIComponent(s);
}

var POS_NODENAME=0;
var POS_ID=1;
var POS_NAME=2;
var POS_NAVIGATIONTEXT=3;
var POS_HREF=4;
var POS_ISNAVIGATION=5;
var POS_CHILDS=6;
var POS_TEMPLATENAME=7;
var POS_TARGET=8;
var theSitetree=[ 
	['PAGE','19501',jdecode('start+your+visit...'),jdecode(''),'/19501.html','true',[],'',''],
	['PAGE','66743',jdecode('paintings+%7C%C2%A0oil+%281%29'),jdecode(''),'/66743.html','true',[],'',''],
	['PAGE','878',jdecode('paintings+%7C+oil+%282%29'),jdecode(''),'/878.html','true',[],'',''],
	['PAGE','66701',jdecode('murals'),jdecode(''),'/66701.html','true',[],'',''],
	['PAGE','66722',jdecode('creations'),jdecode(''),'/66722.html','true',[],'',''],
	['PAGE','794',jdecode('gallery+on+the+moon'),jdecode(''),'/794.html','true',[],'',''],
	['PAGE','67822',jdecode('video'),jdecode(''),'/67822.html','true',[],'',''],
	['PAGE','815',jdecode('exhibitions'),jdecode(''),'/815.html','true',[],'',''],
	['PAGE','701',jdecode('artist+biography'),jdecode(''),'/701.html','true',[],'',''],
	['PAGE','836',jdecode('presse'),jdecode(''),'/836.html','true',[],'',''],
	['PAGE','39601',jdecode('links++%7C++friends'),jdecode(''),'/39601.html','true',[],'',''],
	['PAGE','26001',jdecode('privacy+policy+%26+%C2%A9'),jdecode(''),'/26001.html','true',[],'',''],
	['PAGE','22901',jdecode('discover+Geneva'),jdecode(''),'/22901.html','true',[],'',''],
	['PAGE','67801',jdecode('newsletter'),jdecode(''),'/67801.html','true',[],'',''],
	['PAGE','857',jdecode('address+%7C+contact'),jdecode(''),'/857.html','true',[],'','']];
var siteelementCount=15;
theSitetree.topTemplateName='Plains';
theSitetree.paletteFamily='4690CA';
theSitetree.keyvisualId='7890';
theSitetree.keyvisualName='04.swf';
theSitetree.fontsetId='16927';
theSitetree.graphicsetId='12303';
theSitetree.contentColor='000000';
theSitetree.contentBGColor='FFFFFF';
var localeDef={
  language: 'fr',
  country: 'FR'
};
var theTemplate={
				hasFlashNavigation: 'true',
				hasFlashLogo: 	'false',
				hasFlashCompanyname: 'false',
				hasFlashElements: 'true',
				hasCompanyname: 'false',
				name: 			'Plains',
				paletteFamily: 	'4690CA',
				keyvisualId: 	'7890',
				keyvisualName: 	'04.swf',
				fontsetId: 		'16927',
				graphicsetId: 	'12303',
				contentColor: 	'000000',
				contentBGColor: 'FFFFFF',
				a_color: 		'000000',
				b_color: 		'000000',
				c_color: 		'000000',
				d_color: 		'000000',
				e_color: 		'000000',
				f_color: 		'000000',
				hasCustomLogo: 	'false',
				contentFontFace:'Times New Roman, Helvetica, sans-serif',
				contentFontSize:'12',
				useFavicon:     'true'
			  };
var webappMappings = {};
webappMappings['1006']=webappMappings['1006-1006']={
webappId:    '1006',
documentId:  '19501',
internalId:  '1006',
customField: '1006'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '19501',
internalId:  '',
customField: '20100617-180906'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67801',
internalId:  '',
customField: '20100418-173219'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '878',
internalId:  '',
customField: '20100322-135406'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66743',
internalId:  '',
customField: '20100619-163632'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66701',
internalId:  '',
customField: '20100403-135942'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '66722',
internalId:  '',
customField: '20100403-140013'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '794',
internalId:  '',
customField: '20100322-135554'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '67822',
internalId:  '',
customField: '20100322-135617'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '815',
internalId:  '',
customField: '20100817-171930'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '701',
internalId:  '',
customField: '20100322-140644'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '836',
internalId:  '',
customField: '20100322-141122'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '39601',
internalId:  '',
customField: '20100322-140848'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '857',
internalId:  '',
customField: '20100322-135228'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '26001',
internalId:  '',
customField: '20100322-141157'
};
webappMappings['5000']=webappMappings['5000-']={
webappId:    '5000',
documentId:  '22901',
internalId:  '',
customField: '20100322-141221'
};
var canonHostname = 'hptworkerdb01b.bluewin.ch';
var accountId     = 'ABW0X0IN2V8H';
var companyName   = 'longueville+%7C++art++%7C+design+%7C+creations+%7C+murals';
var htmlTitle	  = '';
var metaKeywords  = 'a+complices%2C+accomplice%2C+architecture%2C+art%2C+arts%2C+artist%2C+artiste%2C+park%2C+t-shirt%2C+limited%2C+edition%2C+art%2C+fair%2C+international%2C+fine%2C+arts%2C+exhibition%2C+call%2C+to%2C+artists%2C+world%2C+wide%2C+opportunity%2C+original%2C+submission%2C+parkartfair%2C+art-marketing%2C+artprice%2C+audacity%2C+bacon%2C+basquiat%2C++belgravia%2C+britain%2C+brushes%2C+business%2C+cable%2C+canvas%2C+car+wash%2C+ceiling%2C+chaux+ferree%2C+clouds%2C++collection%2C+collector%2C+combas%2C+concrete%2C++conservation%2C+contemporary%2C+contrast%2C+cottage%2C+creations%2C+culture%2C+curator%2C+dali%2C+danger%2C+day%2C+design%2C+dessin%2C+draperies%2C+earth%2C+elastic%2C+energy%2C+environment%2C+escalator%2C+event%2C+exhibition%2C+exit%2C+exposition%2C+fairmont%2C+figurative%2C+figure%2C+fine%2C+fineart%2C+gallery%2C+geneva%2C+geneve%2C+genevecottage%2C+geography%2C+golf%2C+golfer%2C+green%2C+gribouillis%2C+halkin%2C+help%2C+home%2C+humour%2C+hyperrealism%2C+hyperrealist%2C+ice%2C+incognito%2C+innovate%2C+interior+design%2C+international%2C+irony%2C+landscape%2C+laucreations%2C+laurence%2C+laurencelongueville%2C+laurence+longueville%2C+led%2C+level%2C+life%2C+light%2C+lighting%2C+lime%2C+listed%2C+london%2C+longueville%2C+love%2C+luxe%2C+magma%2C+mamco%2C+marmorino%2C+member%2C+moma%2C+m.o.m.a%2C+montreux%2C+mugs%2C+musee%2C+museum%2C+museumshop%2C+neon%2C+nature%2C+new+york%2C+oeuvre%2C+oil%2C+oil+paintings%2C+one%2C+ONEandONLY+ONE%2C+ONE+and+ONLY+ONE%2C+only%2C+painting%2C+palace%2C+parking%2C+parkplace%2C+paypal%2C+peinture%2C+pharand%2C+photography%2C+photorealism%2C+photorealist%2C+picasso%2C+pictures%2C+pigments%2C+planet%2C+portrait%2C+poster%2C+presentation%2C+puzzle%2C+puzzles%2C+rain%2C+realism%2C+realist%2C+recycling%2C+red%2C+river%2C+rothko%2C+saatchi%2C+sarcastic%2C+save%2C+scandals%2C+shining%2C+shop%2C+show%2C+snow%2C+stillife%2C+string%2C+switzerland%2C+talent%2C+tate%2C+technology%2C+terre%2C+to+be+or+not+to+be%2C+to+know%2C+trompe+oeil%2C+urban+landscape%2C+vermeer%2C+vernissage%2C+warhol%2C+water%2C+woman%2C+wonderful%2C+wood%2C+world%2C+you+tube%2C+youtube%2C+allori%2C+bellini%2C+boticelli%2C+caravaggio%2C+da+vinci%2C+leonardo%2C+david%2C+gericault%2C+la+tout%2C+velazquez%2C+judith%2C+christ%2C+madonna%2C+venus%2C+entombment%2C+thomas%2C+virgin%2C+patroclus%2C+death%2C+marat%2C+mona+lisa%2C+gioconda%2C+las+meninas%2C+pearl%2C+earring%2C+hat%2C+lacemaker%2C+milkmaid%2C+royal%2C+collection%2C+pinacoteca%2C+galleria%2C+uffizi%2C+sanssouci%2C+louvre%2C+royaux%2C+staatliche%2C+kunstsammlungen%2C+museum%2C+use%2C+of%2C+art%2C+der%2C+prado%2C+mauritshuis%2C+national%2C+gallery%2C+kunsthistorisches%2C+rijksmuseum%2C+scandal%2C+madness%2C+ultra-use%2C+paper%2C+doll%2C+painting%2C+by%2C+number%2C+coloriage%2C+met+art%2C+met+art+free%2C+fine+art%2C+metropolitan+museum+of+art%2C+member%2C+contemporary+art%2C+great%2C+affordable%2C+order%2C+now%2C+pay%2C+paypal%2C+frieze%2C+art%2C+fair%2C+london%2C+diffusion%2C+curator%2C+peta%2C+papas%2C+girod%2C+gina%2C+empson%2C+';
var metaContents  = 'artist%2C+oil+paintings%2C+design%2C+creations%2C+murals%2C+architecture%2C+interior%2C+fine+art%2C+exhibitions%2C+art+fair%2C+geneva%2C+park%2C+parkplace%2C+parkhouse%2C+geneva%2C+switzerland%2C+laucreations%2C+laurence+longueville%2C+exhibition%2C+photorealism%2C+artprice%2C+collection%2C+collector%2C+culture%2C+listed+artist%2C+museum%2C+puzzle%2C+shop%2C+oil+on+canvas%2C+pictures%2C+realist%2C+wall+paintings%2C';
theSitetree.getById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		if (ar[i][POS_ID] == id){
			return ar[i];
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getParentById = function(id, ar) {
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		for (var j = 0; j < ar[i][POS_CHILDS].length; j++) {
			if (ar[i][POS_CHILDS][j][POS_ID] == id) {
				// child found
				return ar[i];
			}
			var result=this.getParentById(id, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getName = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAME];
	}
	return null;
};

theSitetree.getNavigationText = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_NAVIGATIONTEXT];
	}
	return null;
};

theSitetree.getHREF = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_HREF];
	}
	return null;
};

theSitetree.getIsNavigation = function(id) {
	var elem = this.getById(id);
	if (elem != null){
		return elem[POS_ISNAVIGATION];
	}
	return null;
};

theSitetree.getTemplateName = function(id, lastTemplateName, ar) {
	if (typeof(lastTemplateName) == 'undefined'){
		lastTemplateName = this.topTemplateName;
	}
	if (typeof(ar) == 'undefined'){
		ar = this;
	}
	for (var i=0; i < ar.length; i++) {
		var actTemplateName = ar[i][POS_TEMPLATENAME];
		if (actTemplateName == ''){
			actTemplateName = lastTemplateName;
		}
		if (ar[i][POS_ID] == id) {
			return actTemplateName;
		}
		if (ar[i][POS_CHILDS].length > 0) {
			var result=this.getTemplateName(id, actTemplateName, ar[i][POS_CHILDS]);
			if (result != null){
				return result;
			}
		}
	}
	return null;
};

theSitetree.getByXx = function(lookup, xx, ar) {
    if (typeof(ar) == 'undefined'){
    	ar = this;
    }
    for (var i=0; i < ar.length; i++) {
        if (ar[i][xx] == lookup){
        	return ar[i];
        }
        if (ar[i][POS_CHILDS].length > 0) {
        	var result=this.getByXx(lookup, xx, ar[i][POS_CHILDS]);
            if (result != null){
                return result;
               }
        }
    }
    return null;
};

function gotoPage(lookup) {
	if(__path_prefix__ == "/servlet/CMServeRES" && typeof (changePage) == 'function'){
		changePage(lookup);
		return;
	}
	var page = theSitetree.getHREF(lookup);
	if (!page) {
		var testFor = [ POS_NAME, POS_NAVIGATIONTEXT ];
		for (var i=0 ; i < testFor.length ; i++) {
			var p = theSitetree.getByXx(lookup, testFor[i]);
			if (p != null) {
				page = p[POS_HREF];
				break;
			}
		}
	}
	document.location.href = (new URL(__path_prefix__ + page, true, true)).toString();
};
