// front page quote generator

function randomQuote()
{
var theQuote=new Array();

// the quotes
theQuote[1]="Unusually accessible, even funky... <em>To Have And To Hold</em> and <em>Profile</em> summoning echoes of the industrial dub grooves of PiL's <em>Metal Box</em>... On <em>Reset</\em>, the result has the same texture and simplicity, as Neu!'s majestic motorik exercise <em>E-Musik</em>.";
theQuote[2]="When they're good&mdash;as on <em>Reset</em> and <em>Profile</em>&mdash\;they're astonishingly good, both angular &amp; polished.";
theQuote[3]="<em>Headgit</em> is primarily intended as a \'taster\' for an album scheduled for early 2005. Whatever&mdash\;it\'s more than strong enough to stand on its own. Although Newman\'s deadpan vocal style and recognisable guitar sound recall Wire, <em>Headgit</em> is more playful than the parent group\'s recent album, <em>Send</\em>. It sounds brighter and more relaxed.";
theQuote[4]="Six near-perfect slices of pulsating, rhythmic music that burrow deep into your consciousness, keeping you hooked throughout, but still providing enough depth for the EP to hold up during heavy rotation.";
theQuote[5]="Cult classic of tomorrow.";
theQuote[6]="<em>Profile</em> is the album of the year so far. Genius.";
theQuote[7]="Arrangements that pit Newman and Rimbaud\'s guitars in combinations of jangly arpeggios, sheets of distortion, choppy rhythm licks and steely lead lines, all anchored by Spigel\'s loping Wobble-esque dub basslines and at times brutal drum-machine beats. The results cohere into a sonic juggernaut.";
theQuote[8]="What you get here though is a set of songs that simply demand to be played to death. And the more you play it, the more you love it! A great album.";
theQuote[9]="This album finds the band making something of a quantum leap, especially in the manner in which the music is delivered... It\'s as if the band is its own entity and it's somehow grown up. While <em>Profile</em> is hardly the most deadly serious of records, it\'s certainly more mature than the band\'s debut: the arrangements are tighter, the mix is better, and the continually weaving mesh of instruments weaves its way further into your brain.";
theQuote[10]="This first collection of immediate classics conceals treasures of melodic grace and sharply cut efficiency.";
theQuote[11]="Robin Rimbaud (Scanner), Colin Newman (Wire) and Malka Spigel (Minimal Compact) make a debut with a first album so modern that it\'s scary.";

var quoteCite=new Array();

// quote cite details
quoteCite[1]="Andy Gill, <a href=\"http://enjoyment.independent.co.uk/music/reviews/story.jsp?story=581894\">The Independent</a>";
quoteCite[2]="James Snodgrass, <a href=\"http://www.nme.com/\">NME</a>";
quoteCite[3]="Mia Clarke, <a href=\"http://www.thewire.co.uk/\">The WIRE Magazine</a>";
quoteCite[4]="Craig Grannell, <a href=\"http://www.wireviews.com/reviews/headgit.html\">Wireviews</a>";
quoteCite[5]="<a href=\"http://www.q4music.com/\">Q Magazine</a>";
quoteCite[6]="Dean Thatcher, <a href=\"http://www.mixmag.net/\">Mixmag Update (UK)</a>";
quoteCite[7]="Andy Gill, <a href=\"http://enjoyment.independent.co.uk/music/reviews/story.jsp?story=649072\">The Independent</a>";
quoteCite[8]="Andrew Cowen, Birmingham Post";
quoteCite[9]="Craig Grannell, <a href=\"http://www.wireviews.com/reviews/profile.html\">Wireviews</a>";
quoteCite[10]="Nicolas Julliard, Le Temps (Switzerland)";
quoteCite[11]="David Saavedra, El Mundo (Spain)";

var getRan=Math.floor(Math.random()*theQuote.length);
if (getRan==0)
getRan=1;

document.write('<div class=\"quoteareabig\"><p>'+theQuote[getRan]+'</p></div>');
document.write('<p class=\"quotecite\">- '+quoteCite[getRan]+'</p>');
}

// gallery set-up

// swap image, caption and link

function swapPhoto(photoSRC,theCaption,theCredit,theLink) {
	var displayedCaption = document.getElementById("caption");
	displayedCaption.firstChild.nodeValue = theCaption;

	var displayedCredit = document.getElementById("credit");
	displayedCredit.firstChild.nodeValue = theCredit;

    document.images.imgPhoto.src = "assets/gallery/" + photoSRC;
	document.getElementById('downloadlink').href = "assets/gallery/" + theLink;
    }
    
// div toggler

function swap(targetId,buttonId){
  
  if (document.getElementById)
        {
        target = document.getElementById(targetId);
        buttonName = document.getElementById(buttonId);
        
            if (target.style.display == "none")
                {
                target.style.display = "";
                } 
            
            else 
                {
                target.style.display = "none";
                }
                
            if (target.style.display == "none")
                {
                buttonName.src = "assets/nav_open.gif";
                }
            else 
                {
                buttonName.src = "assets/nav_close.gif";
                }
        }
}

