function setCookie(name,value,expires,path,domain,secure)
{var curCookie=name+"="+escape(value)+
(expires?"; expires="+expires.toGMTString():"")+
(path?"; path="+path:"")+
(domain?"; domain="+domain:"")+
(secure?"; secure":"");return document.cookie=curCookie;}
function getCookie(name)
{var dc=document.cookie;var prefix=name+"=";var begin=dc.indexOf("; "+prefix);if(begin==-1)
{begin=dc.indexOf(prefix);if(begin!=0)return null;}
else
{begin+=2;}
var end=document.cookie.indexOf(";",begin);if(end==-1)
{end=dc.length;}
return unescape(dc.substring(begin+prefix.length,end));}
if(!getCookie('imgIndex'))
{setCookie('imgIndex',0,now,null,null,null);}
var homePic=new Array();for(i=1;i<127;i++){homePic[i]='<img src="i/e'+i+'.jpg" />'};
var now=new Date();
now.setTime(now.getTime() + 1000 * 60 * 60 * 24 * 1460)
var imgIndex=parseInt(getCookie('imgIndex'),10);
imgIndex++;
if(imgIndex>=homePic.length){imgIndex=1;}
setCookie('imgIndex',imgIndex,now,null,null,null);
picTitle = new Array("&nbsp;",
"street geometry and a sump for a neighbourhood cul-de-sac - october 2011.",
"formal neighbourhood protocol and the twisted sanity of a tropical greenhouse - november 2011.",
"moist green and velvet undulations of the monsoon tropics - february 2011.",
"chain-link and a welder’s take on front door formality - november 2011.",
"garden out and garden in with scones, high tea, a spot of milk and sugar in betwen - february 2011.",
"dining grottos and morning shade with bougainvillea blinds - march 2009.",
"notes on an experiment in the dynamics of office toilet enclosures - september 2008.",
"half a rowhouse spliced with cross-vented greens and every room to a view - november 2011.",
"late afternoon drama and the actors of a cloistered garden lobby - may 2010.",
"sheet steel doors, cement caves, Ali Baba....and the forty trees - january 2011.",
"brick bordered dead-ends and evening gravel beds for cars - october 2008.",
"suspended stretch nylons on perched legs of steel - march 2011.",
"architectural conformity and crime behind fifty-nine trunks and an act of planted porn  - november 2011.",
"garden rooms of dripping light and jungle boughs - november 2010.",
"clear skies, an afternoon sun, and a breath-catching dip in shadowcast water - may 2010.",
"the yes of fengshui and fifty-nine trees for a front door - november 2011.",
"walled morning orchard strolls and the grit of a storm drain reserve - august 2006.",
"cheddar wafers evenly spaced and jacked on a steel beanstalk - november 2011.",
"a formal act of entry and the welcome of an asian dining room - april 2008.",
"rampant ferns, velvet covered bark, airborne roots, and filtered sunlight on salt water - february 2011.",
"the shade of tree boughs and a perforated gate for the act of welcome - july 2009.",
"a vented lung by day and lantern glow by dusk - november 2011.",
"planted patchwork framed by nibs and grooves of a backlane garden - may 2008.",
"lean steel arms and a bully pull for a sliding gate in drag - march 2011.",
"a concrete underbelly and the afterglow of high noon heat - september 2009.",
"sunlight stirred into hidden garden rooms and the exploding greens of mad science - november 2011.",
"strangler figs, sinew in shadow, aerial roots and the leaf-strewn base of a mountain pool  - november 2011.",
"burned brick lobbies and the gracious glow of entry - january 2009.",
"lightwells of sunlight, dead leaves, dirt and detritus; shaken, not stirred - february 2011.",
"a clear-trunked slot for an elevation and trees for a cooling sink at the safari roof house - september 2007.",
"uneven walls, pin-anchored edges and the sunlight molasses of a folded stair - november 2007.",
"light for growth and the reasoned insanity of a glass roof under tropical sun - november 2011.",
"a desk for work, armchair for rest and floral shadow puppetry in a forest arbour - april 2008.",
"jungle growth, ferns and trimmed ficus on frames of brick and lacy steel - august 2010.",
"open sesame and a threshold betwen the sacred and profane - july 2009.",
"ink shadows in clear water and the brisk rough touch of concrete underfoot- april 2008.",
"brick sponge floors and a formal substrate for self-levelling moss - february 2011.",
"tooth and texture in the boughs of a morning-streaked loftoffice - may 2008.",
"dining rooms of domestic mess and encroaching garden growth - november 2010.",
"light to grow and leaves to shade - november 2011.",
"strangler figs over jungle pool wild and the civility of creeper covered walls - november 2010.",
"unabridged gardens with a hint of order through a view slot caked in leaves - march 2009.",
"streaming morning light and the textures of age given form - december 2010.",
"rowhouse lanterns and the moonlit madness of greens gone wild - november 2011.",
"aboreal occupants of an informal garden foyer - march 2008.",
"polished concrete troughs with overflow slots and bath bits in copper and brass - november 2007.",
"slanting morning light on modesty screens of mesh and an ageing brick wall - march 2011.",
"the perforated sheets of a folded stair put to a twist - november 2011.",
"bluecollar brass and a cistercian altar for cleansing - march 2011.",
"perforated park bench lounging and the arbour of a corporate orchard - january 2010.",
"a rolled outgrowth of the garden industrial - december 2010.",
"the garden termination of a fire escape stair - august 2010.",
"Kvadrat and a sock upholstered wave - august 2011.",
"formalised informal courtyards and back kitchen theatre - july 2003.",
"backstreet relief and the slaughterhouse vanity - march 2007.",
"toilet bustle and the vertical backstreet - june 2009.",
"cloistered louvred lobbies and concrete flying carpets - march 2010.",
"narrow walled gardens and a cross ventilated suite - march 2011.",
"45mm and a concrete wafer for project postmortems - january 2006.",
"peekaboo and the thoroughfare of a neighbourhood barn - december 2010.",
"copper, brass and the joints of provincial plumbing - may 2007.",
"see-through mesh, morning tea, borrowed sugar and the girl next door - march 2010.",
"texture undulated and the Hallingdal 65 - august 2011.",
"backstreet downpipes of the monsoon colossal - march 2007.",
"budget formwork, salinated water and the riverine lines of a scrapwood pool - august 2005.",
"chainlink, eyebolts, galvanised posts and the stretched nylons of a firestair fence - march 2010.",
"a formal lobby cloistered by trees and a floating room for prayer - march 2010.",
"toplight in a tall hall and domestic aboreal shade - january 2011.",
"folded planes and the weight of a world rested on small shoulders - november 2007.",
"a gap between flights and twenty floors of an uninterrupted handrail - february 2010.",
"verdant cover, concrete sandwich vistas and the garden romantic - october 2008.",
"textures of an oven-fresh garage lobby - march 2010.",
"archived concrete, honed render, and the gnarly textures of a gnarly house - october 2010.",
"treadmills above, juice below, yoga on the side, and a room with a view - august 2010.",
"furry jute underfoot and a expanded metal catch-all - march 2007.",
"oven-baked wall-to-wall carpeting and a humanised trip from the car - april 2010.",
"garden rooms of the ruinesque domestic - april 2006.",
"pivot thighs, swinging legs and the can-can of a handicapped access bench - august 2011.",
"buttered concrete toast and mild steel garnish - march 2007.",
"natural selection and a shaded grove of the forest plantation - may 2010.",
"concrete risers, clay tiled treads and the scalloped wall of a spring-loaded handrail - february 2010.",
"garden festivals, a compost vanity and a template for park toilet facilities - april 2006.",
"the ribbed ceilings and recessed tracks of spatial continuity - october 2010.",
"the furry curves of a Kvadrat chaise - august 2011.",
"mama bear signage and traces of the haptic office lobby - march 2010.",
"late morning sunlight and the animate traces of occupation - september 2004.",
"junctions of an architectural crash test dummy - 2002/ongoing.",
"wet path circulation to a pool above and showers-to-go - february 2010.",
"shadows in a lobby, stocking-wrapped corporate protocol and the way in - march 2010.",
"eastern light and the morning ride up - february 2010.",
"organic garbage, a steel stockinged wall, and the modesty of a park restroom - april 2006.",
"east clerestory lighting and a black gumby burping cool air - may 2007.",
"cloistered textured boxes and the ventblock house - june 2004.",
"a side street passage and the bricksheathed lobby breezeway  - august 2011.",
"an architectural billboard of the ubiquitous highway - march 2010.",
"garden pavilions, groucho marx and an eyebrow of sprouting wheatgerm - april 2006.",
"corporate hosiery, suspended landings, carnal relief and the leggy walk up - march 2010.",
"plantation screens and the warm glow of a borrowed landscape - may 2005.",
"butterflies in garden rooms wedged between scented groves and walls of green - march 2009.",
"sunlit joints, pixellated treads, and an illuminated floor below - november 2007.",
"hinged trays, folded tongues and the perforated seat of a wheelchair ramp - august 2011.",
"hanging brass valves, copper risers and wicked high noon glow on a honed wall - october 2010.",
"tumbling galvanised decks of a vertical neighbourhood - february 2010.",
"a framed garden of garden frames - october 2008.",
"arboreal cover and hidden arks of brick - march 2007.",
"the shoe shuffle and a threshold between the sacred and profane - september 2004.",
"a phalanx of burnished sun shields and the radiator railing - may 2010.",
"seat of the pants ventilation and the lobby dropbench - august 2011.",
"soft east light and the morning after in an ashtray garden - may 2005.",
"morning coffee, cigarettes, fence chat and the diary of a vertical neighbourhood - march 2010.",
"a brick room with plywood, concrete, steel and brass, the three little pigs and roast beef - october 2010.",
"balmy sunday morning views from where sleeping dogs lie - october 2008.",
"a hinged shelf for shoes-to-go or a wheelchair to run - august 2011.",
"concrete corporate origami for a formal lounge - march 2010.",
"dripped daylight and the cross breeze of the barnstorm house - february 2011.",
"brick stele side armour for sentinels facing west - december 2009.",
"west facing walls and bulwarks of green - june 2009.",
"wheatgerm, dead leaves and detriuts, and a seeded steel frame - april 2006.",
"heavy persians, light sheers and pork knuckle in a shaded wood - march 2011.",
"architecture of a decomposing carcass, ripped hide and a spot for service entrails - january 2010.",
"pitbull beauty and the bite of dogconcrete - october 2008.",
"screened washing and the sunken basins of a garden powder room - april 2006.",
"architectural gatekeepers for a civic-scaled front door - january 2010.",
"a neighbourhood lava lamp, jezebel's swim, and all in raw at the dogconcrete house - april 2006.",
"the battered brick and toothless gaps of hoodlum tectonics - january 2010.",
"park toilet formality and the compost wall - april 2006.");
projNum = new Array ("#",
12,66,12,66,60,12,46,66,12,21,12,39,66,12,65,66,12,66,12,65,21,66,12,39,8,66,65,8,12,21,26,66,46,37,21,65,12,46,12,66,12,46,12,66,12,3,39,66,62,54,60,8,63,23,17,8,44,62,25,60,51,8,63,17,43,45,8,60,26,45,32,8,62,64,17,8,12,61,17,54,45,42,62,63,8,2,12,64,44,8,42,17,29,61,8,42,44,54,3,26,61,62,8,32,17,2,48,61,21,8,62,32,61,44,60,8,21,42,62,8,32,42,8,32,8,42);
$(function() {
	$('.navscreen').html('<img src="i/blank.gif" />');	   
	$('.caro-skin-1').caro({vertical: true,scroll: 32});
	$('#pic').append(homePic[imgIndex]);
	$('h4').append('<a href="p'+projNum[imgIndex]+'.html">'+picTitle[imgIndex]+'</a>');
	$('.caro-skin-1 ul li').css('opacity',0);
	$('.caro-next, .caro-prev').hide();
	$('#overlay').hide().css('opacity',0.1);
	$("#home h2 a").click(function () { $('#overlay,h1').fadeIn();$('h4,.navscreen').fadeOut();
	$('.caro-skin-1 ul li').animate({'opacity': 1});$('.caro-next, .caro-prev').show();});
}); 
