function showMeebo(){
		MeeboWin=window.open('http://aleph1.novanet.ns.ca:80/F/?func=file&file_name=meebo.html','Meebo','width=450,height=550,location=0,menubar=0,status=0,toolbar=0,top=250,left=700');
	}


function timeOfDayImage() {

	var now = new Date;
	var timeNow = now.getHours();
	var today = now.getDay();
	var month = now.getMonth();
	var monthDay = now.getDate();

	var img = "";
	var info = '';

	img = 'Meebo_Offline.gif'; info = 'Offline';


/* Extended Summer Hours

        if (today > 0 && today < 6 && timeNow >= 10 && timeNow < 16) { //Mon ->Fri
        img = 'Meebo_Online.gif'; info = 'OnLine';
        }





        if (today == 0 && timeNow >= 16 && timeNow < 22) { //Sunday
        img = 'Meebo_Online.gif'; info = 'Online';
        }
        else if (today == 5 && timeNow >= 10 && timeNow < 18) { //Fri
        img = 'Meebo_Online.gif'; info = 'Online';
        }
        else if (today > 0 && today < 5 && timeNow >= 10 && timeNow < 22) { //Mon ->Thur
        img = 'Meebo_Online.gif'; info = 'OnLine';
        }


        if(month==9 && monthDay == 12){ //Thanksgiving
        img = 'Meebo_Offline.gif'; info = 'Thanksgiving Day';
        }
        if(month==10 && monthDay == 11){ //Remembrance
        img = 'Meebo_Offline.gif'; info = 'Remembrance Day';
        }


        if (month == 3 && monthDay == 2) {
        img = 'Meebo_Offline.gif'; info = 'Easter Break';
        }
        if (month == 3 && monthDay == 3) {
        img = 'Meebo_Offline.gif'; info = 'Easter Break';
        }
        if (month == 3 && monthDay == 4) {
        img = 'Meebo_Offline.gif'; info = 'Easter Break';
        }
        if (month == 3 && monthDay == 5) {
        img = 'Meebo_Offline.gif'; info = 'Easter Break';
        }
        if(month == 4 && monthDay == 24){ //Victoria
        img = 'Meebo_Offline.gif'; info = 'Victoria Day';
        }




        if (month == 11 && monthDay >= 07) {
        img = 'Meebo_Offline.gif'; info = 'Christmas Break';
        }
        if (month == 0 && monthDay < 04) {
        img = 'Meebo_Offline.gif'; info = 'Christmas Break';
        }

**/


document.write('<img src="http://aleph1.novanet.ns.ca:80/exlibris/aleph/u20_1/alephe/www_f_eng/icon/'+img+'" class="meebo_img" alt="'+info+'" title="'+info+'" onclick = showMeebo(); />');
}
/*
Hours of operation:
Monday-Thursday 10am 10pm
Friday 10am 6pm
Saturday  No Service
Sunday 4pm 10pm

Holiday closures:
Oct 12th – Thanksgiving Day
Nov 11th – Remembrance Day
Dec 5th to Jan 4th Christmas Break
Apr 2-5 Easter
May 24th Victoria Day
**/
