function loadPage(uri){document.location.href=uri;}
function genEmail(user,domain,suffix,text){mailto=user+'@'+domain+'.'+suffix;text=(text)?text:mailto;document.write('<a href="mailto:'+mailto+'">'+text+'</a>');}
function newWin(url,id,w,h,tb,st,sb,re){var x=screen.availWidth/2-w/2;var y=screen.availHeight/2-h/2;
	var newWin = window.open(url,id,"width="+w+",height="+h+",left="+((x>0)?x:0)+",top="+((y>0)?y:0)+",toolbar="+(tb?tb:"no")+",status="+(st?st:"no")+",scrollbars="+(sb?sb:"no")+",resizable="+(re?re:"0")+"");
	newWin.focus();
}