<% dim intRandomNumber dim intUpperLimit dim intLowerLimit 'if current page is at home page level then... If level1 = "" Or level0 = 0 Then 'randomize the image that is displayed Randomize intUpperLimit = 6 intLowerLimit = 1 intRandomNumber = Int((intUpperLimit - intLowerLimit + 1)*Rnd() + intLowerLimit) 'output the relevant image (according to the value of the level0 value) Response.Write "" Else 'output the smart left nav menu system and display current sections according to the values of the Home section (7), level2, level3 and level4 variables (defined in common_utils.asp). Response.Write ManageLeftNav(level1, level2, level3, level4) End If %>