<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>K¹² Online School</title>
<script src="/lms/go/a4j/g/3_3_3.Final/org/ajax4jsf/framework.pack.js" type="text/javascript"></script><script src="/lms/go/a4j/g/3_3_3.Final/org/richfaces/ui.pack.js" type="text/javascript"></script><link class="component" href="/lms/go/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/basic_classes.xcss/DATB/eAFbKrn9Y-jyGdIAE3IEFg__;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="component" href="/lms/go/a4j/s/3_3_3.Finalorg/richfaces/renderkit/html/css/extended_classes.xcss/DATB/eAFbKrn9Y-jyGdIAE3IEFg__;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" media="rich-extended-skinning" rel="stylesheet" type="text/css" /><link class="component" href="/lms/go/a4j/s/3_3_3.Final/org/richfaces/skin.xcss/DATB/eAFbKrn9Y-jyGdIAE3IEFg__;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><script type="text/javascript">window.RICH_FACES_EXTENDED_SKINNING_ON=true;</script><script src="/lms/javascript/richfaces/richfaces-IE9-patch.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><link class="user" href="/lms/css/themes/seam/k12-minimal-app.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/seam/k12-minimal.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/ext/ext-all.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/k12/lms.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><script src="/lms/javascript/k12/K12.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.LMS.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.Feedback.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/ext/3.3.1/ext-base-debug.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/ext/3.3.1/ext-all-debug.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.Ext.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.Hashtable.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.IframeWindow.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.Utils.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/k12/K12.LMSUtils.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/seam/resource/remoting/resource/remote.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/content/curriculum/login.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><link class="user" href="/lms/css/themes/k12_lms/timezone.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><script src="/lms/javascript/k12/K12.Cookie.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><link class="user" href="/lms/css/themes/k12_lms/global.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/landing_page.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/global_nav.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/lesson_popup.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/schedule_setup.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/materials.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/advance_prep.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/attendance.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/announcements.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><link class="user" href="/lms/css/themes/k12_lms/curriculum_locked.css;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" rel="stylesheet" type="text/css" /><script src="/lms/javascript/k12/K12.Search.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script src="/lms/javascript/deconcept/Deconcept.SWFObject.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script><script type="text/javascript">
//<![CDATA[
// http://www.google.com/support/analytics/bin/topic.py?hl=en&topic=10976
// http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55488
// http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55597
// googlePageTracker._trackPageview('/lms/page/sub');
if( "true" == "true")
{
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl/." : "http://www/.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
}
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var googlePageTracker = null;
try
{
if( "true" == "true")
{
googlePageTrackerAll = _gat._getTracker("UA-163094-23");
googlePageTrackerViewOnly = _gat._getTracker("UA-163094-20");
var sessionTimeout = null;
try
{
sessionTimeout = 1.25;
sessionTimeout = sessionTimeout * 60 * 60;
}
catch(err2){sessionTimeout = null;}
if(sessionTimeout != null)
{
googlePageTrackerAll._setSessionTimeout(sessionTimeout);
googlePageTrackerViewOnly._setSessionTimeout(sessionTimeout);
}
}
}
catch(err){ }
// '/lms/page/sub'
function googleTrackPage( path )
{
if( "true" == "true")
{
try
{
if(googlePageTrackerAll != undefined && googlePageTrackerAll != null)
{
googlePageTrackerAll._trackPageview(path);
}
if(googlePageTrackerViewOnly != undefined && googlePageTrackerViewOnly != null)
{
googlePageTrackerViewOnly._trackPageview(path);
}
}
catch(err){ }
}
}
/*
* http://code.google.com/apis/analytics/docs/tracking/eventTrackerGuide.html
*/
function googleTrackEvent( category, action, optional_label, optional_value)
{
var optVal;
if( optional_value != null && optional_value != undefined )
{
try
{
optVal = parseInt( optional_value );
}
catch(err){ }
}
if( "true" == "true")
{
try
{
if(googlePageTrackerAll != undefined && googlePageTrackerAll != null && category != null && action != null)
{
googlePageTrackerAll._trackEvent(category, action, optional_label, optVal);
}
}
catch(err){ }
}
}
//]]>
</script>
<!-- Must include modalPanel for Global Nav Menu -->
<script language="javascript">
//<![CDATA[
var warningLogoutTimeoutID;
var identityLogoutTimeoutID;
function logoutUser()
{
window.top.location = "http://lms.k12.com/lms/public/gotoSessionexpired.xhtml";
}
//]]>
</script>
<script src="/lms/seam/resource/remoting/interface.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2?landingPage" type="text/javascript"></script>
<script src="/lms/seam/resource/remoting/interface.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2?parameterWrapper" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
K12.Feedback.initLocationInfo("landingpage");
var theSchoolWindow;
var onHideGlobal;
function onGotoSchool(url, confirm, schoolname) {
if (url != undefined && K12.LMSUtils.trim(url) != '') {
K12.LMSGlobal.theCommunityWindow = K12.LMSUtils.openNewBrowser(K12.LMSGlobal.theCommunityWindow, "Community", url, 800, 600, 20, 20, confirm, schoolname);
} else {
Ext.MessageBox.alert('Go to School', 'Sorry, the school URL is not available.');
}
}
function showAdvancePrepWindow() {
var url = "http://lms.k12.com/lms/content/global/advancePrep/gotoAdvancePrep.xhtml";
K12.LMSUtils.showPopup("Advance Prep", url, 800, 600, 'advanceprep-window');
}
function openStudentAccountPage(item) {
googleTrackEvent("landing_page","student_account", "Student");
var title = "Student Account";
var uri = "https://totalviewpages.k12.com/cgi-bin/WebObjects/TotalViewPages.woa/wa/profileEditor";
var idParts = item.itemId.split('_');
var studentId = idParts[1];
K12.LMSUtils.showAccountPage(title, uri, studentId);
}
function showLCStudentListList(currentStudentId, stuCoursesArrayStr, showCurrentLesson) {
stuCoursesArrayStr = unescape(stuCoursesArrayStr);
var studentSchoolArray = Ext.decode(stuCoursesArrayStr);
for (k = 0; k < studentSchoolArray.length; k++) {
var studentSchoolBean = studentSchoolArray[k];
if (K12.LMSUtils.trim(studentSchoolBean.studentName) != '' && studentSchoolBean.studentId == currentStudentId ) {
if( showCurrentLesson )
{
var studentCoursesMenu = K12.LMSGlobal.buildStudentProgressCoursesMenu(studentSchoolBean, 'studentCoursesMenu', true, false, true);
}
else
{
var studentCoursesMenu = K12.LMSGlobal.buildStudentProgressCoursesMenu(studentSchoolBean, 'studentCoursesMenu', true, true, false);
}
k12GlobalNav.setSubMenuFocusItems(studentCoursesMenu);
}
}
var currXY;
if ( showCurrentLesson ) {
currXY = Ext.get('coursesCurrentLessonLabel_' + currentStudentId);
} else {
currXY = Ext.get('coursesMenuLabel_' + currentStudentId);
}
studentCoursesMenu.show(currXY);
k12GlobalNav.navMenusRoundCorners(true);
}
function showLCLandingStudentMenu(studentId) {
//alert('obj id=' + obj.id);
var simpleMenu = new Ext.menu.Menu({
itemId: 'lcLandingStuentMenu',
items: [{
iconCls : 'menuItemIcon',
text: 'Daily Plan',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/plan/student/studentPlan.xhtml?selectedDate=&selectedTab=daily&studentId=" + studentId + "'); googleTrackEvent('landing_page','student_daily_plan', 'Student');"
}, {
iconCls : 'menuItemIcon',
text: 'Progress',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/myprogress/gotoProgress.xhtml?studentId=" + studentId + "'); googleTrackEvent('landing_page','student_progress', 'Student');"
}, '-', {
// iconCls : 'menuItemIcon',
// text: 'KMail Regarding Student',
// activeClass : 'k12_lms_item_active',
// handler: generalSelectionHandler
// }, '-', {
iconCls : 'menuItemIcon',
text: 'Attendance',
activeClass : 'k12_lms_item_active',
itemId: 'attendance_' + studentId,
handler: handleLCPlannerStudentAttendanceLPTracking
}, {
iconCls : 'menuItemIcon',
text: 'Student Account',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
itemId: 'studentaccount_' + studentId,
handler : openStudentAccountPage
}]
});
simpleMenu.show(Ext.get('dropdown_' + studentId));
k12GlobalNav.navMenusRoundCorners(true);
}
function onStudentAccount(item) {
alert("Well done, you selected "+item.text);
}
function onhidePrivacyPolicyDialog() {
hidePrivacyPolicy();
}
function showPrivacyPolicyDialog() {
var url = "http://static.k12.com/lms_help/terms_of_use.html";
K12.LMSUtils.showPopupPrivacyPolicy("Terms of Use", url, 600, 400, null, onhidePrivacyPolicyDialog);
}
var showPrivacyPolicy = 'false';
if(showPrivacyPolicy == 'true') {
K12.Events.add(window, "load", showPrivacyPolicyDialog);
}
function showHelpFirstTimePopup() {
var url = "http://static.k12.com/lms_help/1001/WebHelp/index.htm";
window.open(url, "_blank");
}
var showHelpFirstTime = false;
if(showHelpFirstTime == 'true') {
K12.Events.add(window, "load", showHelpFirstTimePopup);
}
//parameterWrapper object input parameters
// 1. Title 2. CouseId 3. subcourseId 4. studentId 5. locationId, 6. onHide
//parameterWrapper object return parameters
// 1. currentUnitNonChosenChoosableUnit
// Some of the parameters (for e.g. Title, onHide) are not required by the
// Seam Remoting target isCurrentUnitNonChosenChoosableUnit(), but we still pass them
// since this provides a way to retain the params for subsequence call to
// K12.LMSUtils.showNextLessonPopup
function callShowNextLessonPopup(title, courseId, subcourseId, locationId, studentId, onHide) {
Seam.Remoting.getContext().setConversationId("LandingPageConversation:landingpage");
var parameterWrapper = Seam.Component.newInstance("parameterWrapper");
parameterWrapper.setTitle(title);
parameterWrapper.setCourseId(courseId);
parameterWrapper.setSubcourseId(subcourseId);
parameterWrapper.setStudentId(studentId);
parameterWrapper.setLocationId(locationId);
parameterWrapper.setOnHide(onHide);
//function references when passed to Seam Components are returned as strings.
//So retain it in global variable.
onHideGlobal = onHide;
Seam.Remoting.getContext().setConversationId("LandingPageConversation:landingpage");
Seam.Component.getInstance("landingPage").isCurrentUnitNonChosenChoosableUnit(parameterWrapper, showNextLessonPopupCallback);
}
function showNextLessonPopupCallback(parameterWrapper) {
var title = parameterWrapper.getTitle();
var courseId = parameterWrapper.getCourseId();
var subcourseId = parameterWrapper.getSubcourseId();
var studentId = parameterWrapper.getStudentId();
var locationId = parameterWrapper.getLocationId();
//var onHide = parameterWrapper.getOnHide();
var isCurrentUnitNonChosenChoosableUnit = parameterWrapper.isCurrentUnitNonChosenChoosableUnit();
if (isCurrentUnitNonChosenChoosableUnit == true) {
var url = "http://lms.k12.com/lms/content/progress/unit/gotoUnitList.xhtml?init=true&studentId=" + parameterWrapper.getStudentId() + "&courseId=" + parameterWrapper.getCourseId();
K12.BusyStatus.openLink(url);
}
else {
K12.LMSUtils.showNextLessonPopup(title, courseId, subcourseId, locationId, studentId, onHideGlobal);
}
}
//]]>
</script>
<style type="text/css">
/**** Overrides ExtJs window style to fix bottom border on IE ****/
.x-window-bc {
font-size: 0;
line-height: 0;
}
</style>
<!-- need this include for showing busy state on form/ajax submit
cannot use a4j:loadScript as it gets loaded before remote.js ... why??? -->
<script src="/lms/javascript/k12/K12.BusyStatus.js;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" type="text/javascript"></script>
<script type="text/javascript">
var timeZoneEntered = true;
if(!timeZoneEntered) {
K12.Events.add(window, "load", K12.LMSUtils.openOnloadMyTimeZonePopup);
}
</script>
</head>
<body>
<!-- need these statements for showing busy state on form/ajax submit --><span id="_viewRoot:status"><span id="_viewRoot:status.start" style="display: none"></span><script type="text/javascript">
window.document.getElementById('_viewRoot:status.start').onstart=function(){K12.BusyStatus.show();;};
</script><span id="_viewRoot:status.stop"></span><script type="text/javascript">
window.document.getElementById('_viewRoot:status.stop').onstop=function(){K12.BusyStatus.hide();;};
</script></span>
<div id="busyStatusLayer" style="position:absolute;right:200px;top:400px;visibility:hidden;overflow:none;zIndex:999999;"><img src="/lms/images/LMS_loader.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</div><span id="j_id37">
<form id="j_id38" name="j_id38" method="post" action="/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" enctype="application/x-www-form-urlencoded" style="display:none">
<input type="hidden" name="j_id38" value="j_id38" />
<script id="j_id39" type="text/javascript">//<![CDATA[
stayLoggedIn=function(){A4J.AJAX.Submit('j_id38',null,{'similarityGroupingId':'j_id39','parameters':{'j_id39':'j_id39'} ,'actionUrl':'/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2'} )};
//]]></script><script id="j_id40" type="text/javascript">//<![CDATA[
logout=function(){A4J.AJAX.Submit('j_id38',null,{'similarityGroupingId':'j_id40','parameters':{'j_id40':'j_id40'} ,'actionUrl':'/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2'} )};
//]]></script><input id="maxInactiveInterval" type="hidden" name="maxInactiveInterval" value="4500" /><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" />
</form>
<script>
//<![CDATA[
function processResult(buttonId) {
if(buttonId == 'yes') {
//showProgress();
// Logout:
logout();
} else {
clearTimeout(identityLogoutTimeoutID);
// Stay logged in:
stayLoggedIn();
clearTimeout(warningLogoutTimeoutID);
warningLogoutTimeoutID = setTimeout('showTimeoutWarning();', sessionTimeoutWarningTime);
}
}
function showProgress()
{
Ext.Msg.wait("", "Logging out ... please wait");
}
var sessionwarningtime = null;
var warningTime = (300 == null) ? -1 : 300;
function isShowTimeout()
{
var cName = "k12.lms.session_last_acccess_time_" + K12.jsessionid;
var cookie = K12.Cookie.getCookie(cName, true);
if(cookie != '')
{
var cookieData = eval('(' + cookie + ')');
sLastAccessTime = cookieData.lastAccessTime;
var now = new Date();
var nowTime = now.getTime();
var diffTime = (nowTime - sLastAccessTime) / 60000;
var miiValue = (document.getElementById("maxInactiveInterval").value - warningTime) / 60;
if(diffTime < miiValue)
{
clearTimeout(warningLogoutTimeoutID);
// set new timeout for warning message
warningLogoutTimeoutID = setTimeout('showTimeoutWarning();', (miiValue - diffTime)*60000);
return false;
}
}
return true;
}
function showTimeoutWarning() {
if(window != window.top)
return;
if(isShowTimeout() == false)
return;
if(warningTime <= 0)
{
showLogoutInfo();
return;
}
var now = new Date();
var logoutTime = new Date( now.valueOf() + warningTime*1000 );
var hh = (logoutTime.getHours() > 12) ? logoutTime.getHours() - 12 : logoutTime.getHours();
if(hh < 10) hh = '0' + hh;
var mm = (logoutTime.getMinutes() < 10) ? '0' + logoutTime.getMinutes() : logoutTime.getMinutes();
var ampm = (logoutTime.getHours() >= 12) ? "pm" : "am";
var logoutTimeString = hh + ":" + mm + " " + ampm;
clearTimeout(identityLogoutTimeoutID);
identityLogoutTimeoutID = setTimeout('showLogoutInfo();', warningTime*1000);
Ext.Msg.show({
title: 'Your login session will expire at ' + logoutTimeString,
msg: 'Your login session will expire at ' + logoutTimeString + '. Logging out will result in the loss of any unsaved changes.',
buttons: {yes: 'Logout', no: 'Continue working'},
fn: processResult,
closable: false,
icon: Ext.Msg.QUESTION,
width: 400
});
if ( K12.isIE8 || K12.isIE9 )
{
document.body.style.overflow='hidden';
} else {
document.body.scroll = "no";
}
};
function showLogoutInfo() {
clearTimeout(identityLogoutTimeoutID);
Ext.Msg.hide();
showProgress();
logoutUser();
};
var sessionTimeoutWarningTime = (document.getElementById("maxInactiveInterval").value - warningTime) * 1000; //in milliseconds
// cancel last timeout
clearTimeout(warningLogoutTimeoutID);
// set new timeout for warning message
warningLogoutTimeoutID = setTimeout('showTimeoutWarning();', sessionTimeoutWarningTime);
//]]>
</script></span>
<div id="k12-body-wrapper" style="width:1000px;">
<script language="javascript">
//<![CDATA[
K12.LMSGlobal = {};
K12.LMSGlobal.isClassConnectEnabled = 'true';
K12.LMSGlobal.isAttendanceEnabled = 'true';
K12.LMSGlobal.studentsWithEnabledAttendance = '';
K12.LMSGlobal.DELIM_DOUBLE_PIPE = '||K12DLM||';
K12.LMSGlobal.DELIM_DOUBLE_EQUAL = '==K12DLM==';
K12.LMSGlobal.DELIM_DOUBLE_TILDE = '~~K12DLM~~';
K12.LMSGlobal.DELIM_DOUBLE_CARET = '^^K12DLM^^';
K12.LMSGlobal.DELIM_DOUBLE_DOLLAR = '$$K12DLM$$';
K12.LMSGlobal.DELIM_DOUBLE_POND = '##K12DLM##';
K12.LMSGlobal.MAX_NUMBER_STUDENT = 20;
K12.LMSGlobal.MENU_Y_OFFSET = 32;
K12.LMSGlobal.MENU_MAX_LENGTH_TEXT = 26;
if( K12.isIE8 || K12.isIE9)
{
K12.LMSGlobal.MENU_Y_OFFSET = 47;
}
if( K12.isMac )
{
K12.LMSGlobal.MENU_Y_OFFSET = 31;
}
K12.LMSGlobal.theKMailWindow;
K12.LMSGlobal.theCommunityWindow;
K12.LMSGlobal.theHelpWindow;
K12.LMSGlobal.lastHelpWindowIsContact12 = false;
K12.LMSGlobal.evaluationView = null;
K12.LMSGlobal.subject = null;
K12.LMSGlobal.rescheduleStudentAccountIDs = null;
K12.LMSGlobal.setInvalidateReschedule = function(evaluationView, subject, rescheduleStudentAccountIDs)
{
K12.LMSGlobal.evaluationView = evaluationView;
K12.LMSGlobal.subject = subject;
K12.LMSGlobal.rescheduleStudentAccountIDs = rescheduleStudentAccountIDs;
}
K12.LMSGlobal.onHideInvalidatePopup = function()
{
if (K12.LMSGlobal.evaluationView == null ||
K12.LMSGlobal.subject == null ||
K12.LMSGlobal.rescheduleStudentAccountIDs == null)
{
K12.BusyStatus.openLink(window.location.href);
}
else
{
K12.BusyStatus.openLink(K12.LMS.basePath + "/content/testReports/sasScheduling/gotoTeacherReschedule.xhtml?students="
+ K12.LMSGlobal.rescheduleStudentAccountIDs + "&evaluationView=" + K12.LMSGlobal.evaluationView + "&subject=" + K12.LMSGlobal.subject);
}
}
// global nav only
K12.LMSGlobal.openNewLoginWin = function(w, h) {
var url = "http://login-learn.k12.com/accessui/login.do?__actionName=view";
googleTrackEvent("global_nav", "newlogin", 'Student');
return K12.LMSUtils.openNewBrowser(null, null, url, w, h, 20, 20, "K12Login");
}
// global nav only
K12.LMSGlobal.onclickHome = function() {
K12.BusyStatus.openLink('http://lms.k12.com/lms/content/index.xhtml?conversationName=LandingPageConversation&cid=landingpage');
googleTrackEvent("global_nav","home", 'Student');
}
// only used in Nav once
K12.LMSGlobal.openMyAccountPopup = function() {
var title = "My Account";
var uri = "https://totalviewpages.k12.com/cgi-bin/WebObjects/TotalViewPages.woa/wa/profileEditor";
googleTrackEvent("global_nav","myaccount", "Student");
K12.LMSUtils.showAccountPage(title, uri);
}
// Tracking Function, called from Student and LC GN
K12.LMSGlobal.handlePlannerStudentDailyTracking = function(item)
{
googleTrackEvent("global_nav","daily_plan", "Student");
K12.LMSGlobal.handlePlannerStudentPlan(item);
}
// Tracking Function, called from Student and LC GN
K12.LMSGlobal.handlePlannerStudentWeeklyTracking = function(item)
{
googleTrackEvent("global_nav","weekly_plan", "Student");
K12.LMSGlobal.handlePlannerStudentPlan(item);
}
// Function called for both daily and weekly plan for student and learning coach
K12.LMSGlobal.handlePlannerStudentPlan = function(item) {
var idParts = item.itemId.split('_');
var itemName = idParts[0];
var stuId = idParts[1];
var url = "http://lms.k12.com/lms/content/plan/student/studentPlan.xhtml?selectedDate=&selectedTab=" + itemName +"&studentId=" + stuId;
var studentPlanForm = document.getElementById("studentPlanFunctionForm");
if (studentPlanForm == null || studentPlanForm == undefined) { // not on student plan
url += "&previousStudentID=-1";
}
K12.BusyStatus.openLink(url);
}
// called from Student and LC - tracking is on those calls
K12.LMSGlobal.showStudentMaterialsPopup = function(stuId) {
//var url = "k12.lms.help.materialsInfo.url?studentId=" + stuId;
var url = "/content/global/materials/materials.xhtml?studentId=" + stuId;
K12.LMSUtils.showPopupWithDefaultOnHide("Materials I'll Need", url, 800, 600, 'materials-window');
}
// called from Student and LC - tracking is on those calls
K12.LMSGlobal.showStudentAdvancePrepPopup = function(stuId) {
var url = '/content/global/advancePrep/gotoAdvancePrep.xhtml?studentId=' + stuId;
K12.LMSUtils.showPopupWithDefaultOnHide("Get Ready with Advance Prep", url, 800, 600, 'advanceprep-window');
}
K12.LMSGlobal.buildStudentProgressCoursesMenu = function(studentSchoolBean, menuId, noProgress, useLessonListLinks, useCurrentLessonLinks, coursesFromGlobalNav) {
var coursesMenu;
if( noProgress )
{
coursesMenu = new Ext.menu.Menu({
itemId: menuId
});
} else {
coursesMenu = new Ext.menu.Menu({
itemId: menuId,
items: [{
text: "Progress",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/myprogress/gotoProgress.xhtml?studentId=" + studentSchoolBean.studentId + "'); googleTrackEvent('global_nav','student_progress', 'Student');"
}]
});
}
if (studentSchoolBean.courses.length > 0) {
//if( !noProgress ) {
// coursesMenu.add('-');
//}
coursesMenu = K12.LMSGlobal.buildCoursesMenu(coursesMenu, studentSchoolBean.courses, studentSchoolBean.studentId, useLessonListLinks, useCurrentLessonLinks, coursesFromGlobalNav);
}
if (noProgress // non k12 course is not listed under Progress dropdown
&& studentSchoolBean.otherCourses.length > 0) {
//if( !noProgress ) {
// coursesMenu.add('-');
//}
coursesMenu = K12.LMSGlobal.buildOtherCoursesMenu(coursesMenu, studentSchoolBean.otherCourses, studentSchoolBean.studentId);
}
if(studentSchoolBean.courses == 0 && studentSchoolBean.otherCourses == 0 && noProgress )
{
coursesMenu.add('No Active Courses');
}
var size = studentSchoolBean.courses.length;
if (noProgress && studentSchoolBean.otherCourses.length > 0) {
size += studentSchoolBean.otherCourses.length;
}
K12.LMSUtils.setMenuScrollSize(size , 15, coursesMenu);
return coursesMenu;
}
K12.LMSGlobal.buildCoursesMenu = function(parentMenu, courses, studentId, useLessonListLinks, useCurrentLessonLinks, coursesFromGlobalNav) {
for (i = 0; i < courses.length; i++) {
var course = courses[i];
var courseMenuItem;
if (course.subcourses) {
for (j = 0; j < course.subcourses.length; j++) {
var subcourse = course.subcourses[j];
if( !useLessonListLinks ) {
if( useCurrentLessonLinks ) {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + ": " + subcourse.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/unit/gotoUnitList.xhtml?init=true&studentId=" + studentId + "&courseId=" + course.id + "&subcourseId=" + subcourse.id + "'); googleTrackEvent('global_nav','courses_lesson_list', 'Student', " + course.id + ");"
});
} else {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + ": " + subcourse.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/course/gotoCourseProgress.xhtml?studentId=" + studentId + "&courseId=" + course.id + "&subcourseId=" + subcourse.id + "'); googleTrackEvent('global_nav','course_subcourse_progress', 'Student', " + course.id + ");"
});
}
} else {
if(coursesFromGlobalNav) {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + ": " + subcourse.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/unit/gotoUnitList.xhtml?init=true&studentId=" + studentId + "&courseId=" + course.id + "&subcourseId=" + subcourse.id + "'); googleTrackEvent('global_nav','courses_lesson_list', 'Student', " + course.id + ");"
});
} else {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + ": " + subcourse.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/unit/gotoUnitList.xhtml?init=true&studentId=" + studentId + "&courseId=" + course.id + "&subcourseId=" + subcourse.id + "'); googleTrackEvent('landing_page','learning_coach_lesson_list', 'Student', " + course.id + ");"
});
}
}
parentMenu.add(courseMenuItem);
}
} else {
//alert("no subcourses." );
if( !useLessonListLinks ) {
if( useCurrentLessonLinks ) {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.LMSUtils.showNextLessonPopup('" + course.name + "', '" + course.id + "','" + course.subcourseId + "','" + course.locationId + "', " + studentId + ", onHideCurrentLesson ); googleTrackEvent('landing_page','learning_coach_current_lesson', 'Student', " + course.id + ");"
});
} else {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/course/gotoCourseProgress.xhtml?studentId=" + studentId + "&courseId=" + course.id + "'); googleTrackEvent('global_nav','course_subcourse_progress', 'Student', " + course.id + ");"
});
}
} else {
if(coursesFromGlobalNav) {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/unit/gotoUnitList.xhtml?init=true&studentId=" + studentId + "&courseId=" + course.id + "'); googleTrackEvent('global_nav','courses_lesson_list', 'Student', " + course.id + ");"
});
} else {
courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
href: "javascript:K12.BusyStatus.openLink('http://lms.k12.com/lms/content/progress/unit/gotoUnitList.xhtml?init=true&studentId=" + studentId + "&courseId=" + course.id + "'); googleTrackEvent('landing_page','learning_coach_lesson_list', 'Student', " + course.id + ");"
});
}
}
parentMenu.add(courseMenuItem);
}
}
return parentMenu;
}
K12.LMSGlobal.buildOtherCoursesMenu = function(parentMenu, otherCourses, studentId) {
for (i = 0; i < otherCourses.length; i++) {
var course = otherCourses[i];
var otherCourseMenu = new Ext.menu.Menu({
itemId: 'otherCourseMenu',
items: [{
text: "Go to Course",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
itemId: 'goto_' + course.id + '_' + studentId,
platformIDVal : course.platformId,
handler: K12.LMSGlobal.onGotoCourse
}]
});
k12GlobalNav.setSubMenuFocusItems(otherCourseMenu);
var courseMenuItem = new Ext.menu.Item({
text: "<span>" + course.name + "</span>",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hideOnClick : false,
menu: otherCourseMenu
});
parentMenu.add(courseMenuItem);
}
return parentMenu;
}
// Global Nav handler for all go to Courses - only used in nav
K12.LMSGlobal.onGotoCourse = function(item) {
var idParts = item.itemId.split('_');
var itemName = idParts[0];
var courseId = idParts[1];
var studentId = idParts[2];
var platformIdValue = item['platformIDVal'];
//alert('go to course ...' + courseId + ' studentId=' + studentId + " platformIdValue=" +platformIdValue);
if(platformIdValue == 2 && K12.LMS.loggedInUserRole != '1001')
{
googleTrackEvent("global_nav","course_thirdparty", "Student", courseId);
}
else
{
googleTrackEvent("global_nav","go_to_course", "Student", courseId);
}
K12.LMSUtils.navigateToSSO( courseId, studentId, platformIdValue);
}
// Menu building functions
K12.LMSGlobal.buildKMailMenu = function(menuId, accountId) {
//alert(accountId);
var kmailMenu = new Ext.menu.Menu({
itemId: 'kmailMenu',
minWidth: 200,
items: [ {
text: "Inbox",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.showKMailInboxTracking
}, {
text: "Drafts",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onKMailMenuItemDrafts
}, {
text: "Archive",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onKMailMenuItemArchived
}, {
text: "Outbox",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onKMailMenuItemOutbox
}]
});
if (userData['isLearningCoach'] == true || userData['isStudent'] == true) {
var newMsgMenuItem = new Ext.menu.Item({
text: "Create New Message",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onKMailMenuItemNewMsgTracking
});
kmailMenu.insert( 0, newMsgMenuItem );
}
return kmailMenu;
}
// Tracking Function
K12.LMSGlobal.showKMailInboxTracking = function()
{
googleTrackEvent("global_nav","kmail_inbox", "Student");
K12.LMSGlobal.showKMailInbox();
}
// Called from Global Nav and Landing Page
K12.LMSGlobal.showKMailInbox = function() {
var uri = "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/k12KeycodeLogin?mailBox=inbox&gmtOffsetMinutes=" + gmtOffsetMinutes;
K12.LMSGlobal.openKMail(uri);
}
// Only called from global nav - all roles
K12.LMSGlobal.onKMailMenuItemDrafts = function() {
var uri = "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/k12KeycodeLogin?mailBox=drafts&gmtOffsetMinutes=" + gmtOffsetMinutes;
googleTrackEvent("global_nav","kmail_drafts", "Student");
K12.LMSGlobal.openKMail(uri);
}
// Only called from global nav - all roles
K12.LMSGlobal.onKMailMenuItemArchived = function() {
var uri = "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/k12KeycodeLogin?mailBox=archive&gmtOffsetMinutes=" + gmtOffsetMinutes;
googleTrackEvent("global_nav","kmail_archived", "Student");
K12.LMSGlobal.openKMail(uri);
}
// Only called from global nav - all roles
K12.LMSGlobal.onKMailMenuItemOutbox = function() {
var uri = "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/k12KeycodeLogin?mailBox=outbox&gmtOffsetMinutes=" + gmtOffsetMinutes;
googleTrackEvent("global_nav","kmail_outbox", "Student");
K12.LMSGlobal.openKMail(uri);
}
K12.LMSGlobal.openKMail = function(uri) {
if (userData['isLearningCoach'] == true || userData['isStudent'] == true) {
K12.LMSUtils.openKMailPopup("K-Mail", uri);
} else {
//K12.LMSGlobal.theKMailWindow = K12.LMSUtils.openKMailBrowser(K12.LMSGlobal.theKMailWindow, uri);
K12.LMSUtils.openKMailBrowserByPerference(uri);
}
}
// Tracking function
K12.LMSGlobal.onKMailMenuItemNewMsgTracking = function()
{
googleTrackEvent("global_nav","kmail_send", "Student");
K12.LMSGlobal.sendKMailPopup();
}
// Tracking function
K12.LMSGlobal.onKMailMenuItemNewMsgTrackingMailMerge = function()
{
googleTrackEvent("global_nav","kmail_mail_merge", "Student");
K12.LMSGlobal.sendKMailPopup();
}
// called from multipe sources
K12.LMSGlobal.sendKMail = function(recipientAccountIDs, mergeMode) {
K12.LMSGlobal.theKMailWindow = K12.LMSUtils.newKMailBrowser(K12.LMSGlobal.theKMailWindow, "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/newKMail", recipientAccountIDs, mergeMode);
}
K12.LMSGlobal.sendKMailPopup = function(recipientAccountIDs, mergeMode) {
K12.LMSUtils.newKMail("K-Mail", "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/newKMail", recipientAccountIDs, mergeMode);
}
// only tracking on global nav
K12.LMSGlobal.onKMailMenuItemNewNote = function(item) {
googleTrackEvent("global_nav","kmail_create_note", "Student");
createKMailNote();
}
// only called from global nav
K12.LMSGlobal.onFamilyConnection = function() {
getCurrentNavianceUserURL();
}
K12.LMSGlobal.onFamilyConnectionCallBack = function( navianceURL ) {
var url = navianceURL;
if (url != undefined && url != "") {
googleTrackEvent("global_nav","community_familyconnection", "Student");
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindow(K12.LMSGlobal.theCommunityWindow, url, 1024, 600, "Family Connection");
}
}
// only called from global nav
K12.LMSGlobal.onConnectedu = function() {
getCurrentConnecteduUserURL();
}
K12.LMSGlobal.onConnecteduCallBack = function( connecteduURL ) {
var url = connecteduURL;
if (url != undefined && url != "") {
googleTrackEvent("global_nav","community_connectedu", "Student");
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindow(K12.LMSGlobal.theCommunityWindow, url, 1024, 600, "Pathfinder");
}
}
// called from inside global nav
K12.LMSGlobal.openCommunityBrowserWindow = function(windowRef, url, w, h, title, confirm) {
if (confirm == undefined || confirm == null) {
confirm = 1;
}
return K12.LMSUtils.openNewBrowser(windowRef, "Community", url, w, h, 20, 20, confirm, title, false);
}
// called from Big Think inside global nav
K12.LMSGlobal.openCommunityBrowserWindowBigThink = function(windowRef, url, w, h, title, confirm) {
if (confirm == undefined || confirm == null) {
confirm = 1;
}
return K12.LMSUtils.openNewBrowser(windowRef, "BigThink" + K12.jsessionid, url, w, h, 20, 20, confirm, title, false);
}
// only called from global nav
K12.LMSGlobal.onBigThinkGNTracking = function() {
googleTrackEvent("global_nav","community_bigthink", "Student");
K12.LMSGlobal.onBigThink();
}
// only called from global nav
K12.LMSGlobal.onBigThink = function() {
var keycode = userData['keycode'];
var url = userData['clearspaceURL'];
if (url != undefined && url != "") {
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindowBigThink(K12.LMSGlobal.theCommunityWindow, url + keycode, 1024, 600, "thebigthinK<sup>12</sup>");
}
}
// function not called
K12.LMSGlobal.onCommunityBlog = function() {
var url = "https://communitychest.k12.com/blog";
googleTrackEvent("global_nav","community_brorsblog", "Student");
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindow(K12.LMSGlobal.theCommunityWindow, url, 1024, 600, "Bror's Blog");
}
// function only called from global nav
K12.LMSGlobal.onStudentCommunityMySchool = function(item) {
var idParts = item.itemId.split('__');
var schoolname = idParts[0];
var url = idParts[1];
googleTrackEvent("global_nav","community_school_link", "Student", schoolname);
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindow(K12.LMSGlobal.theCommunityWindow, url, 1024, 600, schoolname);
}
// function only called from global nav
K12.LMSGlobal.onCommunityK12Store = function() {
var url = "https://store.k12.com/";
googleTrackEvent("global_nav","community_k12store", "Student");
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindow(K12.LMSGlobal.theCommunityWindow, url, 1024, 600, "K12 Store", 0);
}
// function only called from global nav
K12.LMSGlobal.onCommunityAnnouncements = function() {
var url = "http://lms.k12.com/lms/content/landingpage/announcements.xhtml";
googleTrackEvent("global_nav","community_announcements", "Student");
K12.LMSUtils.showAnnouncementsPopup(url,"Announcements", "Close Announcements");
}
K12.LMSGlobal.addClearspaceAndAnnouncementsLink = function(communityMenu, clearspaceMenuItem) {
var clearspaceURL = userData['clearspaceURL'];
var hideBigThink = (clearspaceURL == undefined || clearspaceURL == null || clearspaceURL == '');
var announcementsItem = new Ext.menu.Item({
text: "Announcements",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onCommunityAnnouncements
});
//var separaterItem = new Ext.menu.Separator();
if (hideBigThink == false) {
if (clearspaceMenuItem == undefined || clearspaceMenuItem == null) {
clearspaceMenuItem = new Ext.menu.Item({
text: "thebigthinK<sup>12</sup>",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hidden : hideBigThink,
handler: K12.LMSGlobal.onBigThinkGNTracking
});
}
communityMenu.insert( 0, clearspaceMenuItem );
//communityMenu.insert( 1, separaterItem );
//var separaterItem2 = new Ext.menu.Separator();
//communityMenu.add(separaterItem2 );
if (userData['isTeacher'] == true) {
communityMenu.insert(1, announcementsItem);
} else {
communityMenu.insert(0, announcementsItem);
}
} else {
communityMenu.insert( 0, announcementsItem );
//communityMenu.insert( 1, separaterItem );
}
}
// only called from global nav
K12.LMSGlobal.onCommunityFamilyDirectoryGNTracking = function() {
googleTrackEvent("global_nav","community_family_directory", "Student");
K12.LMSGlobal.onCommunityFamilyDirectory();
}
K12.LMSGlobal.onCommunityFamilyDirectory = function() {
var lcAcctId = userData['accountId'];
var keycodeQueryString = userData['keycodeQueryString'];
var url = "http://directory.k12.com/directoryui/validateAccess.do?__actionName=view&" + keycodeQueryString;
K12.LMSGlobal.theCommunityWindow = K12.LMSGlobal.openCommunityBrowserWindow(K12.LMSGlobal.theCommunityWindow, url, 1024, 600, "Family Directory");
}
// Menu Functions
K12.LMSGlobal.showHelpMenu = function(menuId, escapedStudentInfoArrayStr) {
var helpMenu = new Ext.menu.Menu({
itemId: 'helpMenu',
items: [{
text: userData['onlinehelp'],
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onHelpIndex
}, {
text: userData['contactK12'],
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onHelpContactK12
}, {
text: userData['feedback'],
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onFeedback
}, {
text: userData['tour'],
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onHelpTour
}, {
text: userData['releasenotes'],
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onReleaseNotesTracking
}, {
text: userData['encyclopedia'],
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onEncyclopediaTracking
}]
});
if (userData['isLearningCoach'] == true) {
var menuItem = new Ext.menu.Item({
text: "My Info",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onTVMyInfoTracking
});
helpMenu.insert( 3, menuItem );
}
k12GlobalNav.showMenuAt(helpMenu, menuId, -120, K12.LMSGlobal.MENU_Y_OFFSET);
k12GlobalNav.navMenusRoundCorners(true);
k12GlobalNav.setMenuFocusItems(helpMenu, "helpMenu");
}
// only called from global nav
K12.LMSGlobal.onHelpTour = function() {
var url = "http://static.k12.com/lms_help/1001/WebHelp/quick_tours.htm";
googleTrackEvent("global_nav","feedback_quicktour", "Student");
//K12.LMSUtils.showPopup(userData['tour'], url, 800, 600);
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, null, false);
}
// only called from global nav
K12.LMSGlobal.onFeedback = function() {
var url = "http://websurveyor.net/wsb.dll/5747/FeedbackFormFinal.htm";
try
{
url = url + "?" + K12.Utils.getQueryStringFromHash( K12.Feedback.Object );
}
catch(err)
{
url = url + "?userID=10201505311";
}
url = K12.LMSUtils.updateFeedbackMappings(url);
if(K12.LMSGlobal.lastHelpWindowIsContact12 && K12.LMSGlobal.theHelpWindow != undefined) {
K12.LMSGlobal.theHelpWindow.close();
}
googleTrackEvent("global_nav","feedback", "Student");
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, null, false);
K12.LMSGlobal.lastHelpWindowIsContact12 = false;
}
// global nav function
K12.LMSGlobal.openHelpBrowserWindow = function(windowRef, url, w, h, title, rewriteUrl) {
return K12.LMSUtils.openNewBrowser(windowRef, "helppopupwindow", url, w, h, 20, 20, 0, title, rewriteUrl);
}
// Tracking function
K12.LMSGlobal.onReleaseNotesTracking = function()
{
googleTrackEvent("global_nav","feedback_release_notes", "Student");
K12.LMSGlobal.onReleaseNotes();
}
// called from global nav and quick links
K12.LMSGlobal.onReleaseNotes = function() {
var url = "http://static.k12.com/lms_release_notes/1001/index.html";
K12.LMSUtils.openBrowser(url, '_blank', url, 1024, 768);
}
// only called from global nav
K12.LMSGlobal.onHelpIndex = function() {
var url = "http://static.k12.com/lms_help/1001/WebHelp/index.htm";
googleTrackEvent("global_nav","feedback_help", "Student");
//K12.LMSUtils.showPopup(userData['onlinehelp'], url, 800, 600);
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, null, false);
}
// only called from global nav
K12.LMSGlobal.onHelpContactK12 = function() {
var url = "http://help.k12.com/";
//K12.LMSUtils.showPopup(userData['contactK12'], url, 800, 600);
googleTrackEvent("global_nav","feedback_contactk12", "Student");
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, null, false);
K12.LMSGlobal.lastHelpWindowIsContact12 = true;
}
// Tracking Function
K12.LMSGlobal.onEncyclopediaTracking = function()
{
googleTrackEvent("global_nav","feedback_encyclopedia", "Student");
K12.LMSGlobal.onEncyclopedia();
}
// called from global nav and quick links
K12.LMSGlobal.onEncyclopedia = function() {
var url = "http://online.k12.com/apps/guardian.jsp?destination=0";
if(K12.LMSGlobal.lastHelpWindowIsContact12 && K12.LMSGlobal.theHelpWindow != undefined) {
K12.LMSGlobal.theHelpWindow.close();
}
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, userData['encyclopedia']);
K12.LMSGlobal.lastHelpWindowIsContact12 = false;
}
// Tracking Function
K12.LMSGlobal.onTVMyInfoTracking = function()
{
googleTrackEvent("global_nav","feedback_total_view_myinfo", "Student");
K12.LMSGlobal.onTVMyInfo();
}
// called from global nav and quick links
K12.LMSGlobal.onTVMyInfo = function() {
var url = "https://totalviewschool.k12.com/cgi-bin/WebObjects/TotalViewFamily.woa/wa/k12KeycodeLogin?" + userData['keycodeQueryString'];
if(K12.LMSGlobal.lastHelpWindowIsContact12 && K12.LMSGlobal.theHelpWindow != undefined) {
K12.LMSGlobal.theHelpWindow.close();
}
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, "feedback_total_view_myinfo", false);
K12.LMSGlobal.lastHelpWindowIsContact12 = false;
}
// called from global nav and student plan
K12.LMSGlobal.showStudentScheduleSetup = function(stuId, onHide) {
var url = 'http://lms.k12.com/lms/content/plan/gotoScheduleSetup.xhtml?studentId=' + stuId;
var title = 'Schedule Setup';
K12.LMSUtils.showPopup(title, url, 800, 600, 'scheduleSetup-window', onHide);
}
// function called when closing schedule setup
K12.LMSGlobal.onHideScheduleSetup = function() {
var studentPlanForm = document.getElementById("studentPlanFunctionForm");
var lcLandingForm = document.getElementById("lcLandingFunctionForm");
var lcPlanPage = document.getElementById("k12LCplan");
if (studentPlanForm != null && studentPlanForm != undefined) {
refreshStudentSchedule();
} else if ( (lcLandingForm != null && lcLandingForm != undefined) || (lcPlanPage != null && lcPlanPage != undefined) ) {
refreshPageAfterScheduleSetupPopup();
} else {
if (typeof refreshAfterScheduleSetupPopup == 'function') {
refreshAfterScheduleSetupPopup();
}
}
}
// called from landing page and global nav
K12.LMSGlobal.handleLCPlannerStudentAttendance = function(item) {
var idParts = item.itemId.split('_');
var itemName = idParts[0];
var stuId = idParts[1];
//var url = "http://lms.k12.com/lms/content/attendance/gotoAttendanceDialog.xhtml?studentId=" + stuId;
//K12.LMSUtils.showPopup("Attendance", url, 800, 600);
K12.LMSUtils.showAttendanceWindow(stuId, K12.LMSGlobal.onHideAttendance)
}
// When the global attendance popup is closed, this method will refresh the
// main content page if that page has a refreshUrl variable defined.
K12.LMSGlobal.onHideAttendance = function() {
if (typeof refreshAfterAttendancePopup == 'function') {
refreshAfterAttendancePopup();
}
}
// only called from global nav
K12.LMSGlobal.onClassConnectGNTracking = function(item) {
googleTrackEvent("global_nav","plan_class_connect_sessions", "Student");
K12.LMSGlobal.onClassConnect();
}
K12.LMSGlobal.onClassConnect = function() {
K12.BusyStatus.openLink('http://lms.k12.com/lms/content/sessionlist/gotoList.xhtml');
}
// not used. moved to myaccount menu dropdown
K12.LMSGlobal.buildStudentAccountMenu = function(escapedStudentInfoArrayStr) {
var stuAcctMenuItem = null;
var studentInfoArrayStr = unescape(escapedStudentInfoArrayStr);
var infoArray = studentInfoArrayStr.split(K12.LMSGlobal.DELIM_DOUBLE_PIPE);
if (K12.LMSUtils.trim(studentInfoArrayStr) != '') {
if (infoArray.length <= K12.LMSGlobal.MAX_NUMBER_STUDENT) {
if (infoArray.length == 1) {
var studentSchoolsParts = infoArray[0].split(K12.LMSGlobal.DELIM_DOUBLE_EQUAL);
var studentInfoParts = studentSchoolsParts[0].split(K12.LMSGlobal.DELIM_DOUBLE_TILDE);
var stuName = studentInfoParts[0];
var stuId = studentInfoParts[1];
stuAcctMenuItem = new Ext.menu.Item({
text: "Student Account",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hideOnClick : true,
itemId: 'studentaccount_' + stuId,
handler : K12.LMSGlobal.openStudentAccountPageGN
});
} else {
var studentAccountsMenu = new Ext.menu.Menu({
itemId: 'studentAccountsMenu'
});
for (i = 0; i < infoArray.length; i++) {
var studentSchoolsParts = infoArray[i].split(K12.LMSGlobal.DELIM_DOUBLE_EQUAL);
var schoolsArrayStr = studentSchoolsParts[1];
var studentInfoParts = studentSchoolsParts[0].split(K12.LMSGlobal.DELIM_DOUBLE_TILDE);
var stuName = studentInfoParts[0];
var stuId = studentInfoParts[1];
var schoolArray = schoolsArrayStr.split(K12.LMSGlobal.DELIM_DOUBLE_CARET);
for (j = 0; j < schoolArray.length; j++) {
var schoolParts = schoolArray[j].split(K12.LMSGlobal.DELIM_DOUBLE_TILDE);
var schoolName = schoolParts[0];
var schoolId = schoolParts[1];
var stuMenutext = stuName;
if (schoolName != '') {
stuMenutext = stuName + " (" + schoolName + ")";
}
var item = studentAccountsMenu.add({
text: stuMenutext,
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hideOnClick : true,
itemId: 'studentaccount_' + stuId,
handler : K12.LMSGlobal.openStudentAccountPageGN
});
}
}
k12GlobalNav.setSubMenuFocusItems(studentAccountsMenu);
stuAcctMenuItem = new Ext.menu.Item({
text: "Student Accounts",
iconCls: 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hideOnClick : false,
menu: studentAccountsMenu
});
}
}
}
return stuAcctMenuItem;
}
K12.LMSGlobal.openStudentAccountPageGN = function(item) {
googleTrackEvent("global_nav","help_student_account", "Student");
var title = "Student Account";
var uri = "https://totalviewpages.k12.com/cgi-bin/WebObjects/TotalViewPages.woa/wa/profileEditor";
var idParts = item.itemId.split('_');
var studentId = idParts[1];
K12.LMSUtils.showAccountPage(title, uri, studentId);
}
K12.LMSGlobal.onSearch = function(menuId, criteriaId) {
//googleTrackEvent("global_nav","tracking.globalnav.teacher.search", "Student");
//K12.BusyStatus.openLink(url);
var accountRole = "Student";
var hideTeacherItem = (accountRole != 'Administrator');
var teacherSearchMenu = new Ext.menu.Menu({
itemId: 'teacherSearchMenu',
items: ['<b class="search_menu_title">Search for:</b>',
{
text: "Students",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
searchRole: 'st',
criteriaId: criteriaId,
handler: K12.LMSGlobal.onSearchGNTracking
}, {
text: "Learning Coaches",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
searchRole: 'lc',
criteriaId: criteriaId,
handler: K12.LMSGlobal.onSearchGNTracking
}, {
text: "Teachers",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hidden: hideTeacherItem,
searchRole: 'te',
criteriaId: criteriaId,
handler: K12.LMSGlobal.onSearchGNTracking
}]
});
if( K12.isIE )
{
k12GlobalNav.showMenuAt(teacherSearchMenu, menuId, -100, 40);
}
else
{
k12GlobalNav.showMenuAt(teacherSearchMenu, menuId, -100, 25);
}
k12GlobalNav.navMenusRoundCorners(true);
}
K12.LMSGlobal.onSearchGNTracking = function(item) {
var accountRole = "Student";
var searchRole = item['searchRole'];
var trackingName = "globalnav_search";
var url = "";
var searchElementId =item['criteriaId'];
var searchCriteria = document.getElementById(searchElementId).value;
// escape special characters
searchCriteria = escape(searchCriteria);
while (searchCriteria.indexOf("+") != -1) {
searchCriteria = searchCriteria.replace("+","%2B");
}
if (searchRole == 'st') {
trackingName = "globalnav_search_st";
url = userData['basePath'] + "/content/search/gotoSearchStudentResult.xhtml?init=true&searchCriteria=" + searchCriteria;
} else if (searchRole == 'lc') {
trackingName = "globalnav_search_lc";
url = userData['basePath'] + "/content/search/gotoSearchLCResult.xhtml?init=true&searchCriteria=" + searchCriteria;
} else if (searchRole == 'te') {
trackingName = "globalnav_search_te";
url = userData['basePath'] + "/content/search/gotoSearchTeacherResult.xhtml?init=true&searchCriteria=" + searchCriteria;
}
googleTrackEvent("global_nav", trackingName, accountRole);
K12.BusyStatus.openLink(url);
}
K12.LMSGlobal.onTeacherHelpDesk = function() {
var url = "https://sas.elluminate.com/site/external/launch/meeting.jnlp?sid=559&password=M.E3288DD704D7A585576D20EF6F86A3";
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, "Teacher Help Desk");
}
K12.LMSGlobal.onTeacherTraining = function() {
var url = "http://k12training.com/";
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, "Teacher Training", false);
}
K12.LMSGlobal.onTeacherEffectiveness = function() {
var url = "http://teacherhelp.k12.com/";
K12.LMSGlobal.theHelpWindow = K12.LMSGlobal.openHelpBrowserWindow(K12.LMSGlobal.theHelpWindow, url, 1024, 600, "Contact Teacher Effectiveness", false);
}
K12.LMSGlobal.showMyAccountMenu = function(menuId) {
var myAccountMenu = new Ext.menu.Menu({
itemId: 'myAccountMenu',
minWidth: 180,
items: [{
text: "My Account",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.openMyAccountPopup
} ]
});
var myTimezoneSettingsItem = new Ext.menu.Item({
text: "Time Zone Settings",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSUtils.openMyTimeZonePopup
});
myAccountMenu.add(myTimezoneSettingsItem);
myAccountMenu.addClass('k12_menu_remove_depth');
k12GlobalNav.showMenuAt(myAccountMenu, menuId, -63, 17);
k12GlobalNav.navMenusRoundCorners(true);
//k12GlobalNav.setMenuFocusItems(myAccountMenu, "myAccountMenu");
}
//]]>
</script>
<script language="javascript">
//<![CDATA[
K12.LMSStudent = {};
// global nav only
K12.LMSStudent.showStudentPlannerMenu = function(menuId, studentId) {
//alert(studentId);
var olddiv = document.getElementById("stuPlannerMenu");
if( olddiv != null )
{
olddiv.parentNode.removeChild(olddiv);
}
var stuPlannerMenu = new Ext.menu.Menu({
itemId: 'plannerMenu',
minWidth: 200,
items: []
});
stuPlannerMenu.add({
text: "Daily Plan",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
//href: "http://lms.k12.com/lms/content/plan/student/studentPlan.xhtml?view=st&selectedTab=daily&studentId=" + studentId
itemId: 'daily_' + studentId,
handler: K12.LMSGlobal.handlePlannerStudentDailyTracking
});
stuPlannerMenu.add({
text: "Weekly Plan",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
//handler : K12.BusyStatus.show,
//href: "http://lms.k12.com/lms/content/plan/student/studentPlan.xhtml?view=st&selectedTab=weekly&studentId=" + studentId
itemId: 'weekly_' + studentId,
handler: K12.LMSGlobal.handlePlannerStudentWeeklyTracking
});
if(K12.LMSGlobal.isClassConnectEnabled == 'true')
{
stuPlannerMenu.add({
text: "Class Connect Sessions",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onClassConnectGNTracking
});
}
stuPlannerMenu.add({
text: "Materials for Today",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSStudent.handleStudentPlannerMaterials
});
stuPlannerMenu.add({
text: "Advance Prep for Today",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSStudent.handleStudentPlannerAdvancePrep
});
k12GlobalNav.showMenuAt(stuPlannerMenu, menuId, -70, K12.LMSGlobal.MENU_Y_OFFSET);
k12GlobalNav.navMenusRoundCorners(true);
k12GlobalNav.setMenuFocusItems(stuPlannerMenu, "plannerMenu");
}
// only used in Nav once
K12.LMSStudent.handleStudentPlannerMaterials = function() {
//var stuIdEl = Ext.get("studentID");
var stuAcctID = '10201505311';
googleTrackEvent("global_nav","materials", "Student");
K12.LMSGlobal.showStudentMaterialsPopup(stuAcctID);
}
// only used in Nav once
K12.LMSStudent.handleStudentPlannerAdvancePrep = function() {
var stuAcctID = '10201505311';
googleTrackEvent("global_nav","advprep", "Student");
K12.LMSGlobal.showStudentAdvancePrepPopup(stuAcctID);
}
K12.LMSStudent.showStudentProgressMenu = function(menuId, stuCoursesStr) {
stuCoursesStr = unescape(stuCoursesStr);
var studentSchoolBean = Ext.decode(stuCoursesStr);
var coursesMenu = K12.LMSGlobal.buildStudentProgressCoursesMenu( studentSchoolBean, 'stuProgressMenu');
k12GlobalNav.showMenuAt(coursesMenu, menuId, -70, K12.LMSGlobal.MENU_Y_OFFSET);
k12GlobalNav.navMenusRoundCorners(true);
k12GlobalNav.setMenuFocusItems(coursesMenu, "progressMenu");
}
K12.LMSStudent.showStudentCoursesMenu = function(menuId, stuCoursesStr) {
stuCoursesStr = unescape(stuCoursesStr);
var studentSchoolBean = Ext.decode(stuCoursesStr);
var coursesMenu = K12.LMSGlobal.buildStudentProgressCoursesMenu( studentSchoolBean, 'stuProgressMenu', true, true, false, true);
k12GlobalNav.showMenuAt(coursesMenu, menuId, -70, K12.LMSGlobal.MENU_Y_OFFSET);
k12GlobalNav.navMenusRoundCorners(true);
k12GlobalNav.setMenuFocusItems(coursesMenu, "coursesMenu");
}
// Menu building functions
K12.LMSStudent.showStudentKMailMenu = function(menuId, studentId) {
//alert(studentId);
var stuKMailMenu = K12.LMSGlobal.buildKMailMenu(menuId, studentId);
stuKMailMenu.add({ text: "Contact My Teachers",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSStudent.onStudentMenuItemContactTeacherTracking
});
k12GlobalNav.showMenuAt(stuKMailMenu, menuId, -70, K12.LMSGlobal.MENU_Y_OFFSET);
k12GlobalNav.navMenusRoundCorners(true);
k12GlobalNav.setMenuFocusItems(stuKMailMenu, "kmailMenu");
}
// Tracking Function
K12.LMSStudent.onStudentMenuItemContactTeacherTracking = function() {
googleTrackEvent("global_nav","contact_teachers", "Student");
K12.LMSUtils.showContactTeachersPopup();
}
K12.LMSStudent.showStudentCommunityMenu = function(menuId, studentId, schoolUrl, schoolname) {
var navianceURL = userData['navianceURL'];
var hideFamilyConnection = (navianceURL == undefined || navianceURL == null || navianceURL == '');
var hideSchoolSite = (schoolUrl == undefined || schoolUrl == null || schoolUrl == '');
var connecteduURL = userData['connecteduURL'];
var hidePathfinder = (connecteduURL == undefined || connecteduURL == null || connecteduURL == '');
var stuCommunityMenu = new Ext.menu.Menu({
itemId: 'stuCommunityMenu',
minWidth: 180,
items: [{
text: "Pathfinder",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hidden: hidePathfinder,
handler: K12.LMSGlobal.onConnectedu
},{
text: "Family Connection",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hidden: hideFamilyConnection,
handler: K12.LMSGlobal.onFamilyConnection
}, /*{
text: "My School Site",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
hidden: hideSchoolSite,
id: schoolname +'__' + schoolUrl,
handler: onStudentCommunityMySchool
},*/ {
text: "K<sup>12</sup> Store",
iconCls : 'menuItemIcon',
activeClass : 'k12_lms_item_active',
handler: K12.LMSGlobal.onCommunityK12Store
}]
});
K12.LMSGlobal.addClearspaceAndAnnouncementsLink(stuCommunityMenu);
k12GlobalNav.showMenuAt(stuCommunityMenu, menuId, -63, K12.LMSGlobal.MENU_Y_OFFSET);
k12GlobalNav.navMenusRoundCorners(true);
k12GlobalNav.setMenuFocusItems(stuCommunityMenu, "communityMenu");
}
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
var gmtOffsetMinutes = (new Date()).getTimezoneOffset();
var userData = [];
userData['keycode'] = 'O9Q9E9C9M9U929G9H929I9W-89K-7-9-V-29M9E9N9290929F9L-U97-I97-K-1-3---D9N9B9E9I9';
userData['clearspaceURL'] = '';
userData['keycodeQueryString'] = 'keyCode=O9Q9E9C9M9U929G9H929I9W-89K-7-9-V-29M9E9N9290929U9L-U97-I97-K-1-3---D9N9B9E9F9';
userData['navianceURL'] = '';
userData['connecteduURL'] = '';
userData['accountId'] = "10201505311";
userData['isLearningCoach'] = false;
userData['isTeacher'] = false;
userData['isStudent'] = true;
userData['isAdministrator'] = false;
userData['feedback'] = "Feedback";
userData['tour'] = "OLS Quick Tours";
userData['releasenotes'] = "What's New in the OLS";
userData['onlinehelp'] = "Online Help";
userData['encyclopedia'] = "Grolier's Encyclopedia";
userData['contactK12'] = "Contact K<sup>12</sup> Support";
userData['basePath'] = "http://lms.k12.com/lms";
// Set Feedback User Info
K12.Feedback.initUserInfo('1001','10201505311','Richard','Baker', '', '4803544132');
K12.Feedback.initSchoolInfo('1020');
// Functions for global nav
function onmouseoverLink(imgId, textId, overImg) {
return K12.LMSUtils.mouseOverImgText('http://lms.k12.com/lms', imgId, textId, overImg, '#3399ff');
}
function onmouseoutLink(imgId, textId, outImg) {
return K12.LMSUtils.mouseOutImgText('http://lms.k12.com/lms', imgId, textId, outImg, '#616161');
}
function onmouseoverMenu(elementId) {
document.getElementById(elementId).style.color='#3399ff'; return true;
}
function onmouseoutMenu(elementId) {
document.getElementById(elementId).style.color='#616161'; return true;
}
// Function isn't called
function openKMailBrowserWindow (windowRef, url, w, h) {
return K12.LMSUtils.openNewBrowser(windowRef, "Inbox", url, w, h, 20, 20, 0);
}
// not called. Tracking Function
function showKMailInboxTrackingButton()
{
googleTrackEvent("global_nav","kmail_button", "Student");
showKMailInbox();
}
// called from nav and teacher popups
function onKMailMenuItemNewMsg() {
sendKMail();
}
// called from multipe sources
function sendKMail(recipientAccountIDs, mergeMode) {
K12.LMSUtils.newKMail("K-Mail", "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/newKMail", recipientAccountIDs, mergeMode);
}
// Function not called
function sendKMailCheckSize(recipientAccountIDs) {
var recipientCount = recipientAccountIDs.split(',').length;
if (recipientCount > K12.LMSUtils.MAX_KMAIL_RECIPIENT) {
Ext.MessageBox.alert('', "Sending K-Mail to all the Students and Learning Coaches you've selected exceeds the limit of sending 500 K-Mail at one time. <br/><br/> Please reduce the number of students you've selected by at least "+(recipientCount - K12.LMSUtils.MAX_KMAIL_RECIPIENT) +" and try again..");
return false;
}
sendKMail(recipientAccountIDs);
}
// Function called by teacher landing page and alert list item
function sendKMailByGateway(recipientAccountIDs, size, isLC) {
var recipientCount = size;
if (size == null || size == undefined) {
var idParts = recipientAccountIDs.split(',');
recipientCount = idParts.length;
}
if (recipientCount > K12.LMSUtils.MAX_KMAIL_RECIPIENT) {
var errormsg = "Sending K-Mail to all the Students and Learning Coaches you've selected exceeds the limit of sending 500 K-Mail at one time.";
if (isLC == true) {
errormsg = "Sending K-Mail to the Learning Coaches for all selected students exceeds the limit of sending 500 K-Mail at one time.";
}
errormsg += "<br/><br/>Please reduce the number of selections by at least " + (recipientCount - K12.LMSUtils.MAX_KMAIL_RECIPIENT) + " and try again.";
Ext.MessageBox.alert('', errormsg);
return false;
}
var gmtOffsetMinutes = (new Date()).getTimezoneOffset();
var keycodeParamNm = "senderKeycode";
gotoCreateKMailGateway(recipientAccountIDs, gmtOffsetMinutes);
}
function sendKMailWithKeyCodeByGateway(recipientAccountIDs,senderKeyCode,size,isLC) {
var recipientCount = size;
if (size == null || size == undefined) {
var idParts = recipientAccountIDs.split(',');
recipientCount = idParts.length;
}
if (recipientCount > K12.LMSUtils.MAX_KMAIL_RECIPIENT) {
var errormsg = "Sending K-Mail to all the Students and Learning Coaches you've selected exceeds the limit of sending 500 K-Mail at one time.";
if (isLC == true) {
errormsg = "Sending K-Mail to the Learning Coaches for all selected students exceeds the limit of sending 500 K-Mail at one time.";
}
errormsg += "<br/><br/>Please reduce the number of selections by at least " + (recipientCount - K12.LMSUtils.MAX_KMAIL_RECIPIENT) + " and try again.";
Ext.MessageBox.alert('', errormsg);
return false;
}
var gmtOffsetMinutes = (new Date()).getTimezoneOffset();
var keycodeParamNm = "senderKeycode";
gotoCreateKMailGateway(recipientAccountIDs, gmtOffsetMinutes, null, senderKeyCode);
}
// Function not called
function sendKMailLCCheckSize(recipientAccountIDs) {
var recipientCount = recipientAccountIDs.split(',').length;
if (recipientCount > K12.LMSUtils.MAX_KMAIL_RECIPIENT) {
Ext.MessageBox.alert('', "Sending K-Mail to the Learning Coaches for all selected students exceeds the limit of sending 500 K-Mail at one time. <br/><br/> Please reduce the number of selections by at least "+(recipientCount - K12.LMSUtils.MAX_KMAIL_RECIPIENT) +" and try again.");
return false;
}
sendKMail(recipientAccountIDs);
}
// function not called
function createKMailNoteCheckSize(aboutAccountIDs) {
var recipientCount = aboutAccountIDs.split(',').length;
if (recipientCount > K12.LMSUtils.MAX_KMAIL_RECIPIENT) {
Ext.MessageBox.alert('', "Adding Notes to all the Students you've selected exceeds the limit of adding 500 notes at one time. <br/><br/> Please reduce the number of students you've selected by at least "+(recipientCount - K12.LMSUtils.MAX_KMAIL_RECIPIENT) +" and try again.");
return false;
}
createKMailNote(aboutAccountIDs);
}
// called from menu action scripts
function createKMailNoteByGateway(aboutAccountIDs) {
var recipientCount = aboutAccountIDs.split(',').length;
if (recipientCount > K12.LMSUtils.MAX_KMAIL_RECIPIENT) {
Ext.MessageBox.alert('', "Adding Notes to all the Students you've selected exceeds the limit of adding 500 notes at one time. <br/><br/> Please reduce the number of students you've selected by at least "+(recipientCount - K12.LMSUtils.MAX_KMAIL_RECIPIENT) +" and try again.");
return false;
}
var gmtOffsetMinutes = (new Date()).getTimezoneOffset();
var keycodeParamNm = "senderKeycode";
gotoCreateKMailGateway(aboutAccountIDs, gmtOffsetMinutes, 'note');
}
// called from menu action script and inside global nav
function createKMailNote(aboutAccountIDs) {
var uri = "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/newNote?noteType=0" +
"&gmtOffsetMinutes=" + gmtOffsetMinutes;
if (aboutAccountIDs != null && typeof aboutAccountIDs != 'undefined') {
uri += "&aboutAccountIDs=" + aboutAccountIDs;
}
//K12.LMSGlobal.theKMailWindow = K12.LMSUtils.openKMailBrowser(K12.LMSGlobal.theKMailWindow, uri, "senderKeycode");
K12.LMSUtils.openKMailPopup("K-Mail", uri, "senderKeycode");
}
// called from teacher nav and student details
function seeLastNote(accountID) {
var uri = "https://kmail.k12.com/cgi-bin/WebObjects/KMail.woa/wa/k12KeycodeLogin?gmtOffsetMinutes=" + gmtOffsetMinutes +
"&mailBox=notes";
if (accountID != null && typeof accountID != 'undefined') {
uri += "¬eAccountID=" + accountID;
}
K12.LMSUtils.openKMailBrowserByPerference(uri);
}
// called from teacher content
function onClassConnect() {
K12.LMSUtils.showClassConnectWindowFromGlobalNav(null);
}
// Functions for LC global nav
// Function not called
function handleLCPlannerDailyPlanRollup(item) {
googleTrackEvent("global_nav","plan_learning_coach_rollup", "Student");
location.href = K12.rewriteUrl("http://lms.k12.com/lms/content/index.html");
}
// no tracking needed
function refreshPageAfterScheduleSetupPopup() {
K12.BusyStatus.show();
var sURL = unescape(window.location.pathname);
window.location.replace( K12.rewriteUrl(sURL) );
}
// Tracking function from Landingpage - LC Student Dropdown
function handleLCPlannerStudentAttendanceLPTracking(item)
{
googleTrackEvent("global_nav","student_attendance", "Student")
K12.LMSGlobal.handleLCPlannerStudentAttendance(item);
}
var k12GlobalNav = new Object();
k12GlobalNav.setMenuFocusItems = function(objMenu, strClassName) {
document.getElementById("k12_global_nav_" + strClassName + "-on").style.display = "block";
objMenu.on('beforehide', function(){(document.getElementById("k12_global_nav_" + strClassName + "-on").style.display="none");});
}
k12GlobalNav.setSubMenuFocusItems = function(objMenu) {
objMenu.on('show', function(){k12GlobalNav.navSubMenusRoundCorners(true); objMenu.getEl().setY( objMenu.getEl().getY()-10 );});
}
k12GlobalNav.navMenusRoundCorners = function(blnSelection) {
var classType = '';
if (blnSelection == true) {
var divArray = document.getElementsByTagName("DIV");
for(i=0;i<divArray.length;i++) {
if (divArray[i].className == 'x-layer x-menu' || divArray[i].className == 'x-layer x-menu k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-layer x-menu k12_menu_remove_depth' || divArray[i].className == 'x-layer x-menu k12_menu_remove_depth k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_menu_remove_depth' || divArray[i].className == 'x-menu x-menu-floating x-layer x-repaint' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_ext_menu_height_overflow_cls x-repaint' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_menu_remove_depth k12_ext_menu_height_overflow_cls x-repaint' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_menu_remove_depth k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_menu_remove_depth x-repaint' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_ext_menu_height_overflow_cls x-repaint') {
if (document.all) {
if ( K12.isIE8 || K12.isIE9)
{
classType = 'class';
} else {
classType = 'className';
}
} else {
classType = 'class';
}
if (divArray[i].childNodes[0].getAttribute(classType) == 'x-menu-focus') {
var divNode_1 = document.createElement("div");
divNode_1.setAttribute(classType, "k12_bottom_right_corner");
var divNode_2 = document.createElement("div");
divNode_2.setAttribute(classType, "k12_bottom_left_corner");
var divNode_3 = document.createElement("div");
divNode_3.setAttribute(classType, "k12_bottom_middle");
divArray[i].appendChild(divNode_1);
divArray[i].appendChild(divNode_2);
divArray[i].appendChild(divNode_3);
var divNode_4 = document.createElement("div");
divNode_4.setAttribute(classType, "k12_top_right_corner");
var divNode_5 = document.createElement("div");
divNode_5.setAttribute(classType, "k12_top_left_corner");
var divNode_6 = document.createElement("div");
divNode_6.setAttribute(classType, "k12_top_middle");
divNode_6.innerHTML = '<img src="/" class="k12_dummy_image"/>';
divArray[i].insertBefore(divNode_6, divArray[i].childNodes[0]);
divArray[i].insertBefore(divNode_5, divArray[i].childNodes[0]);
divArray[i].insertBefore(divNode_4, divArray[i].childNodes[0]);
}
}
}
}
}
k12GlobalNav.navSubMenusRoundCorners = function(blnSelection) {
var classType = '';
if (blnSelection == true) {
var divArray = document.getElementsByTagName("DIV");
for(i=0;i<divArray.length;i++) {
if (divArray[i].className == 'x-layer x-menu' || divArray[i].className == 'x-layer x-menu k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_menu_remove_depth' || divArray[i].className == 'x-menu x-menu-floating x-layer x-repaint' || divArray[i].className == 'x-menu x-menu-floating x-layer x-repaint k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer x-repaint k12_menu_remove_depth k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_menu_remove_depth k12_ext_menu_height_overflow_cls' || divArray[i].className == 'x-menu x-menu-floating x-layer k12_ext_menu_height_overflow_cls x-repaint') {
if (document.all) {
if ( K12.isIE8 || K12.isIE9)
{
classType = 'class';
} else {
classType = 'className';
}
} else {
classType = 'class';
}
if (divArray[i].childNodes[0].getAttribute(classType) == 'x-menu-focus') {
var divNode_1 = document.createElement("div");
divNode_1.setAttribute(classType, "k12_bottom_right_corner");
var divNode_2 = document.createElement("div");
divNode_2.setAttribute(classType, "k12_bottom_left_corner");
var divNode_3 = document.createElement("div");
divNode_3.setAttribute(classType, "k12_bottom_middle");
divArray[i].appendChild(divNode_1);
divArray[i].appendChild(divNode_2);
divArray[i].appendChild(divNode_3);
var divNode_4 = document.createElement("div");
divNode_4.setAttribute(classType, "k12_top_right_corner");
var divNode_5 = document.createElement("div");
divNode_5.setAttribute(classType, "k12_top_left_corner");
var divNode_6 = document.createElement("div");
divNode_6.setAttribute(classType, "k12_top_middle");
divNode_6.innerHTML = '<img src="/" class="k12_dummy_image"/>';
divArray[i].insertBefore(divNode_6, divArray[i].childNodes[0]);
divArray[i].insertBefore(divNode_5, divArray[i].childNodes[0]);
divArray[i].insertBefore(divNode_4, divArray[i].childNodes[0]);
}
}
}
}
}
k12GlobalNav.showMenuAt = function(menuObj, menuId, xOffset, yOffset) {
// XY gets the upper left corner
// add an offset to the XY cords if needed
var currXY = Ext.get(menuId).getXY();
var newX = currXY[0] + xOffset;
var newY = currXY[1] + yOffset;
if ( K12.isIE )
{
newY = newY - 15;
}
var newXY = [newX,newY];
if (K12.isChrome || K12.isSafari || K12.isIE9) {
menuObj.showAt(newXY);
} else {
var menuAnchorId = menuId + "_anchor";
Ext.get(menuAnchorId).setXY(newXY);
menuObj.show(menuAnchorId, "tl-bl");
}
}
function mainNavRollOver(obj,iType) {
var objSrc = obj.src;
if (iType == 1) {
var objArray = objSrc.split('.png');
obj.src = objArray[0] + "_animate.gif";
} else if (iType == 0) {
var objArray = objSrc.split('_animate.gif');
obj.src = objArray[0] + ".png";
} else if (iType == 2) {
var objArray = objSrc.split('.png');
obj.src = objArray[0] + "_teacher_roll.png";
} else if (iType == 3) {
var objArray = objSrc.split('_teacher_roll.png');
obj.src = objArray[0] + ".png";
}
}
//]]>
</script><span id="globalnavPanel">
<script type="text/javascript">
var escapedCoursesString = "{\%22suspended\%22:false,\%22studentName\%22:\%22Richard\%22,\%22studentId\%22:10201505311,\%22schoolName\%22:\%22AZVA\%22,\%22courses\%22:[{\%22name\%22:\%22Fundamentals of Geometry and Algebra AZ\%22,\%22id\%22:500405,\%22subcourses\%22:null,\%22subcourseId\%22:null,\%22locationId\%22:2,\%22platformId\%22:1},{\%22name\%22:\%22Intermediate Language Skills A\%22,\%22id\%22:150023,\%22subcourses\%22:[{\%22name\%22:\%22Composition\%22,\%22id\%22:161},{\%22name\%22:\%22GUM\%22,\%22id\%22:157},{\%22name\%22:\%22Vocabulary\%22,\%22id\%22:159}],\%22subcourseId\%22:161,\%22locationId\%22:1,\%22platformId\%22:1},{\%22name\%22:\%22Intermediate Literature A\%22,\%22id\%22:150021,\%22subcourses\%22:null,\%22subcourseId\%22:155,\%22locationId\%22:1,\%22platformId\%22:1},{\%22name\%22:\%22Earth Science\%22,\%22id\%22:120017,\%22subcourses\%22:null,\%22subcourseId\%22:638,\%22locationId\%22:1,\%22platformId\%22:1},{\%22name\%22:\%22American History A\%22,\%22id\%22:500164,\%22subcourses\%22:null,\%22subcourseId\%22:null,\%22locationId\%22:2,\%22platformId\%22:1},{\%22name\%22:\%22Intermediate Art: American A\%22,\%22id\%22:130014,\%22subcourses\%22:null,\%22subcourseId\%22:150,\%22locationId\%22:1,\%22platformId\%22:1},{\%22name\%22:\%22Strategies For Success: Grade 6\%22,\%22id\%22:230015,\%22subcourses\%22:null,\%22subcourseId\%22:435,\%22locationId\%22:1,\%22platformId\%22:1}],\%22schoolId\%22:1020,\%22otherCourses\%22:[{\%22name\%22:\%22Latin Middle School Year 1\%22,\%22id\%22:200356,\%22subcourses\%22:null,\%22subcourseId\%22:null,\%22locationId\%22:1,\%22platformId\%22:3}]}";
</script>
<div class="k12_global_nav_holder">
<form id="lcHeaderForm" name="lcHeaderForm" method="post" action="/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="lcHeaderForm" value="lcHeaderForm" />
<script id="lcHeaderForm:j_id73" type="text/javascript">//<![CDATA[
getCurrentNavianceUserURL=function(){A4J.AJAX.Submit('lcHeaderForm',null,{'oncomplete':function(request,event,data){K12.LMSGlobal.onFamilyConnectionCallBack('');return false;},'similarityGroupingId':'lcHeaderForm:j_id73','parameters':{'lcHeaderForm:j_id73':'lcHeaderForm:j_id73'} ,'actionUrl':'/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2'} )};
//]]></script><script id="lcHeaderForm:j_id74" type="text/javascript">//<![CDATA[
getCurrentConnecteduUserURL=function(){A4J.AJAX.Submit('lcHeaderForm',null,{'oncomplete':function(request,event,data){K12.LMSGlobal.onConnecteduCallBack('');return false;},'similarityGroupingId':'lcHeaderForm:j_id74','parameters':{'lcHeaderForm:j_id74':'lcHeaderForm:j_id74'} ,'actionUrl':'/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2'} )};
//]]></script>
<div class="k12_global_nav_container">
<div class="k12_global_nav_k12_icon"></div>
<div class="k12_global_nav_right_container">
<div class="k12_global_nav_top_row">
<div class="k12_global_nav_name_container">
<span class="k12_global_nav_welcome_text"><span id="lcHeaderForm:welcomemsg" title="Welcome">Welcome,</span>
</span>
<span class="k12_global_nav_name_text"><span id="lcHeaderForm:namemsg" title="Richard (Student)">Richard</span>
</span>
</div>
<div class="k12_global_nav_top_links_holder">
<div style="float:left;"><div id="lcHeaderForm:j_id78" style="float:left;">
<a href="javascript:void(0);" onclick="K12.LMSGlobal.openMyAccountPopup();" id="myaccount" title="Go to My Account">My Account</a></div>
<span style="padding: 0 7px;">|</span>
</div>
<div style="float:left;">
<a href="http://login-learn.k12.com/accessui/login.do?__actionName=view" id="newLogin" title="Login to the Online School in a new window" onclick="googleTrackEvent('global_nav', 'newlogin', 'Student');" target="_blank">New Log In</a>
<span style="padding: 0 7px;">|</span>
</div>
<a href="javascript:void(0);" title="Log Out of the Online School" onclick="googleTrackEvent('global_nav','logout', 'Student'); K12.BusyStatus.openLink('http://lms.k12.com/lms/public/invokeLogout.xhtml'); ">
Log Out
</a>
</div>
</div>
<a id="kmailLink" onclick="googleTrackEvent('global_nav', 'newlogin', 'Student');" target="_blank" style="display: none;">New Log In</a>
<div class="k12_global_nav_bottom_row">
<!-- ================================================================================================== -->
<!-- Student menus -->
<!-- ================================================================================================== --><div id="lcHeaderForm:j_id95">
<script language="javascript">
//<![CDATA[
//]]>
</script>
<div class="k12_global_nav_home_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="home" onclick="K12.LMSGlobal.onclickHome()" title="Go to your OLS Homepage" class="k12_global_nav_menu_img"><span id="lcHeaderForm:home_menulabel">Home </span><span id="lcHeaderForm:home_menulabel_anchor"></span>
</a>
</div>
</div>
<div class="k12_global_nav_plan_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="plan" onclick="K12.LMSStudent.showStudentPlannerMenu('lcHeaderForm:plan_menulabel', '10201505311');" title="Go to My Plan" class="k12_global_nav_menu_img"><span id="lcHeaderForm:plan_menulabel">Plan </span><span id="lcHeaderForm:plan_menulabel_anchor"></span><img id="lcHeaderForm:plan_arrowImg" src="/lms/images/themes/k12_lms/global_nav/LMS_Nav_bluearrow.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</a>
</div>
<div id="k12_global_nav_plannerMenu-on" class="k12_global_nav_menu-on k12_global_nav_plannerMenu-on">
<div class="k12_menu_left_border"></div>
<div class="k12_menu_right_border"></div>
</div>
</div>
<div class="k12_global_nav_progress_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="progress" onclick="K12.LMSStudent.showStudentProgressMenu('lcHeaderForm:progress_menulabel', escapedCoursesString);" title="Go to My Progress" class="k12_global_nav_menu_img"><span id="lcHeaderForm:progress_menulabel">Progress </span><span id="lcHeaderForm:progress_menulabel_anchor"></span><img id="lcHeaderForm:progress_arrowImg" src="/lms/images/themes/k12_lms/global_nav/LMS_Nav_bluearrow.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</a>
</div>
<div id="k12_global_nav_progressMenu-on" class="k12_global_nav_menu-on k12_global_nav_progressMenu-on">
<div class="k12_menu_left_border"></div>
<div class="k12_menu_right_border"></div>
</div>
</div>
<div class="k12_global_nav_courses_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="courses" onclick="K12.LMSStudent.showStudentCoursesMenu('lcHeaderForm:courses_menulabel', escapedCoursesString);" title="Go to My Course Lesson Lists" class="k12_global_nav_menu_img"><span id="lcHeaderForm:courses_menulabel">Courses </span><span id="lcHeaderForm:courses_menulabel_anchor"></span><img id="lcHeaderForm:courses_arrowImg" src="/lms/images/themes/k12_lms/global_nav/LMS_Nav_bluearrow.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</a>
</div>
<div id="k12_global_nav_coursesMenu-on" class="k12_global_nav_menu-on k12_global_nav_coursesMenu-on">
<div class="k12_menu_left_border"></div>
<div class="k12_menu_right_border"></div>
</div>
</div>
<div class="k12_global_nav_kmail_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="kmail" onclick="K12.LMSStudent.showStudentKMailMenu('lcHeaderForm:kmail_menulabel', '10201505311');" title="Go to K-Mail & Contact my teachers" class="k12_global_nav_menu_img"><span id="lcHeaderForm:kmail_menulabel">K-Mail </span><span id="lcHeaderForm:kmail_menulabel_anchor"></span><img id="lcHeaderForm:kmail_arrowImg" src="/lms/images/themes/k12_lms/global_nav/LMS_Nav_bluearrow.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</a>
</div>
<div id="k12_global_nav_kmailMenu-on" class="k12_global_nav_menu-on k12_global_nav_kmailMenu-on">
<div class="k12_menu_left_border"></div>
<div class="k12_menu_right_border"></div>
</div>
</div>
<div class="k12_global_nav_community_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="community" onclick="K12.LMSStudent.showStudentCommunityMenu('lcHeaderForm:community_menulabel', '10201505311', '', 'Arizona Virtual Academy');" title="Go to My K12 Community" class="k12_global_nav_menu_img"><span id="lcHeaderForm:community_menulabel">Community </span><span id="lcHeaderForm:community_menulabel_anchor"></span><img id="lcHeaderForm:community_arrowImg" src="/lms/images/themes/k12_lms/global_nav/LMS_Nav_bluearrow.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</a>
</div>
<div id="k12_global_nav_communityMenu-on" class="k12_global_nav_menu-on k12_global_nav_communityMenu-on">
<div class="k12_menu_left_border"></div>
<div class="k12_menu_right_border"></div>
</div>
</div>
<div class="k12_global_nav_help_container">
<div class="k12_global_nav_menu_img_holder">
<a href="javascript:void(0);" id="help" onclick="K12.LMSGlobal.showHelpMenu('lcHeaderForm:help_menulabel');" title="Get Help & Contact K12" class="k12_global_nav_menu_img"><span id="lcHeaderForm:help_menulabel">Help </span><span id="lcHeaderForm:help_menulabel_anchor"></span><img id="lcHeaderForm:help_arrowImg" src="/lms/images/themes/k12_lms/global_nav/LMS_Nav_bluearrow.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" />
</a>
</div>
<div id="k12_global_nav_helpMenu-on" class="k12_global_nav_menu-on k12_global_nav_helpMenu-on">
<div class="k12_menu_left_border"></div>
<div class="k12_menu_right_border"></div>
</div>
</div></div>
<!-- ================================================================================================== -->
<!-- Learning coach menus -->
<!-- ================================================================================================== -->
<!-- ================================================================================================== -->
<!-- Teacher menus -->
<!-- ================================================================================================== -->
<!-- ================================================================================================== -->
<!-- Administrator menus -->
<!-- ================================================================================================== -->
</div>
</div>
</div><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" />
</form>
</div></span>
<div class="body-container" style="padding: 0; float: left;" id="k12_body_container"><form id="landingpageFunctionForm" name="landingpageFunctionForm" method="post" action="/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2"><script id="landingpageFunctionForm:j_id280" type="text/javascript">//<![CDATA[
hidePrivacyPolicy=function(){A4J.AJAX.Submit('landingpageFunctionForm',null,{'similarityGroupingId':'landingpageFunctionForm:j_id280','parameters':{'landingpageFunctionForm:j_id280':'landingpageFunctionForm:j_id280','ajaxSingle':'landingpageFunctionForm:j_id280'} ,'actionUrl':'/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2'} )};
//]]></script><input type="hidden" autocomplete="off" name="landingpageFunctionForm" value="landingpageFunctionForm" /><input type="hidden" autocomplete="off" name="autoScroll" value="" /><input type="hidden" autocomplete="off" name="landingpageFunctionForm:j_idcl" value="" /><input type="hidden" autocomplete="off" name="landingpageFunctionForm:_link_hidden_" value="" /><script type="text/javascript">function clear_landingpageFunctionForm() {
_clearJSFFormParameters('landingpageFunctionForm','',['landingpageFunctionForm:j_idcl','landingpageFunctionForm:_link_hidden_']);
}
function clearFormHiddenParams_landingpageFunctionForm(){clear_landingpageFunctionForm();}
function clearFormHiddenParams_landingpageFunctionForm(){clear_landingpageFunctionForm();}
clear_landingpageFunctionForm();</script><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" /></form>
<div class="k12_landingpage_container">
<div class="k12_landingpage_top_holder">
</div>
</div>
<div class="k12_landingpage_body_holder">
<table class="k12_landingpage_body_holder_1" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" class="k12_landingpage_notifications_rail">
<script type="text/javascript">
//<![CDATA[
function mouseOver(imgId, linkId, overImg) {
return K12.LMSUtils.mouseOverImgText('http://lms.k12.com/lms', imgId, linkId, overImg, '#3399ff');
}
function mouseOut(imgId, linkId, outImg) {
return K12.LMSUtils.mouseOutImgText('http://lms.k12.com/lms', imgId, linkId, outImg, '#ffffff');
}
function onAnnouncement(announId) {
var url = "http://lms.k12.com/lms/content/landingpage/announcements.xhtml?announID=" + announId;
googleTrackEvent("landing_page","announcements", "Student");
//showPopupNoBorder('announceWindow', "Announcements", url, 500, 400);
K12.LMSUtils.showAnnouncementsPopup(url,"Announcements", "Close Announcements");
}
function showPopupNoBorder(id, title, url, w, h) {
var aWindow = new Ext.Window({
id: id,
html: '<iframe id="announcementsFrame" src="' + url +'" style="border:0 none;height: 100%; width: 100%;"></iframe>',
title: title,
iconCls: 'announceTitleIcon',
width: w,
height: h,
minHeight: 400,
modal: true,
//closeAction:'hide',
plain: true,
border: false,
bodyBorder: false,
autoScroll: false,
buttonAlign: 'center',
buttons: [{
text : "Close Announcements",
handler : function() {
aWindow.close();
}
}],
closable: true
});
aWindow.show();
}
function createKMailTooltip(targetId, tooltipMsg) {
var tooltip;
if (tooltipMsg != undefined) {
tooltip = new Ext.ToolTip({
target: targetId,
html: tooltipMsg,
frame:true,
autoHide: true,
autoHeight:true,
autoWidth:true,
closable: false,
draggable:false
});
} else {
tooltip = new Ext.ToolTip({
target: targetId,
frame:true,
autoHide: true,
autoHeight:true,
autoWidth:true,
closable: false,
draggable:false
});
}
return tooltip;
}
Ext.onReady(function() {
if( document.getElementById('kmailImgLink') != null )
{
var escapedKmailListStr = "0~~K12DLM~~Jennifer Elzholz~~K12DLM~~April Work samples graded||K12DLM||1~~K12DLM~~Jennifer Elzholz~~K12DLM~~Behind in progress - ILP attached||K12DLM||2~~K12DLM~~Sharon Wakefield~~K12DLM~~Recording: Parent Session: Math AIMS Test||K12DLM||3~~K12DLM~~Jennifer Elzholz~~K12DLM~~0% for Math weekly checkpoint this week||K12DLM||4~~K12DLM~~Jennifer Elzholz~~K12DLM~~Testing Tip||K12DLM||5~~K12DLM~~Bonnie Hoffert~~K12DLM~~K12 Club Schedule for April 16-30||K12DLM||6~~K12DLM~~Jennifer Elzholz~~K12DLM~~Reminder Math Work sample is due in 3 days||K12DLM||7~~K12DLM~~Bonnie Hoffert~~K12DLM~~AIMS is around the corner *** Thanks to our volunteers**||K12DLM||8~~K12DLM~~Joanne Vigilant~~K12DLM~~Reminder: Students, Parents, Guardians and Learning Coaches!||K12DLM||9~~K12DLM~~Jeanna Pignatiello~~K12DLM~~AIMS Testing April 16-19th: Final Testing Reminders & Information";
var kmailListStr = unescape(escapedKmailListStr);
var newkmailcount = 19;
var imgTooltip;
var textTooltip;
if (newkmailcount == 0) {
imgTooltip = createKMailTooltip("kmailImgLink", "You have no new K-Mail messages");
textTooltip = createKMailTooltip("kmailTextLink", "You have no new K-Mail messages");
} else {
if (kmailListStr == '' || kmailListStr == undefined) {
imgTooltip = createKMailTooltip("kmailImgLink", "Click to Read K-Mail messages");
textTooltip = createKMailTooltip("kmailTextLink", "Click to Read K-Mail messages");
} else {
var kmailInfoStrArray = kmailListStr.split(K12.LMSGlobal.DELIM_DOUBLE_PIPE);
// create the data store
var mystore = new Ext.data.SimpleStore({
fields: [
{name: 'sender'},
{name: 'subject'}
]
});
var KMailRecord = Ext.data.Record.create([
{name: 'sender', mapping: 'sender'},
{name: 'subject', mapping: 'subject'}
]);
for ( i = 0; i < kmailInfoStrArray.length; i++) {
var kmailInfoParts = kmailInfoStrArray[i].split(K12.LMSGlobal.DELIM_DOUBLE_TILDE);
var sender = kmailInfoParts[1];
var subject = kmailInfoParts[2];
var myNewRecord = new KMailRecord({
sender: sender,
subject: subject
});
mystore.add(myNewRecord);
}
// create the Grid
var grid = new Ext.grid.GridPanel({
store: mystore,
columns: [
{id:'sender', header: "From", width: 150, sortable: false, dataIndex: 'sender'},
{header: "Subject", width: 250, sortable: false, dataIndex: 'subject'}
],
stripeRows: true,
autoExpandColumn: 'sender',
width:400,
autoHeight: true
});
var grid2 = new Ext.grid.GridPanel({
store: mystore,
columns: [
{id:'sender', header: "From", width: 150, sortable: false, dataIndex: 'sender'},
{header: "Subject", width: 250, sortable: false, dataIndex: 'subject'}
],
stripeRows: true,
autoExpandColumn: 'sender',
width:400,
autoHeight: true
});
imgTooltip = createKMailTooltip('kmailImgLink');
imgTooltip.add(grid);
textTooltip = createKMailTooltip('kmailTextLink');
textTooltip.add(grid2);
}
}
}
});
//]]>
</script>
<div class="k12_notification_rail_top_margin"><div id="j_id283" class="k12_landingpage_kmail_container"><div id="j_id284" class="k12_landingpage_kmail">
<a id="kmailImgLink" href="javascript:K12.LMSGlobal.showKMailInbox(); googleTrackEvent('landing_page','kmail', 'Student');" class="k12_landingpage_image_link">
<div class="k12_landingpage_kmail_icon"> </div>
</a></div><div id="j_id286" class="k12_landingpage_kmail_messages">
<div class="k12_landingpage_kmail_messages_holder ">
<a id="kmailTextLink" href="javascript:K12.LMSGlobal.showKMailInbox(); googleTrackEvent('landing_page','kmail', 'Student');" class="k12_landingpage_right_link"><span id="kmailLink" class="k12_landingpage_bold">You have 19 new K-Mail messages</span>
</a>
</div></div></div>
<div id="notificationRail" class="k12_landingpage_notifications_holder">
<form id="notificationRailForm" name="notificationRailForm" method="post" action="/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="notificationRailForm" value="notificationRailForm" />
<div class="k12_landingpage_accouncements"><div id="notificationRailForm:j_id295" class="k12_landingpage_kmail">
<a href="javascript:onAnnouncement('-1');" class="k12_landingpage_image_link">
<div class="k12_landingpage_announce_icon" title="Click to Read Announcements"> </div>
</a></div>
<div class="k12_landingpage_announce_messages">
<div class="k12_landingpage_announce_number">
<a href="javascript:onAnnouncement('-1');" title="Click to Read Announcements" class="k12_landingpage_right_link"><span id="notificationRailForm:announLink" class="k12_landingpage_bold">You have 3 announcements</span>
</a>
</div>
</div>
<div class="k12_landingpage_accouncement_holder k12_landingpage_accouncement_holder_ie7_hack">
<div class="k12_landingpage_individual_announce">
<table>
<tr>
<td class="k12_landingpage_individual_announce_td1">
</td>
<td class="k12_landingpage_accouncements_date_col">
<span class="k12_landingpage_individual_announce_date"><span id="notificationRailForm:j_id306:0:announDate">4/18</span>
</span>
</td>
<td>
<div class="k12_landingpage_announcements_msg_col_holder">
<span class="k12_landingpage_individual_announce_link">
<span id="announTitle_15971">
Recording+Link%3A+Microsoft+Series%3A+Powerpoint+2003
</span>
<script type="text/javascript">
K12.LMSUtils.convertInnerHTML('announTitle_15971');
</script>
</span>
</div>
<a href="javascript:onAnnouncement('15971');" class="k12_landingpage_announcement_read_more">
</a>
</td>
</tr>
</table>
</div>
<div class="k12_landingpage_individual_announce">
<table>
<tr>
<td class="k12_landingpage_individual_announce_td1">
</td>
<td class="k12_landingpage_accouncements_date_col">
<span class="k12_landingpage_individual_announce_date"><span id="notificationRailForm:j_id306:1:announDate">4/18</span>
</span>
</td>
<td>
<div class="k12_landingpage_announcements_msg_col_holder">
<span class="k12_landingpage_individual_announce_link">
<span id="announTitle_15993">
Parent+Workshop%3A+Mobile+Learning
</span>
<script type="text/javascript">
K12.LMSUtils.convertInnerHTML('announTitle_15993');
</script>
</span>
</div>
<a href="javascript:onAnnouncement('15993');" class="k12_landingpage_announcement_read_more">
</a>
</td>
</tr>
</table>
</div>
<div class="k12_landingpage_individual_announce">
<table>
<tr>
<td class="k12_landingpage_individual_announce_td1">
</td>
<td class="k12_landingpage_accouncements_date_col">
<span class="k12_landingpage_individual_announce_date"><span id="notificationRailForm:j_id306:2:announDate">3/29</span>
</span>
</td>
<td>
<div class="k12_landingpage_announcements_msg_col_holder">
<span class="k12_landingpage_individual_announce_link">
<span id="announTitle_15989">
K12+Connect+to+Careers+Day
</span>
<script type="text/javascript">
K12.LMSUtils.convertInnerHTML('announTitle_15989');
</script>
</span>
</div>
<a href="javascript:onAnnouncement('15989');" class="k12_landingpage_announcement_read_more">
</a>
</td>
</tr>
</table>
</div>
</div>
</div><div id="notificationRailForm:j_id312" class="k12_landingpage_accouncements">
<div class="k12_landingpage_announce_seeall">
<a href="javascript:onAnnouncement('-1');" title="Click to Read Announcements" class="k12_landingpage_right_link"><span id="notificationRailForm:allAnnoun" class="k12_landingpage_bold">See All Announcements</span>
</a>
</div></div><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" />
</form>
</div>
</div>
</td>
<td class="k12_landingpage_body_holder_2">
<div class="k12_landingpage_shortcuts_holder">
<script type="text/javascript">
//<![CDATA[
function refreshAfterAttendancePopup() {
cursor_wait();
refreshMissingAttendance();
}
// Changes the cursor to an hourglass
function cursor_wait() {
document.body.style.cursor = 'wait';
}
// Returns the cursor to the default pointer
function cursor_clear() {
document.body.style.cursor = 'default';
}
//]]>
</script>
<div class="k12_landingpage_center_header">
<!--div class="k12_landingpage_lesson_shortcuts"> </div--><div id="j_id320" class="k12_landingpage_my_courses">Today's To Do List</div>
<div class="k12_landingpage_date_holder"><span class="k12_landingpage_bold">Thursday, April 19, 2012</span>
</div>
</div><div id="j_id334">
<div class="k12_landingpage_shortcut_content">
<div class="k12_landingpage_lesson_left_column">
<div class="k12_landingpage_lesson_left_holder"><div id="j_id336">
<script language="javascript">
//<![CDATA[
googleTrackPage("/k12/lms/landingpage/student");
function onHideCurrentLesson() {
var returnParms = K12.IframeWindow.getReturnParameters('k12.curriculum.popup');
if (typeof returnParms != "undefined") {
var wResult = returnParms['result'];
var wCourseId = returnParms['courseId'];
var wSubcourseId = returnParms['subcourseId'];
var wStudentId = returnParms['studentId'];
if (wResult == 'findOutMore') {
K12.BusyStatus.openLink( K12.LMS.basePath + "/content/progress/unit/gotoUnitList.xhtml?init=true&courseId=" + wCourseId + "&subcourseId=" + wSubcourseId + "&studentId=" + wStudentId);
}
} else {
K12.BusyStatus.openLink(K12.LMS.basePath + "/content/index.xhtml?conversationName=LandingPageConversation&cid=landingpage");
}
}
function showMsg()
{
var recordingsCount = document.getElementById("classConnectSessionForm:recordingsCount").value;
if(recordingsCount > 0)
{
K12.LMSUtils.showPopup("Elluminate Session Recordings", "/content/landingpage/student/sessionRecordings.xhtml", 750, 400, 'sessionRecordings', null, null, null, false, false);
return;
}
var alertMsg = document.getElementById("classConnectSessionForm:launchMessage").value;
if(alertMsg != '')
K12.LMSUtils.showPopup("Elluminate Session", "/content/landingpage/student/showMsg.xhtml", 400, 300, 'sessionMsg', null, null, null, false, false);
else
{
var url = document.getElementById("classConnectSessionForm:launchUrl").value;
url = K12.rewriteUrl(url);
window.open(url);
}
}
//]]>
</script>
<form id="classConnectSessionForm" name="classConnectSessionForm" method="post" action="/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" enctype="application/x-www-form-urlencoded">
<input type="hidden" name="classConnectSessionForm" value="classConnectSessionForm" />
<script id="classConnectSessionForm:j_id341" type="text/javascript">//<![CDATA[
openSession=function(sessionId,sessionOccurrenceId){A4J.AJAX.Submit('classConnectSessionForm',null,{'oncomplete':function(request,event,data){showMsg();},'similarityGroupingId':'classConnectSessionForm:j_id341','parameters':{'sessionOccurrenceId':sessionOccurrenceId,'classConnectSessionForm:j_id341':'classConnectSessionForm:j_id341','sessionId':sessionId} ,'actionUrl':'/lms/content/index.xhtml;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2'} )};
//]]></script><span id="classConnectSessionForm:launchMessagePanel"><input id="classConnectSessionForm:launchMessage" type="hidden" name="classConnectSessionForm:launchMessage" value="" /><input id="classConnectSessionForm:launchUrl" type="hidden" name="classConnectSessionForm:launchUrl" /><input id="classConnectSessionForm:recordingsCount" type="hidden" name="classConnectSessionForm:recordingsCount" value="0" /></span><input type="hidden" name="javax.faces.ViewState" id="javax.faces.ViewState" value="j_id1" />
</form>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><span class="k12_landingpage_section_header">Class Connect Sessions</span>
<div class="k12_landingpage_student_class_connect_holder">
<div class="k12_landingpage_student_class_connect_icon"></div>
<div class="k12_landingpage_student_class_connect_time">9:00 AM - 10:00 AM
</div>
<div class="k12_landingpage_student_class_connect_info">
<div style="width:220px;float:left;">
<a href="javascript:void(0);" onclick="openSession('266565', '1771047');">Math Weekly Checkpoint ~ 6th Grade</a>
</div>
</div>
</div>
<div class="k12_landingpage_student_class_connect_holder">
<div class="k12_landingpage_student_class_connect_icon"></div>
<div class="k12_landingpage_student_class_connect_time">11:00 AM - 12:00 PM
</div>
<div class="k12_landingpage_student_class_connect_info">
<div style="width:220px;float:left;">
<a href="javascript:void(0);" onclick="openSession('266595', '1771372');">Literature A & Reading Weekly Checkpoint</a>
</div>
</div>
</div>
<div class="k12_landingpage_student_class_connect_holder">
<div class="k12_landingpage_student_class_connect_icon"></div>
<div class="k12_landingpage_student_class_connect_time">12:00 PM - 1:00 PM
</div>
<div class="k12_landingpage_student_class_connect_info">
<div style="width:220px;float:left;">
<a href="javascript:void(0);" onclick="openSession('266226', '1769720');">History Open Office Hours</a>
</div>
</div>
</div>
<div class="k12_landingpage_student_class_connect_holder">
<div class="k12_landingpage_student_class_connect_icon"></div>
<div class="k12_landingpage_student_class_connect_time">12:00 PM - 1:00 PM
</div>
<div class="k12_landingpage_student_class_connect_info">
<div style="width:220px;float:left;">
<a href="javascript:void(0);" onclick="openSession('272094', '1789369');">Science Open Hour - OPTIONAL (Questions Only)</a>
</div>
</div>
</div>
</div><div id="j_id377" class="k12_landingpage_st_section_divider"></div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><span class="k12_landingpage_section_header">Lesson Shortcuts</span>
<div style="height:16px;"></div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:0:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_Math_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="0" title="Math" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Fundamentals of Geometry and Algebra AZ', '500405', '', '2' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '500405');return false;"><span title="Click to go into your current lesson for this course.">Fundamentals of Geometry and Algebra AZ</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:1:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_LangArt_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="5" title="Language Arts/English" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Intermediate Language Skills A: GUM', '150023', '157', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '150023');return false;"><span title="Click to go into your current lesson for this course.">Intermediate Language Skills A: GUM</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:2:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_LangArt_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="5" title="Language Arts/English" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Intermediate Language Skills A: Vocabulary', '150023', '159', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '150023');return false;"><span title="Click to go into your current lesson for this course.">Intermediate Language Skills A: Vocabulary</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:3:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_LangArt_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="5" title="Language Arts/English" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Intermediate Literature A', '150021', '155', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '150021');return false;"><span title="Click to go into your current lesson for this course.">Intermediate Literature A</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:4:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_Science_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="2" title="Science" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Earth Science', '120017', '638', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '120017');return false;"><span title="Click to go into your current lesson for this course.">Earth Science</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:5:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_Civics_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="4" title="History" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('American History A', '500164', '', '2' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '500164');return false;"><span title="Click to go into your current lesson for this course.">American History A</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:6:j_id391" class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_current_lesson_icon.gif;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" title="This lesson is currently on plan for today." /> </div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_Study_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="10000" title="Other" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="K12.LMSUtils.navigateToSSO('200356', 10201505311, 3); googleTrackEvent('landing_page','student_go_to_course', 'Student', '200356');return false;"><span title="Click to go to Course.">Latin Middle School Year 1</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:7:j_id394"><span style="padding-left:25px; float:left;"> </span></div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_LangArt_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="5" title="Language Arts/English" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Intermediate Language Skills A: Composition', '150023', '161', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '150023');return false;"><span title="Click to go into your current lesson for this course.">Intermediate Language Skills A: Composition</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:8:j_id394"><span style="padding-left:25px; float:left;"> </span></div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_Art_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="3" title="Art" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Intermediate Art: American A', '130014', '150', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '130014');return false;"><span title="Click to go into your current lesson for this course.">Intermediate Art: American A</span></a>
</div>
</div>
</div>
<div class="k12_landingpage_content_holder k12_landingpage_course_holder"><div id="j_id389:9:j_id394"><span style="padding-left:25px; float:left;"> </span></div>
<div class="k12_landingpage_course_icon"><img src="/lms/images/themes/k12_lms/landing_page/LMS_Landing_Study_icon.png;jsessionid=AEB4C41E65E55E5A986C8F47F3D1724C.node2" alt="10000" title="Other" /></div>
<div class="k12_landingpage_course_text">
<div class="k12_landingpage_course_name"><a href="javascript:void(0);" onclick="callShowNextLessonPopup('Strategies For Success: Grade 6', '230015', '435', '1' , 10201505311 , onHideCurrentLesson ); googleTrackEvent('landing_page','student_current_lesson', 'Student', '230015');return false;"><span title="Click to go into your current lesson for this course.">Strategies For Success: Grade 6</span></a>
</div>
</div>
</div>
</div>
<!-- =============================Obsolete scripts==================================================================== -->
<!-- =============================end of Obsolete scripts==================================================================== --></div>
</div>
</div>
</div></div>
</div><div id="j_id601" class="k12_landingpage_marketing_rail">
<style type="text/css">
</style>
<script type="text/javascript">
//<![CDATA[
var promoLearnMoreWindow;
function onLearnMore(url) {
var winName = "LearnMore";
googleTrackEvent("landing_page","promotions_learn_more", "Student");
promoLearnMoreWindow = K12.LMSUtils.openNewBrowser(theCommunityWindow, winName, url, 800, 600, 20, 20, 0);
}
function closeAPlusListPopUP(){
// K12.IframeWindow.getIframeWindowManager().top.close();
// var win = K12.IframeWindow.getIframeWindowManager().getWindow('timezonesettings');
K12.IframeWindow.getIframeWindowManager().close('timezonesettings');
}
function openLCStudentAPlusUrlList(count) {
var url = K12.LMS.basePath +'/content/landingpage/lc/lcAPlusStudentList.xhtml?' + 'cid=LandingPageConversation:landingpage';
url = K12.rewriteUrl(url);
K12.LMSUtils.showPopup("", url, 520, 370, 'timezonesettings', K12.LMSUtils.refreshParent, null, null, null, false);
}
//]]>
</script>
<div id="marketingRail" class="k12_landingpage_marketing_holder">
<div class="k12_quicklinks_container">
<div class="k12_quicklinks_content"><div id="j_id606" class="k12_landingpage_quicklinks_title"><span title="These are links to things you may need.">Quick Links</span></div><div id="j_id608"><div id="j_id613" class="k12_landingpage_quicklink_individual">
<div class="k12_landingpage_quicklink_star"> </div>
<div class="k12_landingpage_quicklink_text k12_landingpage_bold">
<a href="javascript:void(0);" onclick="K12.BusyStatus.openLink('http://lms.k12.com/lms/content/sessionlist/gotoList.xhtml'); googleTrackEvent('quick_links','class_connect_sessions', 'Student');" title="Click to go to your Class Connect Session List">Class Connect Sessions</a>
</div></div><div id="j_id617" class="k12_landingpage_quicklink_individual">
<div class="k12_landingpage_quicklink_star"> </div>
<div class="k12_landingpage_quicklink_text k12_landingpage_bold">
<a href="javascript: K12.LMSUtils.showContactTeachersPopup(); googleTrackEvent('quick_links','contact_teacher', 'Student');" title="Click to see your teacher's contact info">Contact My Teachers</a>
</div></div><div id="j_id619" class="k12_landingpage_quicklink_individual">
<div class="k12_landingpage_quicklink_star"> </div>
<div class="k12_landingpage_quicklink_text k12_landingpage_bold">
<a href="javascript:void(0);" onclick="K12.LMSUtils.showPopupWithDefaultOnHide('Materials I&#39;ll Need' , '/content/global/materials/materials.xhtml?studentId=10201505311', 800, 600, 'materials-window'); googleTrackEvent('quick_links','materials', 'Student');" title="Click to see your Materials">Materials I'll Need</a>
</div></div><div id="j_id623" class="k12_landingpage_quicklink_individual">
<div class="k12_landingpage_quicklink_star"> </div>
<div class="k12_landingpage_quicklink_text k12_landingpage_bold">
<a href="javascript:void(0);" onclick="K12.LMSUtils.showPopupWithDefaultOnHide('Get Ready with Advance Prep', '/content/global/advancePrep/gotoAdvancePrep.xhtml', 800, 600, 'advanceprep-window'); googleTrackEvent('quick_links','advprep', 'Student');" title="Click to see your Advance Prep.">Get Ready with Advance Prep</a>
</div></div><div id="j_id631" class="k12_landingpage_quicklink_individual">
<div class="k12_landingpage_quicklink_star"> </div>
<div class="k12_landingpage_quicklink_text k12_landingpage_bold">
<a href="javascript:void(0);" onclick="K12.LMSUtils.openBrowser(null, 'Study Island', 'http://www.studyisland.com', 1024, 600, 20, 20); googleTrackEvent('quick_links','study_island', 'Student');" title="Go to the Study Island website">Study Island</a>
</div></div>
<div class="k12_landingpage_quicklink_individual">
<div class="k12_landingpage_quicklink_star"> </div>
<div class="k12_landingpage_quicklink_text k12_landingpage_bold">
<a href="javascript:void(0);" onclick="K12.LMSGlobal.onEncyclopedia(); googleTrackEvent('quick_links','encyclopedia', 'Student');" title="Go to the Grolier's Encyclopedia website">Grolier's Encyclopedia</a>
</div>
</div></div>
</div>
</div><span id="promoSection">
<div class="k12_landingpage_marketing_item_container_promo">
<div id="k12_landingpage_marketing_item_container2" class="k12_landingpage_marketing_promo_margin"></div>
<script type="text/javascript">
//function(url, swfId, width, height, containingDivId, basePath, alt, variableHash)
deconcept.writeFlashContent('http://lms.k12.com/lms/swfs/marketingPromo/LMSMarketingPromo.swf',
'k12_landingpage_marketing_item_container_swf',
'215',
'275',
'k12_landingpage_marketing_item_container2',
'http://lms.k12.com/lms/swfs/marketingPromo/', 'Marketing Promo',
{jSessionId:K12.jsessionid,cid:'LandingPageConversation:landingpage'
,xmlPath:'/lms/content/landingpage/marketingRailXML.xhtml'});
</script>
</div></span>
</div></div>
</td>
</tr>
</table>
</div>
</div>
<div class="k12_copyright_footer_holder">
<div class="k12_copyright_footer_inner_holder">
<div class="k12_copyright_footer_inner_padding"><span id="globalCopyrightFooter">Copyright © 2012 K12 Inc. All rights reserved. K<sup>12</sup> is a registered trademark of K12 Inc. The K<sup>12</sup> logo and other marks referenced herein are trademarks of K<sup>12</sup> Inc., and other marks are owned by third parties.</span><br />
<a href="http://www.k12.com/privacy.html" target="_blank" onclick="googleTrackEvent('footer','privacy_policy', 'Student');">Privacy Policy</a> |
<a href="http://www.k12.com/copyright.html" target="_blank" onclick="googleTrackEvent('footer','copyright_policy', 'Student');">Copyright Policy</a> |
<a href="http://www.k12.com/terms.html" target="_blank" onclick="googleTrackEvent('footer','terms_of_use', 'Student');">Terms of Use</a>
</div>
</div>
</div>
</div>
<div style="display:none; position: absolute; top:0px; left:0px; width:100%; height:100%;z-index:105; background-color:#ffffff;" id="k12_cms_lesson_player">
<iframe id="lessonContentFrameHolder" src="about:blank" frameborder="0"></iframe>
</div>
<div style="display:none; position: fixed; top:0px; left:0px; width:100%; height:100%;z-index:9000; background-color:#ffffff;-moz-opacity:.0; filter:alpha(opacity=0); opacity:.0;" id="k12_busy_status_icon_shim"></div>
<div style="display:none; position: fixed; top:0px; left:0px; width:100%; height:100%;z-index:9001;" id="k12_busy_status_icon">
<div style="width:1024px; height:100%; text-align:center; position: relative; top: 46%;z-index:9002;"><img src="/lms/images/LMS_loader.gif" /></div>
</div>
<!--
Build Time: 2012-03-23_16:05:18
Version: 2.3.26.1
Now: Thu, 19 Apr 2012 15:36:48 -0700
Browser: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; FunWebProducts; InfoPath.1; FunWebProducts)
//-->
</body>
</html>