var isSafari = false;
if (navigator.appVersion.toLowerCase().indexOf('safari') > 0){
	isSafari = true;
}
var iFrameReset = true;
// Calling this function after a page is loaded into the hidden
// i-frame keeps the browser's history intact.  Failure to do 
// this will mean that if the visitor presses his back button
// the previous page loaded into the i-frame will be loaded
// instead of the page loaded prior to visiting this page.
//
// NB: Safari doesn't cooperate with this cleanup scheme.
function handleIFrameLoaded(){
	if (!iFrameReset){
		iFrameReset = true;
		frames['hidden'].location.href = "ax/blank.html";
		if (!isSafari){
			history.go(-1);
		}
	} else {
		iFrameReset = false;
	}
}