var page=encodeURI(document.location.href.toLowerCase());
var source = page.substring(0,page.lastIndexOf('.htm'));
if (source=='') source = page.substring(0,page.lastIndexOf('.asp'));
if (source=='') source = "default";
strRef = source + '.aspx';
window.parent.location.replace (strRef);