function alertMe(){
	this['navFrame'].location.reload();
	//alert("Testing Javascripting between iframes.");
}
/**
this function will cause the frame specified to change it's loction to the 
indicated newPageUrl.
**/
function changeContent(frameName,newPageUrl){
	this[frameName].location = newPageUrl;
//	alert("" + 	this[frameName].srolling);
	this[frameName].srolling = "YES";
	//alert("" + 	this[frameName].height);
	this[frameName].height = "1200";
}
/**
Will tell the appropriate child frame to load the myprofile page.
**/
function loadMyProfile(){
	//alert('loading My Profile');
	changeContent("contentFrame", "/content/members/manage.jsp");
	changeContent("navFrame", "/content/topNavBar.jsp?selected=myProfile");
}
/**
Will tell the appropriate child frame to load the myStuff page.
**/
function loadMyStuff(){
	//alert('loading My Stuff');
	changeContent("contentFrame", "/content/members/contacts/contactFrameset.jsp");
	changeContent("navFrame", "/content/topNavBar.jsp?selected=myProfile");
}
/**
Will tell the appropriate child frame to load the mycontacts page.
**/
function loadMyContacts(){
	//alert('loading My Contacts');
	changeContent("contentFrame", "/content/members/contacts/contactFrameset.jsp");
	//changeContent("navFrame", "/content/topNavBar.jsp?selected=myContacts");
}
/**
Will tell the appropriate child frame to load the history for my Ecards.
*/
function loadMyHistory(){
	//alert('loading My History');
	changeContent("contentFrame", "/content/members/ecardHistory.jsp?pageStatus=c");
	//changeContent("navFrame", "/content/topNavBar.jsp?selected=myProfile");
}
/**
Will tell the home page to refresh and start with a clean home page.
**/
function goHome(){
	//alert('going home');
	this.location = "/content/home.jsp";
}
/**
Will tell the appropriate child frame to load the ecards associated with the category selected from the Flash Navigation bar.
**/

function showEcards(category, page_no){
//	alert('showing ecards');
	var page = "/content/ecard/lists/" + category +"_" + page_no + ".jsp";
	changeContent("contentFrame", page);
	changeContent("navFrame", "/content/topNavBar.jsp?selected=ecards");

}