function CreateBookmarkLink() 
{
  if (window.sidebar) 
  { // Mozilla Firefox Bookmark		
    window.sidebar.addPanel(document.title, location.href, "");	
  } 
  else if (window.external)
  { // IE Favorite		
    window.external.AddFavorite(location.href, document.title); 
  }	
}

//######################################################################################
// Author: ricocheting.com
// For: public release (freeware)
// Date: 4/24/2003 (update: 5/24/2006)
// Description: displays the amount of time until the "dateFuture" entered below.


// NOTE: the month entered must be one less than current month. ie; 0=January, 11=December
// NOTE: the hour is in 24 hour format. 0=12am, 15=3pm etc
// format: dateFuture = new Date(year,month-1,day,hour,min,sec)
// example: dateFuture = new Date(2003,03,26,14,15,00) = April 26, 2003 - 2:15:00 pm

//###################################
//nothing beyond this point
function GetCount(){
  dateFuture = new Date(2008,4,31,24,0,0);
	dateNow = new Date();									//grab current date
	amount = dateFuture.getTime() - dateNow.getTime();		//calc milliseconds between dates
	delete dateNow;

	// time is already past
	if(amount < 0){
		out=0;
	}
	// date is still good
	else{
		amount = Math.floor(amount/1000);//kill the "milliseconds" so just secs
		days=Math.floor(amount/86400);//days
		out = days;
	}
	document.getElementById('countbox').innerHTML=out;
}

//##############################################################################
// Returns last modification date of current file in the format d/m/yyyy.
function GetModifyDate()
{
  var date = new Date(document.lastModified);
  var d = date.getDate();
  var m = date.getMonth()+1;
  var y = date.getFullYear().toString();
  var s = "/";
  return d + s + m + s + y;
}

