/**
 * @author Tim
 */
FLN.Page = function(initData,topicId){
 	YAHOO.lang.augmentObject(this,initData);
	this.topicId = topicId;
};

FLN.Page.prototype.hasNextId = function(){
	return this.nextId != "";
}
FLN.Page.prototype.hasPrevId = function(){
	return this.prevId != "";
};
FLN.Page.prototype.setStatus = function(s){
	this.status = s;
};


/*
 * Test the class
 */
/*
var page = new FLN.Page({
    id: "main_menu.html", //id for this page. must be unique
    prevId: "", //id of the page previous to this one
    nextId: "", //id of the page after this one
    pageNumber: "", //the number that should appear in the section that displays your current page in the whole module.
    topicPageNumber: "", //the number that should appear in the section that displays your current page in the current topic.
    enableMenuButtonPolicy: "always", //forces the menu button to be visible ("always") or invisible ("never"), or rely on the FLN.scoDatadisplayMenuPrereq array ("default")
    status: "not attempted",
    contributeToCompletion: false, //does this page count toward completion? it may not matter to overall completion of the module if a particular page is not completed
    bookmarkable: true, //does this page make bookmarks? Some pages might not
    enableNextPolicy: "never", //when is the next button enabled? three values: "never": never display, "always": always display, "completed": only display if the page is completed
    enableBackPolicy: "never"
});


alert(page.status);

page.setStatus("blasssssswww");

alert(page.status);
*/
