// JavaScript Document
function counter() {
var eventdate = new Date("August 17, 2010 12:00:00 GMT");
d=new Date();
count=Math.floor((eventdate.getTime()-d.getTime())/1000);
count=Math.floor(count/(60*60*24));
document.write(count);
}

function openWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
} 