<!--
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function switchImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<switchImages.arguments.length; i+=2) {
			document[switchImages.arguments[i]].src = switchImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function loadIt() {
  if (document.images) {
    maison_v2 = newImage("../eye/maison_v2.gif");
    maison_v3 = newImage("../eye/maison_v3.gif");
    maison_v4 = newImage("../eye/maison_v4.gif");
    atelier_v2 = newImage("../eye/atelier_v2.gif");
    atelier_v3 = newImage("../eye/atelier_v3.gif");
    atelier_v4 = newImage("../eye/atelier_v4.gif");
    quests_v2 = newImage("../eye/quests_v2.gif");
    quests_v3 = newImage("../eye/quests_v3.gif");
    quests_v4 = newImage("../eye/quests_v4.gif");
    oeuvre_v2 = newImage("../eye/oeuvre_v2.gif");
    oeuvre_v3 = newImage("../eye/oeuvre_v3.gif");
    oeuvre_v4 = newImage("../eye/oeuvre_v4.gif");
    lyrique_v2 = newImage("../eye/lyrique_v2.gif");
    lyrique_v3 = newImage("../eye/lyrique_v3.gif");
    lyrique_v4 = newImage("../eye/lyrique_v4.gif");
    boutique_v2 = newImage("../eye/boutique_v2.gif");
    boutique_v3 = newImage("../eye/boutique_v3.gif");
    boutique_v4 = newImage("../eye/boutique_v4.gif");
		services_v2 = newImage("../eye/services_v2.gif");
		services_v3 = newImage("../eye/services_v3.gif");
		services_v4 = newImage("../eye/services_v4.gif");
		relier_v2 = newImage("../eye/relier_v2.gif");
		relier_v3 = newImage("../eye/relier_v3.gif");
		relier_v4 = newImage("../eye/relier_v4.gif");
		ck_v1 = newImage("../../i/mates/ck/01.jpg");
		ck_v2 = newImage("../../i/mates/ck/02.jpg");
		ck_v3 = newImage("../../i/mates/ck/03.jpg");
		ck_v4 = newImage("../../i/mates/ck/04.jpg");
		ck_v5 = newImage("../../i/mates/ck/05.jpg");
		ck_v6 = newImage("../../i/mates/ck/06.jpg");
		ck_v7 = newImage("../../i/mates/ck/07.jpg");
		ck_v8 = newImage("../../i/mates/ck/08.jpg");
		ck_v9 = newImage("../../i/mates/ck/09.jpg");
		ck_v10 = newImage("../../i/mates/ck/10.jpg");
		ck_v11 = newImage("../../i/mates/ck/11.jpg");
		ck_v12 = newImage("../../i/mates/ck/12.jpg");
		ck_v13 = newImage("../../i/mates/ck/13.jpg");
		ck_v14 = newImage("../../i/mates/ck/14.jpg");
    niko_v1 = newImage("../../i/mates/niko/01.jpg");
		niko_v2 = newImage("../../i/mates/niko/02.jpg");
		niko_v3 = newImage("../../i/mates/niko/03.jpg");
		niko_v4 = newImage("../../i/mates/niko/04.jpg");
		niko_v5 = newImage("../../i/mates/niko/05.jpg");
		niko_v6 = newImage("../../i/mates/niko/06.jpg");
		niko_v7 = newImage("../../i/mates/niko/07.jpg");
		preloadFlag = true;
  }
}

function funkIt(nom,i) {
	switchImages(nom,i);
	return true;
}

var tipLog = "<p align=\'center\' style=\'margin:0px;\'>-----------------------------<br />Studio XXIX v2.0 Redesign Log<br />-----------------------------</p><div align=\'center\'><img src=\'v2.0/i/t/AiR_v1.jpg\' style=\'border:none;\' /></div><p class=\'tipLog\'>04.09.2007 ::<br />------------- <br />Resize optimization, \'portfolio\' &amp; \'services\' redesign complete.  Minor style updates.<br /><br />30.07.2007 ::<br />------------- <br />Tooltip Functionality on \'Quests - Europa\' complete.<br /><br />29.07.2007 ::<br />------------- <br />Tooltip implementation - tip script and content text complete.<br /><br />26.07.2007 ::<br />-------------<br />Resize optimization to 1024x768 on most of site - \'port\' and \'services\' yet to be resized.</p><p class=\'tipLog\'>If you found this, you have way too much time on your hands.<br />--T</p>";
var tipMoskvaI = "<img src=\'../i/t/Moskva_v1.jpg\' class=\'thumb\' /> Moscow changes one &ndash; there\'s nowhere even remotely like it.  Wild, lawless, ever-changing, frigid, and the most beautiful women in the world, without question.";
var tipBerlinI = "<img src=\'../i/t/Berlin_v1.jpg\' class=\'thumb\' /> First stop in four years: Berlin, to finally (!) experience Tresor, a techno Mecca, and now a dirt lot.  Connections made (except that fateful train at Ostbahnhof), and it was \'on\'.";
var tipPrahaI = "<img src=\'../i/t/Praha_v1.jpg\' class=\'thumb\' /> There's also nowhere remotely similar to \'Zlata Praha\' (Golden Prague): from the narrow, winding cobblestone streets through \'the city of 100 spires\' to Praga Mystika -- a truly haunting city.";
var tipLondon = "<img src=\'../i/t/London_v1.jpg\' class=\'thumb\' /> Had to go somewhere whilst waiting for my Russian visa...so London, and why not? Three hazy weeks, the highlight of which was definitely the Jack The Ripper tour of Whitechapel.";
var tipLiverpool = "<img src=\'../i/t/Liverpool_v1.jpg\' class=\'thumb\' /> Most shots here are random indeed, sans the penchant for self-guided / researched tours of various interests. Liverpool proved to be so much fun that these are from the *second* trip.";
var tipPrahaII = "<img src=\'../i/t/Praha_v2.jpg\' class=\'thumb\' /> The first journey to the Bohemian capitol was so good, it required a much longer return.  And so it went &ndash; three months of a complete insanity, heretofore unrivaled.";
var tipMoskvaII = "<img src=\'../i/t/Moskva_v2.jpg\' class=\'thumb\' /> The much - anticipated return to Moscow. Far and away the strangest trip imaginable, for reasons not up for mention here: it meshed nicely with an equally bizarre situation.";
var tipStuttgart = "<img src=\'../i/t/Stuttgart_v1.jpg\' class=\'thumb\' /> Though the purpose of the trip was to finally hit Neue Heimat\'s night at Prag Club, some down time was had to reflect.  Along the snowy trail: the technical-industrial capitol of Deutschland.";
var tipMalmo = "<img src=\'../i/t/Malmo_v1.jpg\' class=\'thumb\' /> Completion of a cycle - whilst waiting for a mate from G&ouml;teborg, time for a little stroll about the port city of Malm&ouml;.  Deliriously quaint and beautiful.";
var tipPrahaIII = "<img src=\'../i/t/Praha_v3.jpg\' class=\'thumb\' /> Time for a different angle of Zlata Praha: historical.  Any challenge to the kingdom of Bohemia would have to pass through the southern end: the fortress of V&yacute;&scaron;ehrad.";
var tipBerlinII = "<img src=\'../i/t/Berlin_v2.jpg\' class=\'thumb\' /> The first visit to post-Tresor Berlinstadt resulted in criminal amounts of fun.  After-hours became after-days, as yet another missed flight led to \'<a href=\'http://www.dj-owen.co.uk/h/media.htm\' target=\'_blank\'>Drei N&auml;chte</a>\' in Berlin.";
var tipBerlinIII = "<img src=\'../i/t/Berlin_v3.jpg\' class=\'thumb\' /> Berlinstadt simply never ceases to blow me away - SO much fun!!  Oh yeah - there's history, too...this was an impromptu trip to check out the newly-opened Tresor, en route back to Praha.  ";
var tipPrahaIV = "<img src=\'../i/t/Praha_v4.jpg\' class=\'thumb\' /> Another crazy trip to Praha - in the summer for the first time.  Ten days, and a year\'s worth of good times.  As always, cannot wait to return...";
var tipckI = "A few words about -stripped backgrounds-, or perhaps even...<br />- Christina:<br /><br />Breathtaking, cyn-ic-al-ly... clever.<br />Absolutely stunning, in the humblest of ways.<br />An unforgettable smile, just...<br />look!<br />Cute, quirky, like-minded, crazy, cool, 2x beautiful.";
var tipnikoI = "A few words about -scandalous lingerie-, or perhaps even ...<br />- Nikola:<br /><br />Russian?  No...only on nights at...old Nebe.<br />So very hot best of times.<br />...on any given night...you never know what they	will do...<br />Elegant, icy beautiful, best friend, confidant, cynic, pale no lust.";

function pop(nomen,wind) {
	window.open(nomen,wind,'height=529,width=620,scrollbars=no,resizable=no');
}

/***********************************************
* Switch Content script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for legal use. Last updated April 2nd, 2005.
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/

var enablepersist="on" //Enable saving state of content structure using session cookies? (on/off)
var collapseprevious="yes" //Collapse previously open content when opening present? (yes/no)

var contractsymbol='<img class="arrow" src="../i/rarrow.gif" alt="expanded">' //HTML for contract symbol. For image, use: <img src="whatever.gif">
var expandsymbol='<img class="arrow" src="../i/larrow.gif" alt="contracted">' //HTML for expand symbol.


if (document.getElementById){
document.write('<style type="text/css">')
document.write('.switchcontent{display:none;}')
document.write('</style>')
}

function getElementbyClass(rootobj, classname){
var temparray=new Array()
var inc=0
var rootlength=rootobj.length
for (i=0; i<rootlength; i++){
if (rootobj[i].className==classname)
temparray[inc++]=rootobj[i]
}
return temparray
}

function sweeptoggle(ec){
var thestate=(ec=="expand")? "block" : "none"
var inc=0
while (ccollect[inc]){
ccollect[inc].style.display=thestate
inc++
}
revivestatus()
}


function contractcontent(omit){
var inc=0
while (ccollect[inc]){
if (ccollect[inc].id!=omit)
ccollect[inc].style.display="none"
inc++
}
}

function expandcontent(curobj, cid){
var spantags=curobj.getElementsByTagName("SPAN")
var showstateobj=getElementbyClass(spantags, "showstate")
if (ccollect.length>0){
if (collapseprevious=="yes")
contractcontent(cid)
document.getElementById(cid).style.display=(document.getElementById(cid).style.display!="block")? "block" : "none"
if (showstateobj.length>0){ //if "showstate" span exists in header
if (collapseprevious=="no")
showstateobj[0].innerHTML=(document.getElementById(cid).style.display=="block")? contractsymbol : expandsymbol
else
revivestatus()
}
}
}

function revivecontent(){
contractcontent("omitnothing")
selectedItem=getselectedItem()
selectedComponents=selectedItem.split("|")
for (i=0; i<selectedComponents.length-1; i++)
document.getElementById(selectedComponents[i]).style.display="block"
}

function revivestatus(){
var inc=0
while (statecollect[inc]){
if (ccollect[inc].style.display=="block")
statecollect[inc].innerHTML=contractsymbol
else
statecollect[inc].innerHTML=expandsymbol
inc++
}
}

function get_cookie(Name) { 
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) { 
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1) end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}

function getselectedItem(){
if (get_cookie(window.location.pathname) != ""){
selectedItem=get_cookie(window.location.pathname)
return selectedItem
}
else
return ""
}

function saveswitchstate(){
var inc=0, selectedItem=""
while (ccollect[inc]){
if (ccollect[inc].style.display=="block")
selectedItem+=ccollect[inc].id+"|"
inc++
}

document.cookie=window.location.pathname+"="+selectedItem
}

function do_onload(){
uniqueidn=window.location.pathname+"firsttimeload"
var alltags=document.all? document.all : document.getElementsByTagName("*")
ccollect=getElementbyClass(alltags, "switchcontent")
statecollect=getElementbyClass(alltags, "showstate")
if (enablepersist=="on" && ccollect.length>0){
document.cookie=(get_cookie(uniqueidn)=="")? uniqueidn+"=1" : uniqueidn+"=0" 
firsttimeload=(get_cookie(uniqueidn)==1)? 1 : 0 //check if this is 1st page load
if (!firsttimeload)
revivecontent()
}
if (ccollect.length>0 && statecollect.length>0)
revivestatus()
}

if (window.addEventListener)
window.addEventListener("load", do_onload, false)
else if (window.attachEvent)
window.attachEvent("onload", do_onload)
else if (document.getElementById)
window.onload=do_onload

if (enablepersist=="on" && document.getElementById)
window.onunload=saveswitchstate

//-->