document.write("<input type='hidden' name='locAddress' id='locAddress'>");
var getUrl = window.location;
document.getElementById("locAddress").value = getUrl;
getUrl = document.getElementById("locAddress").value;

if(getUrl.indexOf("html") != -1){
	getPath = "../";
} else {
	getPath = "";
}
document.write("<table width='777' border='0' align='center' cellpadding='0' cellspacing='0' bgcolor='#FFFFFF'>");
document.write("<tr>");
document.write("<td width='12'>&nbsp;</td>");
document.write("<td width='730'><img src='" + getPath + "images/logo.gif' width='170' height='52' alt='BankFlex'></td>");
document.write("<td valign='top'><table width='100%' border='0' cellspacing='1' cellpadding='1'>");
document.write("<tr>");
document.write("<td class='smallLinks'><a href='" + getPath + "index.htm'><img src='" + getPath + "images/homeico.gif' border='0' alt='Home'></a></td>");
document.write("<td><a href='" + getPath + "html/sitemap.htm' class='smallLinks'><img src='" + getPath + "images/sitemap.gif' border='0' alt='Sitemap'></a></td>");
document.write("<td nowrap><a href='" + getPath + "html/requestProductDemo.htm' class='smallLinks'><img src='" + getPath + "images/top_online_demo.gif' border='0' alt='Brochure'></a></td>");
document.write("<td nowrap><a href='" + getPath + "html/requestProductBrochures.htm' class='smallLinks'><img src='" + getPath + "images/brochure.gif' border='0' alt='Brochure'></a></td>");
document.write("<td nowrap><a href='" + getPath + "html/contactForm.html' class='smallLinks'><img src='" + getPath + "images/contactico.gif' border='0' alt='Contact Us'></a></td>");
document.write("</tr>");
document.write("</table></td>");
document.write("</tr>");
document.write("</table>");
