function MM_openBrWindow(theURL,winName,features) { //v2.0
var winwidth = screen.width/2.5; 
var winheight = screen.height/2; 
var posw = 0;//(screen.width - winwidth)/2; 
var posv = 0;//(screen.height - winheight)/2; 
var result = false;
features = features + ",width=" + winwidth + ",height=" + winheight + ",left=" + posw + ",top="+ posv;
result = window.open(theURL,winName,features);
return (result.name == "easiPage");
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}


function showPage (pageName, type){
	if (MM_openBrWindow(pageName,'easiPage','') == false)
		MM_goToURL('parent',pageName);
	return; 	
	}
	
function buildEMaddress (isMenuBar) {
var emailStr;
var recipient = "info";
var addr = "easidemographics";
var type = "com";
if (isMenuBar == 0)
	document.write ('<a href=mailto:'+recipient+'@'+addr+'.'+type+'>Contact Us</a>');
else
	document.write ('<a href=mailto:'+recipient+'@'+addr+'.'+type+' class=top_loner>Contact Us</a>');
return;}

function buildEMaddress2 () {
var emailStr;
var recipient = "WebInfo";
var addr = "easidemographics";
var type = "com";
document.write ('<a href=mailto:'+recipient+'@'+addr+'.'+type+'>'+recipient+'@'+addr+'.'+type+'</a>');
return;}


