#  Housing Lottery 

 



Below is a list of the available and offline rooms in the Dunster Spring Housing Lottery.

**Click the blue column headers to sort the list.**

20DW = 20 DeWolfe Street. This is followed by the suite number which indicates the floor. For Example, 20DW01 is 20 DeWolfe Street, 1st Floor, Suite 1. 20DW33 is on the 3rd floor, suite 33.

The rooms in Dunster Proper begin with either an "E" to indicate it's on the East side of the building, or a "W" to indicate it's on the West Side. This is followed by the suite number which indicates the floor. For example, E 201 is Dunster East, 2nd Floor, Suite 201.



 

 
.outer {width: 950px;}
.buttons {margin-bottom: 25px;}
.tstamp {font-size: 10px; color: #666666; float: left;}
.sidebyside {width: 100%; display: table;}
.row {display: table-row;}
.cell {display: table-cell;}
.ltable {width: 75%; padding-right: 10px;}
.rtable {width: 25%; padding-left: 10px;}

google.load('visualization', '1', {packages:['table']});
var manual = true;
var pending = false;
var auto_refresh = false;
var timer;
var availData;
var selectedData;
var availTable;
var selectedTable;
function drawTable() {
if (pending)
return;
pending = true;
var url = 'https://docs.google.com/spreadsheet/ccc?key=1Qj2hkzV14qmrte3Wwi4vUW_aOUwPdOKIXnyShWas9lY&sheet=2018#gid=0';
var query = new google.visualization.Query(url, {sendMethod: 'auto'});
query.setQuery('select A,B,C,D,E,F,G,H where J=false');
query.send(handleAvailableData);
query = new google.visualization.Query(url, {sendMethod: 'auto'});
query.setQuery("select A,I where J=true");
query.send(handleSelectedData);
}
function handleAvailableData(response) {
if (!manual && !auto_refresh)
return;
pending = false;
manual = false;
if (response.isError()) {
alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());
return;
}
availData = response.getDataTable();
var sort = availTable.getSortInfo();
availTable.draw(availData, {showRowNumber: false,
sortColumn: (sort) ? sort.column : -1,
sortAscending: (sort) ? sort.ascending : true});
var now = new Date();
document.getElementById('last_load').innerHTML = 'Last Updated: ' + now.toDateString() + ' ' + now.toLocaleTimeString();
}
function handleSelectedData(response) {
if (response.isError()) {
alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage());
return;
}
selectedData = response.getDataTable();
selectedTable.draw(selectedData, {showRowNumber: false,
sortColumn: 1,
sortAscending: false});
}
function manualRefresh() {
manual = true;
drawTable();
}
function toggleAutoRefresh() {
auto_refresh = !auto_refresh;
document.getElementById('auto_button').innerHTML = ((auto_refresh) ? 'Disable' : 'Enable') + ' Auto Refresh';
if (auto_refresh) {
drawTable();
timer = setInterval(drawTable, 30000);
}
else
clearInterval(timer);
}
function loaded() {
availTable = new google.visualization.Table(document.getElementById('available'));
selectedTable = new google.visualization.Table(document.getElementById('selected'));
drawTable();
document.getElementById('refresh_button').disabled = false;
document.getElementById('auto_button').disabled = false;
}
google.setOnLoadCallback(loaded);
RefreshEnable Auto Refresh







**Available Suites**





**Recently Selected Suites**