/*
FILE ARCHIVED ON 16:35:38 Aug 7, 2009 AND RETRIEVED FROM THE
AN OPENWAYBACK INSTANCE ON 0:33:07 Aug 30, 2024.
JAVASCRIPT APPENDED BY OPENWAYBACK, COPYRIGHT INTERNET ARCHIVE.
ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
SECTION 108(a)(3)).
*/
function getArgs() {
var args = new Object();
// Get Query String
var query = location.search.substring(1);
// Split query at the comma
var pairs = query.split("&");
// Begin loop through the querystring
for(var i = 0; i < pairs.length; i++) {
// Look for "name=value"
var pos = pairs[i].indexOf('=');
// if not found, skip to next
if (pos == -1) continue;
// Extract the name
var argname = pairs[i].substring(0,pos);
// Extract the value
var value = pairs[i].substring(pos+1);
// Store as a property
args[argname] = unescape(value);
}
return args; // Return the Object
}
function translate() {
var args = getArgs();
if (args.page) wl_ourl = (args.page);
top.location.href = wl_url + 'https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/translations.asp?page=' + wl_ourl;
}
var totalPPL = 8;
var menuTimeout = 100;
function rndImg(img, path) {
if (path == null) {path = ""};
if (goCookies) {
var x = myCookie.counter;
} else {
var x = parseInt(1 + (Math.random() % 10) * totalPPL);
}
var imgString = "" + path + img + x + ".jpg";
return imgString;
};
function fosRnd(fos) {
x = document.getElementById(fos).style;
x.backgroundImage = 'url("' + rndImg('fos_bg_','/images/') + '")';
x.backgroundRepeat = 'no-repeat';
x.backgroundPosition = 'bottom right';
};
function posElementX(element, reference) {
document.getElementById(element).style.left = getAnchorX(reference) - 110;
};
function move_in(img_name,img_src) {
document[img_name].src="" + img_src;
};
function move_out(img_name,img_src) {
document[img_name].src="" + img_src;
};
var dropTransURL;
dropTransURL = document.location.href;
drop0 = [
[],
[110, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["Main", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/?portal_link=hr"],
["Login to DC.Gov", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/registration/login.asp?portal_link=hr"],
["Today", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/more_news.asp?portal_link=hr"],
["News", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/news/index.asp?portal_link=hr"],
["Calendar", "https://webarchive.library.unt.edu/web/20090807163538/http://app.calendar.dc.gov/?portal_link=hr"],
["Closures", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/closures/?portal_link=hr"],
["eServices", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/more_services.asp?category=all&tab=0&portal_link=hr"],
["Translations", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/translations.asp?portal_link=hr&page="+dropTransURL]
];
drop1 = [
[],
[110, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["DC Guide Home", "https://webarchive.library.unt.edu/web/20090807163538/http://about.dc.gov/index.asp?portal_link=hr"],
["Find It", "https://webarchive.library.unt.edu/web/20090807163538/http://citizenatlas.dc.gov/atlasapps/findit.aspx?portal_link=hr"],
["Where You Live", "https://webarchive.library.unt.edu/web/20090807163538/http://citizenatlas.dc.gov/atlasapps/reporthometab.aspx?portal_link=hr"],
["DC Atlas", "https://webarchive.library.unt.edu/web/20090807163538/http://dcatlas.dcgis.dc.gov/dcgis_allservices/viewer.htm?portal_link=hr"],
["DC Catalog", "https://webarchive.library.unt.edu/web/20090807163538/http://data.octo.dc.gov/?portal_link=hr"],
["Wi-Fi Hotspots", "https://webarchive.library.unt.edu/web/20090807163538/http://dcatlas.dcgis.dc.gov/agencyapps/wifi.aspx?portal_link=hr"]
];
drop2 = [
[],
[118, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["Residents Home", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/site/default.asp?rrcNav_GID=0&portal_link=hr"],
["Live in DC", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/cwp/view.asp?a=1193&Q=447184&rrcNav_GID=1415&portal_link=hr"],
["Work in DC", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/cwp/view.asp?a=1184&Q=447156&rrcNav_GID=1416&portal_link=hr"],
["Play in DC", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/cwp/view.asp?a=1182&Q=447149&rrcNav_GID=1417&portal_link=hr"],
["Move to DC", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/cwp/view.asp?a=1186&Q=447163&rrcNav_GID=1418&portal_link=hr"],
["Volunteer in DC", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/cwp/view.asp?a=1189&Q=447170&rrcNav_GID=1419&portal_link=hr"],
["Getting Around DC", "https://webarchive.library.unt.edu/web/20090807163538/http://www.rrc.dc.gov/rrc/cwp/view.asp?a=1191&Q=447177&rrcNav_GID=1420&portal_link=hr"]
];
drop3 = [
[],
[170, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["Business Home", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/index.asp?portal_link=hr"],
["Licenses & Permits", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/licenses/licenses.asp?portal_link=hr"],
["Development & Incentives", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/incentives/incentives.asp?portal_link=hr"],
["Tax Services", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/tax/tax.asp?portal_link=hr"],
["Business Planning", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/planning/planning.asp?portal_link=hr"],
["Nonprofit Planning", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/nonprofit/nonprofit.asp?portal_link=hr"],
["Business Resources", "https://webarchive.library.unt.edu/web/20090807163538/http://brc.dc.gov/resources/resources.asp?portal_link=hr"]
];
drop4 = [
[],
[120, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["Visitors Home", "https://webarchive.library.unt.edu/web/20090807163538/http://www.vrc.dc.gov/vrc/site/default.asp?vrcNav_GID=0&portal_link=hr"],
["Tours", "https://webarchive.library.unt.edu/web/20090807163538/http://www.vrc.dc.gov/vrc/cwp/view.asp?a=1196&q=446778&vrcNav_GID=1408&portal_link=hr"],
["Travel", "https://webarchive.library.unt.edu/web/20090807163538/http://www.vrc.dc.gov/vrc/cwp/view.asp?a=1198&q=446820&vrcNav_GID=1409&portal_link=hr"],
["Accommodations", "https://webarchive.library.unt.edu/web/20090807163538/http://www.vrc.dc.gov/vrc/cwp/view.asp?a=1200&q=447233&vrcNav_GID=1407&portal_link=hr"],
["Visitor Resources", "https://webarchive.library.unt.edu/web/20090807163538/http://www.vrc.dc.gov/vrc/cwp/view.asp?a=1199&q=447107&vrcNav_GID=1410&portal_link=hr"]
];
drop5 = [
[],
[119, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["DC Government Home", "https://webarchive.library.unt.edu/web/20090807163538/http://www.grc.dc.gov/grc/site/default.asp?grcNav_GID=0&portal_link=hr"],
["DC Council", "https://webarchive.library.unt.edu/web/20090807163538/http://www.grc.dc.gov/grc/cwp/view.asp?a=1206&q=447541&grcNav_GID=1421&portal_link=hr"],
["DC Agencies", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/agencies/index.asp?portal_link=hr"],
["Elected Officials", "https://webarchive.library.unt.edu/web/20090807163538/http://www.grc.dc.gov/grc/cwp/view.asp?a=1203&Q=447121&grcNav_GID=1424&portal_link=hr"],
["Courts", "https://webarchive.library.unt.edu/web/20090807163538/http://www.grc.dc.gov/grc/cwp/view.asp?a=1201&Q=447114&grcNav_GID=1422&portal_link=hr"],
["DC Laws", "https://webarchive.library.unt.edu/web/20090807163538/http://www.grc.dc.gov/grc/cwp/view.asp?a=1205&Q=447198&grcNav_GID=1423&portal_link=hr"],
["DC Statehood", "https://webarchive.library.unt.edu/web/20090807163538/http://www.grc.dc.gov/grc/cwp/view,a,3,q,461394.asp"]
];
drop6 = [
[],
[105, 0, "#000000", 1, "#FFFFFF", "drop1", "left"],
["Mayor's Home", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/index.shtm?portal_link=hr"],
["Contact the Mayor", "https://webarchive.library.unt.edu/web/20090807163538/http://app.dc.gov/apps/about.asp?page=atd&type=dsf&referrer=%5b$DSF_SERVER_NAME$%5d&agency_id=1075&portal_link=hr"],
["Schedule", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/schedule.asp?portal_link=hr"],
["Photo Gallery", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/photogallery.asp?portal_link=hr"],
["For the Press", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/news/index.asp?portal_link=hr"],
["Newsletter", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/newsletter.shtm"],
["Appointees", "https://webarchive.library.unt.edu/web/20090807163538/http://dc.gov/mayor/organization.shtm?portal_link=hr"]
];
var tempTable = new Object();
var TimerID = 100;
function constructTable(arrayName) {
var startPos = 0;
var tableProperties = startPos + 1;
var tableElements = tableProperties + 1;
var tableCode = tableCodeFront = tableCodeMiddle = tableCodeBack = tempText = tempURL = '';
tempTable = {
tableWidth: eval(arrayName)[tableProperties][0],
tablePadding: eval(arrayName)[tableProperties][1],
tableBorderColor: eval(arrayName)[tableProperties][2],
tableBorderSize: eval(arrayName)[tableProperties][3],
tableBGColor: eval(arrayName)[tableProperties][4],
textClass: eval(arrayName)[tableProperties][5]
};
var tableCodeFront = '
';
for (i = tableElements; i < eval(arrayName).length; i++) {
tempText = eval(arrayName)[i][0];
tempURL = eval(arrayName)[i][1];
if (eval(arrayName)[i][2] == '>') {
tableCodeMiddle += ' |
';
} else {
tableCodeMiddle += ' |
';
};
};
tableCode = tableCodeFront + tableCodeMiddle + tableCodeBack;
return tableCode;
};
function showtip(state, name, offsetx, offsety) {
if (TimerID) clearTimeout(TimerID);
if (state) {
if (document.layers) {
theString = "" + constructTable(name) + "";
document.tooltip.document.write(theString);
document.tooltip.document.close();
document.tooltip.left = offsetx;
document.tooltip.top = offsety;
document.tooltip.visibility = "show";
} else {
if (document.getElementById) {
elm = document.getElementById("tooltip");
elm.innerHTML = constructTable(name);
elm.style.left = offsetx;
elm.style.top = offsety;
elm.style.visibility = "visible";
}
}
} else {
if (document.layers) {
document.tooltip.visibility = "hidden";
} else if (document.getElementById) {
elm.style.visibility = "hidden";
};
};
};
function showMenu() {
var totalArguments = arguments.length;
var onOff = arguments[0];
var arg1 = arguments[1];
var arg2 = arguments[2];
var arg3 = arguments[3];
if (onOff) {
clearTimeout(TimerID);
showtip(1, arg1, arg2, arg3);
} else {
clearTimeout(TimerID);
TimerID = setTimeout('showtip(0)', menuTimeout);
};
};
function getAnchorPosition(anchorname) {
var useWindow=false;
var coordinates=new Object();
var x=0,y=0;
var use_gebi=false, use_css=false, use_layers=false;
if (document.getElementById) { use_gebi=true; }
else if (document.all) { use_css=true; }
else if (document.layers) { use_layers=true; };
if (use_gebi && document.all) {
x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);
y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);
} else if (use_gebi) {
var o=document.getElementById(anchorname);
x=AnchorPosition_getPageOffsetLeft(o);
y=AnchorPosition_getPageOffsetTop(o);
} else if (use_css) {
x=AnchorPosition_getPageOffsetLeft(document.all[anchorname]);
y=AnchorPosition_getPageOffsetTop(document.all[anchorname]);
} else if (use_layers) {
var found=0;
for (var i=0; i totalPPL) {myCookie.counter = 1};
myCookie.write();
if (!myCookie.read() || !myCookie.counter) {
goCookies = 0;
} else {
goCookies = 1;
};
function clearCookie() {myCookie.del()};
function showTooltip() {
var totalArguments = arguments.length;
var onOff = arguments[0];
var arg1 = arguments[1];
var arg2 = arguments[2];
var arg3 = arguments[3];
var arg4 = arguments[4];
if (onOff) {
clearTimeout(TimerID);
tooltipShowHide(1, arg1, arg2, arg3, arg4);
} else {
clearTimeout(TimerID);
TimerID = setTimeout('tooltipShowHide(0)', menuTimeout);
};
};
function tooltipShowHide(state, title, code, offsetx, offsety) {
if (TimerID) clearTimeout(TimerID);
if (state) {
if (document.layers) {
theString = "" + constructTip(title, code) + "";
document.tooltip.document.write(theString);
document.tooltip.document.close();
document.tooltip.left = offsetx;
document.tooltip.top = offsety;
document.tooltip.visibility = "show";
} else {
if (document.getElementById) {
elm = document.getElementById("smallTooltip");
elm.innerHTML = constructTip(title, code);
elm.style.left = offsetx;
elm.style.top = offsety;
elm.style.visibility = "visible";
}
}
} else {
if (document.layers) {
document.tooltip.visibility = "hidden";
} else if (document.getElementById) {
elm.style.visibility = "hidden";
};
};
};
function constructTip(title, code) {
var tipFront = ' ' + title + ' | ';
var tipBack = ' |
|
';
return tipFront + code + tipBack;
}
//**************** Search Form Validator for an empty field
//**************** and set focus
//**************** added 6/1/05
function requireInputText(textbox, message) {
var reNonSpace = /\S/g;
if (reNonSpace.test(textbox.value))
return true;
else {
alert(message);
return false;
}
}