﻿var cart = new Array();
var cartWindow;
var w = 630;
var h = 600;
var c;

var helper=0;

function help(){
if(helper==0){
alert("Help!");
helper=1;
document.getElementById("helplabel").style.display="block";
}

}

function kill_tv(){
document.getElementById("helplabel").style.display="none";
}

function set_tv(){
document.getElementById("helplabel").style.display="none";
addToCart2('666','HELP DONATION','5.00','5.00','0','Donation');
}

function what_show(){
document.getElementById("upg_tv").style.display="block";
}

function what_kill(){
document.getElementById("upg_tv").style.display="none";
}




var cookiesOn = cookiesActive();
var rates = new Object();
var shipZone;
var shippingObj = new Object();
var flatProcessing = 1;
var registered = getCookie('registered') == "false" || !getCookie('registered') ? false : true;
if(!opener || store){
	var items = new Array();
    var cType = getCookie('cType') ? getCookie('cType') : "All Items";
	with(items){
	
	
	 push({
			 image:'img/PEL_020_Smith_f+b_web.jpg',
			 group:"THE OCEAN",
			 name:'The Grand Inquisitor 10 - Chris Smith',
			 desc:"<p><i><b>This is a preorder. All records will ship By April 3rd, 2011.</b></i></p>"
			 +'<p>THE GRAND INQUISITOR is a 10" vinyl E.P. featuring the 3 "Grand Inquisitor" - tracks from current album "Anthropocentric", as well as the 4th, previously unreleased chapter entitled "The Grand Inquisitor IV - Exclusion From Redemption". This 7-minutes track is thematically completing the "Grand Inquisitor" - series, which makes reference to the chapter of the same title in Fyodor Dostoyevsky&lsquo;s novel The Brothers Karamasov.</p>'
			 +'<p>Two different artists visualized the grand inquisitor for us: Dawid Piprek from Berlin and Chris Smith from Pittsburgh. Smith&lsquo;s colourful approach depicts the inquisitor as a hermit, who, much like jesus, went out to the wilderness himself, before wising up: "I too have been in the wilderness, I too lived on roots and locusts, I too prized the freedom with which Thou hast blessed us… But I awakened and would not serve madness."</p>'
			 +"<p>The EP is strictly limited to 302 hand-numbered copies. The covers have been silk-screen printed by hand. Every piece is unique. Both versions come with a unique download coupon. The track will not be available elsewhere. </p>"
			 +"<br />- artwork by Chris Smith"
			 +"<br />- 2-colour-split vinyl (brown / clear)"
			 +"<br />- lavish double-sided 6-colour silk-screen print on  thick 650 (!) g natural cardboard (typical vinyl <br />&nbsp;&nbsp;gatefold cardboard is 300 g), including 3 special metallic inks (brass, gold and brown)."
			 +"<br />- lyrics printed on back-side"
			 +"<br />- strictly limited to 151 hand-numbered copies"
			 +'<br />- comes with download coupon for "The Grand Inquisitor IV: Exclusion From Redemption"',
			 
			 dollar:"null",
			 euro:"14.00",
			  shipping:"300",
			 itemNumber:"120203",
			  type:"Preorder",
              stock:1
			 });
			 
			  push({
			 image:'img/PEL_020_Piprek_f+b_web.jpg',
			 group:"THE OCEAN",
			 name:'The Grand Inquisitor 10 - Dawid Piprek',
			 desc:"<p><i><b>This is a preorder. All records will ship By April 3rd, 2011.</b></i></p>"
			 +'<p>THE GRAND INQUISITOR is a 10" vinyl E.P. featuring the 3 "Grand Inquisitor" - tracks from current album "Anthropocentric", as well as the 4th, previously unreleased chapter entitled "The Grand Inquisitor IV - Exclusion From Redemption". This 7-minutes track is thematically completing the "Grand Inquisitor" - series, which makes reference to the chapter of the same title in Fyodor Dostoyevsky&lsquo;s novel The Brothers Karamasov.</p>'
			 +'<p>Two different artists visualized the grand inquisitor for us: Dawid Piprek from Berlin and Chris Smith from Pittsburgh. Piprek&lsquo;s stark pencil-drawing captures the smug, authoritative gesture of the grand inquisitor, holding his hands over the cathedral of Seville. </p>'
			 +"<p>The EP is strictly limited to 302 hand-numbered copies. The covers have been silk-screen printed by hand. Every piece is unique. Both versions come with a unique download coupon. The track will not be available elsewhere.</p>"
			 +"<br />- artwork by Dawid Piprek"
			 +"<br />- 2-colour-split vinyl (brown / clear)"
			 +"<br />- rasterized double-sided 1-colour silk-screen print on thick 2-coloured cardboard (frontside grey, backside white)"
			 +"<br />- logo silk-screened in 2 extra print-runs onto the PVC overbags!"
			 +"<br />- strictly limited to 151 hand-numbered copies"
			 +'<br />- comes with download coupon for "The Grand Inquisitor IV: Exclusion From Redemption"',
			 
			 dollar:"null",
			 euro:"14.00",
			  shipping:"300",
			 itemNumber:"120203",
			  type:"Preorder",
              stock:1
			 });
			 
			 push({
			 image:"img/Chris_Smith_wormgirl.jpg",
			 group:"The Ocean",
			 name:"Cockroach Girl",
			 desc:"This is a perorder. the shirts will be shipped by April 3rd, 2011, along with the 'Grand Inquisitor ' 10es. Design by Chris Smith",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"cockroach girl_01",
			 type:"Preorder",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
	
	
	
	
	push({
			 image:'img/Heliocentric_jewelcase.jpg',
			 group:"The Ocean",
			 name:'Heliocentric CD / ltd. Euro digipak',
			 desc:'<ul><li>"Heliocentric" digipak (ltd. European deluxe edition, Metal Blade Records). Comes with 3 revolving transparent & silver -printed PVC dials attached to the front of digipak with a screw; depicting the sun, the orbits of the planets revolving around the sun, and the zodiacs. These dials can be turned by hand!</li>'
			 +'<li>the CD is held by a cardboard "constellation finder</li>'
			  +'<li>9 tarot-style cards inside with images by painter Franisco de Hollanda and lyrics on backside</li>'
			 +'</ul>',
			 dollar:"null",
			 euro:"18.00",
			 shipping:"300",
			 itemNumber:"01003",
			 type:"CDs",
              stock:1
			 });
	
	 push({
			 image:"img/PEL016_LO!-Look_And_Behold_cover_webshop.jpg",
			 group:"Lo!",
			 name:"Look And Behold (CD digipak) ",
			 desc:'<p>Lo!&prime;s unpolished, abrasive sound calls up the image of a derailed freight-train, crushing everything in its path, ripping up the soil before coming to a flaming halt in the middle of the lifeless Moroccan hammada... Lo! - hailing from Sydney, Australia - follow bands like Old Man Gloom on their path down the dirt-trail of sludgy, noisy hardcore - but the band finds their own distinct sideways soon. That&prime;s why "Look and Behold" sounds surprisingly fresh, from the first feedback of opener "Hath" to the last waning cymbals of closing track "Fire at the Child Actor&prime;s Guild". Atmospheric electronic interludes such as the elegiac "Seraphim" or "Doth" give the listener some space to take a breath in between the assault of mighty groove-riffs and berserk drum attacks and further add to the diversity of the whole damn thing.</p>'
			 +'<p>"a sludgy and abrasive (though delicious) stew, seasoned with all kinds of exotic time signatures and a hint of Mastodon" - Blunt Magazine</p>'
			 +'<p>"Seltsamer Name, coole Musik! LO! kredenzen uns auf ihrem ersten Full-Length-Werk ein reizvolles Postcore-Abenteuer, das sich im Spannungsfeld zwischen Cult Of Luna, Breach und Burst bewegt. Die Combo agiert rhythmisch sehr agil und variabel, Genre-artiges, stereotypes Riff-Gewalze sucht man auf "Look And Behold" größtenteils vergebens. LO! wechseln gerne und häufig das Tempo, der Ideenreichtum ist beachtlich und die Jungs schaffen es mühelos, ihre Musik fließen zu lassen. Es ist der Kontrastreichtum, der LO! anders macht. Abgerundet wird diese mitreißende Scheibe von einer transparenten, kraftvoll pushenden Produktion, die sämtliche Instrumente inklusive des facettenreichen Gesangs bestens beleuchtet. Klasse!" - Rock Hard (8 / 10)</p>'
			 +'<p>"eine dunkel schillernde Mischung aus Sludge, Noise und Hardcore... Anspieltipp: acht Minuten wunderbare Doom-Tristesse auf "Hued Tarantula" " - Metal Hammer (5 / 7)</p>',
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"5608",
			 stock:1,
			 type:"CDs",
			 
			  //download
			 name_d:"download_Lo!-Look_And_Behold.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Look And Behold.zip",
			 
			  //upgrade
			 name_up:"Look And Behold Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Look And Behold Upgrade",
			 
			 
              stock:1
			 });
			 
			  push({
			 image:"img/PEL017_Coilguns_cover4_webshop.jpg",
			 group:"Coilguns",
			 name:"Kunz  - split CD (CD digipak)",
			 desc:'<p>This EP has a total of 6 tracks by 2 different THE OCEAN-related side-projects!</p>'
			 +'<p>"Coilguns is guitarist Jona Nido, drummer Luc Hess and bass player / vocalist Louis Jucker, all of who also play in THE OCEAN. The 3 tracks on this split CD are merely a first sign of life of this promising new outfit. For fans of Converge, Dillinger Escape Plan or Death From Above 1979. The band will be on tour throughout Europe in September.</p>'
			 +'<p>"K U N Z is nothing less and nothing more than The Ocean Collective’s current rythm section, consisting of Louis Jucker (bass / vocals) and Luc Hess (drums). K U N Z stands for minimalist instrumentation, exuberating live-improvisations and the sheer raw energy of good old 3-minutes noise-rock songs. The band is known for experimenting with different live set-ups; playing on moving plattforms, in the middle of the room or trapped in cages.</p>',
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"5609",
			 
			 type:"CDs",
			 
			  //download
			 name_d:"download_Coilguns_Kunz_Split_MP3_320K.zip",
			 euro_d:"4.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"CoilgunsKunz.zip",
			 
			 //upgrade
			 name_up:"Coilguns_Kunz Upgrade",
			 euro_up:"5.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Coilguns_Kunz Upgrade",
			 
			 stock:1
			 });
	
	
	push({
			 image:"img/theocean_firmanent_over_china_A2_web.jpg",
			 group:"The Ocean",
			 name:"Firmanent Over China",
			 desc:"THE OCEAN - Firmament Above China hand-numbered Tour poster"
			 +'<br /><br /><p>A2 poster-size (420 x 594 mm) art print for the "Firmament Above China" - Asian Tour 2011. Printed on thick 170g mat cardboard. Very detailed 12-colour + gold offset print. Limited to 65 hand-numbered copies!"</p>',
			 dollar:"null",
			 euro:"10.00",
			 shipping:"15",
			 itemNumber:"china",
			 stock:1,
			 type:"Posters",
             isNew:true
			 });
	
	
	
	
	
	 push({
			 image:'img/solid_white_with_speckles.jpg',
			 group:"THE OCEAN",
			 name:'new Fogdiver LP: solid white with speckles',
			 desc:'<p>Because of the large demand for a vinyl REISSUE of THE OCEAN&prime;s first instrumental studio album "Fogdiver" (2003), Pelagic Records now brings you a limited edition repress of the original, which has been sold out since 2004 - including new artwork by Martin Kvamme (who designed the covers of all following THE OCEAN albums).</p>'
			 +"<p>'an eminently listenable piece of work, with skilful attention to mood comparable to soundtrack music.' - Kerrang!, UK, KKKK</p>"
			 +"<p>'brimming with ingenuity, passion and a driving sense of urgency. As invigorating as a breath of fresh sea air, this is a treasure that's begging to b discovered.' - Rock Sound, UK</p>",
			 
			 dollar:"null",
			 euro:"15.00",
			  shipping:"300",
			 itemNumber:"01015",
			  type:"Vinyls",
              stock:1
			 });
			 
			  push({
			 image:'img/whitebluedisks.jpg',
			 group:"THE OCEAN",
			 name:'new Fogdiver LP: white-blue',
			 desc:'<p>Because of the large demand for a vinyl REISSUE of THE OCEAN&prime;s first instrumental studio album "Fogdiver" (2003), Pelagic Records now brings you a limited edition repress of the original, which has been sold out since 2004 - including new artwork by Martin Kvamme (who designed the covers of all following THE OCEAN albums).</p>'
			 +"<p>'an eminently listenable piece of work, with skilful attention to mood comparable to soundtrack music.' - Kerrang!, UK, KKKK</p>"
			 +"<p>'brimming with ingenuity, passion and a driving sense of urgency. As invigorating as a breath of fresh sea air, this is a treasure that's begging to b discovered.' - Rock Sound, UK</p>",
			 
			 dollar:"null",
			 euro:"15.00",
			  shipping:"300",
			 itemNumber:"01014",
			  type:"Vinyls",
              stock:1
			 });
			 
			 
			 
			 
		  push({
			 image:'img/KHOMA.jpg',
			 group:"KHOMA",
			 name:'A Final Storm 2xLP - clear vinyl',
			 desc:'<p>After 3 years of silence, 2010 saw khoma return with a new album on anders friden of in flames newly founded record label selective notes: "A Final Storm" combines the crushing heaviness and atmospheric density of Cult of Luna with the airy majesty of MUSE: the album&prime;s intensity is built on subtle dynamics and contrasts between restrained calm moments and impending walls of guitars - always fueled by Jan Jämte&prime;s haunting, melancholic vocals. </p>'
			 +'<p>Pelagic Records now brings you a vinyl release of „A Final Storm“.</p>'
			 +'<p>The 2xLP comes with 3 previously unreleased tracks from the „Second Wave“ sessions, exclusively licensed from Roadrunner Records !!! Comes in 350g gatefold with silver ink. Limited edition coloured vinyl available for preorder</p>'
			 +'release date: end of May 2011',
			 dollar:"null",
			 euro:"20.00",
			 shipping:"1000",
			 itemNumber:"01013",
			  type:"Vinyls",
              stock:1
			 });
			 
			 
			 push({
			 image:'img/KHOMA_smal.jpg',
			 group:"KHOMA",
			 name:'A Final Storm 2xLP - red vinyl',
			 desc:'',
			 dollar:"null",
			 euro:"20.00",
			 shipping:"1000",
			 itemNumber:"01023",
			  type:"Vinyls",
              stock:1
			 });
			 
			 push({
			 image:'img/KHOMA_smal.jpg',
			 group:"KHOMA",
			 name:'A Final Storm 2xLP - black vinyl',
			 desc:'',
			 dollar:"null",
			 euro:"20.00",
			 shipping:"1000",
			 itemNumber:"01033",
			  type:"Vinyls",
              stock:1
			 });
			 
			 
			  push({
			 image:'img/picture-LP-mockup.jpg',
			 group:"Earthship",
			 name:'Exit Eden Picture LP',
			 desc:'<p>Picture LP, limited to 300 copies !!! Comes in a PE bag with the "Earthship" logo on a transparent sticker.</p>'
			+'<p>"EARTHSHIP surge ahead like a nuclear-powered icebreaker through the Barents Sea, laden with mighty riffs, tons of groove and home-brewn whiskey. JOIN The '
			+'"EARTHSHIP&prime;s bearded crew, led by captain Jan Oberg (former drummer of THE OCEAN) for a ride through the vast black sea of doom and prog n&prime; roll. For fans of '
			+'BARONESS, CROWBAR, IRON MONKEY and ZOZOBRA. <br />Featuring The Ocean&prime;s Robin Staps on guitar.</p>',
			 
			 dollar:"null",
			 euro:"14.00",
			  shipping:"1000",
			 itemNumber:"01007",
			 stock:1,
			 type:"Vinyls"
			 });
			 
			 
	
	 push({
			 image:'img/krueger.jpg',
			 group:"Kruger",
			 name:'For Death, Glory and the End of the World 2xLP',
			 desc:"Kruger's latest effort on thick 180g wax! Double LP edition of the swaggering fourth studio effort of the swiss quintet, originally released on Listenable records this year. A thick mix of Converge frenzy, oily Entombed-style riffs and Mastodonian exuberance. Mixed by Kurt Ballou of CONVERGE."
			 +'<br /><br /><ul><li><b>10 years anniversary deluxe 2xLP</b></li>'
			+'<li><b>comes with 4 exclusive bonus tracks:</b></li>'
			+'<li>two live tracks (one featuring Jo of Gojira) </li>'
			+'<li>2 covers, one being Kyuss &quot;Hurricane&quot; and the other Kraftwerk&prime;s &quot;Radioactivy&quot;, recorded with the Swiss infamous queer Greta Gratos</li></ul>'
			+'<p>"Few bands are tits up awesome - Kruger are. They take the majestic, layered and densed post-metal sound towards heavier, virulent and more melodic territories."<br /><b>Rock Sound - 8/10</b></p>'
			+'<p>"The epic force of Neurosis, Isis and Minsk meets the unbridled power of Breach, Burst and Converge. Kruger are fascinating and, beyond the wall of sound, give the feeling of listening to something unique."<br /><b>Rock Hard - 8/10</b></p>'
			+'<p>"Kruger are upholding a proud tradition of genre-scorning heaviness that dates back to the seminal bravery of celtic frost and Samael, albeit via the hypnotic bludgeon of Unsane and Neurosis."<br /><b>Metal Hammer - 8/10</b></p>',
			 
			 dollar:"null",
			 euro:"20.00",
			  shipping:"630",
			 itemNumber:"01007",
			 stock:1,
			 type:"Vinyls"
			 });
			 
		
	
	
		/*
		push({
			 image:"img/aeolian_fluxion_special_sm.jpg",
			 group:"The Ocean",
			 name:"Aeolian/Fluxion Deluxe Edition",
			 desc:"<p>Both albums come in a special slipcase with matching art and respective golden (Aeolian) and silver (Fluxion) embossed printing!</p><h3>Fluxion CD [Re-release]</h3><ul><li>60 minutes</li><li>new vocals by Mike Pilat, remixed, remastered</li><li>entirely new artwork by Martin Kvamme</li><li>deluxe edition, comes with black slipcase including special print colors and additional artwork and illustrations by Martin Kvanmme</li></ul><h3>Aeolian</h3><ul><li>52:55 minutes.</li></ul>",
			 dollar:"null",
			 euro:"25.00",
			 shipping:"260",
			 itemNumber:"901",
			 type:"Specials",
             stock:1
			 });
		
		push({
			 image:"img/fluxion_shirt_cd_special_sm.jpg",
			 group:"The Ocean",
			 name:"Fluxion [Re-release] + Fluxion T-shirt",
			 desc:"<h3>Fluxion CD [Re-release]</h3><ul><li>60 minutes</li><li>new vocals by Mike Pilat, remixed, remastered</li><li>entirely new artwork by Martin Kvamme</li><li>deluxe edition, comes with black slipcase including special print colors and additional artwork and illustrations by Martin Kvanmme</li></ul><h3>Fluxion T-shirt</h3><ul><li>grey front print of illustration from Fluxion booklet</li><li>sleeve print on left arm: The Ocean / \"Fluxion\" logo</li><li>sleeve print on right arm: The Ocean / \"Aeolian\" logo</li><li>illustration has excerpts from the lyrics to \"The Greatest Bane\": \"Breathe in deep. Get lost in what we call 'the real world'\"</li></ul>",
			 dollar:"null",
			 euro:"24.00",
			 shipping:"260",
			 itemNumber:"902",
			 type:"Specials",
             stock:1
			 });
		
		/* Discounted */
		
		/*
		push({
			 image:"img/aeolian_black_sm.jpg",
			 name:"Aeolian Shirt (black/black)",
			 desc:"",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"111",
			 type:"Sale",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		
		push({
			 image:"img/winged_octopus_khaki_sm.jpg",
			 name:"Winged Octopus Shirt (dark metallic green/khaki)",
			 desc:"",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"101",
			 type:"Sale",
             stock:{s:1, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		
		push({
			 image:"img/winged_octopus_white_sm.jpg",
			 name:"Winged Octopus Shirt (grey/white)",
			 desc:"",
			 dollar:"null",
			 euro:"11.00",
			 shipping:"130",
			 itemNumber:"115",
			 type:"Sale",
             stock:{s:0, m:0, l:0, xl:1, sg:0, mg:0}
			 });
		
		push({
			 image:"img/tower_white_sm.jpg",
			 name:"Towers Shirt (fluorescent white/white, glows in the dark!)",
			 desc:"",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"114",
			 type:"Sale",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		*/
		
		
		
	
		
			
			 
			 /* Releases */
		/* 
		push({	
			 image:"img/helio_feature_sm.jpg",
			 fullsize:"img/helio_vinyl_box_preorder_detail.jpg",
			 group:"The Ocean",
			 name:"Heliocentric / Anthropocentric 4xLP Box",
			 desc:"<p class='warning'>*** note: This strictly limited box is designed to hold 2 gatefold covers and 4x 180g vinyl records: the \"Heliocentric\" album (April 13th 2010) and the \"Anthropocentric\" album (October 2010). For now, the box is only being delivered with the \"Heliocentric\" album included! The \"Anthropocentric\" album can be purchased separately in October ***</p><ul><li>heavy (950 g) black cardboard box with silver hot foil stamp print all across the front and exclusive artwork by Martin Kvamme</li><li>the box has space for both the \"Heliocentric\" and the \"Anthropocentric\" albums</li></ul><h3>Inside the box</h3><ul><li>\"Heliocentric\" gatefold cover with 3 revolving transparent & silver-printed PVC dials attached to the front of gatefold with a screw: the inner dial shows the sun, the next (larger dial) shows the orbits of the planets revolving around the sun, the outer dial shows the zodiacs and a stellar map. These dials can be manually turned.</li><li>the \"Anthropocentric\" album will be sold separately in October, to be put into this box... It will come in a separate gatefold cover with similar artwork, dials etc.</li></ul><h3>Inside the \"Heliocentric\" gatefold</h3><ul><li>2x 180 g colored vinyl</li><li>D-side has an engraving featuring special artwork by Martin Kvamme</li><li>9 special cards with images by Francisco de Hollanda and lyrics on backside.</li></ul>",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"1350",
			 itemNumber:"helio-spec01",
			 stock:1,
			 type:"Vinyls"
			 });
			
		push({
			 image:"img/helio_feature2_sm.jpg",
			 fullsize:"img/helio_cd_box_preorder_detail.jpg",
			 group:"The Ocean",
			 name:"Heliocentric / Anthropocentric CD Box",
			 desc:"<p class='warning'>*** note: This strictly limited silver-foiled cardboard CD box is designed to hold 2 digipaks: the \"Heliocentric\" album (April 13th 2010) and the \"Anthropocentric\" album (October 2010), plus an extra CD called \"Heliocentral\", a fully mastered instrumental version of 'Heliocentric'. For now, the box is only being delivered with the \"Heliocentric\" digipak and the \"Heliocentral\" extra CD included! The \"Anthropocentric\" album can be purchased separately in October, to be put into the box... ***</p><h3>the box</h3><ul><li>silver hot foil-stamped cardboard box, exclusive artwork by Martin Kvamme</li><li>the box has space for both the \"Heliocentric\" and the \"Anthropocentric\" albums.</li></ul><h3>inside the box</h3><p>\"Heliocentric\" digipak (European version, Metal Blade Records) with 3 revolving transparent & silver-foiled PVC dials attached to the front of gatefold with a screw: the inner dial shows the sun, the next (larger dial) shows the orbits of the planets revolving around the sun, the outer dial shows the zodiacs and a stellar map. These dials can be turned by hand.</p><ul><li>extra CD \"Heliocentral\"</li><li>9 cards with images by Francisco de Hollanda and lyrics on backside.</li><li>the \"Anthropocentric\" album will be released separately in October / November. Packaging and artwork will be similar to \"Heliocentric\" (also with dials, etc.)</li></ul><p>All preorders need to be paid up front and will be shipped as soon as the vinyls come in, no later than May 9th 2010. We have extra packing helpers so we can guarantee to ship all preorders within 1 week of receiving the finished products (so maybe even before May 9th). If you live in the EU and prefer to pay upfront by bank wire, send an email with your order details and shipping address to <a href='mailto:info@theoceancollective.com'>info@theoceancollective.com</a></p>",
			 dollar:"null",
			 euro:"22.00",
			 shipping:"300",
			 itemNumber:"helio-spec02",
			 stock:1,
			 type:"CDs"
			 });
			 */
			 
			 push({
			 image:"img/fdown.jpg",
			 group:"",
			 name:"Falling Down Compilation",
			 desc:'<p>this compilation has the song "Asslickers, Inc." by THE OCEAN on it (written and recorded end of 2008 and thus far unreleased...).</p>'
			 +'<p>Compilation - 2xCD featuring mainly unreleased tracks by THE OCEAN, GOD IS AN ASTRONAUT UFOMAMMUT, WHITE HILLS, TAINT, KONGH, OMEGA MASSIF, U.S.CHRISTMAS, GNAW THEIR TONGUES, MUMAKIL, WHEN ICARUS FALLS, ACROSS TUNDRAS, '
			 +'ICOS [now MONACHUS], OCOAI, FARFLUNG, IMPURE WILHELMINA, TIME TO BURN, '
             +'THE POISONED GLASS, KALVRIA, KINGDOM, TESA, KODIAK, KEHLVIN, JUCIFER and more.</p>',
			 dollar:"null",
			 euro:"9.00",
			 shipping:"130",
			 itemNumber:"5607",
			 stock:1,
			 type:"CDs"
			 });
			 
			/* push({
			 image:"img/Heliocentric_Anthropocentric_4xCD_box_preorder.jpg",
			 group:"The Ocean",
			 name:"Heliocentric / Anthropocentric 4x CD box",
			 desc:'<p class="warning">*** note: This strictly limited silver-foiled cardboard CD box (1000 copies) contains 2 digipaks: the "Heliocentric" and the "Anthropocentric" album. Also included are 2 extra CD called "Heliocentral" and "Anthropocentral"; mastered instrumental versions of the albums.</p>'
			 +'<h3>THE BOX</h3>'
			 +'<ul><li>silver hot foil-stamped cardboard box, exclusive artwork by Martin Kvamme</li></ul>'
			 +'<h3>INSIDE THE BOX</h3>'
			 +'<ul><li>"Heliocentric" and "Anthropocentric" digipaks (ltd. European deluxe edition, Metal Blade Records). Each digipak comes with 3 revolving transparent & silver-/gold-foiled PVC dials attached to the front of gatefold with a screw, showing the sun / earth, the orbits of the planets revolving around the sun / earth, and the zodiacs. These dials can be manually turned.</li>'
			 +'<ul><li>2 extra instrumental CDs "Heliocentral" and "Anthropocentral"</li></ul>',
			 
			 
			 dollar:"null",
			 euro:"40.00",
			 shipping:"450",
			 itemNumber:"01001",
			 stock:1,
			 type:"CDs"
			 });*/
			 
		
			 
			  push({
			 image:"img/Heliocentric_Anthropocentric_4x_LP_box_preorder.jpg",
			 group:"The Ocean",
			 name:"Heliocentric / Anthropocentric 4xLP box",
			 desc:'<p class="warning">*** note: This strictly limited box (1500 copies) contains 2 gatefold covers and 4x 180g vinyl records: the "Heliocentric" and the "Anthropocentric" albums. The first 800 preorders will receive coloured vinyl (3 different colours). We do not offer the option to order a specific colour though. Be surprised;)</p>'
			 +'<ul><li>heavy (950 g) black cardboard box with silver hot foil stamp print all across the front and exclusive artwork by Martin Kvamme</li></ul>'
			 +'<h3>INSIDE THE BOX</h3>'
			 +'<ul><li>"Heliocentric" and "Anthropocentric" gatefold covers, each with 3 revolving transparent & silver-/gold-foiled PVC dials attached to the front of gatefold with a screw, showing the sun/earth, the orbits of the planets revolving around the sun/earth, and the zodiacs. These dials can be manually turned.</li>'
			  +'<h3>INSIDE THE "HELIOCENTRIC" GATEFOLD</h3>'
			 +'<ul><li>2x 180 g coloured vinyl</li>'
			 +'<li>D-side has an engraving featuring special artwork by Martin Kvamme</li>'
			 +'<li>9 special cards with images by Francisco de Hollanda and lyrics on backside.</li></ul>'
			  +'<h3>INSIDE THE "ANTHROPOCENTRIC" GATEFOLD</h3>'
			  +'<ul><li>2x 180 g coloured vinyl</li>'
			  +'<li>D-side has an engraving featuring special artwork by Martin Kvamme</li>'
			 +'<li>star map insert with lyrics on backside.</li></ul>'
			  +'<h3><b>December special -- only until December 31st !!!</b></h3>',
			 
			 dollar:"null",
			 euro:"55.00",
			 shipping:"2100",
			 itemNumber:"01004",
			 stock:1,
			 type:"Vinyls"
			 });
			 
			 push({
			 image:'img/Anthropocentric_2xLP_(without_box)_preorder.jpg',
			 group:"The Ocean",
			 name:'Anthropocentric 2x LP (without box)',
			 desc:"<ul><li>For those who already have the box</li>"
			 +'<li>gatefold cover comes with 3 revolving transparent & gold-foiled PVC dials attached to the front of gatefold with a screw, showing the earth, the orbits of the planets revolving around the earth, and the zodiacs. These dials can be manually turned.</li>'
			 +'<li>2x 180 g vinyl. The first 800 preorders will receive limited coloured vinyl. We do not offer the option to choose a specific colour though. Be surprised;)</li>'
			 +'<li>D-side has an engraving featuring special artwork by Martin Kvamme</li>'
			 +'<li>star map insert with lyrics on backside.</li>'
			 +"</ul>",
			 dollar:"null",
			 euro:"25.00",
			 shipping:"1000",
			 itemNumber:"01005",
			 type:"Vinyls",
              stock:1
			 });
			 
			 
		push({
			 image:"img/giaa_age.jpg",
			 group:"God Is An Astronaut",
			 name:"Age of the Fifth Sun LP",
			 desc:"<h3>God Is An Astronaut - Age of the Fifth Sun LP</h3><ul><li>the brand new album by this fine Irish post-rock trio</li><li>180 g vinyl</li><li>the first preorders will get limited edition colored wax!!!</li></ul>",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"600",
			 itemNumber:"giaa-spec01",
			 stock:1,
			 type:"Vinyls"
			 });
		
		push({
			 image:"img/giaa_sm.jpg",
			 group:"God Is An Astronaut",
			 name:"All Is Violent, All Is Bright LP",
			 desc:"<ul><li>God Is An Astronaut's legendary 2nd album finally available on vinyl for the first time!</li><li>strictly limited to 300 copies!</li><li>black vinyl</li><li>first 150 copies come with special hand-numbered silk screen poster designed by Gerd Kornmann</li></ul>",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"300",
			 itemNumber:"Pel003",
			 stock:0,
			 type:"Vinyls"
			 });
		
		push({
			 image:"img/precambrian_sm.jpg",
			 group:"The Ocean",
			 name:"Precambrian 3xLP",
			 desc:"<a href='http://metalbladerecords.de'>(Garden of Exile / Throne Records, 2008)</a><ul><li>84 minutes / 3 LPs</li><li>brick-heavy 180g coloured vinyl</li><li>each LP in different volcanic colours: silver/black, red/black and yellow/red</li><li>comes in a gatefold cover with the same artwork as the European deluxe CD packaging version - including diecut holes on front and back, UV-gloss, metallic inks, full-color sleeves and inserts, all on the thickest cardboard - and 2 text sheets with the art from the booklets...</li><li>limited to 1000 copies</li></ul>",
			 dollar:"null",
			 euro:"25.00",
			 shipping:"900",
			 itemNumber:"305",
			 stock:1,
			 type:"Vinyls"
			 });
		
		push({
			 image:"img/aeolian_fluxion_soldout.jpg",
			 group:"The Ocean",
			 name:"Fluxion / Aeolian 3xLP",
			 desc:"<a href='http://thronerecords.net'>(Throne Records, 2006)</a><ul><li>Both 2004's 'Fluxion' album (original version) and 2005's 'Aeolian' album in a 3xLP packaging.</li><li>3rd and final pressing, 3 vinyls per package, 8mm spine gatefold cover, silver print on black background, comes with additional artprint poster (gold on white) with the art from the 'Aeolian' slipcase (European version).</li></ul>",
			 dollar:"null",
			 euro:"25.00",
			 shipping:"630",
			 itemNumber:"303",
			 stock:0,
			 type:"Vinyls"
			 });
			 
			  push({
			 image:'img/Anthropocentric_ltd_edition_d.jpg',
			 group:"The Ocean",
			 name:'Anthropocentric ltd. edition digipak + extra instrumental CD Anthropocentral (without box)',
			 desc:'<ul><li>For those who already have the box</li></ul>'
			+'<li>"Anthropocentric" digipak (ltd. European deluxe edition, Metal Blade Records). Comes with 3 revolving transparent & gold-printed PVC dials attached to the front of gatefold with a screw, showing the earth, the orbits of the planets revolving around the earth, and the zodiacs. These dials can be manually turned.</li></ul>'
			+'<li>extra instrumental CD "Anthropocentral"</li></ul>',
			 
			 dollar:"null",
			 euro:"18.00",
			 shipping:"90",
			 itemNumber:"01002",
			 stock:1,
			 type:"CDs"
			 });
			 
			
			 
			 	 	   push({
			 image:'img/ABRAHAM_front.jpg',
			 group:"Abraham",
			 name:'An Eye On The Universe digipak CD',
			 desc:"<p>Swiss monolith ABRAHAM create a barren aural landscape where grand rock faces of guitars loom large over occasional restrained moments of calm sublimity and haunting beauty. Abrasiveness is the word here: ABRAHAM will wash over you like a sudden cloudburst in the desert and make you feel like jagged rock exposed to the elements. Whoever loves CULT OF LUNA LUNA&prime;s The Beyond-album most: raise the torches, this is for you! Featuring members of KRUGER.</p>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"90",
			 itemNumber:"01006",
			 type:"CDs",
			 
			     //download
			 name_d:"download_Abraham.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Abraham.zip",
			 
			 //upgrade
			 name_up:"Abraham Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Abraham Upgrade",
			 
			 
              stock:1
			 });
			 
			   push({
			 image:'img/Earthship_front.jpg',
			 group:"Earthship",
			 name:'Exit Eden digipak CD',
			 desc:"<p>EARTHSHIP surge ahead like a nuclear-powered icebreaker through the Barents Sea, laden with mighty riffs, tons of groove and home-brewn whiskey. JOIN The EARTHSHIP's bearded crew, led by captain Jan Oberg (former drummer of THE OCEAN) for a ride through the vast black sea of doom and prog n' roll. For fans of BARONESS, CROWBAR, IRON MONKEY and ZOZOBRA. Featuring The Ocean's Robin Staps on guitar.</p>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"90",
			 itemNumber:"01006",
			 type:"CDs",
			 
			 	  //download
			 name_d:"download_Earthship.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Earthship.zip",
			 
			 //upgrade
			 name_up:"Earthship Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Earthship Upgrade",
			 stock:1
			 });
		
		push({
			 image:"img/nebra_sky_disk_sm.jpg",
			 group:"Nebra",
			 name:"Sky Disk",
			 desc:"<ul><li>debut EP by this instrumental Swiss powerhouse</li><li>featuring members of KNUT, MUMAKIL and NOSTROMO</li><li>2nd release on Robin Staps (THE OCEAN)'s new label Pelagic Records</li><li>deluxe digipak with special print colors, artwork by SELDON HUNT</li><li>special 3\"inch CD with plastic frame</li></ul>",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"neb01",
			 stock:1,
			 
			    //download
			 name_d:"download_Nebra_CH.zip",
			 euro_d:"4.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Nebra.zip",
			 
			 //upgrade
			 name_up:"Nebra Upgrade",
			 euro_up:"5.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Nebra Upgrade",
			 
			 type:"CDs"
			 
			
			 });
		
		push({
			 image:"img/fluxion_sm.jpg",
			 group:"The Ocean",
			 name:"Fluxion [Re-release]",
			 desc:"<a href='http://theoceancollective.com/pelagic/'>(Pelagic Records, 2009)</a><ul><li>60 minutes</li><li>new vocals by Mike Pilat, remixed, remastered</li><li>entirely new artwork by Martin Kvamme</li><li>deluxe edition, comes with black slipcase including special print colors and additional artwork and illustrations by Martin Kvanmme</li></ul>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"308",
			 stock:1,
			 
			   //download
			 name_d:"download_TheOcean_Fluxion.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"TheOcean_Fluxion.zip",
			 
			 //upgrade
			 name_up:"TheOcean_Fluxion Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"TheOcean_Fluxion Upgrade",
			 
			 
			 type:"CDs"
			 
			 
			 });
		push({
			 image:"img/precambrian_sm.jpg",
			 group:"The Ocean",
			 name:"Precambrian 2xCD",
			 desc:"<ul><li>standard jewel case version</li><li>2 CDs: one full-length with special black CD metallizing; one 3\" CD with printed plastic frame</li></ul><p>\"Epic in scope and flawless in execution, \"Precambrian\" reinforces The Ocean as one of the most exciting names in modern heavy music. Behold mind-blowing metal on a wagnerian scale.\" - <b>Rock Sound (UK), 9/10</b></p><p>\"Full of cinematic breadth and orchestral majesty, it's easy to get lost in the album's 80 minutes of rhythmic sea changes and powerful riffing. The Ocean excel in their idiosyncratic nuances and hammering insistence on this Teutonic paean to Earth's geology\" - <b>Revolver (USA), 4/5</b></p><p>\"... engrossing to the point where words don't necessarily matter: The Ocean do for earth science class what Mastodon did for Melville: make learning brutal\" - <b>Decibel (USA), 9/10</b></p>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"307",
			 stock:1,
			 type:"CDs"
			 });
		
		/*
		push({
			 image:"img/precambrian_sm.jpg",
			 group:"The Ocean",
			 name:"Precambrian 2xCD (European Deluxe Packaging Edition)",
			 desc:"<a href='http://metalbladerecords.de'>(Metal Blade Records, 2007)</a><ul><li>84 minutes / 2 CDs</li><li>comes in a slick double-layered digipak with diecut holes for changing front cover impressions and 2 booklets printed in special colors, including additional art that is not available in the US version!</li></ul>",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"301",
			 stock:0,
			 type:"CDs"
			 });
		
		
		push({
			 image:"img/aeolian_cd_sm.jpg",
			 group:"The Ocean",
			 name:"Aeolian CD (European Deluxe Packaging Edition)",
			 desc:"<a href='http://metalbladerecords.de'>(Metal Blade Records, 2005)</a><ul><li>52:55 minutes.</li><li>Comes with a slick white slipcase with golden embossed printing that was not available in the US!</li></ul><ol><li>'monstrously huge' <i>- Revolver, USA, 5 / 5</i></li><li>*record of the month* december 2005 <i>- Close Up Magazine, Sweden</i></li><li>'The Ocean is the future!'<i> - Rock Tribune, Belgium, 95 / 100</i></li><li>'Complex, overwhelming and mercilessly tight, this is a spot of pain barrier demolition your ears wont forgive in a hurry.'<i> - Kerrang!, KKKK</i></li><li>'a vast and intimidating piece of work... a spiky and cerebral modern metal odyssey.'<i> - Terrorizer, UK</i></li></ol>",
			 dollar:"null",
			 euro:"14.00",
			 shipping:"130",
			 itemNumber:"302",
			 stock:0,
			 type:"CDs"
			 });
		
		*/
		
		push({
			 image:"img/aeolian_cd_sm.jpg",
			 group:"The Ocean",
			 name:"Aeolian CD",
			 desc:"<a href='http://metalbladerecords.de'>(Metal Blade Records, 2005)</a><ul><li>52:55 minutes.</li></ul><ol><li>'monstrously huge' <i>- Revolver, USA, 5 / 5</i></li><li>*record of the month* december 2005 <i>- Close Up Magazine, Sweden</i></li><li>'The Ocean is the future!'<i> - Rock Tribune, Belgium, 95 / 100</i></li><li>'Complex, overwhelming and mercilessly tight, this is a spot of pain barrier demolition your ears wont forgive in a hurry.'<i> - Kerrang!, KKKK</i></li><li>'a vast and intimidating piece of work... a spiky and cerebral modern metal odyssey.'<i> - Terrorizer, UK</i></li></ol>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"306",
			 stock:1,
			 type:"CDs"
			 });
		
		push({
			 image:"img/fogdiver_sm.jpg",
			 group:"The Ocean",
			 name:"Fogdiver CD",
			 desc:"<a href='iapetusrecordings.co.uk'>(Iapetus Records 2005)</a><ul><li>30:02 minutes. This album is entirely instrumental.</li><li>Originally released via Make My Day Records in 2003, this is a re-edition in revised packaging.</li><li>Comes in a slick digipak with UV gloss, booklet and additional artwork.</li></ul><ol><li>'airily melodic passages alongside the requisite end-of-the-world-is-nigh bludgeon. 'Fogdiver' is an eminently listenable piece of work, with skilful attention to mood comparable to soundtrack music.'<i> - Kerrang!, UK, KKKK</i></li><li>'brimming with ingenuity, passion and a driving sense of urgency. As invigorating as a breath of fresh sea air, this is a treasure that's begging to b discovered.'<i> - Rock Sound, UK</i></li></ol>",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"90",
			 itemNumber:"304",
			 stock:1,
		
			    //download
			 name_d:"download_TheOcean_Fogdiver.zip",
			 euro_d:"4.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"TheOcean_Fogdiver.zip",
			
			 //upgrade
			 name_up:"TheOcean_Fogdiver Upgrade",
			 euro_up:"5.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"TheOcean_Fogdiver Upgrade",
			
			
			type:"CDs"
			 });
		
			
			
			 
			 
		
			 
			 /* Download start */
			 
			  push({
			 image:"img/PEL016_LO!-Look_And_Behold_cover_webshop.jpg",
			 group:"Lo!",
			 name:"Look And Behold ",
			 desc:'<p>Lo!&prime;s unpolished, abrasive sound calls up the image of a derailed freight-train, crushing everything in its path, ripping up the soil before coming to a flaming halt in the middle of the lifeless Moroccan hammada... Lo! - hailing from Sydney, Australia - follow bands like Old Man Gloom on their path down the dirt-trail of sludgy, noisy hardcore - but the band finds their own distinct sideways soon. That&prime;s why "Look and Behold" sounds surprisingly fresh, from the first feedback of opener "Hath" to the last waning cymbals of closing track "Fire at the Child Actor&prime;s Guild". Atmospheric electronic interludes such as the elegiac "Seraphim" or "Doth" give the listener some space to take a breath in between the assault of mighty groove-riffs and berserk drum attacks and further add to the diversity of the whole damn thing.</p>'
			 +'<p>"a sludgy and abrasive (though delicious) stew, seasoned with all kinds of exotic time signatures and a hint of Mastodon" - Blunt Magazine</p>'
			 +'<p>"Seltsamer Name, coole Musik! LO! kredenzen uns auf ihrem ersten Full-Length-Werk ein reizvolles Postcore-Abenteuer, das sich im Spannungsfeld zwischen Cult Of Luna, Breach und Burst bewegt. Die Combo agiert rhythmisch sehr agil und variabel, Genre-artiges, stereotypes Riff-Gewalze sucht man auf "Look And Behold" größtenteils vergebens. LO! wechseln gerne und häufig das Tempo, der Ideenreichtum ist beachtlich und die Jungs schaffen es mühelos, ihre Musik fließen zu lassen. Es ist der Kontrastreichtum, der LO! anders macht. Abgerundet wird diese mitreißende Scheibe von einer transparenten, kraftvoll pushenden Produktion, die sämtliche Instrumente inklusive des facettenreichen Gesangs bestens beleuchtet. Klasse!" - Rock Hard (8 / 10)</p>'
			 +'<p>"eine dunkel schillernde Mischung aus Sludge, Noise und Hardcore... Anspieltipp: acht Minuten wunderbare Doom-Tristesse auf "Hued Tarantula" " - Metal Hammer (5 / 7)</p>',
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"5608",
			 stock:1,
			 
			    //download
			 name_d:"download_Lo!-Look_And_Behold.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Look And Behold.zip",
			 
			 //upgrade
			 name_up:"Look And Behold Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Look And Behold Upgrade",
			 
			 type:"Download"
			 
			
			 });
			 
			 
			  push({
			 image:"img/PEL017_Coilguns_cover4_webshop.jpg",
			 group:"Coilguns",
			 name:"Kunz  - split CD",
			 desc:'<p>This EP has a total of 6 tracks by 2 different THE OCEAN-related side-projects!</p>'
			 +'<p>"Coilguns is guitarist Jona Nido, drummer Luc Hess and bass player / vocalist Louis Jucker, all of who also play in THE OCEAN. The 3 tracks on this split CD are merely a first sign of life of this promising new outfit. For fans of Converge, Dillinger Escape Plan or Death From Above 1979. The band will be on tour throughout Europe in September.</p>'
			 +'<p>"K U N Z is nothing less and nothing more than The Ocean Collective’s current rythm section, consisting of Louis Jucker (bass / vocals) and Luc Hess (drums). K U N Z stands for minimalist instrumentation, exuberating live-improvisations and the sheer raw energy of good old 3-minutes noise-rock songs. The band is known for experimenting with different live set-ups; playing on moving plattforms, in the middle of the room or trapped in cages.</p>',
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"5719",
			 stock:1,
			 
			    //download
			 name_d:"download_Coilguns_Kunz_Split_MP3_320K.zip",
			 euro_d:"4.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"CoilgunsKunz.zip",
			 
			 //upgrade
			 name_up:"Coilguns_Kunz Upgrade",
			 euro_up:"5.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Coilguns_Kunz Upgrade",
			 
			 type:"Download"
			 
			
			 });
			 
			 	
			 
			 
			 
			 	push({
			 image:"img/nebra_sky_disk_sm.jpg",
			 group:"Nebra",
			 name:"Sky Disk",
			 desc:"<ul><li>debut EP by this instrumental Swiss powerhouse</li><li>featuring members of KNUT, MUMAKIL and NOSTROMO</li><li>2nd release on Robin Staps (THE OCEAN)'s new label Pelagic Records</li><li>deluxe digipak with special print colors, artwork by SELDON HUNT</li><li>special 3\"inch CD with plastic frame</li></ul>",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"neb01",
			 stock:1,
			 
			    //download
			 name_d:"download_Nebra_CH.zip",
			 euro_d:"4.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Nebra.zip",
			 
			 //upgrade
			 name_up:"Nebra Upgrade",
			 euro_up:"5.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Nebra Upgrade",
			 
			 type:"Download"
			 
			
			 });
		
			
			  push({
			 image:'img/ABRAHAM_front.jpg',
			 group:"Abraham",
			 name:'An Eye On The Universe digipak CD',
			 desc:"<p>Swiss monolith ABRAHAM create a barren aural landscape where grand rock faces of guitars loom large over occasional restrained moments of calm sublimity and haunting beauty. Abrasiveness is the word here: ABRAHAM will wash over you like a sudden cloudburst in the desert and make you feel like jagged rock exposed to the elements. Whoever loves CULT OF LUNA&prime;s The Beyond-album most: raise the torches, this is for you! Featuring members of KRUGER.</p>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"90",
			 itemNumber:"01006",
			  type:"Download",
			
			    //download
			 name_d:"download_Abraham.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Abraham.zip",
			 
			 //upgrade
			 name_up:"Abraham Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Abraham Upgrade",
			 
			 
              stock:1
			 });
			 
			   push({
			 image:'img/Earthship_front.jpg',
			 group:"Earthship",
			 name:'Exit Eden digipak CD',
			 desc:"<p>EARTHSHIP surge ahead like a nuclear-powered icebreaker through the Barents Sea, laden with mighty riffs, tons of groove and home-brewn whiskey. JOIN The EARTHSHIP's bearded crew, led by captain Jan Oberg (former drummer of THE OCEAN) for a ride through the vast black sea of doom and prog n' roll. For fans of BARONESS, CROWBAR, IRON MONKEY and ZOZOBRA. Featuring The Ocean's Robin Staps on guitar.</p>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"90",
			 itemNumber:"01006",
			  type:"Download",
		
			  //download
			 name_d:"download_Earthship.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"Earthship.zip",
			 
			 //upgrade
			 name_up:"Earthship Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"Earthship Upgrade",
			
			 
              stock:1
			 });
			 
			 push({
			 image:"img/fluxion_sm.jpg",
			 group:"The Ocean",
			 name:"Fluxion [Re-release]",
			 desc:"<a href='http://theoceancollective.com/pelagic/'>(Pelagic Records, 2009)</a><ul><li>60 minutes</li><li>new vocals by Mike Pilat, remixed, remastered</li><li>entirely new artwork by Martin Kvamme</li><li>deluxe edition, comes with black slipcase including special print colors and additional artwork and illustrations by Martin Kvanmme</li></ul>",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"308",
			 stock:1,
			 
			   //download
			 name_d:"download_TheOcean_Fluxion.zip",
			 euro_d:"5.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"TheOcean_Fluxion.zip",
			 
			 //upgrade
			 name_up:"TheOcean_Fluxion Upgrade",
			 euro_up:"6.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"TheOcean_Fluxion Upgrade",
			 
			 
			 type:"Download"
			 
			 
			 });
			 
			 	push({
			 image:"img/fogdiver_sm.jpg",
			 group:"The Ocean",
			 name:"Fogdiver CD",
			 desc:"<a href='iapetusrecordings.co.uk'>(Iapetus Records 2005)</a><ul><li>30:02 minutes. This album is entirely instrumental.</li><li>Originally released via Make My Day Records in 2003, this is a re-edition in revised packaging.</li><li>Comes in a slick digipak with UV gloss, booklet and additional artwork.</li></ul><ol><li>'airily melodic passages alongside the requisite end-of-the-world-is-nigh bludgeon. 'Fogdiver' is an eminently listenable piece of work, with skilful attention to mood comparable to soundtrack music.'<i> - Kerrang!, UK, KKKK</i></li><li>'brimming with ingenuity, passion and a driving sense of urgency. As invigorating as a breath of fresh sea air, this is a treasure that's begging to b discovered.'<i> - Rock Sound, UK</i></li></ol>",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"90",
			 itemNumber:"304",
			 stock:1,
		
			    //download
			 name_d:"download_TheOcean_Fogdiver.zip",
			 euro_d:"4.99",
			 dollar_d:"null",
			 shipping_d:"0",
			 type_d:"download",
			 itemNumberD:"TheOcean_Fogdiver.zip",
		
			 //upgrade
			 name_up:"TheOcean_Fogdiver Upgrade",
			 euro_up:"5.01",
			 dollar_up:"null",
			 shipping_up:"90",
			 type_up:"upgrade",
			 itemNumber3:"TheOcean_Fogdiver Upgrade",
			 
			
			 type:"Download"
			 });
			 
			 
		
			 
			 
			 
			 
			 
			 
		/* Download end */
		
		
		/* Shirts */
		
		
		push({
			 image:"img/Architect_frontside.jpg",
			 group:"The Ocean",
			 name:"Architect - gray",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"architect gray",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		
		push({
			 image:"img/Architect_white.jpg",
			 group:"The Ocean",
			 name:"Architect - white",
			 desc:"",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"130",
			 itemNumber:"architect white",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:0, sg:0, mg:0}
			 });
		
		
		push({
			 image:"img/whalevs_giantsquid.jpg",
			 group:"The Ocean",
			 name:"whale vs giant squid",
			 desc:"this is a lavish 10 (!) - colour silk screen print, hence the slightly higher price",
			 dollar:"null",
			 euro:"17.00",
			 shipping:"130",
			 itemNumber:"whale vs giant squid_01",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:0, sg:0, mg:0}
			 });
			 
			 push({
			 image:"img/sea_creatures_sm.jpg",
			 name:"Sea Creatures",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"109",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		push({
			 image:"img/Quallensalat_mockup_2.jpg",
			 group:"The Ocean",
			 name:"Quallensalat",
			 desc:"black print on light grey shirts",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"salat_01",
			 type:"Shirts",
             stock:{s:0, m:1, l:1, xl:0, sg:0, mg:0}
			 });
			 
			 	
		
		
		
		push({
			 image:"img/anthropocentric_sm.jpg",
			 group:"The Ocean",
			 name:"Anthropocentric",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"anthro_01",
			 type:"Shirts",
             stock:{s:0, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
		push({
			 image:"img/anglerfisch.jpg",
			 group:"The Ocean",
			 name:"Anglerfisch",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"fisch_01",
			 type:"Shirts",
             stock:{s:0, m:1, l:1, xl:1, sg:1, mg:1}
			 });
			 
		push({
			 image:"img/eye_shirt_sm.jpg",
			 group:"The Ocean",
			 name:"One Eye (black/charcoal)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"eye_01",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
		push({
			 image:"img/heliocentric_sm.jpg",
			 group:"The Ocean",
			 name:"Heliocentric",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"123",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:1}
			 });
			 
		push({
			 image:"img/heretic_angel_sm.jpg",
			 group:"The Ocean",
			 name:"Heretic Angel",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"123",
			 type:"Shirts",
             stock:{s:1, m:1, l:0, xl:1, sg:0, mg:0}
			 });
			 
		push({
			 image:"img/urania_sm.jpg",
			 group:"The Ocean",
			 name:"Urania",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"123",
			 type:"Shirts",
             stock:{s:1, m:1, l:0, xl:1, sg:0, mg:0}
			 });
			 
		push({
			 image:"img/luminaries_sm.jpg",
			 group:"The Ocean",
			 name:"Luminaries",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"122",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
			 push({
			 image:"img/thibault_sm.jpg",
			 group:"The Ocean",
			 name:"Thibault (blue-turquoise/black)",
			 desc:"<ul><li>Fluxion/Aeolian logos on left/right sleeve</li></ul>",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"119",
			 type:"Shirts",
             stock:{s:1, m:1, l:0, xl:1, sg:1, mg:1}
			 });
			 
			 push({
			 image:"img/precambrian_shirt_sm.jpg",
			 group:"The Ocean",
			 name:"Precambrian",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"113",
			 type:"Shirts",
             stock:{s:1, m:0, l:0, xl:1, sg:1, mg:1}
			 });
			 
			 		push({
			 image:"img/winged_octopus_black_sm.jpg",
			 group:"The Ocean",
			 name:"Winged Octopus (silverish grey/black)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"102",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:0, sg:1, mg:0}
			 });
			 
			/* push({
			 image:"img/octopussy_khaki_sm.jpg",
			 group:"The Ocean",
			 name:"Octopussy (khaki)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"104",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:1, sg:0, mg:0}
			 });*/
		
				push({
			 image:"img/aeolian_gray_sm.jpg",
			 group:"The Ocean",
			 name:"Aeolian (black/grey)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"108",
			 type:"Shirts",
             stock:{s:1, m:2, l:1, xl:1, sg:0, mg:0}
			 });
		
			 
			 push({
			 image:"img/Ziege_1-1.jpg",
			 group:"Earthship",
			 name:"Ziege 1",
			 desc:"",
			 dollar:"null",
			 euro:"13.00",
			 shipping:"130",
			 itemNumber:"ziege_01",
			 type:"Shirts",
             stock:{s:0, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		
			push({
			 image:"img/Ziege_2-1.jpg",
			 group:"Earthship",
			 name:"Ziege 2",
			 desc:"",
			 dollar:"null",
			 euro:"13.00",
			 shipping:"130",
			 itemNumber:"ziege_02",
			 type:"Shirts",
             stock:{s:0, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		
		push({
			 image:"img/earthshipWendy.jpg",
			 group:"Earthship",
			 name:"Wendy",
			 desc:"",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"wendy_01",
			 type:"Shirts",
             stock:{s:0, m:0, l:1, xl:1, sg:0, mg:0}
			 });
			 
			 push({
			 image:"img/Earthship-shirt-1.jpg",
			 group:"Earthship",
			 name:"Earthship",
			 desc:"",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"anthro_01",
			 type:"Shirts",
             stock:{s:1, m:0, l:0, xl:1, sg:0, mg:0}
			 });
		
		push({
			 image:"img/ABR_GOATSTAR_TS_MOCKUP.jpg",
			 group:"Abraham",
			 name:"Goat Star",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"abra_goat_01",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
			 push({
			 image:"img/ABR_HELLSINKI_TS_MOCKUP.jpg",
			 group:"Abraham",
			 name:"Hellsinki",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"abra_hellsinki_01",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
			 
			 
			 
			 
			 
		
		
		
				
		push({
			 image:"img/nebra_galaxy_sm.jpg",
			 group:"Nebra",
			 name:"Galaxy",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"neb02",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:1, mg:1}
			 });
		
		
		push({
			 image:"img/nebra_discs_sm.jpg",
			 group:"Nebra",
			 name:"Discs",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"neb03",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
			  push({
			 image:"img/Shirt_Dove_Red_Coilguns.jpg",
			 group:"Coilguns",
			 name:"Dove - Red",
			 desc:"",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"coli03",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
			 push({
			 image:"img/Grey_dove_200.jpg",
			 group:"Coilguns",
			 name:"Dove",
			 desc:"",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"coli01",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
			 push({
			 image:"img/mastoid_200.jpg",
			 group:"Coilguns",
			 name:"Mastoid",
			 desc:"",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"coli01",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
			 
		/*push({
			 image:"img/fluxion_shirt_sm.jpg",
			 group:"The Ocean",
			 name:"Fluxion (grey/black)",
			 desc:"<ul><li>grey front print of illustration from Fluxion booklet</li><li>sleeve print on left arm: The Ocean / \"Fluxion\" logo</li><li>sleeve print on right arm: The Ocean / \"Aeolian\" logo</li><li>illustrations has excerpts from the lyrics to \"The Greatest Bane\": \"Breathe in deep. Get lost in what we call 'the real world'\"</li></ul>",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"118",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });*/
		
		
		
		/*
		push({
			 image:"img/bats_sm.jpg",
			 group:"The Ocean",
			 name:"Bats (blue-grey-white/black)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"120",
			 type:"Shirts",
             stock:{s:0, m:0, l:1, xl:1, sg:0, mg:0}
			 });
		*/
		
		push({
			 image:"img/pelagic_sm.jpg",
			 group:"Pelagic Records ",
			 name:"(dark grey/black)",
			 desc:"",
			 dollar:"null",
			 euro:"12.00",
			 shipping:"130",
			 itemNumber:"121",
			 type:"Shirts",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		/*
		push({
			 image:"img/tower_black_sm.jpg",
			 group:"The Ocean",
			 name:"Towers Shirt (black/black)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"117",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:1, sg:0, mg:0}
			 });
		*/
		
		
		/*
		push({
			 image:"img/bubbles.jpg",
			 name:"Bubbles",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"112",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		
		push({
			 image:"img/shirt3_black.jpg",
			 name:"Tentacles (dark orange/black)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"110",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		
		
		
		push({
			 image:"img/shirt3_white.jpg",
			 group:"The Ocean",
			 name:"Tentacles (green/white)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"116",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:1, sg:0, mg:0}
			 });
		*/

		
		/*
		push({
			 image:"img/octopussy_zink_sm.jpg",
			 group:"The Ocean",
			 name:"Octopussy (zink)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"103",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:1, sg:0, mg:0}
			 });
		*/
		
		
		/*push({
			 image:"img/octopussy_white_sm.jpg",
			 group:"The Ocean",
			 name:"Octopussy (white)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"105",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:1, sg:0, mg:0}
			 });*/
		
		/*
		push({
			 image:"img/aeolian_sm.jpg",
			 name:"Aeolian (gold/black)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"106",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		
		push({
			 image:"img/aeolian_silver_sm.jpg",
			 name:"Aeolian (silver/black)",
			 desc:"",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"130",
			 itemNumber:"107",
			 type:"Shirts",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
		*/
		

		
	
		
		
		
		/* Hoodies/Zippers */
		push({
			 image:"img/O-HereticAngel-zipper.jpg",
			 group:"The Ocean",
			 name:"Heretic Angel w/zipper (gray/black)",
			 desc:"",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"670",
			 itemNumber:"ang_01",
			 type:"Hoodies",
             stock:{s:1, m:1, l:1, xl:0, sg:0, mg:0},
             isNew:true
			 });
			 
			 push({
			 image:"img/O-Anthropocentric-zipper.jpg",
			 group:"The Ocean",
			 name:"Anthropocentric w/zipper (gray/black)",
			 desc:"",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"670",
			 itemNumber:"anth_01",
			 type:"Hoodies",
             stock:{s:1, m:0, l:1, xl:1, sg:0, mg:0},
             isNew:true
			 });
			 
			  push({
			 image:"img/ABR_BEARD_HOODIE_HG_MOCKUP.jpg",
			 group:"Abraham",
			 name:"Beard Hoodie w/zipper (heather grey)",
			 desc:"",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"670",
			 itemNumber:"ab_hood_01",
			 type:"Hoodies",
             stock:{s:1, m:1, l:0, xl:1, sg:0, mg:0},
             isNew:true
			 });
			 
		/*	 
		push({
			 image:"img/arrowman_grey_sm.jpg",
			 group:"The Ocean",
			 name:"Arrowman Hoodie w/zipper (anthracite/black)",
			 desc:"W/logo on hood",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"670",
			 itemNumber:"209",
			 type:"Hoodies",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0},
             isNew:true
			 });
		*/
		
	/*	push({
			 image:"img/winged_octopus_khaki_sm.jpg",
			 group:"The Ocean",
			 name:"Winged Octopus Hoodie (dark metallic green/khaki)",
			 desc:"",
			 dollar:"null",
			 euro:"30.00",
			 shipping:"670",
			 itemNumber:"201",
			 type:"Hoodies",
             stock:{s:1, m:0, l:0, xl:0, sg:0, mg:0},
             isNew:true
			 });
		
		push({
			 image:"img/winged_octopus_black_hoodie.jpg",
			 group:"The Ocean",
			 name:"Winged Octopus Hoodie w/zipper (silverish grey/black)",
			 desc:"",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"670",
			 itemNumber:"208",
			 type:"Hoodies",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });*/
		
		/*
		push({
			 image:"img/shirt3_black.jpg",
			 name:"Tentacles Hoodie (dark orange/black)",
			 desc:"",
			 dollar:"null",
			 euro:"30.00",
			 shipping:"130",
			 itemNumber:"206",
			 type:"Hoodies",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		push({
			 image:"img/shirt3_white.jpg",
			 name:"Tentacles Hoodie (green/white)",
			 desc:"",
			 dollar:"null",
			 euro:"30.00",
			 shipping:"130",
			 itemNumber:"207",
			 type:"Hoodies",
             stock:{s:1, m:1, l:1, xl:1, sg:0, mg:0}
			 });
		
		push({
			 image:"img/winged_octopus_black_sm.jpg",
			 group:"The Ocean",
			 name:"Winged Octopus Hoodie (silverish grey/dark graphite)",
			 desc:"",
			 dollar:"null",
			 euro:"30.00",
			 shipping:"670",
			 itemNumber:"202",
			 type:"Hoodies",
             stock:{s:1, m:0, l:0, xl:1, sg:0, mg:0}
			 });
		*/
		
		/*push({
			 image:"img/octopussy_white_zipper_sm.jpg",
			 name:"Octopussy Hoodie w/zipper (white)",
			 desc:"",
			 dollar:"null",
			 euro:"35.00",
			 shipping:"670",
			 itemNumber:"203",
			 type:"Hoodies",
             stock:{s:1, m:0, l:0, xl:0, sg:0, mg:0}
			 });*/
		
		/*
		push({
			 image:"img/aeolian_gray_sm.jpg",
			 name:"Aeolian Hoodie (black/grey)",
			 desc:"",
			 dollar:"null",
			 euro:"30.00",
			 shipping:"670",
			 itemNumber:"204",
			 type:"Hoodies",
             stock:{s:0, m:0, l:0, xl:0, sg:0, mg:0}
			 });
			 
			 */
		
		/*push({
			 image:"img/aeolian_sm.jpg",
			 name:"Aeolian Hoodie (gold/black)",
			 desc:"",
			 dollar:"null",
			 euro:"30.00",
			 shipping:"670",
			 itemNumber:"205",
			 type:"Hoodies",
             stock:{s:1, m:0, l:0, xl:0, sg:0, mg:0}
			 });*/
		
		
		
		/* Buttons */
		push({
			 image:"img/qualle_sm.jpg",
			 group:"The Ocean",
			 name:"Qualle button",
			 desc:"",
			 dollar:"null",
			 euro:"1.00",
			 shipping:"10",
			 itemNumber:"503",
			 stock:1,
			 type:"Buttons",
             isNew:true
			 });
		
		/*push({
			 image:"img/button_precambrian_sm.jpg",
			 group:"The Ocean",
			 name:"Precambrian button",
			 desc:"",
			 dollar:"null",
			 euro:"1.00",
			 shipping:"10",
			 itemNumber:"504",
			 stock:1,
			 type:"Buttons",
             isNew:true
			 });*/
		
		push({
			 image:"img/logo_sm.jpg",
			 group:"The Ocean",
			 name:"Logo button",
			 desc:"",
			 dollar:"null",
			 euro:"1.00",
			 shipping:"10",
			 itemNumber:"501",
			 stock:0,
			 type:"Buttons"
			 });
		
		push({
			 image:"img/octopus_sm.jpg",
			 group:"The Ocean",
			 name:"Octopus button",
			 desc:"",
			 dollar:"null",
			 euro:"1.00",
			 shipping:"10",
			 itemNumber:"502",
			 stock:0,
			 type:"Buttons"
			 });
		
		/* Posters */
		/*
		push({
			 image:"img/alchemist_girl.jpg",
			 group:"The Ocean",
			 name:"Special Gig Poster",
			 desc:"special gig poster for The Ocean - gig at the Limelight in Belfast on April 10th 2010. 2-color (silver and black) silk screen print, hand-numbered, limited to 75 copies. Size: 48 x 64 cm. Printed on thick cardboard. Design by Glyn Smyth.",
			 dollar:"null",
			 euro:"15.00",
			 shipping:"15",
			 itemNumber:"tos-01",
			 stock:1,
			 type:"Posters",
             isNew:true
			 });
		*/
		
		
		
		push({
			 image:"img/Plakat_The-_Ocean_10.jpg",
			 group:"The Ocean",
			 name:"Special Gig Poster",
			 desc:"silk-screen-printed gig poster for show with KNUT in Basel on December 4th, 2010.<br />Hand-printed in 3 colours (metallic silver, red and white) on thick black cardboard.<br />Hand-numbered and limited to 52 copies.<br />Artwork by Gerd Kornmann",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"15",
			 itemNumber:"fric-01",
			 stock:1,
			 type:"Posters",
             isNew:true
			 });
		
		push({
			 image:"img/friction-fest_poster_1.jpg",
			 group:"The Ocean",
			 name:"Friction Fest Poster I",
			 desc:"4-color silk screen print, hand-numbered, limited to 75 copies. Size: 47 x 64 cm. Design by Damien Tran.",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"15",
			 itemNumber:"fric-01",
			 stock:1,
			 type:"Posters",
             isNew:true
			 });
		
		push({
			 image:"img/friction-fest_poster_2.jpg",
			 group:"The Ocean",
			 name:"Friction Fest Poster II",
			 desc:"3-color silk screen print, limited to 50 copies. Size: 50 x 70 cm. Design by Dawik Piprek",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"15",
			 itemNumber:"fric-02",
			 stock:1,
			 type:"Posters",
             isNew:true
			 });
			 
		push({
			 image:"img/aeolian_poster.jpg",
			 group:"The Ocean",
			 name:"Aeolian Postcard Motif 1",
			 desc:"Aeolian miniature artprint in maxi-postcard format, glossy golden print on thick white cardboard, design by Martin Kvamme",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"15",
			 itemNumber:"402",
			 stock:1,
			 type:"Posters"
			 });
		
		push({
			 image:"img/aeolian_poster_2.jpg",
			 group:"The Ocean",
			 name:"Aeolian Postcard Motif 2",
			 desc:"Aeolian miniature artprint in maxi-postcard format, glossy golden print on thick white cardboard, design by Martin Kvamme",
			 dollar:"null",
			 euro:"10.00",
			 shipping:"15",
			 itemNumber:"403",
			 stock:1,
			 type:"Posters"
			 });
		
	}
	if(!c){
		c = getCookie("c") ? getCookie("c") : "e";
	}
} else {
	cart = opener.cart;
	c = opener.c;
	rates.germany = [{d:0, e:2.2, s:"Germany (Maxibrief)", h:1}, {d:0, e:5.4, s:"Germany (Maxibrief)", h:1.5}, {d:0, e:5.4, s:"Germany (Maxibrief)", h:2}, {d:0, e:6.9, s:"Germany (DHL Paket)", h:2}];
	rates.europe = [{d:0, e:4.5, s:"Europe (DHL International)", h:1.5}, {d:0, e:7, s:"Europe (DHL International)", h:1.5}, {d:0, e:9.6, s:"Europe (DHL International)", h:2}, {d:0, e:18, s:"Europe (DHL Paket International, Uninsured)", h:2.5}];
	rates.surface = [{d:0, e:4.5, s:"World 1 (USA, Canada, Switzerland, Norway, Russia)", h:1.5}, {d:0, e:8, s:"World 1 (USA, Canada, Switzerland, Norway, Russia)", h:1.5}, {d:0, e:14.9, s:"World 1 (USA, Canada, Switzerland, Norway, Russia)", h:2}, {d:0, e:36, s:"World 1 (USA, Canada, Switzerland, Norway, Russia)", h:2.5}];
	rates.air = [{d:0, e:4.5, s:"World 2 (Australia, New Zealand, Japan, South America)", h:1.5}, {d:0, e:8, s:"World 2 (Australia, New Zealand, Japan, South America)", h:1.5}, {d:0, e:14.9, s:"World 2 (Australia, New Zealand, Japan, South America)", h:2}, {d:0, e:41, s:"World 2 (Australia, New Zealand, Japan, South America)", h:2.5}];
	shipZone = getCookie("shipZone") || "germany";
}
//
function writeShop(){
    id('main').innerHTML = "<div id='page_title'><div id='tabs'><span id='shop_title'>Shop:</span></div></div>";
	e = "";
	//e += "<p class='small_warning'>All preorders need to be paid up front and will be shipped the last week of november and the first week of december.</p>";
	//e += "<p class='small_warning'>There were many delays with the "+'"'+"Heliocentric"+'"'+" preorders. First of all, the boxes with revolvable dials are a highly complicated, specialized and expensive product. We discussed the choice of material, printing techniques etc. with the pressing plant for several weeks, and had to wait for new quotes every time, which delayed the manufacturing process several times. The boxes finally arrived one day before the band left on tour so our lovely packing lady was left to pack more than 800 preorders alone... we sincerely apologize for the wait and promise better service this time around;)</p>";
	e += "<p class='small_warning'>If you live in the EU and prefer to pay upfront by bank wire, send an email with your order details and shipping address to <a href='mailto:info@theoceancollective.com'>info@theoceancollective.com</a></p>";
	e+="<div id='upg_tv' style='display:none;' onclick='what_kill()'>";
	e+="<div id='tv_close'>|close|</div>PELAGIC RECORDS DOWNLOAD POLICY";
e+="<p class='tv_text'>We would like to offer a cheap option to check out our releases.<br />For all our exclusive releases, we offer downloads in the form of 320 kbps .m4a or .mp3 files for 5,99 € per album.<br />You will receive an email with download instructions instantly.</p>";

e+='<p class="tv_text">If you dig the album and would like to purchase the CD (or LP, if available) version later, you can come back to our shop at any time within 3 months after your purchase and click the "upgrade to CD" button of the article for which you purchased a download. You will only pay the remaining price difference to the CD / LP plus shipping costs, and we will send you the physical record.</p>';

e+='<p class="tv_text">Please have your unique download code available when upgrading to CD, you will be prompted to enter it when upgrading to CD.</p>';

e+='<p class="tv_text">In short again:<br />1.) you buy the awesome ABRAHAM album - download for 5,99 &euro;<br />2.) ... rocking out, headbanging against your living room walls - you NEED the album as a "real" CD...<br />3.) you access our shop, click "upgrade to CD"<br />4.) enter your download code, pay 6,01 &euro; (instead of 12,00 &euro; full price) + shipping<br />5.) you got the CD in your mailbox 2 weeks later.<br /></p>';
	
	
	
	
	e+="</div>";
	
	if(c == "d") e += "<br/>All US dollar shipping and prices are calculated based on the latest exchange rates.";
	id('main').innerHTML += "<div id='messages'>"+e+"</div>";
	if(!cookiesOn){
		id("main").innerHTML += "<div class='small_warning' style='padding-bottom:10px;'>Cookies are disabled on your browser. If you reload this window, your shopping cart and preferences will be lost.</div>";
	}
	id('main').innerHTML += "<div id='container'></div>";
	
    addTab("All Items");
	for(i=0; i<items.length; i++){
        it = items[i];
		addTab(it.type);
		if((it.type == cType || cType == "All Items" || (cType == "New" && it.isNew))){
			r = "<div class='product'>";
			r += "<div class='thumb'>";
			if(isInStock(it)){
				if(it.fullsize){
					r += "<a href='"+it.fullsize+"' target='_blank'><img src='"+it.image+"' class='thumb' /></a><br/><span>click for detail</span>";
				} else {
					r += "<img src='"+it.image+"' />";
				}
			} else {
				r += "<img src='img/sold_out.gif' style='background-image:url("+it.image+");' class='thumb_none' />";
			}
			r += "</div>";
			r += "<h2>"+(it.group ? it.group+" - " : "")+it.name+"</h2>";
			r += "<div class='details'>"+it.desc;
			/* GIAA Vinyl Colors */
			if(it.itemNumber == "giaaage-spec01"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				r += "<td class='price' valign='middle'"+(it.stock.sg || it.stock.mg ? " rowspan=\'2\'" : "")+">"+getSymbol()+getPrice(it.euro, it.dollar)+"</td>";
				r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"-y\',\'"+it.name+" (yellow)\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">yellow</a></td>";
				r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"-o\',\'"+it.name+" (orange)\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">orange</a></td>";
				r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"-b\',\'"+it.name+" (black)\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">black</a></td>";
				r += "</tr></table>";
			} else if(typeof(it.stock) == "object"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				r += "<td class='price' valign='middle'"+(it.stock.sg || it.stock.mg ? " rowspan=\'2\'" : "")+">"+getSymbol()+getPrice(it.euro, it.dollar)+"</td>";
				r += "<td class='type'>"+(it.type == "Shirts" ? 'T-Shirt' : 'Standard')+"</td>";
				if(it.stock.s){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+" SMALL\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">small</a></td>";
				} else {
					r += "<td class='out'>small</td>";
				}
				if(it.stock.m){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+" MEDIUM\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">medium</a></td>";
				} else {
					r += "<td class='out'>medium</td>";
				}
				if(it.stock.l){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+" LARGE\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">large</a></td>";
				} else {
					r += "<td class='out'>large</td>";
				}
				if(it.stock.xl){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+" EXTRA-LARGE\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">x-large</a></td>";
				} else {
					r += "<td class='out'>x-large</td>";
				}
				r += "</tr>";
				if(it.stock.sg || it.stock.mg){
					r += "<tr>";
					r += "<td class='type'>Girl's V-neck</td>";
					if(it.stock.sg){
						r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+" SMALL FEMALE\',\'"+it.dollar+"\',\'"+it.euro+"\',\'150\',\'"+it.type+"\')\">small</a></td>";
					} else {
						r += "<td class='out'>small</td>";
					}
					if(it.stock.mg){
						r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+" MEDIUM FEMALE\',\'"+it.dollar+"\',\'"+it.euro+"\',\'150\',\'"+it.type+"\')\">medium</a></td>";
					} else {
						r += "<td class='out'>medium</td>";
					}
					r += "<td colspan='2'></td>";
					r += "</tr>";
				}
				r += "</table>";
				
				
				
		} else {
			
				if(it.type=="CDs"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				r += "<td class='price' valign='middle' width='200'>"+getSymbol()+getPrice(it.euro, it.dollar)+"</td>";
				
				if(it.stock){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+"\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">add to cart</a></td>";
				   
				
				
				//icke start
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				
				//type2:"download",
				if(it.type_d=="download"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				
				//r += "<td class='price' valign='middle'>"+getSymbol()+getPrice(it.euro2, it.dollar2)+"</td>";
				r +="<td class='price' valign='middle' width='200'>purchase dowload "+getSymbol()+getPrice(it.euro_d, it.dollar_d)+"</td>";
				if(it.stock){
					 r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name_d+"\',\'"+it.dollar_d+"\',\'"+it.euro_d+"\',\'"+it.shipping_d+"\',\'"+it.type_d+"\')\">add to cart</a></td>";
				   
				
				
				
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				
				//type3:"upgrade",
				if(it.type_up=="upgrade"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				
				//r += "<td class='price' valign='middle'>"+getSymbol()+getPrice(it.euro2, it.dollar2)+"</td>";
				r +="<td class='price' valign='middle' width='200'>upgrade to CD "+getSymbol()+getPrice(it.euro_up, it.dollar_up)+"</td>";
				if(it.stock){
					 r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name_up+"\',\'"+it.dollar_up+"\',\'"+it.euro_up+"\',\'"+it.shipping_up+"\',\'"+it.type_up+"\')\">add to cart</a></td><td>&nbsp;&nbsp;<a herf='#'><span class='ugl' onclick='what_show()' >info</span></a>&nbsp;&nbsp;</td>";
				   
				
				
				
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				}
				
				else if(it.type=="Preorder"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				r += "<td class='price' valign='middle' width='200'>"+getSymbol()+getPrice(it.euro, it.dollar)+"</td>";
				
				if(it.stock){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+"\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">add to cart</a></td>";
				   
				
				
				//icke start
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				
				//type2:"download",
				if(it.type_d=="download"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				
				//r += "<td class='price' valign='middle'>"+getSymbol()+getPrice(it.euro2, it.dollar2)+"</td>";
				r +="<td class='price' valign='middle' width='200'>purchase dowload "+getSymbol()+getPrice(it.euro_d, it.dollar_d)+"</td>";
				if(it.stock){
					 r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name_d+"\',\'"+it.dollar_d+"\',\'"+it.euro_d+"\',\'"+it.shipping_d+"\',\'"+it.type_d+"\')\">add to cart</a></td>";
				   
				
				
				
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				
				//type3:"upgrade",
				if(it.type_up=="upgrade"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				
				//r += "<td class='price' valign='middle'>"+getSymbol()+getPrice(it.euro2, it.dollar2)+"</td>";
				r +="<td class='price' valign='middle' width='200'>upgrade to CD "+getSymbol()+getPrice(it.euro_up, it.dollar_up)+"</td>";
				if(it.stock){
					 r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name_up+"\',\'"+it.dollar_up+"\',\'"+it.euro_up+"\',\'"+it.shipping_up+"\',\'"+it.type_up+"\')\">add to cart</a></td><td>&nbsp;&nbsp;<a herf='#'><span class='ugl' onclick='what_show()' >info</span></a>&nbsp;&nbsp;</td>";
				   
				
				
				
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				}
				
				else if(it.type=="Download"){
				//r += "<table cellspacing='1' class='buy_table'><tr>";
				//r += "<td class='price' valign='middle' width='200'>"+getSymbol()+getPrice(it.euro, it.dollar)+"</td>";
				
				if(it.stock){
					//r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+"\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">add to cart</a></td>";
				   
				
				
				//icke start
				} else {
					//r += "<td class='out'>out of stock</td>";
				}
			//	r += "</tr></table>";
				
				//type2:"download",
				if(it.type_d=="download"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				
				//r += "<td class='price' valign='middle'>"+getSymbol()+getPrice(it.euro2, it.dollar2)+"</td>";
				r +="<td class='price' valign='middle' width='200'>purchase dowload "+getSymbol()+getPrice(it.euro_d, it.dollar_d)+"</td>";
				if(it.stock){
					 r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name_d+"\',\'"+it.dollar_d+"\',\'"+it.euro_d+"\',\'"+it.shipping_d+"\',\'"+it.type_d+"\')\">add to cart</a></td>";
				   
				
				
				
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				
				//type3:"upgrade",
				if(it.type_up=="upgrade"){
				r += "<table cellspacing='1' class='buy_table'><tr>";
				
				//r += "<td class='price' valign='middle'>"+getSymbol()+getPrice(it.euro2, it.dollar2)+"</td>";
				r +="<td class='price' valign='middle' width='200'>upgrade to CD "+getSymbol()+getPrice(it.euro_up, it.dollar_up)+"</td>";
				if(it.stock){
					 r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name_up+"\',\'"+it.dollar_up+"\',\'"+it.euro_up+"\',\'"+it.shipping_up+"\',\'"+it.type_up+"\')\">add to cart</a></td><td>&nbsp;&nbsp;<a herf='#'><span class='ugl' onclick='what_show()' >info</span></a>&nbsp;&nbsp;</td>";
				   
				
				
				
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				}
				
				else{
				r += "<table cellspacing='1' class='buy_table'><tr>";
				r += "<td class='price' valign='middle' width='200'>"+getSymbol()+getPrice(it.euro, it.dollar)+"</td>";
				
				if(it.stock){
					r += "<td><a href=\"javascript:addToCart(\'"+it.itemNumber+"\',\'"+it.name+"\',\'"+it.dollar+"\',\'"+it.euro+"\',\'"+it.shipping+"\',\'"+it.type+"\')\">add to cart</a></td>";
				   
				
				
				//icke start
				} else {
					r += "<td class='out'>out of stock</td>";
				}
				r += "</tr></table>";
				}
				//ah end
			
			}
			r += "</div><div class='clear'></div></div>";
			//
			if(cType == "All Items" || cType == "New"){
				cont = getContainer(it.type);
			} else {
				cont = id('container');
			}
			cont.innerHTML += r;
		}
	}
	full = getCookie("cart");
	if(full && !clear){
		cart = new Array();
		existingCart = full.split(",,");
		for(i=0; i<existingCart.length; i++){
			cart.push(existingCart[i].split(","));
		}
	}
	updateCart();
}
function isInStock(it){
	if(it.stock == 1){
		return true;
	}
	if(it.stock.s){
		return true;
	}
	if(it.stock.m){
		return true;
	}
	if(it.stock.l){
		return true;
	}
	if(it.stock.xl){
		return true;
	}
	if(it.stock.sg){
		return true;
	}
	if(it.stock.mg){
		return true;
	}
	return false;
}
function getContainer(cont){
	conta = id(cont);
	if(!id(cont)){
		id("container").innerHTML += "<h1>"+cont+"</h1><div class='clear'></div><div id='"+cont+"' class='category'></div>";
		conta = id(cont);
	}
	return conta;
}
function addToCart(itemNumber, itemName, itemDollar, itemEuro, itemShipping, itemType){

//icke start



if(itemType=="upgrade"){
var check = prompt("Enter your downloadcode", "");



          var req = new Ajax.Request (
          "upgradeProvider.php",{
            method: "post",
            parameters: {"dc":check, "upg_I":itemName},
            onSuccess: function (request){
             // Element.update($("msg"),request.responseText);
             
             //alert(request.responseText);
             
             if(request.responseText=="valid"){
             ///
            
	found = false;
	for(i=0; i<cart.length; i++){
		if(cart[i][1] == itemName){
			found = true;
			cart[i][5]++;
		}
	}
	if(!found){
		cart.push([itemNumber, itemName, itemDollar, itemEuro, itemShipping, 1, itemType]);
	}
	updateCart();
	openCart();
	
             
             ///
             }
             else{
             alert("brrrrrrrrrrrrrrr!\nYou have entered an invalid download code\nPlease try again.\nYou can only upgrade to CD if you have purchased a download before.\nIf you haven't, go buy the CD, not the upgrade");
             }
             
             
             
            }
          }
        );
//alert("done");

      
      }
//icke end
else{
	found = false;
	for(i=0; i<cart.length; i++){
		if(cart[i][1] == itemName){
			found = true;
			cart[i][5]++;
		}
	}
	if(!found){
		cart.push([itemNumber, itemName, itemDollar, itemEuro, itemShipping, 1, itemType]);
	}
	updateCart();
	openCart();
	}
}

function addToCart2(itemNumber, itemName, itemDollar, itemEuro, itemShipping, itemType){
	found = false;
	for(i=0; i<cart.length; i++){
		if(cart[i][1] == itemName){
			found = true;
			cart[i][5]++;
		}
	}
	if(!found){
		cart.push([itemNumber, itemName, itemDollar, itemEuro, itemShipping, 1, itemType]);
	}
	//updateCart();
	//openCart();
	//location.reload();
	writeCart();
	
	}


function confirmRemove(itemNumber){
	if(confirm('Are you sure you wish to remove "'+cart[itemNumber][1]+'" from your cart?')){
		removeFromCart(itemNumber);
	}
}
function removeFromCart(itemNumber){
    if(cart.length == 1){
        cart = new Array();
    } else {
        cart.splice(itemNumber, 1);
    }
    opener.cart = cart;
    opener.updateCart();
    writeCart();
}
function updateCart(){
	itemTotal = 0;
	newCart = "";
	for(i=0; i<cart.length; i++){
		newCart += cart[i];
		if(i < cart.length-1) newCart += ",,";
		itemTotal += parseInt(cart[i][5]);
	}
	setCookie("cart", newCart);
	id("control").innerHTML = "<a href='javascript:openCart()' class='cartCount'>Cart: <span class='white'>"+itemTotal+"</span> "+(itemTotal == 1 ? 'Item' : 'Items')+"</a> | "+'Currency: <select name="currency" onchange="changeCurrency(this.value);"><option value="e" '+(c == "e" ? " selected" : "")+'>Euros</option><option value="d"'+(c == "d" ? " selected" : "")+'>US Dollars</option></select>';
}
function openCart(){
	id("control").firstChild.blur();
	if(cartWindow && !cartWindow.closed){
		cartWindow.focus();
		cartWindow.writeCart();
	} else {
		x = (screen.availWidth-w)/2;
		y = (screen.availHeight-h)/2;
		props = "status=1,resize=0,scrollbars=1,locaiton=0,top="+y+",left="+x+",width="+w+",height="+h;
		cartWindow = window.open("cart.php", "cart", props);
	}
}
function writeCart(){
	r = "<div class='header'>"+'<div style="float:right;">Currency: <select name="currency" onchange="changeCurrency(this.value);" style="margin:0px;"><option value="e" '+(c == "e" ? " selected" : "")+'>Euros</option><option value="d"'+(c == "d" ? " selected" : "")+'>US Dollars</option></select></div><img src="img/shopping_cart.gif" /><div style="clear:both;"></div>'+"</div>";
	r += "<div style='padding:10px 0px;'>To order items from this store, you must have a PayPal account or be able to sign up for one when checking out.<br /><br /><span class='small_warning'>After you have placed your order, you will get a confirmation email from paypal. We will process your order as soon as possible, however, sometimes items are temporarily out of stock, so PLEASE don't write us asking 'where's my stuff' only 10 days after you ordered. Please allow 2-3 weeks for processing and shipping, depending where you live and what shipping option you choose.</span></div>";
	r += "<table class='cart_header' cellspacing='1'><tr><td class='number'>#</td><td class='item'>Item Name</td><td class='price'>Price</td><td class='quantity'>Qty</td><td class='close'></td></tr></table>";
	total = shipping = shippingPosters = numOfButtons = 0;
	itemTotal = 0;
    handling = 0;
	cartR = "";
	areVinyls = false;
	if(cart.length){
		for(i=0; i<cart.length; i++){
			it = cart[i];
            r += "<table class='cart_item' cellspacing='1'><tr><td class='number'>"+it[0]+"</td><td class='item'>"+it[1]+(it[6] == "Posters" ? "<div class='warning'><a href=\"javascript:alert('Because posters must be shipped via a tube that only accomodates paper, you must pay shipping for this item seperately from other, non-poster items. These shipping costs are automatically calculated in your total.');\">CLICK HERE TO READ IMPORTANT INFORMATION ABOUT THE SHIPPING OF THIS ITEM.</a>" : "")+"</td><td class='price'>"+getSymbol()+getPrice(it[3], null)+"</td><td class='quantity'><a href='javascript:lowerQuant("+i+");'>&nbsp;-&nbsp;</a> "+it[5]+" <a href='javascript:raiseQuant("+i+");'>&nbsp;+&nbsp;</a></td><td class='close'><a href='javascript:confirmRemove("+i+")'></a></td></tr></table>";
            total += parseFloat(getPrice(cart[i][3],cart[i][2])*cart[i][5]);
            if(cart[i][6] == "Posters"){
            	shippingPosters += parseFloat(cart[i][4]*cart[i][5]);
			} else if(cart[i][6] == "Buttons"){
				numOfButtons++;
            } else {
                shipping += parseFloat(cart[i][4]*cart[i][5]);
            }
            itemTotal += parseInt(it[5]);
            if(it[6] == "Vinyls"){
            	areVinyls = true;
            }
		}
		shippingObj = getRate(shipping);
		shippingWeight = shipping;
        shippingObjPosters = getPosterShipping(shippingPosters);
        shippingExists = shipping ? 1 : 0;
		if(!shipping && !shippingPosters && numOfButtons){
			shipping = getPrice(1);
			handling = getPrice(0);
		} else {
			shipping = getPrice(shippingObj.e+shippingObjPosters+(registered && shippingExists ? 2.5 : 0)+(numOfButtons ? 1 : 0));
			handling = getPrice(parseFloat(shippingObj.h)+(shippingPosters ? 1 : 0));
		}
		if(areVinyls){
			shipping = Math.max(shipping, 6.9);
		}
		//
		if (!shippingObj.custom){
			cartR += '<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="checkout()">';
		} else {
			cartR += '<form name="emailRequest" action="email.php" method="POST" onsubmit="return verifyFields();">';
		}
		cartR += '<input type="hidden" name="cmd" value="_cart" />';
		cartR += '<input type="hidden" name="upload" value="1" />';
		cartR += '<input type="hidden" name="business" value="info@theoceancollective.com" />';
        cartR += '<input type="hidden" name="cpp_header_image" value="http://www.theoceancollective.com/shop/img/logo_for_paypal.gif" />';
        cartR += '<input type="hidden" name="return" value="http://www.theoceancollective.com/shop/success.html" />';
        cartR += '<input type="hidden" name="cancel_return" value="http://www.theoceancollective.com/shop/cart.php" />';
		cartR += '<input type="hidden" name="currency_code" value="'+(c == 'd' ? 'USD' : 'EUR')+'" />';
		cartR += '<input type="hidden" name="custom1" value="'+shippingWeight+'" />';
		//cartR += '<input type="hidden" name="on0_1" value="'+shippingObj.s+'" />';
        cartR += '<input type="hidden" name="shipping_1" value="'+shipping+'" />';
        cartR += '<input type="hidden" name="handling_1" value="'+handling+'" />';
		offset = 0;
		for(i=0; i<cart.length; i++){
            cartR += '<input type="hidden" name="item_number_'+(i+1+offset)+'" value="'+cart[i][0]+'"><input type="hidden" name="item_name_'+(i+1+offset)+'" value="'+cart[i][1]+'"><input type="hidden" name="quantity_'+(i+1+offset)+'" value="'+cart[i][5]+'"><input type="hidden" name="amount_'+(i+1+offset)+'" value="'+getPrice(cart[i][3])+'">';
		}
		if (!shippingObj.custom && total) {
		cartR += '<div id="helplabel" style="display:none">';
		
		cartR += "<p class='ph'>On Wednesday October 20th, we were robbed on the highway, 30 km before Madrid. 2 guys in a black BMW pulled us over with fake police IDs. They asked for our van papers and IDs and wanted to know if we had any money to declare. We were not skeptical at this point, as it is normal in Europe that you have to declare larger amounts of money when you're crossing borders, so we told them we had merch money with us, and the guy wanted to see it. When we showed them the merch wallet, the guy reached through the open window, seized it and ran back to the BMW in front of us, where his colleague was waiting with running engine. Unfortunately our van and trailer don't match the speed of a BMW, but fortunately it's not allowed to carry guns in Europe as otherwise we would be in jail now for shooting the guy in the face...</p>";
cartR += "<p class='ph'>We are facing a loss of + 6000 euro of merch income of the last days and fees. The exact amount is still to be determined. As some of you may or may not know, conditions on support tours are usually grim. Fees are low and barely cover expenses for van, gas, highway tolls, ferries, etc. There is no accomodation arrangements, we've been crashing out on people's floors for weeks. Losing more than 6000 euro is something we simply cannot afford at this point. </p>";
cartR += '<p class="ph">We are asking everyone who is ordering within the next few weeks through our shop to help out. You can do so by donating <b>5 Euro</b> when you place your order. All income generated through this will make the loss smaller for us and is greatly appreciated.</p>';
cartR += '<p class="ph" class="red">Everyone who donates <b>5 Euro</b> will receive a copy of the police report and a Thank You-card signed by all band members. We would like to thank you in advance for your support!</p>	';	
		
		cartR += '<p class="ph2"><span class="mar">Would you like to donate <b>5 euro</b> to help the band cover the loss of +6.000 euro (8.000 $) they are facing after being robbed on the highway to Madrid?  - <b><span onclick="set_tv()" class="lime">YES</span> / <span class="red" onclick="kill_tv()">NO</span></b>.</span></p>';

cartR += '<p class="ph" ><span class="ma">Everyone who donates <b>5 Euro</b> will receive a copy of the police report and a Thank You-card signed by all band members. We would like to thank you in advance for your support !!!</span></p>';
		
		cartR += '</div><div style="text-align:right;"><div onmouseover="help()"><input type="submit" value="PayPal Checkout"></div></div></form>';
	}
	} else {
		r += "<table class='cart_item' cellspacing='1'><tr><td>There are no items in your cart.</td></tr></table>";
        handling = "0.00";
	}
	totaltotal = (total+parseFloat(shipping)+parseFloat(handling)).toFixed(2);
	total = total.toFixed(2);
	shipping = (parseFloat(shipping)).toFixed(2);
	r += "<table class='cart_footer' cellspacing='1'><tr><td class='item' colspan='2'>Subtotal</td><td class='price'>"+getSymbol()+total+"</td><td class='quantity'>"+itemTotal+"</td><td class='close'></td></tr>";
	if (!shippingObj.custom || !cart.length){
		r += '<tr><td class="item" colspan="2">Shipping: <select name="zone" onchange="changeZone(this.value);" style="margin:0px;" id="ship_zone"><option value="germany"'+(shipZone == "germany" ? " selected" : "")+'>Germany</option><option value="europe" '+(shipZone == "europe" ? " selected" : "")+'>Europe</option><option value="surface" '+(shipZone == "surface" ? " selected" : "")+'>World 1 (USA, Switzerland, Canada)</option><option value="air" '+(shipZone == "air" ? " selected" : "")+'>World 2 (Australia, New Zealand)</option></select>'+writeRegistered()+'</td><td class="price">'+getSymbol()+shipping+'</td><td class="close"></td></tr>';
		r += "<tr><td class='item' colspan='2'>Processing</td><td class='price'>"+getSymbol()+handling+"</td><td class='quantity'></td><td class='close'></td></tr>";
		r += "<tr class='total'><td class='item' colspan='2'>Total</td><td class='price'>"+getSymbol()+totaltotal+"</td><td class='quantity'></td><td class='close'></td></tr></table>";
	} else {
		r += "<tr class='total'><td class='number'></td><td colspan='3'>"+cartR+"So it would appear you're looking to purchase many things. Wonderful.<br /><br />Unfortunately, shipping rates become complicated as weight increases. At this point, we ask that you <a href='mailto:info@theoceancollective.com?subject=Pelagic Records: Overweight Order'>email us concerning your desired order</a> so we may accurately quote your shipping rate.";
		r += "</td><td class='close'></td></tr></table>";
		/*
		r += "<tr class='total'><td class='number'></td><td colspan='2'>"+cartR+"It looks like you're buying a whole lot of stuff (or a few heavy things)	... which is awesome. But once an order exceeds 2000g (which this one has), shipping gets a little complicated. No big deal though. If you fill out the form below, we will get back to you soon with a total inluding shipping. Once we receive that amount from you via paypal, we'll send your order lovingly off toward the sunset.<br/>";
		cartR = "";
		r += '<div class="inputs">Shipping Zone<br/><select name="zone" onchange="changeZone(this.value);"><option value="germany"'+(shipZone == "germany" ? " selected" : "")+'>Germany</option><option value="europe" '+(shipZone == "europe" ? " selected" : "")+'>Europe</option><option value="air" '+(shipZone == "air" ? " selected" : "")+'>World Air (5 - 7 days)</option><option value="surface" '+(shipZone == "surface" ? " selected" : "")+'>World Surface (1 - 6 weeks)</option></select><br/>';
		
		r += 'Your Name<div id="userNameTitle" class="hidden">Please provide a name (first and last preferred), as this is how we know which order is which.</div><input type="text" id="userName" class="full" name="userName"/><br/>';
		r += 'Contact Email<div id="userEmailTitle" class="hidden">Please provide a valid email through which we may contact you.</div><input type="text" id="userEmail" class="full" name="userEmail"/><br/>';
		r += 'Paypal Email<div id="paypalEmailTitle" class="hidden">Please provide a valid PayPal email address, even if it is the same as your contact email address.</div><input type="text" id="paypalEmail" class="full" name="paypalEmail"/><br/>';
		r += 'Street Address<div id="addressTitle" class="hidden">We require a valid street address for correct shipping.</div><input type="text" id="address" class="full" name="address"/><br/>';
		r += 'City, State/Province, Area Code, Country<div id="locationTitle" class="hidden">We require a valid Town, State/Province, Area Code, Country and any other defining information of you area for shipping.</div><input type="text" id="location" class="full" name="location"/><br/>';
		r += "<div style='text-align:right;'><input type='submit' value='Send Email'></div>";
		r += "</div></form></td><td class='close'></td></tr></table>";
		*/
	}
	//
	id("cart").innerHTML = r+cartR+"<div id='blockout' class='hiddenBlockout'></div><div id='box'></div>";
}
function lowerQuant(num){
	if(cart[num][5] == 1){
    	confirmRemove(num);
	} else {
		cart[num][5]--;
        opener.updateCart();
        writeCart();
	}
}
function raiseQuant(num){
	cart[num][5]++;
	opener.updateCart();
	writeCart();
}
function getPrice(euro, dollar){
	euro = String(euro);
    if(dollar){
        dollar = String(dollar);
    } else {
    	dollar = null;
    }
	if(c == "e"){
    	if(euro && euro != "null"){
        	return parseFloat(euro).toFixed(2);
        } else {
        	return (dollar/ratio).toFixed(2);
        }
    } else {
    	if(dollar && dollar != "null"){
        	return parseFloat(dollar).toFixed(2);
        } else {
        	return (euro*ratio).toFixed(2);
        }
    }
}
function verifyFields(){
	ready = true;
	if(id("userName").value == ""){
		id("userNameTitle").className = "error";
		ready = false;
	} else {
		id("userNameTitle").className = "hidden";
	}
	if(id("userEmail").value == "" || id("userEmail").value.indexOf("@") == -1 || id("userEmail").value.indexOf(".") == -1 || id("userEmail").value.length < 5){
		id("userEmailTitle").className = "error";
		ready = false;
	} else {
		id("userEmailTitle").className = "hidden";
	}
	if(id("paypalEmail").value == "" || id("paypalEmail").value.indexOf("@") == -1 || id("paypalEmail").value.indexOf(".") == -1 || id("paypalEmail").value.length < 5){
		id("paypalEmailTitle").className = "error";
		ready = false;
	} else {
		id("paypalEmailTitle").className = "hidden";
	}
	if(id("address").value == "" || id("address").value.length < 8){
		id("addressTitle").className = "error";
		ready = false;
	} else {
		id("addressTitle").className = "hidden";
	}
	if(id("location").value == "" || id("location").value.length < 8){
		id("locationTitle").className = "error";
		ready = false;
	} else {
		id("locationTitle").className = "hidden";
	}
	if(!ready){
		return false;
	}
	return true;
}
function checkout(){
	window.resizeTo(900, 700);
	window.moveTo((screen.width-Math.min(900, screen.availWidth))/2, (screen.height-Math.min(700, screen.availHeight))/2);
}
//
function id(eid){
	return document.getElementById(eid);
}
function getSymbol(){
	return c == "d" ? "$" : "&euro; ";
}
function getRate(num){
	re = 3;
	if(num > 500) num += 150;
	if(num == 0){
		return {d:0, e:0, s:0, h:0};
	} else if(num < 500){
		re = 0;
	} else if(num < 1000){
		re = 1;
	} else if (num < 2000){
		re = 2;
	} else if (false){
		//return {d:num, e:num, s:num, custom:true};
	}
	return filterZipper(rates[shipZone][re]);
}
function filterZipper(obj){
	for(i=0; i<cart.length; i++){
		if(cart[i][1].indexOf("zipper") > -1){
			if(shipZone == "germany"){
				obj.e = Math.max(obj.e, 4.5);
				obj.d = Math.max(obj.d, 6.6);
			} else if(shipZone == "europe"){
				obj.e = Math.max(obj.e, 6.5);
				obj.d = Math.max(obj.d, 9.5);
			}
		}
	}
	return obj;
}
function getPosterShipping(num){
	//posterShipping = {germany:3.9, europe:8.6, surface:12.9, air:25.8};
	//posterShipping = {germany:1.5, europe:2.5, surface:4, air:4};
	posterShipping = {germany:5.9, europe:3.9, surface:4.9, air:4.9};
	if(num){
    	return posterShipping[shipZone];
    }
    return 0;
}
function changeZone(newZone){
	setCookie("shipZone", newZone);
	shipZone = newZone;
    if(shipZone == "germany" || shipZone == "europe"){
    	toggleRegistered(false);
    }
	writeCart();
}
//
function cookiesActive(){
	if(!document.cookie){
		document.cookie = "cookie=";
		if(!document.cookie){
			return false;
		}
	}
	return true;
}
function setCookie(name, val){
	if(document.cookie.length){
		cookie = document.cookie.split("||");
		var index;
		for(i=0; i<cookie.length; i++){
			if(cookie[i].indexOf(name+"//") > -1){
				index = i;
				break;
			}
		}
		if(index || index == 0){
			cook = cookie[index].split("//");
			cook[1] = val;
			cook = cook.join("//");
			cookie[index] = cook;
		} else {
			cookie.push(name+"//"+val);
		}
		document.cookie = cookie.join("||");
	} else {
		document.cookie = "cookie="+name+"//"+val+"||";
	}
}
function getCookie(name){
	if(document.cookie.length){
		cookie = document.cookie.split("||");
		for(i=0; i<cookie.length; i++){
			if(cookie[i].indexOf(name+"//") > -1){
				return cookie[i].split("//")[1];
			}
		}
	}
	return null;
}
function deleteCookie(name){
	if(document.cookie.length){
		cookie = document.cookie.split("||");
		for(i=0; i<cookie.length; i++){
			if(cookie[i].indexOf(name+"//")){
				cookie.splice(i, 1);
				document.cookie = cookie.join("||");
				break;
			}
		}
	}
}
function writeRegistered(){
    return "";
	if(shipZone == "surface" || shipZone == "air"){
        return ' - <a href="javascript:toggleRegistered();"'+(registered ? ' class="registered">Registered' : " >Non-Registered")+'</a> (<a href="javascript:alert(\'International shipments sometimes get lost. Selecting &quot;Registered&quot; for an additional '+getSymbol()+getPrice(2.5)+' (per package) will ensure that your items are properly delivered.\n\nThis option does not apply to poster tubes.\n\nWe will NOT take responsibility or reimburse you for lost packages unless you choose registered shipping!\');">?</a>)';
    }
}
function toggleRegistered(force){
	if(registered || force == false){
    	registered = false;
    } else {
    	registered = true;
    }
    setCookie('registered', registered);
    writeCart();
}
function openBox(message){
	o = "";
	for(i=1; i<arguments.length; i++){
    	o += "<a href='javascript:"+arguments[i+1]+";'>"+arguments[i]+"</a>";
        i++;
    }
	id('box').innerHTML = "<div class='holder'><div class='boxText'>"+message+"</div><div class='boxOptions'>"+o+"</div></div><div class='tl'></div><div class='tm'></div><div class='tr'></div><div class='bl'></div><div class='bm'></div><div class='br'></div><div class='m' id='m'></div>";
	id('box').className = 'visibleBox';
    area = getArea(id('box'));
    id('box').style.left = (w-(area.brx-area.tlx))/2+"px";
    id('box').style.top = (h-(area.bry-area.tly))/2+"px";
    id('m').style.height = (area.bry-area.tly)-35+"px";
    id('blockout').className = 'visibleBlockout';
    id('blockout').style.width = "100%";
    id('blockout').style.height = "100%";
	id('ship_zone').style.visible = 0;
}
function closeBox(){
	id('box').className = 'hiddenBox';
    id('blockout').className = 'hiddenBlockout';
    id('box').style.left = "0px";
    id('box').style.top = "0px";
	id('ship_zone').style.visible = 1;
}
function getPosition(obj) {
	var x = 0;
	var y = 0;
	if ( obj.offsetParent ) {
		x = obj.offsetLeft;
		y = obj.offsetTop;
		while ( obj = obj.offsetParent ) {
			x += obj.offsetLeft;
			y += obj.offsetTop;
		}
	}
	return {x:x, y:y};
}
function getArea(obj) {
	var position = getPosition(obj);
	var area = new Object();
	area.tlx = position.x;
	area.tly = position.y;
	area.brx = position.x + obj.offsetWidth;
	area.bry = position.y + obj.offsetHeight;
	return area;
}
function addTab(nTab){
	if(!id(nTab+"Tab")){
    	if(nTab == cType){
            id('tabs').innerHTML += "<span id='"+nTab+"Tab' class='tab'>"+nTab+"</span>";
        } else {
        	id('tabs').innerHTML += "<a id='"+nTab+"Tab' class='tab' href=\"javascript:setTab('"+nTab+"');\">"+nTab+"</a>"
        }
    }
}
function setTab(nTab){
	cType = nTab;
    setCookie("cType", cType);
    writeShop();
}
function changeCurrency(val){
	c = val;
	setCookie('c', val);
	if(store){
		writeShop();
		if(cartWindow){
			cartWindow.c = val;
			cartWindow.writeCart();
		}
	} else {
		opener.c = val;
		opener.writeShop();
		writeCart();
	}
	//if(cartWindow && !cartWindow.closed){ cartWindow.close(); };
}


