
var imagenum = firstImage(whichphotos);
dispimagename = imageName(imagenum);
var bigwidth, bigheight;
bigImage = "WDimages\/"+imageName(imagenum);

firsttitle = cakeTitle(imagenum);

document.write('<center>');

document.write("<table width='800px' align='center' border='0' cellspacing='0' cellpadding='0' class='main-table'>");
document.write("<tr>");
document.write("<td width='50px' align=center valign=top><br><br><br><a href='javascript:prevImage()'><img src='WDimages/prev-butt.jpg' border=0></a></td>");
document.write("<td width='500px' rowspan=2 align=center valign=middle><img src='"+bigImage+"' name='bigname'></td>");
document.write("<td width='50px' align=center valign=top><br><br><br><a href='javascript:nextImage()'><img src='WDimages/next-butt.jpg' border=0></a></td>");
document.write("<td width='200px' align=center valign=top class='justify-text'>");
document.write("<form name='cakeform'><input type=text size=20 name='caketitle' value='"+firsttitle+"' class='select-box'>");
document.write("<br><br>Type of cakes:");
document.write("<form><br><select size=6 onchange='javascript:changeOption(this)' class='select-box'><option value='we' selected>Wedding</option><option value='bi'>Birthday</option><option value='an'>Anniversary</option><option value='sp'>Special Occasion</option><option value='al'>All</option></select></form>");
document.write("<br>Things to consider when ordering a cake from us ...  <span class='link-gen'><a href='WDdesign.htm'>(click here)</a></span></td>");
document.write("</tr>");
document.write("</table>");


document.write('</center>');