var now = new Date(); 
var Hours = now.getHours(); 

	if (Hours >5 && Hours <12) {	
		//morning	
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/morn.jpg" width="77" height="95" border="0" alt="its morning!">');
	} 
	else if (Hours ==12) {	
		//highnoon
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/hnoon.jpg" width="77" height="95" border="0" alt="its mid day!">');
	} 
	else if (Hours ==0) {
		//midnight
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/mnight.jpg" width="77" height="95" border="0" alt="its midnight">');
	}
	else if (Hours >=1 && Hours <=5) {
		//early morning
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/adlawn.jpg" width="77" height="95" border="0" alt="iys early morn">');
	}
	else if (Hours >12 && Hours <=17) {
		//afternoon
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/fnoon.jpg" width="77" height="95" border="0" alt="its late noon">');
	}
	else if (Hours >17 && Hours <=23) {
		//evening
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/evening.jpg" width="77" height="95" border="0" alt="its evening">');
	}
	else {
		//default
		document.write('<img src="http://shepherd.jesusanswers.com/images/greet/default.jpg" width="77" height="95" border="0" alt="hi!">');

	}
