function getFileNameTop() {
var strFileName;
var intLocation;

strFileName = document.location.pathname;

//pathname starts at host URL and a slash so it will always return one slash
if (strFileName.length == 1)
	{
	//this has to be set for the default file for the site!
	strFileName = "/default.aspx";
	}
return OAS_domain + strFileName;
}

//if you did not set positions above this, it will take these stock positions
//note: NO SPACES in this list: "Top, Bottom" is WRONG, "Top,Bottom" is right
//the positons are also case sensitive
if (OAS_listpos == '')
	OAS_listpos = "Right";

OAS_sitepage = getFileNameTop();

setOASVersion();