function gup( name ) {
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var regexS = "[\\?&]"+name+"=([^&#]*)";
	var regex = new RegExp( regexS );
	var results = regex.exec( window.location.href );
	if( results == null ) return "";
	else return results[1];
}

function displayArticle(number) { 
	window.location.href = "/AboutLetterstone/News/Article/tabid/93/xmid/" + number + "/Default.aspx?y=" + gup('y')
}

function writeImage() {
	if (thumb == '') {}
	else { document.write('<img src="/Portals/0/img/news/thumbs/' + thumb + '" width="85px" id="img" style="border:solid 2px #bbb;float:right;margin-left:2px;" />') }
}