// This will take the information from the first include that gets that status and display the image to the page.  This only works for on agent.

if (alias_list[0].status == 0) {
	// This set the variable named myimage to the link for the image that will display busy.
	myimage = "http://www.suckpatrol.com/aliasImage_busy.jpg";
	// If that image doesn't display display this text.
	mytext = "Currently on the phone.";
} else if (alias_list[0].status == 1) {
	// This set the variable named myimage to the link for the image that will display Availalbe.
	myimage = "http://www.suckpatrol.com/aliasImage.jpg";
	// If that image doesn't display display this text.
	mytext = "I am available for your call.";
} else { // Else they are not busy and they are not available they must be not available.
	// This set the variable named myimage to the link for the image that will display Unavailalbe.
	myimage = "http://www.ldwgroup.com/aliasImage_off.jpg";
	// If that image doesn't display display this text.
	mytext = "I currently unavailable.";
}

// This writes the image tag to the web page.
document.write("<img border='0' src='"+myimage+"' alt='"+mytext+"'>");
