function playApp(appName)
{
	if (navigator.userAgent.toLowerCase().indexOf("msie") != -1 && navigator.userAgent.toLowerCase().indexOf("win") != -1) path = "../";
	else path = "/math/2002/student/";
	appWindows = window.open(path+"popup.html",appName,"toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=630,height=420");
	if (navigator.appVersion >= '4.0') {
	appWindows.moveTo(0,0);
	}
}

function playAppX(appName)
{
	if (navigator.userAgent.toLowerCase().indexOf("msie") != -1 && navigator.userAgent.toLowerCase().indexOf("win") != -1) path = "../";
	else path = "/math/2002/student/";
	appWindows = window.open(path+"popupx.html",appName,"toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=630,height=420");
	if (navigator.appVersion >= '4.0') {
	appWindows.moveTo(0,0);
	}
}

function playFactDash(appName)
{
	if (navigator.userAgent.toLowerCase().indexOf("msie") != -1 && navigator.userAgent.toLowerCase().indexOf("win") != -1) path = "../";
	else path = "/math/2002/student/";
	appWindows = window.open(path+"factdash/popup.html",appName,"toolbar=0,location=0,status=0,menubar=0,scrollbars=0,resizable=0,width=630,height=420");
	if (navigator.appVersion >= '4.0') {
	appWindows.moveTo(0,0);
	}
}
