var short_domain="allbusinesscenters.com";
var build_root="http://www."+short_domain+"/";
var copyr="2007";
var em_0="infoweb";
var root_domain="http://"+window.location.hostname;

function languages(p) {
preferencies_='<a href="/es/index.html">Español</a>';
this_message=eval("preferencies_"+p);
document.write(this_message);
}

function send_page(p){

this_body_='I recommend you to visit this page ';
this_body_1=' that contains information that may be of your interest';
this_message_="Send this page";
this_alt_="Send this page";

this_body=eval("this_body_"+p);this_body_1=eval("this_body_"+p+"_1");this_message=eval("this_message_"+p);this_alt=eval("this_alt_"+p);

this_url=document.location.href;this_title=document.title;this_body=this_body+this_title+', '+this_url+this_body_1;
this_send='mailto:?subject='+this_title+'&body='+this_body;
location=this_send;
}

function a_favorites(p){
this_message_="Add to your favorite pages";this_alt_="Add to favorites";
this_message=eval('this_message_'+p);
this_alt=eval('this_alt_'+p);
return('<a href="javascript:bookmarksite(document.title, location.href)">'+this_message+'</a>');
}

function mail(p) {location="mailto:"+eval("email_"+p)+'@'+short_domain;}

function emailinfo(p){p='';for(i=1;i<2;i++){p=p+eval("email_"+i)+'@'+short_domain+'<br />';}return p;}

function ver(p){quien="document.getElementById('"+p+"').style";
if (eval(quien+".display")!="block") {eval(quien+".display='block'");} else {eval(quien+".display='none'")}}


var Dshort_domainMYY =0;var MMDDYY =1;

function getdate(mode){ var now = new Date(); var dayNr = ((now.getDate()<10) ? "0" : "")+ now.getDate();if (mode==Dshort_domainMYY) var MonthDayYear =(dayNr+"/"+(now.getMonth()+1)+"/"+now.getYear()); else var MonthDayYear =((now.getMonth()+1)+"/"+dayNr+"/"+now.getYear()); return MonthDayYear;}

function bookmarksite(title, url){if (document.all) window.external.AddFavorite(url, title); else if (window.sidebar) window.sidebar.addPanel(title, url, "")}

function createCookie(name,value,days){if (days){var date = new Date();	date.setTime(date.getTime()+(days*24*60*60*1000));var expires = "; expires="+date.toGMTString();}else var expires = "";document.cookie = name+"="+value+expires+"; path=/";}

function readCookie(name){var nameEQ = name + "=";var ca = document.cookie.split(';');for(var i=0;i < ca.length;i++){	var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1,c.length);if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);} return null;}

function eraseCookie(name) {createCookie(name,"",-1);}

function switchcontent1(p){obj = document.getElementById(p);obj.style.display = (obj.style.display!='none')?'none':'block';}
function switchcontent(p){obj = document.getElementById(p);obj.style.display = (obj.style.display=='block')?'none':'block';}

function getposOffset(overlay, offsettype){
var totaloffset=(offsettype=="left")? overlay.offsetLeft : overlay.offsetTop;
var parentEl=overlay.offsetParent;
while (parentEl!=null){
totaloffset=(offsettype=="left")? totaloffset+parentEl.offsetLeft : totaloffset+parentEl.offsetTop;
parentEl=parentEl.offsetParent;
}
return totaloffset;
}

function overlay(curobj, subobjstr, opt_position){
if (document.getElementById){
var subobj=document.getElementById(subobjstr)
subobj.style.display=(subobj.style.display!="block")? "block" : "none"
var xpos=getposOffset(curobj, "left")+((typeof opt_position!="undefined" && opt_position.indexOf("right")!=-1)? -(subobj.offsetWidth-curobj.offsetWidth) : 0) 
var ypos=getposOffset(curobj, "top")+((typeof opt_position!="undefined" && opt_position.indexOf("bottom")!=-1)? curobj.offsetHeight : 0)
subobj.style.left=xpos+"px"
subobj.style.top=ypos+"px"
return false
}
else return true
}

function overlayclose(subobj){document.getElementById(subobj).style.display="none"}