//**********************************
//*      version Jan 16, 2006
//*      use with community sites
//************************************/

// this keeps the window on top each time its called
if (window.focus) {
	self.focus();
}

// how to concatenate event id with window name using javascript ***
function openEventWindow(eventid){
	detail="./eventpopup.php?id=" + eventid;
	popupWin=window.open(detail,'window_1','width=650,height=400, scrollbars,resizable,left=10,top=100')
}

function openDayWindow(month,day,year){
	detail="./daypopup.php?month=" + month+"&&day=" + day + "&&year="+year;
	popupWin=window.open(detail,'window_1','width=650,height=400, scrollbars,resizable,left=10,top=100')
}