function getFileNameTop(istrSiteName) { // VN: modified to take arg
    var strFileName;
    var intLocation;

    strSiteName = istrSiteName;
    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.asp";
	    }
    return strSiteName + strFileName;
}

function OAS_INIT(istrSiteName,isKeyWords) { // VN: added
    OAS_SET_KEYWORD(isKeyWords);

    // VN: comment out this default for OAS_listpos
    
    //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 = "Top,Right,Right2";

    // this is the alias for the OAS Central ads server
    OAS_url = "http://oascentral.stackmag.com/RealMedia/ads/";

    OAS_sitepage = getFileNameTop(istrSiteName);

    // setOASVersion(); // VN: moved to LocalFilename2.js
}


