function LoadMyShoutIt ()
{
	// parse article id from URL
	// have to use this regular expression because
	// the javascript monster doesn't like my named capture group attempt
	// to pull out the article id, so we have to parse it manually at the end
	var myregexp = /http:\/\/www.shoutwire.com\/comments\/[^\s^\/]*/;
	
	var match = myregexp.exec(MyShoutItURL);
	
	if (match == null) 
	{
		alert("Your input url " + MyShoutItURL + " is invalid!");
		return;
	}
	
	var StringMatch = String(match);
	
	// id will be on the end, pull it off
	var MyShoutItID = StringMatch.substring(StringMatch.lastIndexOf("/")+1,StringMatch.length);
	document.write("<script src=\"http://www.shoutwire.com/feed/MyShoutIt.aspx?ArticleID=" + MyShoutItID + "\"></script>");
}

LoadMyShoutIt();
