// Takes an image path and displays it in a pop-up window using the window prototype classes
//
// fullImg - The path to the full size image
// imgAlt - The alternative text to display for the image (As in the HTML <img> tag)
// imgW - The width of the image
// imgH - The height of the image
// titleBar - the tital for the pop-up window
function openBigImg(fullImg, imgAlt, imgW, imgH, titleBar) {
	content = "<table align=\"center\" height=\"" + (imgH + 20) + "\"><tr valign=\"middle\"><td><img src=\"" + fullImg + "\" alt=\"" + imgAlt + "\"></td></tr></table>";
	args = {title: titleBar, width: imgW + 20, height: imgH + 20, className: "bluelighting", destroyOnClose: true, resizable: false, minimizable: false, maximizable: false};
	win = new Window(args);
	win.getContent().update(content);
	win.showCenter();
}

// Takes a company contact and displays a pop-up window with their information
//
// contact - contacts name
// title - contacts title
// phone - contacts phone number
// email - contacts email address
function openContact(contact, title, phone, email) {
	content = "<br /><span style=\"font-weight: bold\">" + contact + "</span><br />";
	content += "<i>" + title + "</i><br /><br /><br />";
	content += "<span style=\"font-weight: bold\">Phone:</span> " + phone + "<br /><br />";
	content += "<span style=\"font-weight: bold\">Email:</span> " + email;
	args = {title: "Company Directory", width: 230, height: 120, className: "bluelighting", destroyOnClose: true, resizable: false, minimizable: false, maximizable: false};
	win = new Window(args);
	win.getContent().update(content);
	win.showCenter();
}