var ds=0,furl='',hist=0;

function loadFrame() {
	if (furl!='') {
	top.viewer.main.undermain.location.href=furl+".html";
	furl='';
	}
	return true;
}

function loadManager() {
		if (frames.name=="loader") {
			top.viewer.location = top.loader.location.href;
			return;
		} 
}

function historyBackCheckAndLoad() {
		if (hist==1) {
			top.location.href="index.html";
		}
}