<% Const IMGS_DIR = "/nelsonstark/images/photos/" Dim objFSO, objFolderObject, objFileCollection, objFile Dim intFileNumberToUse, intFileLooper Dim objImageFileToUse Dim strImageSrcText Set objFSO = Server.CreateObject("Scripting.FileSystemObject") Set objFolderObject = objFSO.GetFolder(Server.MapPath(IMGS_DIR)) Set objFSO = Nothing Set objFileCollection = objFolderObject.Files Set objFolderObject = Nothing Randomize() intFileNumberToUse = Int(objFileCollection.Count * Rnd) + 1 intFileLooper = 1 For Each objFile in objFileCollection If intFileLooper = intFileNumberToUse Then Set objImageFileToUse = objFile Exit For End If intFileLooper = intFileLooper + 1 Next Set objFileCollection = Nothing strImageSrcText = IMGS_DIR & objImageFileToUse.Name Set objImageFileToUse = Nothing %>
 
address

The Nelson Stark Company
7685 Field Ertel Road
Cincinnati, OH 45241
 
phone
(513) 489-0866
 

fax
(513) 489-1422

 
email
info@nelsonstark.com
 
   
 

 

 

 


HOME | SERVICES | PAST PROJECTS | ABOUT US | CONTACT US

Copyright © 2004 The Nelson Stark Company