tag, on your page, and then edit the starting date you would like to use under the today=new date line. you must use numbers for month, day, and year. These instruction lines are invisible, and will not be seen on your page.
-
This script came from the Dummy Proof JavaScripts Site at: http://www.dummyproof.com/javascripts
Please visit the site for more easy to use JavaScripts to enhance your web pages.
*/
today = new Date();
bYear = 2007; // Start year
bMonth = 05; // Start month
bDay = 27; // Start day
tYear = today.getYear();
tMonth = (today.getMonth() ) + 1 ;
tDay = today.getDate();
tHour = today.getHours();
fYear = 0;
fMonth = 0;
fDay = 0;
fHour = 0;
x = 0;
y = 0;
z = 0;
a = 0;
b = 0;
c = 0;
function testMonth() {
if (y==4 || y==6 || y==9 || y==11) x=30
else if (y==2) x=28
else x=31
}
function testDay() {
fDay = (z - bDay) + tDay;
if (fDay > a) {
fMonth += 1;
fDay = fDay - a;
}
}
y = bMonth;
testMonth();
z = x;
y = bMonth;
testMonth();
a = x;
if (bMonth <= tMonth) {
fYear = tYear - bYear;
fMonth = (tMonth - bMonth);
testDay();
}
fYear = (tYear - bYear) - 1
fMonth = ((12 - bMonth) + tMonth) - 1;
testDay();
if (fMonth >= 12) {
fYear += 1;
fMonth -= 12;
}
// the following splits apart the dates recursively and replaces them with equiv graphics and displays.
with(Math) {
theYear=fYear;
tensYear=floor(theYear/10);
onesYear=theYear-(tensYear*10);
theMonth=fMonth
tensMonth=floor(theMonth/10);
onesMonth=theMonth-(tensMonth*10);
theDay=fDay
tensDay=floor(theDay/10);
onesDay=theDay-(tensDay*10);
var testArray = new makeArray("January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December");
for (z=1; z<=12; z++) {
if (tMonth==z) {
var b=testArray[z]
}
}
for (z=1; z<=12; z++) {
if (bMonth==z) {
var c=testArray[z]
}
}
}
var page
page = " Today's date: " + b + " "+tDay+", " + tYear+". "
page += "Our Site has been up since "+ c + " " + bDay + ", "+bYear+" "
function makeArray() {
this.length = makeArray.arguments.length
for (var i = 0; i < this.length; i++)
this[i+1] = makeArray.arguments[i]
}
// -- End Hiding Here -->
C.A.L.M. Community Advocates for Little Mountain
Goals
We stand for housing
As of July 2009, over 200 homes sit empty at Little
Mountain. Vancouver’s oldest social housing complex - 224 homes on
15 acres beside Queen Elizabeth Park - is slated for redevelopment. The
publicly owned site is being sold to the highest bidder, who will want
expensive market housing. Tenants are being pressured to leave so the
developer gets ‘vacant possession’, even though construction won’t start
before 2010.
1, 2, and 3-bedroom apartments are vacant while
thousands in Vancouver are homeless and dying in our streets, parks, and
alleys. A well-functioning community where people have supported each
other for decades is being destroyed. Their former homes could be
temporary housing for hundreds of adults and children in desperate need.
Instead, our governments have decided to demolish habitable
buildings as they become vacant!
It is a scandal to leave homes empty while thousands of
people sleep on our streets.
Tell our governments:
·
Stop needless displacements
and let remaining families relocate on site during construction of
the promised social housing.
·
Re-open vacant homes to
families in need of housing.
·
No bulldozing
of any homes until construction is ready to
begin.
·
Increase the amount of
social housing at Little Mountain and keep all housing
non-market.
·
Keep public land public –
No sale of public land to private interests.
· Implement a comprehensive
housing program. We need
immediate action at all levels of government to build housing
accessible for people of all income
levels.
More than 30 pieces added to Outdoor Gallery
for Affordable Housing
Vancouver—On January 11 more than 30 artists
participated in the Little Mountain Art-In 2nd Edition. The
results included:
a family portrait and two other pieces by a
former resident of Little Mountain Housing, to be mounted on the
apartment the family occupied 20 years ago
a giant PAID stamp designed by art students from
the Emily Carr Institute, which elicited a variety of intriguing
interpretations
a series of six silhouettes by Tiko Kerr which
cover the entire lower section of a building facing Ontario
Street
delightful children’s art
a depiction of the lights coming back on in a
vacated building
an elaborate, striking political cartoon
depicting the artist’s concept of Little Mountain financing
many, many more colourful, lively statements in
favour of affordable housing
To see the assembled art, go to the corner of
Ontario Street and 33rd Avenue. Look along Ontario Street to
37th Avenue, and along 33rd to the two buildings
facing each other across a grassy (or snowy) expanse. Much of the art will
be mounted on the weekend of January 17 – 18.