%
function PathInfoToRelativePath(S)
{
var R = '';
var L = S.length
I = 0
while (I < L)
{
if (S.charAt(I) == '/')
R = R + '../'
I++
}
return R
}
function QualifyImage(S)
{
// if (Application.Designing)
// return Application.QualifyFileName("..\\Images\\" + S); // relative directory
// else
return PathInfoToRelativePath(Context.Request.InternalPathInfo) + 'Images/' + S; // virtual directory
}
%>
" width="769" height="98" alt="" border="0" usemap="#men">