﻿// JScript File
function openBSA() {
	try {
		var url = childWindow.location.href;
		//var t = url.lastIndexOf("adventures.aspx");
		var t = url.lastIndexOf("adventures.aspx");
		if(t < 0)
		{
			childWindow.location.href = 'adventures.aspx';
		}
		childWindow.focus();
    }
    catch (err) {
		childWindow = window.open('adventures.aspx','bsa','height=700,width=900,status=0,resizable=0,left=0,top=0');
		if(childWindow.opener==null) 
		{
			childWindow.opener=self;
		}
		childWindow.focus();
	}
}