﻿/*-------------------------------
	Copyright (c) 2004-2005 Eira Inc.
	http://www.origano.com
	All rights reserved for all countries
-------------------------------*/
var blogOuvert=false;
var blogActNum=-1;
var fenAVosClaviers=null;
var fenAVosClaviersChargee=false;
function affichageRubrique(numRub, visible){
document.getElementById('divBlogCentral').style.visibility=(visible?'visible':'hidden');
document.getElementById('divBlog'+numRub+'Titre').style.visibility=(visible?'visible':'hidden');
document.getElementById('divBlog'+numRub+'Texte').style.visibility=(visible?'visible':'hidden');
document.getElementById('divBlog'+numRub+'AuteurHeure').style.visibility=(visible?'visible':'hidden');
document.getElementById('divBlog'+numRub+'Comment').style.visibility=(visible?'visible':'hidden');
with(document.getElementById('divCurseurMobile').style){
visibility=(visible?'visible':'hidden');
top=(numRub*20)+'px';	
}
blogOuvert=(visible?true:false);
return;
}
function blogMenuSvlDeb(e){
var elem=xElementDeEven(e);
if(elem.className=='blogUnMenu'){
with(elem.style){
borderColor='#003366';
color='#CC6633';
}
}
}
function blogMenuSvlFin(e){
var elem=xElementDeEven(e);
with(elem.style){
borderColor='#000000';
color='#999999';
}
}
function blogMenuClk(e){
var elem=xElementDeEven(e);
var numClique=parseInt(elem.id.substr(11));
if(blogOuvert&&(numClique==blogActNum))return;
if(blogActNum!=-1){
affichageRubrique(blogActNum,false);
with(document.getElementById('divBlogMenu'+blogActNum)){
onmouseover=blogMenuSvlDeb;	
onmouseout=blogMenuSvlFin;
style.cursor=(xHote.navIE599ea?'hand':'pointer');
style.color='#999999';
}
}
affichageRubrique(numClique,true);
blogActNum=numClique;
with(document.getElementById('divBlogMenu'+numClique)){
onmouseover=null;	
onmouseout=null;
style.cursor='default';
style.borderColor='#000000';
style.color='#CC6633';
}
if(xHote.navGecko){//?
}
else{
window.event.cancelBubble=true;
}
}
function fermerBlogCentral(e){
var elemObj=xElementDeEven(e);
if(	elemObj.id=='xPrc'||
elemObj.id=='xScn'||
elemObj.id=='divBlogCentral'||
elemObj.id=='divBlogMenus'||
elemObj.id=='divCoulMoment' ){
if(blogOuvert){
affichageRubrique(blogActNum,false);
with(document.getElementById('divBlogMenu'+blogActNum)){
onmouseover=blogMenuSvlDeb;	
onmouseout=blogMenuSvlFin;
style.cursor=(xHote.navIE599ea?'hand':'pointer');
style.color='#999999';
}
blogActNum=-1;
blogOuvert=false;
document.getElementById("divInfoDcvr").style.visibility='hidden';
document.getElementById("divInfoMenu").style.visibility='hidden';
}
}
}
function blogCommentaireSvlDeb(e){
var elem=xElementDeEven(e);
if(elem.className=='blogComment')
elem.style.color='#cc6633';
}
function blogCommentaireSvlFin(e){
var elem=xElementDeEven(e);
if(elem.className=='blogComment')
elem.style.color='#999999';
}
function blogCommentaireClk(e){
var elem=xElementDeEven(e);
var idRub=-1;
if(elem.className=='blogComment'){
idRub=vctIDRub[parseInt(elem.id.substr(7,1))];
if(idRub>0)
txtClavClk(idRub);
window.event.cancelBubble=true;
}
}
function txtClavClk(no){
try{
fenAVosClaviersChargee= !fenAVosClaviers.closed;
}
catch(e){
fenAVosClaviersChargee=false;
fenAVosClaviers=null;
}
hor=window.setTimeout('fenAVosClaviersBienChargee()',100);
if(!fenAVosClaviersChargee){
if(window.location.href.indexOf("localhost")!=-1)
fenAVosClaviers=window.open(
"http://localhost/origano/blg/origaBlogComm_a.aspx?rubriqueNum="+no,"fenAVosClaviers",
"top=100,left=100,height=500,width=600,status=no,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no");
else
fenAVosClaviers=window.open(
"http://www.origano.com/blg/origaBlogComm_a.aspx?rubriqueNum="+no,"fenAVosClaviers",
"top=100,left=100,height=500,width=600,status=no,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no");
fenAVosClaviersChargee=true;
}
fenAVosClaviers.focus();
noRubAVosClaviers=no;
}
function fenAVosClaviersBienChargee(){
try{
fenAVosClaviersChargee= !fenAVosClaviers.closed;
}
catch(e){
fenAVosClaviersChargee=false;
fenAVosClaviers=null;
alert("Message from origaNo:\n\nYou must enable popup windows in your browser to see and/or create blog comments.");
}
}	
function blogRubriComplSvlDeb(){
with(document.getElementById('divRubriCompl')){
style.color='#CC6633';
}
}
function blogRubriComplSvlFin(){
with(document.getElementById('divRubriCompl')){
style.color='#999999';
}
}
function blogRubriComplClk(){
window.location="blg/origaBlog_a.aspx";
}
function info(texte){
this.texte=texte;
this.enfNbr=0;
this.enf=new Array();
this.ajouterEnf=_ajouterEnf;
}
function _ajouterEnf(){
var i=0;
this.enfNbr=arguments.length;
if(this.enfNbr>0){
for(i=0;i<this.enfNbr;i++)
this.enf[i]=arguments[i];
}
else alert("_ajouterEnf : aucun !?");
}
function initInfos(){
inf=new info("f",null);
inf.ajouterEnf(
new	info("It's the “who-when-how” of origaNo."),
new info("Be acquainted with our products series of mind related applications - description, features, screenshots, downloads, purchase, etc."),
new info("Confidential and privacy statements, browser requirements, etc."),
new info("For the management of your account (login, logout...) - also accessible at the top of every page."),
new info("On exhibit now – some kind of virtual museum on different matters."),
new info("Entrance to our fluctuating states of mind – a blog updated on an irregular basis."),
new info("Purchase area for the products series of mind related software."));
inf.enf[0].ajouterEnf(
new info("Position, claims and goals of origaNo."),
new info("It's the origaNo Site Map.<br /><br />You will find links to origaNo pages."),
new info("Ethics and privacy statement."),
new info("Copyright and Author's right at origaNo."),
new info("At origaNo, the first input remains you. Here is your opportunity to send your comments or suggestions."),
new info("Provide your e-mail address and be automatically informed of new topics or products strictly related to origaNo – won't be daily garbage."),
new info("It's the actual home page you are looking at.<br /><br /><b>At your left:</b><br /><br />colors of the moment<br /> (origaNo's blog).<br /><br /><b>At your right:</b><br /><br />some original contraptions and thin gummies to discover!"));
inf.enf[1].ajouterEnf(
new info("Get an overview of the products series of mind related applications."),
new info("origaDesk - The Notes Keeper for the Aesthete. A software application designed to keep your notes and remind you of your existence events."),
new info("An overview of a few 14 billion years – from big bang to our present days - for better locating ourselves in the universe."));
inf.enf[1].enf[1].ajouterEnf(
new info("Presentation of the application – what is origaDesk?"),
new info("Detailed characteristics of the application, features, screenshots, required configuration, etc."),
new info("Tricks and info on the use of origaDesk.<br /><br />Frequently asked questions relating to origaDesk."),
new info("You wish to evaluate origaDesk?  It is free and without obligation."),
new info("After a try, you <i>will want</i> to acquire this application. Here is how..."));
inf.enf[2].ajouterEnf(
new info("For any question about the platforms, navigators and other thin gummies supported by origaNo."),
new info("Frequently asked questions relating to origaNo."),
new info("Frequently asked questions relating to software applications available at origaNo."),
new info("Confidentiality - our data confidentiality policy - especially those data which concern you..."),
new info("Write to us for any comment or any question!"));
inf.enf[2].enf[2].ajouterEnf(
new info("origaDesk - support about this software application."));
inf.enf[3].ajouterEnf(
new info("... What means an account at origaNo?<br />... What are the benefits?<br />... How is your data protected?"),
new info("Select this menu if you wish to create an account (free and without obligation)."),
new info("Modify your account...:<br /><br />... you wish to modify your email?<br />... or perhaps modify your preferences of inscription to our newsletters?<br />... or..."),
new info("Start a session – allows you to visit restricted access pages of origaNo."),
new info("To close a session when you to leave this site."));
inf.enf[4].ajouterEnf(
new info("Rimbaud, Hugo and others - a diversion on unavoidable pillars of the French literatures."),
new info("Michelangelo - you know but still...?"),
new info("Yes, it is much dedicated to Amadeus but the techno-post-punk-rave will come soon - with animation in addition."),
new info("Movies - what touched us."),
new info("Transcendence of the spirit - all that is likely to help us getting our head from under the ground."),
new info("Society - where do we go and is it for the best?"),
new info("Super-strings, relativity, and Buddha."),
new info("Of spaces, odours and peculiar moments - here, there, and everywhere."));
inf.enf[4].enf[0].ajouterEnf(
new info("Poem of Victor Hugo revealing the deep distress left by a dear being since disappeared."),
new info("These magic moments which sometimes impregnate us at the end of the night just before the arrival of this ball of fire..."),
new info("Animated reflection on a fact too easily forgotten."),
new info("“I praised myself...  I liked...  I dreamed...  I invented... I flattered myself...  "+
"I wrote... I noted...  I fixed...”<br /><br />Arthur Rimbaud"));
inf.enf[4].enf[1].ajouterEnf(
new info("Less than twenty-five years old, and already behind him, a renowned masterpiece – a diversion on a sculpture which survives its creator, Michelangelo."),
new info("laocoon ?<br />"+"Diversion on a sculpture which survives its creator."));
inf.enf[4].enf[2].ajouterEnf(
new info("<i>Mozartian chronicles</i> - an annual newspaper covering the principal events of the life of Wolfgang Amadeus Mozart, from 1756 to 1791."));
inf.enf[4].enf[3].ajouterEnf(
new info("Zeffirelli or when dignity is made light through horrors of the war."),
new info("Would the terrestrial paradise be nested between Himalayans summits?"));
inf.enf[4].enf[4].ajouterEnf(
new info("The <i>I Ching</i> is a book on wisdom – Carl Jung was interested in this system of oracles where the universe is fitted in a quasi-rational system."),
new info("<i>Who says what</i>, on topics likely to besiege your conceptions.<br /><br /><i>tug-of-words</i> lets you select two parts which you confront on a given topic."),
new info("Is God a personal being, sensitive to our aspirations or are we all imprisoned in a gigantic set of mechanical parts?<br /><br />Here is an insight from someone on this undying issue."));
inf.enf[4].enf[5].ajouterEnf(
new info("How can one redefine the concept of “respect”?"),
new info("Wait for less than 60 secs (@56K), and get in exchange a travel encompassing some 14&nbsp;billion years of our cosmological saga.<br /><br />You may be in for an hour or so... "));
inf.enf[4].enf[6].ajouterEnf(
new info("A short diversion on the phenomenon of waves – amplitude, frequency, wave-length."),
new info("A convincing real-time simulation of Einstein's Relativity<br /><br />A study that shows photons and their behavior."),
new info("The Universe is mainly made up of vacuum as they say.<br />What is this vacuum made of?<br /><br />At the beginning of the XIX <sup>th</sup > century, some thought that it consisted of ether."));
inf.enf[4].enf[7].ajouterEnf(
new info("Did you know that Russia and the very French word of 'bistro' (coffee shop) are quite related?"),
new info("Winds, salted water and kelp – that's what this wild corner of the planet is made of."),
new info("Through this opening in the cliff, you still feel the world of corsairs and Mayas."),
new info("A beach of near black sand?<br /><br />Here's where you can actually see (and walk&nbsp;on) such unusual feature."));
inf.enf[5].ajouterEnf(
new info("That's the main access for reading – and commenting the blog entries.<br /><br />The last 7 ones are shown at left."),
new info("Should you want to subscribe to the RSS feed of origaNo blog, relevant information is provided here."));
}
function afficherInfoMenu(){
if(typeof(xm)=="undefined")return;
if(typeof(inf)=="undefined")return;
var ttr=null;
var txt=null;
if(xo[3]!=-1){
ttr=xm.enf[xo[1]].enf[xo[2]].enf[xo[3]];
txt=inf.enf[xo[1]].enf[xo[2]].enf[xo[3]];
}
else if(xo[2]!=-1){
ttr=xm.enf[xo[1]].enf[xo[2]];
txt=inf.enf[xo[1]].enf[xo[2]];
}
else if(xo[1]!=-1){
ttr=xm.enf[xo[1]];
txt=inf.enf[xo[1]];
}
else{
//!
}
document.getElementById("divInfoDcvr").style.visibility='visible';
with(document.getElementById("divInfoMenu")){
style.visibility='hidden';
innerHTML="";
innerHTML='<span style="color:#999966;font-size:14px;font-weight: bold;">'+ttr.nom+'</span>'+
((ttr.enfNbr>0)?'<span style="color:#999966"><br />:: is a group ::<br />[cannot be clicked...]</span>':'')+	
'<br /><br />'+txt.texte+
((ttr.enfNbr>0)?'<span style="color:#999966"><br /><br />[see the lower level menu]</span>':'');
if(xHote.navIE550eu){
if(filters.revealTrans.Status==2)filters.revealTrans.stop();
filters.revealTrans.transition=Math.floor(Math.random()*23);
filters.revealTrans.Apply();
style.visibility="visible";
filters.alpha.opacity=100;
filters.revealTrans.Play();
}
else{
style.visibility='visible';
}
}
}
