function checkBrowser(){
	this.ver=navigator.appVersion;
	this.dom=document.getElementById?1:0;
	this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0;
	this.ie4=(document.all && !this.dom)?1:0;
	this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0;
	this.ns4=(document.layers && !this.dom)?1:0;
	this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5);
	return this;
}

bw=new checkBrowser()

function redir(pageKey, pageName) {
	self.location.href = 'default.aspx?name='+pageName+'&PageId='+pageKey;
}

function SectionRedirect(pageKey, sectionKey) {	
	self.location.href = 'default.aspx?PageId='+pageKey+'&SectionID='+sectionKey;
}
		
function BlogRedirect(pageKey, selectedMonth, articleKey) {	
	self.location.href = 'default.aspx?PageId='+pageKey+'&selectedMonth='+selectedMonth+'&ArticleID='+articleKey;
}
		
function rollover(imgID) {
  // get the image object we're referring to
  var thisimg = document.getElementById(imgID);
  thisimg.src = thisimg.src.replace(/_50(\.[a-z0-9]+)$/i,'$1');
}

function rollout(imgID) {
  // get the image object we're referring to
  var thisimg = document.getElementById(imgID);
  thisimg.src = thisimg.src.replace(/(\.[a-z0-9]+)$/i,'_50$1');
}
