
var TOP = (window.parent&window.parent.TOP) ? window.parent.TOP : top;
var  is = TOP.is;

document.write('<meta http-equiv=imagetoolbar content=no>');

if ( TOP == window ) {
//	if ( window.location.protocol != 'file:' ) {
		window.location.pathname.replace('index.htm?'+window.location.pathname);
		document.write('<scrip'+'t language=javascript src=/jslib/hazelst.js></scrip'+'t>');
		document.write('<scrip'+'t language=javascript src=/jslib/hspmenu.js></scrip'+'t>');
		document.write('<scrip'+'t language=javascript src=/jslib/hspgallery.js></scrip'+'t>');
//	} else {
//		document.write('<scrip'+'t language=javascript src=file:/'+'/DRAGONFLY/HOMEPAGES/All.Library/jslib/hazelst.js></scrip'+'t>');
//		document.write('<scrip'+'t language=javascript src=file:/'+'/DRAGONFLY/HOMEPAGES/All.Library/jslib/hspmenu.js></scrip'+'t>');
//		document.write('<scrip'+'t language=javascript src=file:/'+'/DRAGONFLY/HOMEPAGES/All.Library/jslib/hspgallery.js></scrip'+'t>');
//	}
	if ( window.location.pathname != '/' && !window.location.pathname.match(/index.htm/) )
	{
//		if ( window.location.protocol != 'file:' ) {
			TOP.location = '/index.htm?' + window.location.pathname;
//		} else {
//			var rut; var loc;
//			if ( window.location.pathname.match(/HOMEPAGES\\/) ) { 				rut = window.location.pathname.match  (/^.*\\HOMEPAGES\\[^\\]*\\/);
//				loc = window.location.pathname.replace(/^.*\\HOMEPAGES\\[^\\]*\\/,"");
//			} else {
//				rut = window.location.pathname.match  (/^[^\\]*\\[^\\]*\\/);
//				loc = window.location.pathname.replace(/^[^\\]*\\[^\\]*\\/,"");
//			}
//			loc = rut + "index.htm?/" + loc;
//			loc = loc.replace(/\\/g,"/"); 			
//			loc = loc.replace(/^[\/][\/][\/]/,'file:/'+'/');
//			TOP.location = loc;
//		}
	}
}


