<% includeFile ('head.html') %> <% --[[ Define some variables to make locating other resources easier firstPage was defined in our manifest.]] local imageNumber=math.floor(model.nonCSS.contactImage) local others = "content" local theRoot = "." local mySize = "large" local Facebook=string.format ('%s', model.nonCSS.FaceBook) %> <% if model.nonCSS.logoBottom==0 then %><% includeFile ('idplate.html') %><% end %> <% if model.nonCSS.menuBottom==0 then %><% includeFile ('menu.html') %><% end %>
<% if model.nonCSS.menuBottom==2 then %><% includeFile ('menu.html') %><% end %> <% if not model.nonCSS.useLeftContact then %>
<% if model.nonCSS.useForm then %>

$model.nonCSS.contactForm1

$model.nonCSS.contactForm2

$model.nonCSS.contactForm3

$model.nonCSS.contactForm5

$model.nonCSS.contactForm4


<% else %><% end %> <% if model.nonCSS.useContact then %> <% if model.nonCSS.useContactName then %><% if not model.nonCSS.useContactNameLink then %> Contact: $model.metadata.contactInfo.value
<% elseif model.nonCSS.useContactNameLink then %>Contact: $model.metadata.contactInfo.value
<% else %><% end %><% else %><% end %> <% if model.nonCSS.useEmail then %> Email: $model.nonCSS.email
<% else %><% end %> <% if model.nonCSS.usePhone then %> Phone: $model.nonCSS.phone
<% else %><% end %> <% if model.nonCSS.useMobile then %> Mobile/Cell: $model.nonCSS.mobile
<% else %><% end %> <% if model.nonCSS.useFax then %> Fax: $model.nonCSS.fax
<% else %><% end %> <% if model.nonCSS.useAddress then %> Address: $model.nonCSS.address
<% else %><% end %> <% if model.nonCSS.useblankCon then %> $model.nonCSS.blankConTitle <% if model.nonCSS.useblankConLink then %>$model.nonCSS.blankCon
<% else %>$model.nonCSS.blankCon
<% end %><% else %><% end %> <% if not model.nonCSS.useIcons then %> <% if model.nonCSS.useMyspace then %> MySpace: $model.nonCSS.Myspace
<% else %><% end %> <% if model.nonCSS.useFacebook then %> Facebook: $model.nonCSS.Facebook
<% else %><% end %> <% if model.nonCSS.useTwitter then %> Twitter: $model.nonCSS.Twitter
<% else %><% end %> <% if model.nonCSS.uselinkedIn then %> LinkedIn: $model.nonCSS.linkedIn
<% else %><% end %> <% if model.nonCSS.usegPlus then %> Google Plus: $model.nonCSS.gPlus
<% else %><% end %> <% if model.nonCSS.useFlickr then %> Flickr: $model.nonCSS.Flickr
<% else %><% end %> <% if model.nonCSS.usefivehundredpx then %> 500px: $model.nonCSS.fivehundredpx
<% else %><% end %> <% else %> <% if model.nonCSS.useMyspace then %> myspace <% else %><% end %> <% if model.nonCSS.useFacebook then %> facebook <% else %><% end %> <% if model.nonCSS.useTwitter then %> twitter <% else %><% end %> <% if model.nonCSS.uselinkedIn then %> linkedin <% else %><% end %> <% if model.nonCSS.usegPlus then %> google plus <% else %><% end %> <% if model.nonCSS.useFlickr then %> flickr <% else %><% end %> <% if model.nonCSS.usefivehundredpx then %> 500px <% else %><% end %> <% end %> <% else %><% end %>
<% else %><% end %>
<% if model.nonCSS.usecontactText then %>

$model.nonCSS.contactText

<% else %> <% if imageNumber>numImages then %>LRB Portfolio Error
Please either select one image in the Film Strip if 'Use Selected Photos' is chosen, or Change to 'Use All Filmstrip Photos'. <% else %> <%= getImage( imageNumber ).metadata.title %> <% end %> <% end %>
<% if model.nonCSS.logoBottom==1 then %><% includeFile ('idplate.html') %><% end %> <% if model.nonCSS.menuBottom==1 then %><% includeFile ('menu.html') %><% end %> <% includeFile ('foot.html') %>