
function display_event(url, img, alt, caption, title, location, date)
{
	
var reg_url='./register_for_event.php?event=' + title + '&date=' + date;
//document.write (reg_url);


	//var url="current_events/ASPEInviteforJune2008.doc";
	//var img="current_events/cruise_ship.gif";
	//var alt="End of Year Social";
	//var caption="Extended - Please respond by Wednesday June 25th!";
	//var title="ASPE Chapter Meeting and End of Year Social";
	//var location="Boston Harbor Cruise Aboard the Odyssey";
	//var date="June 26, 2008";


document.write("<fieldset class=\"internal\">");
document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"gallerytext\">");

document.write ("<tr>");
document.write ("<br />");
document.write ("<td width=\"150\" valign=\"top\">");

document.write ("<a href=" + url + "><img src=" + img + " alt=" + alt + "  border=\"0\"></a>");

document.write ("<p class=\"price\">" + caption + "</span><span class=\"ordertitle\"></p>");

document.write ("</td>");

document.write ("<td width=\"10\">&nbsp;<br></td><td width=\"500\" valign=\"top\">");
document.write ("<span class=\"ordertitle\">" + title + "<br></span>");
document.write ("<ul>");
document.write ("<li><strong>Location:</strong> " + location + "</li>");
document.write ("<li><strong>Date:</strong> " + date + "</li>");
document.write ("</ul>");

document.write ("<h3>");

if (url != "") {
document.write ("<a href=" + url + ">View Event Details</a> &#8226; ");
}
document.write ('<a href="' + reg_url + '">Register Here</a>');
document.write ("</h3>");

document.write ("</td>");
document.write ("</tr>");
document.write ("</table>");
//document.write ("<hr class=\"page-splits\">");

document.write("</fieldset>");

//document.write ("<hr />");


}



function display_event2(url, img, alt, caption, title, location, date)
{
	
//var reg_url='./register_for_event.php?event=' + title + '&date=' + date;

document.write ("<table cellpadding=\"0\" cellspacing=\"0\" border=\"0\" class=\"gallerytext\">");

document.write ("<tr>");
document.write ("<br />");
document.write ("<td width=\"150\" valign=\"top\">");

document.write ("<a href=" + url + "><img src=" + img + " alt=" + alt + "  border=\"0\"></a>");

document.write ("<p class=\"price\">" + caption + "</span><span class=\"ordertitle\"></p>");

document.write ("</td>");

document.write ("<td width=\"10\">&nbsp;<br></td><td width=\"500\" valign=\"top\">");
document.write ("<span class=\"ordertitle\">" + title + "<br></span>");
document.write ("<ul>");
document.write ("<li><strong>Location:</strong> " + location + "</li>");
document.write ("<li><strong>Date:</strong> " + date + "</li>");
document.write ("</ul>");

document.write ("<h3 style=\"margin-bottom:0\">");

if (url != "") {
document.write ("<a href=" + url + ">View Event Details</a>");
}
//document.write ('<a href="' + reg_url + '">Register Here</a>');
document.write ("</h3>");

document.write ("</td>");
document.write ("</tr>");
document.write ("</table>");


}

