document.write("<style>.Translit{font-family:TranslitLS}</style>")
function WriteNextPrev()
strLocation = location.href
arrLocation = split(strLocation, "/")
strFileName = arrLocation(ubound(arrLocation))
arrFileName = split(strFileName, ".")
nFileNum = arrFileName(0)
if nFileNum = "52" then
	strNext = "52a"
elseif nFileNum = "52a" then
	strNext = "53"
elseif isnumeric(nFileNum) then
	nNext = cint(nFileNum) + 1
else
	nNext = 0
end if

if nNext > 111 or nNext = 0 then
	strNext = ""
else
	strZeros = string(3-len(nNext), "0")
	strNext = strZeros & nNext & ".htm"
end if

if nFileNum = "53" then
	strPrev = "52a"
elseif nFileNum = "52a" then
	strPrev = "52"
elseif isnumeric(nFileNum) then
	nPrev = nFileNum-1
else
	nPrev = 0
end if
if nPrev < 1 or nPrev = 0 then
	strPrev = ""
else
	strZeros = string(3-len(nPrev), "0")
	strPrev = strZeros & nPrev & ".htm"
end if
document.write("<center>")
document.write("Implications of the Agreement Features in (English -> Arabic) Machine Translation <br>")
document.write("An M.A. Thesis by: Mohammed A. Sharaf (December, 2002)<br>")
document.write("Faculty of Languages and Translation, Al-Azhar University, Cairo, Egypt<br>")
document.write("<i>To read trasliteration of Arabic words <a href='Fonts_a.zip'>Download and Install Fonts</a></i><br>")
if strPrev <> "" then
	document.write("<a href=" & strPrev & "><<< Previous</a>")
end if
document.write(" -- <a href='index.htm'>Index</a> # <a href='../'>Home</a>-- ")
if strNext <> "" then
	document.write("<a href=" & strNext & ">Next >>></a>")
end if
document.write("</center>")
end function
