var ixn = 0;
var arrNews = new Array();

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"10.28.2011";
arrNews[ixn]["ShortTitle"] = 		"Busy Busy";
arrNews[ixn]["Title"] = 		"Lots of New Songs in the Works";
arrNews[ixn]["News"] = 			'I have been doing a bunch of experimenting and production work recently. You will hear running themes and elements in the latest songs I\'ve uploaded. ' +
                    'I\'m not sure where I will go with the techniques I\'ve been toying with but they will most likely begin to blend in with more naturally so that they aren\'t noticeable, ' +
                    'but still add to the sound. I\'ve clearly been listening to a lot of dubstep and dark movie scores lately. I love the half time tempo that allows for so much mood. ' +
                    'I\'ve also been listening to a bit of old school funk and may start throwing some in as a contrast to the thick gloom of my recent pieces. You can hear a bit of this ' +
                    'in <em>And Now Begins the Dark</em>. Be sure to check out these latest tracks on our <a href="Music.htm">music page</a>. -- invid'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"06.07.2011";
arrNews[ixn]["ShortTitle"] = 		"High Noon";
arrNews[ixn]["Title"] = 		"New Song!";
arrNews[ixn]["News"] = 			'I have just posted a new song - Alternate Noon! Check it out by clicking <a href="Songs/VisceralStasis_AlternateNoon.mp3" target="_blank">here</a>.'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"01.12.2011";
arrNews[ixn]["ShortTitle"] = 		"Dark Sounds";
arrNews[ixn]["Title"] = 		"New Songs!";
arrNews[ixn]["News"] = 			'It is a new year, and is a pile of new Visceral Stasis songs to post! Two of them are already up: ' +
					'The Stone of R\'lyeh, and Collector. Grab these hot new tunes from the <strong>music</strong> link above!'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"10.17.2009";
arrNews[ixn]["ShortTitle"] = 		"Production";
arrNews[ixn]["Title"] = 		"Songs Under Construction";
arrNews[ixn]["News"] = 			'Hearse and I are currently working on <strong>four</strong> different new Visceral Stasis tunes! A preview of ' +
							      'the dub style song is already up here. There are two drum and bass influenced songs and ' +
							      'a song somewhat in the style of Carrival and other VS tunes. We will be keeping you posted.'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"10.10.2009";
arrNews[ixn]["ShortTitle"] = 		"Shavings";
arrNews[ixn]["Title"] = 		"New Song";
arrNews[ixn]["News"] = 			'I have just posted the first pass of a dub style techno tune I created this week. Hearse may be doing some work ' +
							      'on it before it is declared \'finished\'. This is not at all the style of music I typically ' +
							      'make, but enjoy. ' +
							      '<a href="Songs/shavings.mp3" target="_blank">Click here</a> to download the entire song.!'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"06.17.2006";
arrNews[ixn]["ShortTitle"] = 		"VS Live at the Mercury";
arrNews[ixn]["Title"] = 		"Visceral Stasis Live at the Mercury, June 28th";
arrNews[ixn]["News"] = 			'Visceral Stasis will be live at the Mercury on June 28th. Click the thumbnail below for ' +
								'the full size flier.<br /><br /> ' +
								'<a href="Images/Flyers/2006-06-28_GolyGrim.jpg" target="_blank"><img border="0" ' +
								'src="Images/Flyers/2006-06-28_thumb_GolyGrim.jpg" /></a>'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"05.04.2006";
arrNews[ixn]["ShortTitle"] = 		"VS on Dark Horizons Comp";
arrNews[ixn]["Title"] = 		"Visceral Stasis is on the Newest Dark Horizons Compilation!";
arrNews[ixn]["News"] = 			'A two CD compilation put out by Dark Horizons features the Visceral Stasis ' +
					'song Sociopathic Filament. To visit the Dark Horizons website ' +
					'<a href="http://www.darkhorizonsradio.com/" target="_blank">click here</a>. ' +
					'They don\'t appear to have a link to the compilation on there site at this time.'; ixn++;

arrNews[ixn] = new Array();
arrNews[ixn]["Date"] = 			"03.13.2006";
arrNews[ixn]["ShortTitle"] = 		"Zombie Grinder Available";
arrNews[ixn]["Title"] = 		"New Song: Zombie Grinder Available";
arrNews[ixn]["News"] = 			'Inspired by the coolest Flash game ever, this Death Techno track is every bit as ' +
								'addictive as the game that spawned it! ' +
								'<a href="Music.htm">Click here</a> to view the Zombie Grinder lyrics, as well as other VS songs.'; ixn++;






// ----------------------------------------------------------------------------------------------------------------------------- \\
function bldNews(isHome) {
	var Source = "";

	if ( isHome ) {
		for(var ix=0; ix < arrNews.length; ix++) {
			if ( arrNews[ix]["Active"] != false ) {
				Source += arrNews[ix]["Date"] + ' <a href="News.htm?news=' + ix + '"><strong>' + arrNews[ix]["ShortTitle"] + '</strong></a>';
				Source += '<br /><br />';
			}
		}
	}
	else {
		for(var ix=0; ix < arrNews.length; ix++) {
			Source += arrNews[ix]["Date"] + ' <a href="News.htm?news=' + ix + '"><strong>' + arrNews[ix]["Title"] + '</strong></a><br />';
			Source += '<ul><a name="a' + ix +'"></a><em>' + arrNews[ix]["News"] + '</em></ul><br /><hr class="Main" /><br />';
		}
	}

	return Source;
}

function bldNewsItem(idIn) {
	var Source = "";

	Source += '<div style="text-align: right;"><a href="javascript:history.go(-1);">back</a></div><br /><br /><hr class="Main" />';
	Source += arrNews[idIn]["Date"] + ' <strong>' + arrNews[idIn]["Title"] + '</strong><br />';
	Source += '<ul><em>' + arrNews[idIn]["News"] + '</em></ul><br /><br /><br /><br />';
	Source += '<a href="News.htm">Click here</a> to view all news items.';
	Source += '<hr class="Main" /><br /><br /><div style="text-align: right;"><a href="javascript:history.go(-1);">back</a></div>';

	return Source;
}

