var InternetExplorer = navigator.appName.indexOf("Microsoft") != -1;
function FSCommand_DoFSCommand(command, args) {
  var FSCommandObj = InternetExplorer ? FSCommand : document.FSCommand;

{if(command=="medina"){ openmedin()}
	else
		{if(command=="palacio"){ openpalac()}
			else
				{if(command=="atelier"){ openatelier()}
				else
				{if(command=="vid"){ openvid()}
				else
				{if(command=="refimar"){ openrefimar()}
				else
				{if(command=="reftmar"){ openreftmar()}
				else
				{if(command=="phint"){ openphint()}
				else
				{if(command=="phapt"){ openphapt()}
				else
				{if(command=="MogaMedina"){ openMogaMedina()}
				else
				{if(command=="MogaOpera"){ openMogaOpera()}
				else
				{if(command=="cafe"){ opencafe()}
				else
				{if(command=="immeub"){ openimmeub()}
				else
				{if(command=="detfine"){ opendetfine()}
				else
				{if(command=="detgro"){ opendetgro()}
				else
				{if(command=="finit"){ openfinit()}
				else
				{if(command=="accasa"){ openaccasa()}
				else
				{if(command=="accmarr"){ openaccmarr()}
}}}}}
}}}}
}}}}
}}}}

function openmedin(){setTimeout(window.open('medina/main.html','',
'height=340,width=400,left=50,top=10,toolbar=no')),0}

function openpalac(){setTimeout(window.open('palacio/main.html','',
'height=340,width=400,left=50,top=10,toolbar=no')),0}

function openatelier(){setTimeout(window.open('atelier.html','',
'height=450,width=530,left=50,top=10,toolbar=no')),0}

function openvid(){setTimeout(window.open('video.html','',
'height=370,width=320,left=50,top=10,toolbar=no')),0}

function openrefimar(){setTimeout(window.open('refImmoMarra.html','',
'height=450,width=530,left=50,top=10,toolbar=no')),0}

function openreftmar(){setTimeout(window.open('refTourMarra.html','',
'height=450,width=530,left=50,top=10,toolbar=no')),0}

function opendetfine(){setTimeout(window.open('detFine.html','',
'height=450,width=530,left=50,top=10,toolbar=no')),0}

function openphint(){setTimeout(window.open('photosinter.html','',
'height=490,width=600,left=50,top=10,toolbar=no')),0}

function openphapt(){setTimeout(window.open('photosappt.html','',
'height=490,width=600,left=50,top=10,toolbar=no')),0}

function openMogaMedina(){setTimeout(window.open('MogadorMedina.html','',
'height=450,width=435,left=50,top=10,toolbar=no')),0}

function openMogaOpera(){setTimeout(window.open('MogadorOpera.html','',
'height=450,width=452,left=50,top=10,toolbar=no')),0}

function opencafe(){setTimeout(window.open('cafe.html','',
'height=444,width=452,left=50,top=10,toolbar=no')),0}

function openimmeub(){setTimeout(window.open('immeuble.html','',
'height=344,width=602,left=50,top=10,toolbar=no')),0}

function opendetgro(){setTimeout(window.open('detGros.html','',
'height=450,width=530,left=50,top=10,toolbar=no')),0}

function openfinit(){setTimeout(window.open('finition.html','',
'height=480,width=602,left=50,top=10,toolbar=no')),0}

function openaccasa(){setTimeout(window.open('accCasa.html','',
'height=555,width=600,left=50,top=10,toolbar=no')),0}

function openaccmarr(){setTimeout(window.open('accMarr.html','',
'height=555,width=540,left=50,top=10,toolbar=no')),0}
}
if (navigator.appName && navigator.appName.indexOf("Microsoft") != -1 && 
	  navigator.userAgent.indexOf("Windows") != -1 && navigator.userAgent.indexOf("Windows 3.1") == -1) {
	document.write('<SCRIPT LANGUAGE=VBScript\> \n');
	document.write('on error resume next \n');
	document.write('Sub FSCommand_FSCommand(ByVal command, ByVal args)\n');
	document.write('  call FSCommand_DoFSCommand(command, args)\n');
	document.write('end sub\n');
	document.write('</SCRIPT\> \n');
}
else  {
	document.write('<SCRIPT language="javascript">');
    document.write('function popup(page,nom,option){');
    document.write('window.open(page,nom,option);}');
    document.write('</SCRIPT>');
}


