// front page quote generator

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

// the quotes
theQuote[1]="Simultaneously brooding, lush, aggressive and lyrical, this is a reclamation of pop and rock music at their most atmospheric and beguiling.";
theQuote[2]="Newman seems to have relocated the combination of sardonic intellectual wit and winning pop song craft that made Wire such an engaging (and influential) post punk prospect. *****";
theQuote[3]="<em>Art Pop</em> is a finely balanced record that seamlessly fuses familiarity and inventiveness.";
theQuote[4]="the band combine postmodern lyrics with snarling, melodic funk-grind to put the modern art back into <em>Art Pop</em>";
theQuote[5]="Another expertly skewed missive from a paralell pop dimension";
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]="grounded in technological modernity, not the tired styles of yesteryear.";
theQuote[10]="Slyly subversive gems that reall Wire when they were edging into poppier territory.";
theQuote[11]="Gloriously demented";
theQuote[12]="When they're good&mdash;as on <em>Reset</em> and <em>Profile</em>&mdash\;they're astonishingly good, both angular &amp; polished.";
theQuote[13]="<em>Profile</em> is the album of the year so far. Genius.";
theQuote[14]="With <em>Art Pop</em> the avant rock supergroup Githead finally delivers, in abundance, on the promise of 2005\'s <em>Profile</em>. *****";
theQuote[15]="Finally, Githead has made good on its promise with this essential release.";
theQuote[16]="Newman unblinkingly looking to the future and thinking at least two steps ahead of the rest of the musical world.";
theQuote[17]="<em>Art Pop</em> is arguably one of the best albums of 2007...";
theQuote[18]="<em>Landing</em> is unquestionably their most compelling album so far.";
theQuote[19]="The chemistry between Spigel's buoyant bass and Rimbaud and Newman's guitars is potent.";
theQuote[20]="Githead's new album is a Quietus favourite of 2009";
theQuote[21]="Githead's 3rd album finds them building on 2007's Art Pop to deliver another accomplished set of seductive, Krautrock-imbued art rock.";
theQuote[22]="<em>Landing</em> isn't just a good record, it's an exciting record.";
theQuote[23]="Few bands are able to wrap up such a complex enigma in such a beautiful, infectious package.";


var quoteCite=new Array();

// quote cite details
quoteCite[1]="Michael Bracewell, <a href=\"http://www.thewire.co.uk\">The WIRE Magazine</a>";
quoteCite[2]="Andy Gill, <a href=\"http://enjoyment.independent.co.uk/music/reviews/article2484475.ece\">The Independent</a>";
quoteCite[3]="Wilson Neate, <a href=\"http://allmusic.com/cg/amg.dll?p=amg&sql=10:fxfyxzl5ldje~T0\">All Music Guide</a>";
quoteCite[4]="J R, <a href=\"http://ldn.flavorpill.net/\">Flavourpill</a>";
quoteCite[5]="James Papademetrie, <a href=\"http://www.planbmag.com/\">Plan B</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]="Louis Pattison, <a href=\"http://www.bbc.co.uk/music/release/gdcz\">BBC</a>";
quoteCite[10]="John Lewis, <a href=\"http://www.uncut.co.uk\">Uncut</a>";
quoteCite[11]="Dave Simpson, <a href=\"http://www.guardian.co.uk\">The Guardian</a>";
quoteCite[12]="James Snodgrass, <a href=\"http://www.nme.com\">NME</a>";
quoteCite[13]="Dean Thatcher, <a href=\"http://www.dmcupdate.com\">DMC Update (UK)</a>";
quoteCite[14]="Andy Gill, <a href=\"http://arts.independent.co.uk/music/reviews/article2484475.ece\">The Independent</a>";
quoteCite[15]="Gary Suarez, <a href=\"http://brainwashed.com/index.php?option=com_content&task=view&id=6234&Itemid=1\">Brainwashed</a>";
quoteCite[16]="Bob Ham, <a href=\"http://amplifiermagazine.com/reviews/cds/githead_cd.php\">Amplifier</a>";
quoteCite[17]="Joe Pelone, <a href=\"http://www.wonkavisionmagazine.com/reviews/?p=399\">Wonka Vision</a>";
quoteCite[18]="Wilson Neate, <a href=\"http://www.blurt-online.com/features/view/503\">Blurt</a>";
quoteCite[19]="Mike Barnes, <a href=\"http://www.mojo4music.com/blog\">Mojo</a>";
quoteCite[20]="Luke Turner, <a href=\"http://thequietus.com/articles/03293-githead-interview-colin-newman-malka-spigel-on-making-a-perfect-landing\">The Quietus</a>";
quoteCite[21]="Phil Mongredien, <a href=\"http://home.q4music.com/\">Q</a>";
quoteCite[22]="Mario Aguilar, <a href=\"http://www.somamagazine.com/\">Soma</a>";
quoteCite[23]="Creaig Dunton, <a href=\"http://brainwashed.com/index.php?option=com_content&task=view&id=7995&Itemid=64\">Brainwashed</a>";

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";
                }
        }
}


// jump menu driver

function jumpTo(theURL){

if (document.jumpForm.jumpMenu.value != "null") {
	document.location.href = theURL
	}
}

// video pop-up
function newWindow(webURL)
{
var newWin = window.open(webURL,"new_window","status,menubar,resizable,copyhistory,width=520,height=510");
//window.open(webURL,"new_window","toolbar,location,directories,status,menubar,resizable,copyhistory,width=520,height=590");
newWin.focus();
}
