https://www.turnitin.com/t_inbox.asp?aid=134561979&lang=en_us&session-id=4a5a8d58297847b0a3103fd03b156d02

Last Checked: May 07, 2023, 13:13 EDT

IP Address: 151.101.190.133
ASN #: AS54113 FASTLY, US
Location: Unknown, Unknown, Unknown
URL Reputation:
  • Unknown This URL is not identified as malicious in the PhishTank Database.
  • Unknown PhishCheck thinks this URL is likely not a phish.
  • Unknown OpenPhish: URL not in feed.

Other submissions on 151.101.190.133:

  • https://events.goodhabitz.com/webinargutegewohnheitenoderdoc1?gz=928d15960794cc34&guest-access-hash=NDU4MDQwMDYyfDM2ODIwNjcwNHwxNjc2MDI0ODcyOzE4ZjcwMTQ0ZjFkOWYzMmNhOWMyYzI3MzA1NjlmODA4Zjc0ZDBiMGVkYTU4ZDI4ZjEyZDM0YjA3YzY2ZjQyNjk=

  • http://my.freshbooks.com/

Other submissions on turnitin.com:

  • https://www.turnitin.com/

Previous checks:

                               
Domain Name: turnitin.com
Registry Domain ID: 7489163_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.corporatedomains.com
Registrar URL: www.cscprotectsbrands.com
Updated Date: 2022-05-31T19:46:27Z
Creation Date: 1999-06-25T01:37:02Z
Registrar Registration Expiration Date: 2028-06-25T05:37:02Z
Registrar: CSC CORPORATE DOMAINS, INC.
Sponsoring Registrar IANA ID: 299
Registrar Abuse Contact Email: domainabuse@cscglobal.com
Registrar Abuse Contact Phone: +1.8887802723
Domain Status: clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited
Registry Registrant ID: 
Registrant Name: Turnitin, LLC
Registrant Organization: Turnitin, LLC
Registrant Street: 2101 WEBSTER ST STE 1800 
Registrant City: OAKLAND
Registrant State/Province: CA
Registrant Postal Code: 94612
Registrant Country: US
Registrant Phone: +1.5107647600
Registrant Phone Ext: 
Registrant Fax: +1.5107647600
Registrant Fax Ext: 
Registrant Email: it-admin@turnitin.com
Registry Admin ID: 
Admin Name: Turnitin, LLC
Admin Organization: Turnitin, LLC
Admin Street: 2101 WEBSTER ST STE 1800 
Admin City: OAKLAND
Admin State/Province: CA
Admin Postal Code: 94612
Admin Country: US
Admin Phone: +1.5107647600
Admin Phone Ext: 
Admin Fax: +1.5107647600
Admin Fax Ext: 
Admin Email: it-admin@turnitin.com
Registry Tech ID: 
Tech Name: Turnitin, LLC
Tech Organization: Turnitin, LLC
Tech Street: 2101 WEBSTER ST STE 1800 
Tech City: OAKLAND
Tech State/Province: CA
Tech Postal Code: 94612
Tech Country: US
Tech Phone: +1.5107647600
Tech Phone Ext: 
Tech Fax: +1.5107647600
Tech Fax Ext: 
Tech Email: it-admin@turnitin.com
Name Server: ns-58.awsdns-07.com
Name Server: ns-1607.awsdns-08.co.uk
Name Server: ns-1415.awsdns-48.org
Name Server: ns-721.awsdns-26.net
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2022-05-31T19:46:27Z <<<

For more information on Whois status codes, please visit https://icann.org/epp

Corporation Service Company(c) (CSC)  The Trusted Partner of More than 50% of the 100 Best Global Brands.

Contact us to learn more about our enterprise solutions for Global Domain Name Registration and Management, Trademark Research and Watching, Brand, Logo and Auction Monitoring, as well SSL Certificate Services and DNS Hosting.

NOTICE: You are not authorized to access or query our WHOIS database through the use of high-volume, automated, electronic processes or for the purpose or purposes of using the data in any manner that violates these terms of use. The Data in the CSC WHOIS database is provided by CSC for information purposes only, and to assist persons in obtaining information about or related to a domain name registration record. CSC does not guarantee its accuracy. By submitting a WHOIS query, you agree to abide by the following terms of use: you agree that you may use this Data only for lawful purposes and that under no circumstances will you use this Data to: (1) allow, enable, or otherwise support the transmission of mass unsolicited, commercial advertising or solicitations via direct mail, e-mail, telephone, or facsimile; or (2) enable high volume, automated, electronic processes that apply to CSC (or its computer systems). CSC reserves the right to terminate your access to the WHOIS database in its sole discretion for any violations by you of these terms of use. CSC reserves the right to modify these terms at any time.

Register your domain name at http://www.cscglobal.com

                             
  • POST
    200 OK

    https://www.google-analytics.com/j/collect?v=1&_v=j100&a=1216986067&t=pageview&_s=1&dl=https%3A%2F%2Fwww.turnitin.com%2Ft_inbox.asp%3Faid%3D134561979%26lang%3Den_us%26session-id%3D4a5a8d58297847b0a3103fd03b156d02&ul=en-us&de=UTF-8&dt=Turnitin&sd=24-bit&sr=1366x768&vp=1920x995&je=0&_utma=162339897.71153506.1683479620.1683479620.1683479620.1&_utmz=162339897.1683479620.1.1.utmcsr%3D(direct)%7Cutmccn%3D(direct)%7Cutmcmd%3D(none)&_utmht=1683479620110&_u=YADCAEABAAAAACAAI~&jid=442597301&gjid=1765482530&cid=71153506.1683479620&tid=UA-81853047-1&_gid=888671224.1683479620&_r=1&_slc=1&gtm=45He3530n81KZFSBQ4&z=1399531961

  • https://unpkg.com/launchdarkly-js-client-sdk@2.18.0 /launchdarkly-js-client-sdk@2.18.0/dist/ldclient.min.js
<html class="" lang="en-us"><!--<![endif]--><head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="author" content="Turnitin, LLC">
    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no">

	<title>Turnitin</title>
    <link rel="icon" href="/r/source/images/logos/company/turnitin-favicon.png">

<script src="https://js-agent.newrelic.com/nr-spa-1118.min.js"></script><script type="text/javascript" async="" src="https://www.googletagmanager.com/gtag/js?id=G-EJF27WH1D9&amp;l=dataLayer&amp;cx=c"></script><script type="text/javascript" async="" src="https://www.google-analytics.com/analytics.js"></script><script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"></script><script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-KZFSBQ4"></script><script type="text/javascript">
    window.NREUM||(NREUM={}),__nr_require=function(t,e,n){function r(n){if(!e[n]){var o=e[n]={exports:{}};t[n][0].call(o.exports,function(e){var o=t[n][1][e];return r(o||e)},o,o.exports)}return e[n].exports}if("function"==typeof __nr_require)return __nr_require;for(var o=0;o<n.length;o++)r(n[o]);return r}({1:[function(t,e,n){function r(t){try{s.console&&console.log(t)}catch(e){}}var o,i=t("ee"),a=t(21),s={};try{o=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(s.console=!0,o.indexOf("dev")!==-1&&(s.dev=!0),o.indexOf("nr_dev")!==-1&&(s.nrDev=!0))}catch(c){}s.nrDev&&i.on("internal-error",function(t){r(t.stack)}),s.dev&&i.on("fn-err",function(t,e,n){r(n.stack)}),s.dev&&(r("NR AGENT IN DEVELOPMENT MODE"),r("flags: "+a(s,function(t,e){return t}).join(", ")))},{}],2:[function(t,e,n){function r(t,e,n,r,s){try{l?l-=1:o(s||new UncaughtException(t,e,n),!0)}catch(f){try{i("ierr",[f,c.now(),!0])}catch(d){}}return"function"==typeof u&&u.apply(this,a(arguments))}function UncaughtException(t,e,n){this.message=t||"Uncaught error with no additional information",this.sourceURL=e,this.line=n}function o(t,e){var n=e?null:c.now();i("err",[t,n])}var i=t("handle"),a=t(22),s=t("ee"),c=t("loader"),f=t("gos"),u=window.onerror,d=!1,p="nr@seenError",l=0;c.features.err=!0,t(1),window.onerror=r;try{throw new Error}catch(h){"stack"in h&&(t(13),t(12),"addEventListener"in window&&t(6),c.xhrWrappable&&t(14),d=!0)}s.on("fn-start",function(t,e,n){d&&(l+=1)}),s.on("fn-err",function(t,e,n){d&&!n[p]&&(f(n,p,function(){return!0}),this.thrown=!0,o(n))}),s.on("fn-end",function(){d&&!this.thrown&&l>0&&(l-=1)}),s.on("internal-error",function(t){i("ierr",[t,c.now(),!0])})},{}],3:[function(t,e,n){t("loader").features.ins=!0},{}],4:[function(t,e,n){function r(){M++,N=y.hash,this[u]=g.now()}function o(){M--,y.hash!==N&&i(0,!0);var t=g.now();this[h]=~~this[h]+t-this[u],this[d]=t}function i(t,e){E.emit("newURL",[""+y,e])}function a(t,e){t.on(e,function(){this[e]=g.now()})}var s="-start",c="-end",f="-body",u="fn"+s,d="fn"+c,p="cb"+s,l="cb"+c,h="jsTime",m="fetch",v="addEventListener",w=window,y=w.location,g=t("loader");if(w[v]&&g.xhrWrappable){var b=t(10),x=t(11),E=t(8),O=t(6),P=t(13),R=t(7),T=t(14),L=t(9),j=t("ee"),S=j.get("tracer");t(15),g.features.spa=!0;var N,M=0;j.on(u,r),j.on(p,r),j.on(d,o),j.on(l,o),j.buffer([u,d,"xhr-done","xhr-resolved"]),O.buffer([u]),P.buffer(["setTimeout"+c,"clearTimeout"+s,u]),T.buffer([u,"new-xhr","send-xhr"+s]),R.buffer([m+s,m+"-done",m+f+s,m+f+c]),E.buffer(["newURL"]),b.buffer([u]),x.buffer(["propagate",p,l,"executor-err","resolve"+s]),S.buffer([u,"no-"+u]),L.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"]),a(T,"send-xhr"+s),a(j,"xhr-resolved"),a(j,"xhr-done"),a(R,m+s),a(R,m+"-done"),a(L,"new-jsonp"),a(L,"jsonp-end"),a(L,"cb-start"),E.on("pushState-end",i),E.on("replaceState-end",i),w[v]("hashchange",i,!0),w[v]("load",i,!0),w[v]("popstate",function(){i(0,M>1)},!0)}},{}],5:[function(t,e,n){function r(t){}if(window.performance&&window.performance.timing&&window.performance.getEntriesByType){var o=t("ee"),i=t("handle"),a=t(13),s=t(12),c="learResourceTimings",f="addEventListener",u="resourcetimingbufferfull",d="bstResource",p="resource",l="-start",h="-end",m="fn"+l,v="fn"+h,w="bstTimer",y="pushState",g=t("loader");g.features.stn=!0,t(8);var b=NREUM.o.EV;o.on(m,function(t,e){var n=t[0];n instanceof b&&(this.bstStart=g.now())}),o.on(v,function(t,e){var n=t[0];n instanceof b&&i("bst",[n,e,this.bstStart,g.now()])}),a.on(m,function(t,e,n){this.bstStart=g.now(),this.bstType=n}),a.on(v,function(t,e){i(w,[e,this.bstStart,g.now(),this.bstType])}),s.on(m,function(){this.bstStart=g.now()}),s.on(v,function(t,e){i(w,[e,this.bstStart,g.now(),"requestAnimationFrame"])}),o.on(y+l,function(t){this.time=g.now(),this.startPath=location.pathname+location.hash}),o.on(y+h,function(t){i("bstHist",[location.pathname+location.hash,this.startPath,this.time])}),f in window.performance&&(window.performance["c"+c]?window.performance[f](u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["c"+c]()},!1):window.performance[f]("webkit"+u,function(t){i(d,[window.performance.getEntriesByType(p)]),window.performance["webkitC"+c]()},!1)),document[f]("scroll",r,{passive:!0}),document[f]("keypress",r,!1),document[f]("click",r,!1)}},{}],6:[function(t,e,n){function r(t){for(var e=t;e&&!e.hasOwnProperty(u);)e=Object.getPrototypeOf(e);e&&o(e)}function o(t){s.inPlace(t,[u,d],"-",i)}function i(t,e){return t[1]}var a=t("ee").get("events"),s=t(24)(a,!0),c=t("gos"),f=XMLHttpRequest,u="addEventListener",d="removeEventListener";e.exports=a,"getPrototypeOf"in Object?(r(document),r(window),r(f.prototype)):f.prototype.hasOwnProperty(u)&&(o(window),o(f.prototype)),a.on(u+"-start",function(t,e){var n=t[1],r=c(n,"nr@wrapped",function(){function t(){if("function"==typeof n.handleEvent)return n.handleEvent.apply(n,arguments)}var e={object:t,"function":n}[typeof n];return e?s(e,"fn-",null,e.name||"anonymous"):n});this.wrapped=t[1]=r}),a.on(d+"-start",function(t){t[1]=this.wrapped||t[1]})},{}],7:[function(t,e,n){function r(t,e,n){var r=t[e];"function"==typeof r&&(t[e]=function(){var t=r.apply(this,arguments);return o.emit(n+"start",arguments,t),t.then(function(e){return o.emit(n+"end",[null,e],t),e},function(e){throw o.emit(n+"end",[e],t),e})})}var o=t("ee").get("fetch"),i=t(21);e.exports=o;var a=window,s="fetch-",c=s+"body-",f=["arrayBuffer","blob","json","text","formData"],u=a.Request,d=a.Response,p=a.fetch,l="prototype";u&&d&&p&&(i(f,function(t,e){r(u[l],e,c),r(d[l],e,c)}),r(a,"fetch",s),o.on(s+"end",function(t,e){var n=this;if(e){var r=e.headers.get("content-length");null!==r&&(n.rxSize=r),o.emit(s+"done",[null,e],n)}else o.emit(s+"done",[t],n)}))},{}],8:[function(t,e,n){var r=t("ee").get("history"),o=t(24)(r);e.exports=r,o.inPlace(window.history,["pushState","replaceState"],"-")},{}],9:[function(t,e,n){function r(t){function e(){c.emit("jsonp-end",[],p),t.removeEventListener("load",e,!1),t.removeEventListener("error",n,!1)}function n(){c.emit("jsonp-error",[],p),c.emit("jsonp-end",[],p),t.removeEventListener("load",e,!1),t.removeEventListener("error",n,!1)}var r=t&&"string"==typeof t.nodeName&&"script"===t.nodeName.toLowerCase();if(r){var o="function"==typeof t.addEventListener;if(o){var a=i(t.src);if(a){var u=s(a),d="function"==typeof u.parent[u.key];if(d){var p={};f.inPlace(u.parent,[u.key],"cb-",p),t.addEventListener("load",e,!1),t.addEventListener("error",n,!1),c.emit("new-jsonp",[t.src],p)}}}}}function o(){return"addEventListener"in window}function i(t){var e=t.match(u);return e?e[1]:null}function a(t,e){var n=t.match(p),r=n[1],o=n[3];return o?a(o,e[r]):e[r]}function s(t){var e=t.match(d);return e&&e.length>=3?{key:e[2],parent:a(e[1],window)}:{key:t,parent:window}}var c=t("ee").get("jsonp"),f=t(24)(c);if(e.exports=c,o()){var u=/[?&](?:callback|cb)=([^&#]+)/,d=/(.*)\.([^.]+)/,p=/^(\w+)(\.|$)(.*)$/,l=["appendChild","insertBefore","replaceChild"];f.inPlace(HTMLElement.prototype,l,"dom-"),f.inPlace(HTMLHeadElement.prototype,l,"dom-"),f.inPlace(HTMLBodyElement.prototype,l,"dom-"),c.on("dom-start",function(t){r(t[0])})}},{}],10:[function(t,e,n){var r=t("ee").get("mutation"),o=t(24)(r),i=NREUM.o.MO;e.exports=r,i&&(window.MutationObserver=function(t){return this instanceof i?new i(o(t,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype)},{}],11:[function(t,e,n){function r(t){var e=a.context(),n=s(t,"executor-",e),r=new f(n);return a.context(r).getCtx=function(){return e},a.emit("new-promise",[r,e],e),r}function o(t,e){return e}var i=t(24),a=t("ee").get("promise"),s=i(a),c=t(21),f=NREUM.o.PR;e.exports=a,f&&(window.Promise=r,["all","race"].forEach(function(t){var e=f[t];f[t]=function(n){function r(t){return function(){a.emit("propagate",[null,!o],i),o=o||!t}}var o=!1;c(n,function(e,n){Promise.resolve(n).then(r("all"===t),r(!1))});var i=e.apply(f,arguments),s=f.resolve(i);return s}}),["resolve","reject"].forEach(function(t){var e=f[t];f[t]=function(t){var n=e.apply(f,arguments);return t!==n&&a.emit("propagate",[t,!0],n),n}}),f.prototype["catch"]=function(t){return this.then(null,t)},f.prototype=Object.create(f.prototype,{constructor:{value:r}}),c(Object.getOwnPropertyNames(f),function(t,e){try{r[e]=f[e]}catch(n){}}),a.on("executor-start",function(t){t[0]=s(t[0],"resolve-",this),t[1]=s(t[1],"resolve-",this)}),a.on("executor-err",function(t,e,n){t[1](n)}),s.inPlace(f.prototype,["then"],"then-",o),a.on("then-start",function(t,e){this.promise=e,t[0]=s(t[0],"cb-",this),t[1]=s(t[1],"cb-",this)}),a.on("then-end",function(t,e,n){this.nextPromise=n;var r=this.promise;a.emit("propagate",[r,!0],n)}),a.on("cb-end",function(t,e,n){a.emit("propagate",[n,!0],this.nextPromise)}),a.on("propagate",function(t,e,n){this.getCtx&&!e||(this.getCtx=function(){if(t instanceof Promise)var e=a.context(t);return e&&e.getCtx?e.getCtx():this})}),r.toString=function(){return""+f})},{}],12:[function(t,e,n){var r=t("ee").get("raf"),o=t(24)(r),i="equestAnimationFrame";e.exports=r,o.inPlace(window,["r"+i,"mozR"+i,"webkitR"+i,"msR"+i],"raf-"),r.on("raf-start",function(t){t[0]=o(t[0],"fn-")})},{}],13:[function(t,e,n){function r(t,e,n){t[0]=a(t[0],"fn-",null,n)}function o(t,e,n){this.method=n,this.timerDuration=isNaN(t[1])?0:+t[1],t[0]=a(t[0],"fn-",this,n)}var i=t("ee").get("timer"),a=t(24)(i),s="setTimeout",c="setInterval",f="clearTimeout",u="-start",d="-";e.exports=i,a.inPlace(window,[s,"setImmediate"],s+d),a.inPlace(window,[c],c+d),a.inPlace(window,[f,"clearImmediate"],f+d),i.on(c+u,r),i.on(s+u,o)},{}],14:[function(t,e,n){function r(t,e){d.inPlace(e,["onreadystatechange"],"fn-",s)}function o(){var t=this,e=u.context(t);t.readyState>3&&!e.resolved&&(e.resolved=!0,u.emit("xhr-resolved",[],t)),d.inPlace(t,y,"fn-",s)}function i(t){g.push(t),h&&(x?x.then(a):v?v(a):(E=-E,O.data=E))}function a(){for(var t=0;t<g.length;t++)r([],g[t]);g.length&&(g=[])}function s(t,e){return e}function c(t,e){for(var n in t)e[n]=t[n];return e}t(6);var f=t("ee"),u=f.get("xhr"),d=t(24)(u),p=NREUM.o,l=p.XHR,h=p.MO,m=p.PR,v=p.SI,w="readystatechange",y=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],g=[];e.exports=u;var b=window.XMLHttpRequest=function(t){var e=new l(t);try{u.emit("new-xhr",[e],e),e.addEventListener(w,o,!1)}catch(n){try{u.emit("internal-error",[n])}catch(r){}}return e};if(c(l,b),b.prototype=l.prototype,d.inPlace(b.prototype,["open","send"],"-xhr-",s),u.on("send-xhr-start",function(t,e){r(t,e),i(e)}),u.on("open-xhr-start",r),h){var x=m&&m.resolve();if(!v&&!m){var E=1,O=document.createTextNode(E);new h(a).observe(O,{characterData:!0})}}else f.on("fn-end",function(t){t[0]&&t[0].type===w||a()})},{}],15:[function(t,e,n){function r(t){var e=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var r=0;r<d;r++)t.removeEventListener(u[r],this.listener,!1);if(!e.aborted){if(n.duration=a.now()-this.startTime,4===t.readyState){e.status=t.status;var i=o(t,this.lastSize);if(i&&(n.rxSize=i),this.sameOrigin){var c=t.getResponseHeader("X-NewRelic-App-Data");c&&(e.cat=c.split(", ").pop())}}else e.status=0;n.cbTime=this.cbTime,f.emit("xhr-done",[t],t),s("xhr",[e,n,this.startTime])}}}function o(t,e){var n=t.responseType;if("json"===n&&null!==e)return e;var r="arraybuffer"===n||"blob"===n||"json"===n?t.response:t.responseText;return h(r)}function i(t,e){var n=c(e),r=t.params;r.host=n.hostname+":"+n.port,r.pathname=n.pathname,t.sameOrigin=n.sameOrigin}var a=t("loader");if(a.xhrWrappable){var s=t("handle"),c=t(16),f=t("ee"),u=["load","error","abort","timeout"],d=u.length,p=t("id"),l=t(19),h=t(18),m=window.XMLHttpRequest;a.features.xhr=!0,t(14),f.on("new-xhr",function(t){var e=this;e.totalCbs=0,e.called=0,e.cbTime=0,e.end=r,e.ended=!1,e.xhrGuids={},e.lastSize=null,l&&(l>34||l<10)||window.opera||t.addEventListener("progress",function(t){e.lastSize=t.loaded},!1)}),f.on("open-xhr-start",function(t){this.params={method:t[0]},i(this,t[1]),this.metrics={}}),f.on("open-xhr-end",function(t,e){"loader_config"in NREUM&&"xpid"in NREUM.loader_config&&this.sameOrigin&&e.setRequestHeader("X-NewRelic-ID",NREUM.loader_config.xpid)}),f.on("send-xhr-start",function(t,e){var n=this.metrics,r=t[0],o=this;if(n&&r){var i=h(r);i&&(n.txSize=i)}this.startTime=a.now(),this.listener=function(t){try{"abort"===t.type&&(o.params.aborted=!0),("load"!==t.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof e.onload))&&o.end(e)}catch(n){try{f.emit("internal-error",[n])}catch(r){}}};for(var s=0;s<d;s++)e.addEventListener(u[s],this.listener,!1)}),f.on("xhr-cb-time",function(t,e,n){this.cbTime+=t,e?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof n.onload||this.end(n)}),f.on("xhr-load-added",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&!this.xhrGuids[n]&&(this.xhrGuids[n]=!0,this.totalCbs+=1)}),f.on("xhr-load-removed",function(t,e){var n=""+p(t)+!!e;this.xhrGuids&&this.xhrGuids[n]&&(delete this.xhrGuids[n],this.totalCbs-=1)}),f.on("addEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-added",[t[1],t[2]],e)}),f.on("removeEventListener-end",function(t,e){e instanceof m&&"load"===t[0]&&f.emit("xhr-load-removed",[t[1],t[2]],e)}),f.on("fn-start",function(t,e,n){e instanceof m&&("onload"===n&&(this.onload=!0),("load"===(t[0]&&t[0].type)||this.onload)&&(this.xhrCbStart=a.now()))}),f.on("fn-end",function(t,e){this.xhrCbStart&&f.emit("xhr-cb-time",[a.now()-this.xhrCbStart,this.onload,e],e)})}},{}],16:[function(t,e,n){e.exports=function(t){var e=document.createElement("a"),n=window.location,r={};e.href=t,r.port=e.port;var o=e.href.split("://");!r.port&&o[1]&&(r.port=o[1].split("/")[0].split("@").pop().split(":")[1]),r.port&&"0"!==r.port||(r.port="https"===o[0]?"443":"80"),r.hostname=e.hostname||n.hostname,r.pathname=e.pathname,r.protocol=o[0],"/"!==r.pathname.charAt(0)&&(r.pathname="/"+r.pathname);var i=!e.protocol||":"===e.protocol||e.protocol===n.protocol,a=e.hostname===document.domain&&e.port===n.port;return r.sameOrigin=i&&(!e.hostname||a),r}},{}],17:[function(t,e,n){function r(){}function o(t,e,n){return function(){return i(t,[f.now()].concat(s(arguments)),e?null:this,n),e?void 0:this}}var i=t("handle"),a=t(21),s=t(22),c=t("ee").get("tracer"),f=t("loader"),u=NREUM;"undefined"==typeof window.newrelic&&(newrelic=u);var d=["setPageViewName","setCustomAttribute","setErrorHandler","finished","addToTrace","inlineHit","addRelease"],p="api-",l=p+"ixn-";a(d,function(t,e){u[e]=o(p+e,!0,"api")}),u.addPageAction=o(p+"addPageAction",!0),u.setCurrentRouteName=o(p+"routeName",!0),e.exports=newrelic,u.interaction=function(){return(new r).get()};var h=r.prototype={createTracer:function(t,e){var n={},r=this,o="function"==typeof e;return i(l+"tracer",[f.now(),t,n],r),function(){if(c.emit((o?"":"no-")+"fn-start",[f.now(),r,o],n),o)try{return e.apply(this,arguments)}catch(t){throw c.emit("fn-err",[arguments,this,t],n),t}finally{c.emit("fn-end",[f.now()],n)}}}};a("actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get".split(","),function(t,e){h[e]=o(l+e)}),newrelic.noticeError=function(t,e){"string"==typeof t&&(t=new Error(t)),i("err",[t,f.now(),!1,e])}},{}],18:[function(t,e,n){e.exports=function(t){if("string"==typeof t&&t.length)return t.length;if("object"==typeof t){if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer&&t.byteLength)return t.byteLength;if("undefined"!=typeof Blob&&t instanceof Blob&&t.size)return t.size;if(!("undefined"!=typeof FormData&&t instanceof FormData))try{return JSON.stringify(t).length}catch(e){return}}}},{}],19:[function(t,e,n){var r=0,o=navigator.userAgent.match(/Firefox[\/\s](\d+\.\d+)/);o&&(r=+o[1]),e.exports=r},{}],20:[function(t,e,n){function r(t,e){if(!o)return!1;if(t!==o)return!1;if(!e)return!0;if(!i)return!1;for(var n=i.split("."),r=e.split("."),a=0;a<r.length;a++)if(r[a]!==n[a])return!1;return!0}var o=null,i=null,a=/Version\/(\S+)\s+Safari/;if(navigator.userAgent){var s=navigator.userAgent,c=s.match(a);c&&s.indexOf("Chrome")===-1&&s.indexOf("Chromium")===-1&&(o="Safari",i=c[1])}e.exports={agent:o,version:i,match:r}},{}],21:[function(t,e,n){function r(t,e){var n=[],r="",i=0;for(r in t)o.call(t,r)&&(n[i]=e(r,t[r]),i+=1);return n}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],22:[function(t,e,n){function r(t,e,n){e||(e=0),"undefined"==typeof n&&(n=t?t.length:0);for(var r=-1,o=n-e||0,i=Array(o<0?0:o);++r<o;)i[r]=t[e+r];return i}e.exports=r},{}],23:[function(t,e,n){e.exports={exists:"undefined"!=typeof window.performance&&window.performance.timing&&"undefined"!=typeof window.performance.timing.navigationStart}},{}],24:[function(t,e,n){function r(t){return!(t&&t instanceof Function&&t.apply&&!t[a])}var o=t("ee"),i=t(22),a="nr@original",s=Object.prototype.hasOwnProperty,c=!1;e.exports=function(t,e){function n(t,e,n,o){function nrWrapper(){var r,a,s,c;try{a=this,r=i(arguments),s="function"==typeof n?n(r,a):n||{}}catch(f){p([f,"",[r,a,o],s])}u(e+"start",[r,a,o],s);try{return c=t.apply(a,r)}catch(d){throw u(e+"err",[r,a,d],s),d}finally{u(e+"end",[r,a,c],s)}}return r(t)?t:(e||(e=""),nrWrapper[a]=t,d(t,nrWrapper),nrWrapper)}function f(t,e,o,i){o||(o="");var a,s,c,f="-"===o.charAt(0);for(c=0;c<e.length;c++)s=e[c],a=t[s],r(a)||(t[s]=n(a,f?s+o:o,i,s))}function u(n,r,o){if(!c||e){var i=c;c=!0;try{t.emit(n,r,o,e)}catch(a){p([a,n,r,o])}c=i}}function d(t,e){if(Object.defineProperty&&Object.keys)try{var n=Object.keys(t);return n.forEach(function(n){Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){return t[n]=e,e}})}),e}catch(r){p([r])}for(var o in t)s.call(t,o)&&(e[o]=t[o]);return e}function p(e){try{t.emit("internal-error",e)}catch(n){}}return t||(t=o),n.inPlace=f,n.flag=a,n}},{}],ee:[function(t,e,n){function r(){}function o(t){function e(t){return t&&t instanceof r?t:t?c(t,s,i):i()}function n(n,r,o,i){if(!p.aborted||i){t&&t(n,r,o);for(var a=e(o),s=m(n),c=s.length,f=0;f<c;f++)s[f].apply(a,r);var d=u[g[n]];return d&&d.push([b,n,r,a]),a}}function l(t,e){y[t]=m(t).concat(e)}function h(t,e){var n=y[t];if(n)for(var r=0;r<n.length;r++)n[r]===e&&n.splice(r,1)}function m(t){return y[t]||[]}function v(t){return d[t]=d[t]||o(n)}function w(t,e){f(t,function(t,n){e=e||"feature",g[n]=e,e in u||(u[e]=[])})}var y={},g={},b={on:l,addEventListener:l,removeEventListener:h,emit:n,get:v,listeners:m,context:e,buffer:w,abort:a,aborted:!1};return b}function i(){return new r}function a(){(u.api||u.feature)&&(p.aborted=!0,u=p.backlog={})}var s="nr@context",c=t("gos"),f=t(21),u={},d={},p=e.exports=o();p.backlog=u},{}],gos:[function(t,e,n){function r(t,e,n){if(o.call(t,e))return t[e];var r=n();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(t,e,{value:r,writable:!0,enumerable:!1}),r}catch(i){}return t[e]=r,r}var o=Object.prototype.hasOwnProperty;e.exports=r},{}],handle:[function(t,e,n){function r(t,e,n,r){o.buffer([t],r),o.emit(t,e,n)}var o=t("ee").get("handle");e.exports=r,r.ee=o},{}],id:[function(t,e,n){function r(t){var e=typeof t;return!t||"object"!==e&&"function"!==e?-1:t===window?0:a(t,i,function(){return o++})}var o=1,i="nr@id",a=t("gos");e.exports=r},{}],loader:[function(t,e,n){function r(){if(!E++){var t=x.info=NREUM.info,e=l.getElementsByTagName("script")[0];if(setTimeout(u.abort,3e4),!(t&&t.licenseKey&&t.applicationID&&e))return u.abort();f(g,function(e,n){t[e]||(t[e]=n)}),c("mark",["onload",a()+x.offset],null,"api");var n=l.createElement("script");n.src="https://"+t.agent,e.parentNode.insertBefore(n,e)}}function o(){"complete"===l.readyState&&i()}function i(){c("mark",["domContent",a()+x.offset],null,"api")}function a(){return O.exists&&performance.now?Math.round(performance.now()):(s=Math.max((new Date).getTime(),s))-x.offset}var s=(new Date).getTime(),c=t("handle"),f=t(21),u=t("ee"),d=t(20),p=window,l=p.document,h="addEventListener",m="attachEvent",v=p.XMLHttpRequest,w=v&&v.prototype;NREUM.o={ST:setTimeout,SI:p.setImmediate,CT:clearTimeout,XHR:v,REQ:p.Request,EV:p.Event,PR:p.Promise,MO:p.MutationObserver};var y=""+location,g={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",agent:"js-agent.newrelic.com/nr-spa-1118.min.js"},b=v&&w&&w[h]&&!/CriOS/.test(navigator.userAgent),x=e.exports={offset:s,now:a,origin:y,features:{},xhrWrappable:b,userAgent:d};t(17),l[h]?(l[h]("DOMContentLoaded",i,!1),p[h]("load",r,!1)):(l[m]("onreadystatechange",o),p[m]("onload",r)),c("mark",["firstbyte",s],null,"api");var E=0,O=t(23)},{}]},{},["loader",2,15,5,3,4]);
    ;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"56a7605095",applicationID:"282479739",sa:1}
</script>

<script type="text/javascript">

    window.getQueryParam = function (name) {
        var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.search);
        return (results !== null) ? results[1] || 0 : false;
    };

    var environment = 'development';
    if (window.location.hostname.indexOf('sandbox') !== -1) {
        environment = 'sandbox';
    } else if (window.location.hostname.indexOf('sprint') !== -1) {
        environment = 'sprint';
    } else if (window.location.hostname.indexOf('turnitinuk.com') !== -1) {
        environment = 'production_uk';
    } else if (window.location.hostname.indexOf('turnitin.com') !== -1) {
        environment = 'production';
    }

    window.addNewRelicEvent = function (name, attributes = {}) {

        // Set some global attributes to apply to all NR events
        attributes.environment = environment;
        attributes.language = window.getQueryParam('lang');

        newrelic.addPageAction(name, attributes);
    };

</script><!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-KZFSBQ4');</script>
<!-- End Google Tag Manager -->
<link rel="stylesheet" type="text/css" href="/r/build/css/tii/2ba0f5af7e33c163e03e3f3fc9098f3bcb_jquery.fancybox.css" media="screen">


<script type="text/javascript" src="/r/build/jsloc/80779469630823f96cbcc37f87d9f353cb_en_us.js"></script>
<script>
    var curr_lang = 'en_us';
</script>


<script type="text/javascript" src="/r/build/js/tii/7e234138720d460d7f6b9b114a219a2acb_tii_core.js"></script>
<script type="text/javascript" src="/r/build/lesscss/4ff99d8057e2f32f94328a49b0e9a62acb_bootstrap.js"></script>



<script src="https://unpkg.com/es6-promise@4.2.4/dist/es6-promise.auto.min.js" integrity="sha384-tQnfZyyk7ZX5leaWDkq9qAvwSkSvH0ouVfrxLn12X9Y2DS8nDa8pHXFH9LLKJdo/" crossorigin="anonymous"></script>
<script src="https://unpkg.com/event-source-polyfill@0.0.12/src/eventsource.min.js" integrity="sha384-2rvDePZszzdJMdVuLiL7pCkP9SwnRUhB5DODu5ds5LfrJ9cOqJVDZtu/xv859p9M" crossorigin="anonymous"></script>
<script src="https://unpkg.com/launchdarkly-js-client-sdk@2.18.0" integrity="sha384-3TmstY+itDqDn6KXfXs/i/pyplvg38f5c00IypaNDWrRTj35F7GnRxL5nS2AxvGV" crossorigin="anonymous"></script>

<script>
(function() {
    const launchDarklyId = '5f6a4192e7ee360b47b83b84';

    if (window.LDClient && launchDarklyId) {
        const userContext = {
            key: 'global-36229',
            custom: {
                tfs_account_id: 36229,
                tfs_site: 'global',
            }
        };

        const ldClient = window.LDClient.initialize(launchDarklyId, userContext);

        const onReady = ldClient.waitUntilReady().then(function() {
            Tii.cms.global.launchDarkly.flags = ldClient.allFlags();
        });

        Tii.cms.global.launchDarkly = {
            client: ldClient,
            onReady: onReady
        };
    }
})();
</script>


<script type="text/javascript">
    // ESTABLISH TII GLOBAL VALUES
    Tii.cms.global.randomNumber = 0.776661578568699;
    Tii.cms.global.serverID = '30';
    Tii.cms.global.sessionID = '4a5a8d58297847b0a3103fd03b156d02';
    Tii.cms.global.cookieSession = '1';
    Tii.cms.global.lang = 'en_us';
    Tii.cms.global.useEV = '';
    Tii.cms.global.evBaseUrl = 'https://ev.turnitin.com/auth/ev/cf032d835f66bc0d107dd76c368669ef560d80be6dabd1dca214a4f400a8c893';
    Tii.cms.global.userOptedOutEVBeta = false;
</script>


	<!--	Popup the warning dialog after $timeout_ms ms.	-->
	<script type="text/javascript">
    	var application_open = false;
    	var the_timeout, the_logout, timeoutDialog;

	    YAHOO.util.Event.onDOMReady(function() {
            timeoutDialog = new YAHOO.widget.Panel('timeoutDialog', {
                width: '500px',
                fixedcenter: true,
                draggable: false,
                close: false,
                modal: true,
                underlay: 'none',
                visible: false
            });

            var extendTimerButton = new YAHOO.widget.Button('extend-timer');

            YAHOO.util.Event.addListener('extend-timer-button', 'click', function(e) {
                YAHOO.util.Event.preventDefault(e);
                restartTimer();
                timeoutDialog.hide();
                YAHOO.util.Connect.initHeader('X-Palladium', '1');
                YAHOO.util.Connect.asyncRequest('GET', '/session/renew_session?lang=en_us');
            });

            timeoutDialog.render();
    		the_timeout = setTimeout('executeTimer();', 10740000);
    	});

		function executeTimer() {
		    if(application_open){return;}

            // when the timer fires, need to check if the user really has been
            // inactive for the entire timeout. If so, show the dialog

            var success = function(o) {
                var response = o.responseText;

                if (response) {
                    var inactiveDuration = parseInt(response);

                    var timeoutSec = 10740000 / 1000;

                    if ( isNaN(inactiveDuration) || (inactiveDuration >= timeoutSec) ) {
                        // the inactive duration is not readable, or if it's
                        // beyond the time out, then show the dialog
                        showDialog();
                    }
                    else {
                        // don't show the dialog but extend the timer, if the user has
                        // not been inactive

                        var remainingMs = 10740000;

                        if (!isNaN(inactiveDuration)) {
                            remainingMs = ( timeoutSec - inactiveDuration ) * 1000;
                        }

                        the_timeout = setTimeout('executeTimer();', remainingMs);
                    }
                }
                else {
                    showDialog();
                }
            };

            var failure = function(o) {
                // if the check call fails, just show the extend dialog
                showDialog();
            };

            var callback = {
                success: success,
                failure: failure
            };

            // send the request
            YAHOO.util.Connect.initHeader('X-Palladium', '1');
            YAHOO.util.Connect.asyncRequest('GET', '/session/inactive_duration?lang=en_us', callback);
        }

        function showDialog() {
            timeoutDialog.show();
            window.focus();
            the_logout = setTimeout('logout()', 30000);
        }

		function logout_main() {
			self.location="/logout.asp?session-id=4a5a8d58297847b0a3103fd03b156d02&svr=30&src=0";
		}

		function restartTimer() {
            application_open = false;
            stopTimer();
            the_timeout = setTimeout('executeTimer();', 10740000);
        }

        function stopTimer() {
            if (the_timeout) {
                clearTimeout(the_timeout);
            }
            if (the_logout) {
                clearTimeout(the_logout);
            }
        }

    	function logout() {
            if (window.gm_window) {
                try {
                    window.gm_window.IP.util.Logger.logInfo('Session timed out by JS with GM open');
                }
                catch(e) {
                }
            }
    		window.logout_main();
    	}


		function display_readonly_alert() {
			alert('This feature is no longer available because this class has expired and has become read-only. If you would like to extend the expiration date of this class, please return to your class home page and click on the \'edit\' button for this class.');
		}

		function display_inactive_alert() {
			alert('This class is inactive and no longer accessible.');
		}

		function display_a_readonly_alert() {
			alert('This feature is no longer available because this account has become read-only. For more information, please contact your account administrator.');
		}

		function display_a_inactive_alert() {
			alert('This feature is no longer available because this account is inactive. For more information, please contact your account administrator.');
		}

		function display_s_readonly_alert() {
			alert('This feature is no longer available because this class has expired and has become read-only. For more information, please contact your instructor.');
		}

		function display_s_inactive_alert() {
			alert('This feature is no longer available because this class has expired and is now inactive. For more information, please contact your instructor.');
		}

        YAHOO.util.Event.onDOMReady(function () {
            if($("account_sections")){
                var oMenuBar = new YAHOO.widget.MenuBar("account_sections", {
                                                            autosubmenudisplay: true,
                                                            hidedelay: 750,
                                                            lazyload: true });
                oMenuBar.render();
            }

            var ss = new StylesheetSwitcher([
                {
                    name: 'normal',
                    link: '',
                    element: document.getElementByHandle('normal'),
                    selected: true
                },
                {
                    name: 'smaller',
                    link: "/r/build/css/tii/46b1b01ff6727f042568a57157077190cb_tii_cms_small_text.css",
                    element: document.getElementByHandle('smaller')
                },
                {
                    name: 'bigger',
                    link: "/r/build/css/tii/033627184bcb1a28b9a846c4b32cb7a8cb_tii_cms_large_text.css",
                    element: document.getElementByHandle('bigger')
                }
            ], '/cms_requests.asp', '30');


            // initialize jump menu buttons
            var jumpButtonElements = document.getElementsByHandle('jump_menu_button', '', 'INPUT');
            for(var i = 0; i < jumpButtonElements.length; i++) {
                var jumpButton = jumpButtonElements[i];

                var menuElement = document.getElementByHandle('jump_menu_options', jumpButton.parentNode, 'SELECT');

                var button = new YAHOO.widget.Button(jumpButton, {
                    type: "menu",
                    menu: menuElement
                });
            }

            // initialize message showing/hiding
            var closeButtons = document.getElementsByHandle('close',  '', 'a');

            if (closeButtons.length > 0) {
                var hideMessage = function(e) {
                var closeButton = $E.getTarget(e);

                var attributes = {
                    opacity: { to: 0 },
                    height: {to: 0},
                    padding: {to: 0}
                };
                var anim = new YAHOO.util.Anim(closeButton.parentNode, attributes, 1, YAHOO.util.Easing.easeOut);
                anim.onComplete.subscribe(function(){
                    closeButton.parentNode.style.display = 'none';
                })
                anim.animate();

                $E.stopEvent(e);
                }
                $E.on(closeButtons, 'click', hideMessage);
            }

        });

        function hide_msg(accountid) {
            var callback = {
            	success:function(o) {
            	},
            	failure:function(o) {
            	    alert('could not save preference');
            	}
            };

            YAHOO.util.Connect.asyncRequest('GET', '/cms_requests.asp?svr=30&msg_to_hide=' + accountid, callback);
        }

        function hide_tip(tipid) {
            var callback = {
            	success:function(o) {
            	},
            	failure:function(o) {
            	}
            };

            YAHOO.util.Connect.asyncRequest('GET', '/cms_requests.asp?svr=30&tip_to_hide=' + tipid, callback);
        }

        function setAriaExpanded(id, value) {
            document.getElementById(id).setAttribute('aria-expanded', value);
        }

        var mutationObserver = new MutationObserver(function(mutations) {
            mutations.forEach(function(mutation) {
                if (mutation.type === "attributes" && mutation.attributeName === "class") {
                    var target;
                    var expanded;
                    if (mutation.target.id === 'submit_type_span') {
                        target = 'submit_type';
                        expanded = /(.)*open(.)*/.test(mutation.target.classList) ? "true" : "false";
                    } else if (/write_review_(.)*/.test(mutation.target.id)) {
                        target = mutation.target.id;
                        expanded = /(.)*popover-trigger(.)*/.test(mutation.target.classList) ? "true" : "false";
                    } else if (mutation.target.id === 'current_user_type') {
                        target = 'current_user_type-button';
                        expanded = /(.)*yui-menu-button-active(.)*/.test(mutation.target.classList) ? "true" : "false";
                    } else if (mutation.target.id === 'lang_submit') {
                        target = 'lang_submit-button';
                        expanded = /(.)*yui-menu-button-active(.)*/.test(mutation.target.classList) ? "true" : "false";
                    } else {
                        return; // so nothing else's aria-expanded value gets set
                    }
                    setAriaExpanded(target, expanded);
                }
            });
        });

        function createEnterSpaceListener(button_id, callback) {
            return function(event) {
                var keyCode = event.which || event.keyCode;    // cross-browser support
                if (keyCode === 13 || keyCode === 32) {        // 13 is enter, 32 is space
                    callback(button_id);
                }
            };
        }

        function createEscListener(button_id, closeFunction) {
            return function(event) {
                var keyCode = event.which || event.keyCode;    // cross-browser support
                if (keyCode === 27) {                          // escape button
                    closeFunction(button_id);
                }
            };
        }

        function createPRNavLinks(prev_link_id, next_link_id) {
            return function(event) {
                var keyCode = event.which || event.keyCode;                                         // cross-browser support
                if (keyCode === 39 || keyCode === 40 || (!event.shiftKey && keyCode == 9) ) {       // right (38), down(40), or tab (no shift, 9)
                    event.preventDefault();
                    document.getElementById(next_link_id).focus();
                } else if (keyCode === 37 || keyCode === 38 || (event.shiftKey && keyCode == 9)) {  // left (37), up(38), or shift+tab
                    event.preventDefault();
                    document.getElementById(prev_link_id).focus();
                }
            };
        }

        /**
        * Purpose: Initializes tooltips for the entire page. See https://sites.google.com/a/iparadigms.com/feds/site-documentation/tii/tip-tip-tooltips for usage.
        * Returns: nothing
        */
        jQuery(function(){

            // initialize all elements with the tooltip classname
            jQuery(".tooltip").tipTip({
                defaultPosition: 'top',
                delay: 500,
                maxWidth: '500px',
                edgeOffset: 6
            });
        });
        jQuery(function() {
            window.onload = function() {
                // Hack for IE8 to show full width of student dropdown box
                if ( jQuery.browser.msie && jQuery.browser.version == '8.0' ) {
                   jQuery(".ip_forms SELECT").css("width", "auto");
                }

                // set proper attributes for accessibility
                var userButton = document.getElementById('current_user_type-button');
                if (typeof userButton !== 'undefined') {
                    userButton.setAttribute('aria-haspopup', 'true');
                    userButton.setAttribute('aria-expanded', 'false');
                    userButton.setAttribute('aria-controls', 'menu_user_type');
                }
                var langButton = document.getElementById('lang_submit-button');
                if (typeof langButton !== 'undefined') {
                    langButton.setAttribute('aria-haspopup', 'true');
                    langButton.setAttribute('aria-expanded', 'false');
                    langButton.setAttribute('aria-controls', 'menu_language');
                }
                document.getElementsByClassName('first-of-type')
                    .filter( item => item.tagName=="UL" )
                    .forEach(function(ul) {
                        ul.setAttribute('role','menu');
                        ul.setAttribute('tabindex','-1');
                    });
                document.getElementsByClassName('yuimenuitem').forEach(li => li.setAttribute('role', 'none'));
                document.getElementsByClassName('yuimenuitemlabel').forEach(function(a) {
                    a.setAttribute('role', 'menuitem');
                    a.setAttribute('tabindex', '-1');
                });
                // use observer for these two buttons because they can be toggled without clicking
                mutationObserver.observe(document.getElementById('current_user_type'), {attributes: true});
                mutationObserver.observe(document.getElementById('lang_submit'), {attributes: true});
                try {
                    mutationObserver.observe(document.getElementById('submit_type_span'), {attributes:true});
                } catch (err) {
                    // this case will happen when not on the submission page.
                }

                var i;
                var button;
                var downloadButtons = document.getElementsByTagName('button');
                for (i=0; i<downloadButtons.length; i++) {
                    button = downloadButtons[i];
                    if (/download_btn_(.)*/.test(button.id)) {
                        button.addEventListener("keypress", createEnterSpaceListener(button.id, setDownloadButtonAriaExpanded));
                        button.addEventListener("keyup", createEscListener(button.id, closeDownloadButtonMenu));     // escape key needs keyup event
                    }
                }

                // observers and listeners for peermark review buttons
                var reviewButtons = document.getElementsByClassName('review_btn');
                for (i=0; i<reviewButtons.length; i++) {
                    button = reviewButtons[i];
                    mutationObserver.observe(button, {attributes: true});

                    button.addEventListener("keypress", createEnterSpaceListener(button.id, setReviewMenuAriaExpanded));
                    button.addEventListener("keyup", createEscListener(button.id, closeReviewMenu));
                }
            };
        });
    </script>


<link rel="stylesheet" type="text/css" href="/r/build/css/tii/55f595583e683abc3a61ba1a781cf117cb_common.css" media="all">
<link rel="stylesheet" type="text/css" href="/r/build/css/tii/78129f3b29885ebce77353eead549945cb_dynamic_styles.css" media="all">
<link rel="stylesheet" type="text/css" href="/r/build/css/tii/88ee4ccd3555f2b759921fb5d58d83e5cb_container.css" media="all">
<link rel="stylesheet" type="text/css" href="/r/build/css/tii/401f0409d366d638c07af4f354fad2c6cb_tii_master.css" media="screen">
<link rel="stylesheet" type="text/css" href="/r/build/css/tii/bee60da562f7bbf0142b127927285c8ecb_tii_cms_print.css" media="print">




<script type="text/javascript" src="/r/build/js/tii/8b608684a5f4aec1b540987c93498c01cb_tii_anonymous_marking.js"></script>


<style type="text/css">.fancybox-margin{margin-right:0px;}</style></head>
<body id="tii_cms"><iframe id="_yuiResizeMonitor" title="Text Resize Monitor" style="position: absolute; visibility: visible; width: 2em; height: 2em; top: -27px; left: 0px; border-width: 0px;"></iframe>
<!-- Google Tag Manager (noscript) -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-KZFSBQ4"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<!-- End Google Tag Manager (noscript) -->
<div id="skip">
<a href="#main_section">Skip to Main Content</a>
</div>

<div id="wrapper">



        

<div id="topline"></div>
<div id="top_nav_wrap">

    <span id="top_nav">

    <!-- Welcome & Language & Help-->
        <span dir="LTR">
            <a alt="User Info" class="user_full_name" href="user_info.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">Jacki Garcia</a>
            <span class="divider"> | </span>
            <a alt="User Info" href="user_info.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">User Info</a>
        </span>

        <span class="divider"> | </span>

        <span dir="LTR"><a href="announcements.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">Messages</a></span>

        <span class="divider"> | </span>

        <!-- Logged in as -->

        <span class="yui-button yui-menu-button" id="current_user_type"><span class="first-child"><button type="button" tabindex="0" id="current_user_type-button" aria-haspopup="true" aria-expanded="false" aria-controls="menu_user_type">Instructor</button></span></span>
        <div id="user_type_menu" style="z-index: 2; position: absolute; visibility: hidden;" class="yui-module yui-overlay yuimenu yui-overlay-hidden yui-button-menu yui-menu-button-menu">
            <div class="bd">
                <ul class="first-of-type" role="menu" tabindex="-1">
                    
                    
                    
                    <li class="yuimenuitem first-of-type" id="yui-gen0" groupindex="0" index="0" role="none">
                        <a class="yuimenuitemlabel" href="user_type.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;ut=s" role="menuitem" tabindex="-1">Student</a>
                    </li>
                    
                </ul>
            </div>
        </div>

        <!-- Select User Type -->

        <span class="divider"> | </span>

        
        <span id="lang_span" dir="LTR">
            <form id="lang_form" method="post" action="lang_update.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;" accept-charset="utf-8">
                <span class="yui-button yui-menu-button" id="lang_submit"><span class="first-child"><button type="button" tabindex="0" title="Click to select a language" id="lang_submit-button" aria-haspopup="true" aria-expanded="false" aria-controls="menu_language">English</button></span></span>
                
            </form>
        </span>

        <span class="divider"> |</span>
        


        
        <span dir="LTR">
            
                <a tabindex="0" href="https://turnitin.forumbee.com" target="_blank">
            
                Community
            </a>
        </span>

        <span class="divider"> | </span>
        

        <span id="help-tab" dir="LTR"><a tabindex="0" target="_blank" href="https://help.turnitin.com/feedback-studio/integrations.htm">Help</a></span>

        <span class="divider"> | </span>

        

        <span dir="LTR"><a tabindex="0" href="logout.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">Logout</a></span>
    <div id="yui-gen1" class="yui-module yui-overlay yuimenu yui-overlay-hidden yui-button-menu yui-menu-button-menu" style="z-index: 2; position: absolute; visibility: hidden;"><div class="bd"><ul class="first-of-type" role="menu" tabindex="-1"><li class="yuimenuitem first-of-type" id="yui-gen2" groupindex="0" index="0" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">English</a></li><li class="yuimenuitem" id="yui-gen3" groupindex="0" index="1" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">English (International)</a></li><li class="yuimenuitem" id="yui-gen4" groupindex="0" index="2" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Čeština</a></li><li class="yuimenuitem" id="yui-gen5" groupindex="0" index="3" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Deutsch</a></li><li class="yuimenuitem" id="yui-gen6" groupindex="0" index="4" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Español</a></li><li class="yuimenuitem" id="yui-gen7" groupindex="0" index="5" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Français</a></li><li class="yuimenuitem" id="yui-gen8" groupindex="0" index="6" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Italiano</a></li><li class="yuimenuitem" id="yui-gen9" groupindex="0" index="7" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Nederlands</a></li><li class="yuimenuitem" id="yui-gen10" groupindex="0" index="8" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Polski</a></li><li class="yuimenuitem" id="yui-gen11" groupindex="0" index="9" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Português</a></li><li class="yuimenuitem" id="yui-gen12" groupindex="0" index="10" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Română</a></li><li class="yuimenuitem" id="yui-gen13" groupindex="0" index="11" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Suomi</a></li><li class="yuimenuitem" id="yui-gen14" groupindex="0" index="12" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Svenska</a></li><li class="yuimenuitem" id="yui-gen15" groupindex="0" index="13" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Tiếng việt</a></li><li class="yuimenuitem" id="yui-gen16" groupindex="0" index="14" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Türkçe</a></li><li class="yuimenuitem" id="yui-gen17" groupindex="0" index="15" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">简体中文</a></li><li class="yuimenuitem" id="yui-gen18" groupindex="0" index="16" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">繁體中文</a></li><li class="yuimenuitem" id="yui-gen19" groupindex="0" index="17" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">日本語</a></li><li class="yuimenuitem" id="yui-gen20" groupindex="0" index="18" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">한국어</a></li><li class="yuimenuitem" id="yui-gen21" groupindex="0" index="19" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">Русский</a></li><li class="yuimenuitem" id="yui-gen22" groupindex="0" index="20" role="none"><a href="#" class="yuimenuitemlabel" role="menuitem" tabindex="-1">عربي</a></li></ul></div></div></span>

</div>

<script type="text/javascript">
    jQuery.noConflict(); // jQuery must play nicely
    function initPageSelect() {
        var userTypeMenu = new YAHOO.widget.Menu('user_type_menu', {
            context: ['current_user_type', 'tl', 'bl', ['windowResize']],
            shadow: false
        });
        userTypeMenu.render();

        var userTypeButton = new YAHOO.widget.Button('current_user_type', {
            type: 'menu',
            menu: userTypeMenu,
            shadow: false
        });

        YAHOO.util.Dom.setStyle(['current_user_type', 'user_type_menu'], 'display', '');

        
        var myMenu = YAHOO.util.Dom.get('lang_select');
        var langMenu = new YAHOO.widget.Menu('lang_select', {
            context: ['lang_submit', 'tl', 'bl', ['windowResize']],
            shadow: false,
            position: 'dynamic',
            showdelay: 5000
        });
        var langMenuContainer = YAHOO.env.ua.webkit ? 'top_nav' : 'lang_form';
        langMenu.render(langMenuContainer);

        var selectedLangOptionElement = $D.getElementsBy(function(el){return el.selected}, 'OPTION', 'lang_form')[0];
        var langSelectButton = new YAHOO.widget.Button('lang_submit', {
            type: 'menu',
            menu: langMenu,
            title: 'Click to select a language',
            label: selectedLangOptionElement.innerHTML
        });

        langSelectButton.MENUBUTTON_DEFAULT_TITLE = 'Click to select a language';
        langSelectButton.MENUBUTTON_MENU_VISIBLE_TITLE = 'Click or press Esc to collapse';

        // need to force the menu y value before showing to get the right initial value
        langMenu.beforeShowEvent.subscribe(function() {
            var y = YAHOO.util.Region.getRegion(langSelectButton.get('element')).bottom;
            this.cfg.setProperty('y', y);
        }, langMenu, true);

        YAHOO.util.Dom.setStyle(['lang_submit', 'lang_select'], 'display', '');
        
    }

    initPageSelect();

</script>



<!-- @@@@@@@@@@ TOP TABS @@@@@@@@@@@@ -->
<div id="top_tabs_wrapper">
    <div id="top_tabs">

    
    <!--
    <ul id="stylesheet_switcher">
        <li class="smaller"><a class="_smaller " href="cms_requests.asp?r=63.5302762845843&svr=30&lang=en_us&text_size=smaller&return=true">smaller</a></li>
        <li class="normal"><a class="_normal selected" href="cms_requests.asp?r=63.5302762845843&svr=30&lang=en_us&text_size=normal&return=true">normal</a></li>
        <li class="bigger"><a class="_bigger " href="cms_requests.asp?r=63.5302762845843&svr=30&lang=en_us&text_size=bigger&return=true">bigger</a></li>
    </ul>-->

    
        
            
                <a tabindex="-1" href="/t_home.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;"><h1><span style="background-size:100%"></span>Turnitin</h1></a>
            
        
    

    <div class="clear"></div>
    </div>
</div>




        



<div id="tabs">
    <ul id="sub_nav" class="">
        
        <li class="firstselected"><a tabindex="2" id="left" href="t_class_home.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">Assignments</a></li>
        <li><a tabindex="2" href="t_students.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;" title="">Students</a></li>
            
        <li><a tabindex="2" href="t_gradebook.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;" title="">Grade Book</a></li>
            
            
            
            
            
        <li><a tabindex="2" href="t_library_assignments.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;" title="">Libraries</a></li>
        <li><a tabindex="2" href="calendar.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;" title="">Calendar</a></li>
            
        <li><a tabindex="2" href="discuss_home.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;" title="">Discussion</a></li>
            
            
            
            
        <li class="last"><a tabindex="2" href="t_class_prefs.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;cid=38565707&amp;iid=319" title="">Preferences</a></li>
            
    </ul>
    <div class="clear"></div>
</div>

<div id="main_content" class="">
    
    <!-- @@@@@@@@@@ BREAD CRUMBS @@@@@@@@@@@@ -->
    <div id="bread_crumbs">
        <h2>Now viewing:</h2>
        <ul><li><a href="/t_home.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">Home</a><span class="breadcrumb_arrow">  &gt; </span><a href="t_class_home.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;cid=38565707">Express Solutions</a><span class="breadcrumb_arrow"> &gt; </span><a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979">Assessment-02</a></li></ul>
        <div class="clear"></div>
    </div>
    

    

    <!-- Saved Info Message -->
    
    

    

    

    


    
    <div class="about_info">
        <h2>About this page</h2>
        <p>This is your assignment inbox. To view a paper, select the paper's title. To view a Similarity Report, select the paper's Similarity Report icon in the similarity column. A ghosted icon indicates that the Similarity Report has not yet been generated.</p><!--$body comes in already localized-->
    </div>
    

    <div id="main_section">


        



<!--END CLASSHEADER, START PAGESPECIFIC-->



<script type="text/javascript" src="/r/build/js/tii/8cb5d036a652551bf987365c19826729cb_checkbox.js"></script>
<script type="text/javascript" src="/r/build/js/tii/af2fd5a4f157dd3c493af7d8b7ab3195cb_tii_cms.js"></script>



<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab">

<style>

.overlay {
    visibility: hidden;
    position:fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: lightgray;
    opacity: 0.8;
    z-index: 9000;
}

.modal {
    visibility: hidden;
    position: absolute;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 0px 1px 4px 3px rgba(0, 0, 0, 0.25);
    width: 478px;
    height: 580px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: normal;
    font-size: 16px;
    line-height: 19px;
    z-index: 9999;
}

#already_restored_modal {
    height: 480px;
}

#grading_template_modal {
    height: 460px;
}

#too_many_papers_modal {
    height: 430px;
}

#already_rejected_modal {
    height: 340px;
}

#already_pending_modal, #unsupported_integration_modal {
    height: 280px;
}

.modal-title {
    font-family: Roboto Slab;
    font-style: normal;
    font-size: 24px;
    line-height: 32px;
    margin: 20px;
}

.modal-body {
    font-family: Roboto;
    font-size: 16px;
}

.close {
    float: right;
    border: none;
    background: #ffffff;
    padding-right: 10px;
    font-size: 22px;
    cursor: pointer;
}

.close:focus {
    outline: 5px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
}

.modal-button:hover:enabled {
    box-shadow: 0px 0px 20px 3px lightgray;
}

.modal-button:active:enabled {
    background: lightgray;
    color: gray;
    border-color: gray;
}

.modal-button:focus:enabled {
    outline: 5px auto Highlight;
    outline: 5px auto -webkit-focus-ring-color;
}

.modal-button {
    border: 2px solid;
    border-radius: 5px;
    padding: 10px;
    margin: 10px;
    text-align: center;
    cursor: pointer;
}

.modal-buttons {
    position: absolute;
    bottom: 10px;
}

.continue {
    color: #FFFFFF;
    background: #0C78CF;
    border-color: #0C78CF;
    margin-left: 0px;
}

.continue[disabled] {
    background: lightblue;
    border-color: lightblue;
}

.cancel {
    color: #0C78CF;
    background: #ffffff;
    border-color: #0C78CF;

    margin-left: 250px;

}

.backtoinbox {
    margin-left: 325px;
}

.modal-body .descr {
    margin: 20px;
}

.modal-body .tip {
    color: gray;
    font-size: 12px;
    margin-left: 20px;
}

p.info {
    margin-left: 20px;
}

.modal-body-p, select, textarea, .modal-input {
    border-radius: 5px;
    margin: 0 0 0 20px;
}

.modal-input {
    width: 375px;
    height: 30px;
}

.modal-body select, textarea {
    margin-bottom: 10px;
    padding: 8px;
}

.modal-body select {
    width: 438px;
}

.modal-body textarea {
    width: 420px;
    resize: none;
}

.modal.active, .overlay.active {
    visibility: visible;
}

.deleted_tip {
    width: 21px;
}

.required {
    color: red;
}

</style>

<script type="text/javascript">
    function displayPaperDetails() {
        document.getElementById('request_page_1').style="display:none";
        document.getElementById('request_page_2').style="display:block";
        $('reason').focus();
    }

    function changeReason() {
        var reason = document.getElementById('reason').value;
        if (reason == 4) {
            document.getElementById('other_text_block').style="display:block";
            var other_text = document.getElementById('other_text').value;
            if (other_text == "") {
                document.getElementById('continue2').disabled = true;
            } else {
                document.getElementById('continue2').disabled = false;
            }
            $('request_deletion_modal').style.height = "630px";
        } else {
            document.getElementById('other_text_block').style="display:none";
            if (reason < 0) {
                document.getElementById('continue2').disabled = true;
            } else {
                document.getElementById('continue2').disabled = false;
            }
            $('request_deletion_modal').style.height = "580px";
        }
    }

    function checkContinue() {
        var reason = document.getElementById('reason').value;
        var other_text = document.getElementById('other_text').value;
        if (reason == 4 && other_text != "") {
            document.getElementById('continue2').disabled = false;
        } else if (reason < 0) {
            document.getElementById('continue2').disabled = false;
        } else {
            document.getElementById('continue2').disabled = true;
        }
    }

    function openDeletionModal() {
        $('request_deletion_modal').classList.add("active");
        $('continue1').focus();
    }

    function closeDeletionModal() {
        document.getElementById('reason').value = -1;
        document.getElementById('continue_deletion_text').value = '';
        document.getElementById('other_text').value = '';
        document.getElementById('reason_selected').style="display:none";
        document.getElementById('reason_selection').style="display:block";
        document.getElementById('request_page_2').style="display:none";
        document.getElementById('request_page_1').style="display:block";
        document.getElementById('other_text_block').style="display:none";
        document.getElementById('continue2').disabled = true;
        $('request_deletion_modal').style.height = "580px";
        $('request_deletion_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    function openTooManyPapersModal() {
        $('too_many_papers_modal').classList.add("active");
        $('backtoinbox1').focus();
    }

    function closeTooManyPapersModal() {
        $('too_many_papers_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    function openUnsupportedIntegrationModal() {
        $('unsupported_integration_modal').classList.add("active");
        $('backtoinbox5').focus();
    }

    function closeUnsupportedIntegrationModal() {
        $('unsupported_integration_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    function openGradingTemplateModal() {
        $('grading_template_modal').classList.add("active");
        $('cancel4').focus();
    }

    function closeGradingTemplateModal() {
        $('grading_template_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    function openAlreadyPendingModal() {
        $('already_pending_modal').classList.add("active");
        $('backtoinbox2').focus();
    }

    function closeAlreadyPendingModal() {
        $('already_pending_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    function openAlreadyRejectedModal() {
        $('already_rejected_modal').classList.add("active");
        $('backtoinbox3').focus();
    }

    function closeAlreadyRejectedModal() {
        $('already_rejected_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    function openAlreadyRestoredModal() {
        $('already_restored_modal').classList.add("active");
        $('backtoinbox4').focus();
    }

    function closeAlreadyRestoredModal() {
        $('already_restored_modal').classList.remove("active");
        $('overlay').classList.remove("active");
        window.scrollTo(0,scrollPosition);
    }

    var reason_text;
    var reason_text_to_save;
    function continueDeletion() {
        var reason = document.getElementById('reason').value;
        var other_text = document.getElementById('other_text').value;
        if (reason < 0) {
            alert("Please select a reason for this paper to be deleted");
        } else if (reason == 4 && other_text == '') {
            alert("Please fill in a reason for this paper to be deleted");
        } else {
            if (reason == 4) {
                reason_text         = other_text;
                reason_text_to_save = other_text;
            } else {
                reason_text         = document.getElementById('reason'+reason).innerHTML;
                reason_text_to_save = document.getElementById('reason'+reason+'english').value;
            }
            document.getElementById('reason_text').innerHTML = reason_text;
            displayConfirmationPage();
        }
    }

    function displayConfirmationPage() {
        document.getElementById('reason_selection').style="display:none";
        document.getElementById('reason_selected').style="display:block";
        $('request_deletion_modal').style.height = "580px";
        $('continue_deletion_text').focus();
    }

    function sendDeletionRequest() {
        document.getElementById('confirm').disabled = true;
        document.getElementById('reason_text_input').value = reason_text_to_save;
        var paperId     = jQuery('.inbox_table input:checked')[0].value;
        var studentId   = jQuery('.inbox_table input:checked')[0].getAttribute("sid");
        var studentName = jQuery('.inbox_table input:checked')[0].getAttribute("author_name");
        var lang        = "none";

        // create ajax call, sending paperId and reason for the request
        var xhrUrl = '/paper/'+paperId+'/request_deletion';

        jQuery.ajax({
            url: xhrUrl,
            dataType: 'json',
            type: 'POST',
            data: {
                reason: reason_text_to_save,
                author_id: studentId,
                author_name: studentName,
                lang: lang,
            },
            success: function (data) {
                window.location.reload();
            },
            error: function(xhr, status, error) {
                window.location.reload();
                console.error(xhr, status, error);
            }
        });

    }

    function checkConfirmDelete() {
        var text_input = document.getElementById('continue_deletion_text').value;
        if ( text_input.toLowerCase() == 'delete'.toLowerCase() ) {
            document.getElementById('confirm').disabled = false;
        } else {
            document.getElementById('confirm').disabled = true;
        }
    }

    document.addEventListener("DOMContentLoaded", function() {
        document.getElementById('close_request_deletion_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeDeletionModal();
        });
        document.getElementById('close_too_many_papers_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeTooManyPapersModal();
        });
        document.getElementById('close_already_pending_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeAlreadyPendingModal();
        });
        document.getElementById('close_already_rejected_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeAlreadyRejectedModal();
        });
        document.getElementById('close_already_restored_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeAlreadyRestoredModal();
        });
        document.getElementById('unsupported_integration_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeUnsupportedIntegrationModal();
        });
        document.getElementById('grading_template_modal').addEventListener("click", function(event) {
            event.preventDefault();
            closeGradingTemplateModal();
        });
        document.getElementById('cancel1').addEventListener("click", function(event) {
            event.preventDefault();
            closeDeletionModal();
        });
        document.getElementById('cancel2').addEventListener("click", function(event) {
            event.preventDefault();
            closeDeletionModal();
        });
        document.getElementById('cancel3').addEventListener("click", function(event) {
            event.preventDefault();
            closeDeletionModal();
        });
        document.getElementById('cancel4').addEventListener("click", function(event) {
            event.preventDefault();
            closeGradingTemplateModal();
        });
        document.getElementById('continue1').addEventListener("click", function(event) {
            event.preventDefault();
            displayPaperDetails();
        });
        document.getElementById('continue2').addEventListener("click", function(event) {
            event.preventDefault();
            continueDeletion();
        });
        document.getElementById('continue4').addEventListener("click", function(event) {
            event.preventDefault();
            // confirming a grading template deletion behaves as if the user clicked Remove from Inbox
            document.inbox_form.perform_delete.value = 1;
            document.inbox_form.submit()
        });
        document.getElementById('backtoinbox1').addEventListener("click", function(event) {
            event.preventDefault();
            closeTooManyPapersModal();
        });
        document.getElementById('backtoinbox2').addEventListener("click", function(event) {
            event.preventDefault();
            closeAlreadyPendingModal();
        });
        document.getElementById('backtoinbox3').addEventListener("click", function(event) {
            event.preventDefault();
            closeAlreadyRejectedModal();
        });
        document.getElementById('backtoinbox4').addEventListener("click", function(event) {
            event.preventDefault();
            closeAlreadyRestoredModal();
        });
        document.getElementById('confirm').addEventListener("click", function(event) {
            event.preventDefault();
            sendDeletionRequest();
            check_all_boxes();      // this unchecks all boxes since the check_all box is unchecked
            closeDeletionModal();   // reset modal for next request
        });
        document.getElementById('overlay').addEventListener("click", function(event) {
            return;     // when a modal is active, the overlay element prevents users from clicking on background elements
        });
        // this event listener handles all of the trapping of focus within modals
        document.addEventListener('keydown', function(e) {
            var isEnterPressed = e.key === 'Enter' || e.keyCode === 13;

            if (isEnterPressed &&
                (   document.activeElement === $('continue_deletion_text')
                 || document.activeElement === $('reason')
                )) {
                e.preventDefault();
            }

            var isTabPressed   = e.key === 'Tab'   || e.keyCode === 9;
            if (!isTabPressed) {
                return;
            }

            if (e.shiftKey) {                                                               // shift + tab: cycle backward
                if (document.activeElement === $('close_too_many_papers_modal')) {          // too many papers modal
                    $('backtoinbox1').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('close_already_pending_modal')) {   // already pending modal
                    $('backtoinbox2').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('close_already_rejected_modal')) {  // already rejected modal
                    $('backtoinbox3').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('close_already_restored_modal')) {  // already restored modal
                    $('backtoinbox4').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('close_unsupported_integration_modal')) { // unsupported integration modal
                    $('backtoinbox5').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('close_grading_template_modal')) {   // grading template modal
                    $('continue4').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('close_request_deletion_modal')) {  // request deletion modal
                    var page_2_display = $('request_page_2').style.display;
                    var reason_selected_display = $('reason_selected').style.display;
                    if (page_2_display === "" || page_2_display === "none") {               // first page
                        $('continue1').focus();
                    } else if (   page_2_display === "block"                                // second page
                               && reason_selected_display === "" || reason_selected_display === "none") {
                        if ($('continue2').disabled) {
                            $('cancel2').focus();
                        } else {
                            $('continue2').focus();
                        }
                    } else if (page_2_display === "block" && reason_selected_display === "block") { // third page
                        if ($('confirm').disabled) {
                            $('cancel3').focus();
                        } else {
                            $('confirm').focus();
                        }
                    }
                    e.preventDefault();
                }
            } else {                                                                        // tab: cycle forward
                if (document.activeElement === $('backtoinbox1')) {                         // too many papers modal
                    $('close_too_many_papers_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('backtoinbox2')) {                  // already pending modal
                    $('close_already_pending_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('backtoinbox3')) {                  // already rejected modal
                    $('close_already_rejected_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('backtoinbox4')) {                  // already restored modal
                    $('close_already_restored_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('backtoinbox5')) {                  // unsupported integration modal
                    $('close_unsupported_integration_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('continue1')) {                     // request deletion modal, first page
                    $('close_request_deletion_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('cancel2')) {                       // request deletion modal, second page
                    if ($('continue2').disabled) {                                          // reason not yet entered
                        $('close_request_deletion_modal').focus();
                    } else {                                                                // reason entered
                        $('continue2').focus();
                    }
                    e.preventDefault();
                } else if (document.activeElement === $('continue2')) {                     // request deletion modal, second page
                    $('close_request_deletion_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('cancel3')) {                       // request deletion modal, third page
                    if ($('confirm').disabled) {                                            // DELETE not yet entered
                        $('close_request_deletion_modal').focus();
                    } else {                                                                // DELETE entered
                        $('confirm').focus();
                    }
                    e.preventDefault();
                } else if (document.activeElement === $('continue4')) {                     // grading template modal
                    $('close_grading_template_modal').focus();
                    e.preventDefault();
                } else if (document.activeElement === $('confirm')) {                       // DELETE entered
                    $('close_request_deletion_modal').focus();
                    e.preventDefault();
                }
            }
        });
    });
</script>

<div class="overlay" id="overlay">
</div>
<div class="modal" id="too_many_papers_modal" tabindex="-1" role="dialog" aria-labelledby="too_many_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_too_many_papers_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="too_many_modal_label" class="modal-title">Too many papers selected</h2>
            </div>
            <div class="modal-body">
                <p class="descr">
                    You can only request one paper deletion at a time to ensure each is confimed individually.
                </p>
                <p class="descr">
                    Administrators receive a notification for each request and can use the number of requests to look for potential instances of misuse or where assignment settings may need to be changed.
                </p>
                <p class="descr">
                    Select a single paper to proceed.
                </p>
                <div class="modal-buttons">
                    <button id="backtoinbox1" class="continue modal-button backtoinbox">Back to inbox</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="already_pending_modal" tabindex="-1" role="dialog" aria-labelledby="pending_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_already_pending_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="pending_modal_label" class="modal-title">Paper deletion already requested</h2>
            </div>
            <div class="modal-body">
                <p class="descr">
                    We've sent your Turnitin administrator a paper deletion request for this paper. Keep an eye on your Messages Inbox to see if they approve it.
                </p>
                <div class="modal-buttons">
                    <button id="backtoinbox2" class="continue modal-button backtoinbox">Back to inbox</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="already_rejected_modal" tabindex="-1" role="dialog" aria-labelledby="rejected_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_already_rejected_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="rejected_modal_label" class="modal-title">Deletion request already rejected</h2>
            </div>
            <div class="modal-body">
                <p class="descr">
                    This paper has already been rejected for deletion by your Turnitin administrator.
                </p>
                <p class="descr">
                    Turnitin is unable to override their decision and we would recommend contacting your Turnitin administrator directly to discuss it further.
                </p>
                <div class="modal-buttons">
                    <button id="backtoinbox3" class="continue modal-button backtoinbox">Back to inbox</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="already_restored_modal" tabindex="-1" role="dialog" aria-labelledby="restored_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_already_restored_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="restored_modal_label" class="modal-title">This paper has been recovered</h2>
            </div>
            <div class="modal-body">
                <p class="descr">
                    This paper has already been deleted previously and recovered by your admin.
                </p>
                <p class="descr">
                    If you need for this paper to be deleted again, your administrator will need to <a href="https://supportcenter.turnitin.com" target="_blank">contact the Turnitin support team directly</a> with the following information.
                </p>
                <p class="info">Class: Express Solutions</p>
                <p class="info">Class ID: 38565707</p>
                <p class="info">Assignment: Assessment-02</p>
                <p class="info">Paper title: <span id="recovered_paper_title"></span></p>
                <p class="info">Paper ID: <span id="recovered_paper_id"></span></p>
                <div class="modal-buttons">
                    <button id="backtoinbox4" class="continue modal-button backtoinbox">Back to inbox</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="unsupported_integration_modal" tabindex="-1" role="dialog" aria-labelledby="unsupported_integration_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_unsupported_integration_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="unsupported_integration_modal_label" class="modal-title">Unsupported Access Path</h2>
            </div>
            <div class="modal-body">
                <p class="descr">
                    Paper deletion requests can only be made for assignments created on the Turnitin website, using an LTI integration, or via Blackboard Basic.
                </p>
                <div class="modal-buttons">
                    <button id="backtoinbox5" class="continue modal-button backtoinbox">Back to inbox</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="grading_template_modal" tabindex="-1" role="dialog" aria-labelledby="grading_template_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_grading_template_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="grading_template_modal_label" class="modal-title">Confirm Grading Template deletion</h2>
            </div>
            <div class="modal-body">
                <p class="descr">
                    As a grading template doesn't contain any intellectual property that needs to be confirmed by your account administrator before deletion, you can skip the queue to delete it immediately.
                </p>
                <p class="descr">
                    By deleting a grading template, you'll also remove any grading you've added to it.
                </p>
                <p class="descr">
                    Grading templates, once deleted, can't be recovered by the account administrator.
                </p>
                <div class="modal-buttons">
                    <button id="cancel4" style="margin-left: 190px" class="cancel modal-button">Cancel</button>
                    <button id="continue4" class="continue modal-button">Delete Now</button>
                </div>
            </div>
        </div>
    </div>
</div>

<div class="modal" id="request_deletion_modal" tabindex="-1" role="dialog" aria-labelledby="deletion_modal_label" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button id="close_request_deletion_modal" class="close" data-dismiss="modal">×</button>
                <h2 id="deletion_modal_label" class="modal-title">Permanent deletion request</h2>
            </div>
            <div class="modal-body">
                <form method="post" id="deletionForm" enctype="application/x-www-form-urlencoded" action="">
                <input type="hidden" id="reason_text_input" name="reason_text_input" value="">
                <div id="request_page_1">
                    <p class="descr">
                        You are about to send a request for this paper to be deleted permanently from Turnitin.
                    </p>
                    <p class="descr">
                        We will delete the uploaded file, any grading, and the Similarity Report as soon as we have approval from your Turnitin Administrator.
                    </p>
                    <p class="descr">
                        Administrators can recover papers up to 30 days after they have approved a deletion. After this date, the paper is impossible to recover by your administrator or by Turnitin.
                    </p>
                    <div class="modal-buttons">
                        <button id="cancel1" class="cancel modal-button">Cancel</button>
                        <button id="continue1" class="continue modal-button">Continue</button>
                    </div>
                </div>
                <div id="request_page_2" style="display:none">
                    <p class="modal-body-p">
                        <b>Paper Title</b>
                    </p>
                    <div id="deletion_paper_title" style="margin: 0 0 10px 20px;"></div>
                    <p class="modal-body-p">
                        <b>Paper ID</b>
                    </p>
                    <div id="deletion_paper_id" style="margin: 0 0 10px 20px;"></div>
                    <p class="modal-body-p">
                        <b>Submitter's Name</b>
                    </p>
                    <div id="deletion_submitter_name" style="margin: 0 0 10px 20px;"></div>
                    <p class="modal-body-p">
                        <b>Class Title</b>
                    </p>
                    <p class="modal-body-p">
                        </p><div style="margin: 0 0 10px 20px;">Express Solutions</div>
                    <p></p>
                    <p class="modal-body-p">
                        <b>Assignment Title</b>
                    </p>
                    <p class="modal-body-p">
                        </p><div style="margin: 0 0 10px 20px;">Assessment-02</div>
                    <p></p>
                    <p class="modal-body-p">
                        <b>Reason for Deletion<span class="required">*</span></b>
                    </p>
                    <div id="reason_selection">
                        <select name="reason" id="reason" onchange="changeReason()">
                            <option value="-1" disabled="" selected="">Please select reason</option>
                            <option value="1" id="reason1">Wrong paper submitted</option>
                            <option value="2" id="reason2">Remove personal data</option>
                            <option value="3" id="reason3">Didn't know the paper would appear in similarity matches</option>
                            <option value="4" id="other_reason">Other</option>
                        </select>
                        <input type="hidden" id="reason1english" value="Wrong paper submitted">
                        <input type="hidden" id="reason2english" value="Remove personal data">
                        <input type="hidden" id="reason3english" value="Didn't know the paper would appear in similarity matches">
                        <div id="other_text_block" style="display:none">
                            <textarea id="other_text" rows="3" cols="50" maxlength="100" oninput="checkContinue()" placeholder="Reason for Deletion"></textarea>
                        </div>
                        <p class="tip">
                            Your Turnitin administrator will see your reason when reviewing your request.
                        </p>
                        <div class="modal-buttons">
                            <button id="cancel2" class="cancel modal-button">Cancel</button>
                            <button id="continue2" class="continue modal-button" disabled="">Continue</button>
                        </div>
                    </div>
                    <div id="reason_selected" style="display:none">
                        <div id="reason_text" style="margin: 0 10px 10px 20px;"></div>
                        <p class="modal-body-p"><b>
                            Everything look correct? Type DELETE to proceed
                        </b></p>
                        <input type="text" class="modal-input" id="continue_deletion_text" oninput="checkConfirmDelete()">
                        <div class="modal-buttons">
                            <button id="cancel3" class="cancel modal-button">Cancel</button>
                            <input id="confirm" type="submit" class="continue modal-button" value="Confirm" disabled="true">
                        </div>
                    </div>
                </div>
                </form>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    var isGeneratingFile = false;
    function confirmDelete() {
        if (confirm('Your selected papers will only be removed from view within inbox. They won’t be deleted from the Turnitin database and can still appear as matches in Similarity Reports. Request a permanent deletion to fully remove the paper.\nOnce removed from the inbox, you will be unable to request a permanent deletion or restore it to view without contacting Turnitin directly.')) {
            document.inbox_form.perform_delete.value = 1;
            document.inbox_form.submit();
        }
    }

    var notifyIntervalId;

    function confirmZipDownload( use_pdfs ) {

        Tii.cms.Utils.unNotify();

        if ( notifyIntervalId ) {
            clearInterval( notifyIntervalId );
        }

        if (!isAnObjectBoxChecked()) {
            Tii.cms.Utils.notify('Please select one or more papers to download.');
            return;
        }

        if (!confirm('This action will compress the selected files and download them to your computer.  Do you want to continue?')) {
            return;
        }


        document.inbox_form.do_zip_download.value = 1;
        document.inbox_form.use_pdfs.value = use_pdfs ? 1 : 0;

        

        jQuery.post(
            window.location.href,
            jQuery("#inbox_form").serialize()
        )

        .done( function( response, status, jqXHR ) {
            Tii.cms.Utils.notify('Your files are being compressed. When compression is complete a zip file will be available for download in your Turnitin <a href="/announcements.asp?r=63.5302762845843&svr=30&lang=en_us&">Messages</a> tab.');
        })

        .fail( function( jqXHR, status, errorText ) {
            Tii.cms.Utils.notify('There was an error processing your request.');
        });

        notifyIntervalId = setInterval( function()
            {
                Tii.cms.Utils.unNotify();
                notifyIntervalID = null;
            },
            10000
        );

        return;
    }

    function isAnObjectBoxChecked() {
        if (document.inbox_form.check_all.checked) {
            return true;
        }

        var objects = document.inbox_form.object_checkbox;
        if (objects.length > 1){
            for (var i = 0; i < objects.length; i++) {
                if (objects[i].checked) {
                    return true;
                }
            }
        }
        else {
            return (objects.checked);
        }

        return false;
    }

    function prepareBulkDownload() {
        var callback = {
            success: function(o) {
                var response = YAHOO.lang.JSON.parse(o.responseText);

                if (response.error) {
                    // error responses will already come back localized
                    Tii.cms.Utils.notify(response.error);
                    return;
                }

                switch (response.did_prepare) {
                    case -1:
                        Tii.cms.Utils.notify('We are compressing a file you previously requested for download. When this compression is complete, you may request another file for download.');
                        disableDownloadMenuItem(1);
                        downloadMenuButton.set('title', 'You have already requested a file for download. Please check your message inbox for your file.');
                        break;
                    case 1:
                        Tii.cms.Utils.notify('Your files are being compressed. When compression is complete a zip file will be available for download in your Turnitin <a href="/announcements.asp?r=63.5302762845843&svr=30&lang=en_us&">Messages</a> tab.');
                        disableDownloadMenuItem(1);
                        downloadMenuButton.set('title', 'You have already requested a file for download. Please check your message inbox for your file.');
                        break;
                    default:
                        Tii.cms.Utils.notify('There was an error processing your request.');
                        break;
                }
            },
            failure: function(o) {
                Tii.cms.Utils.notify('There was an error processing your request.');
            }
        };

        YAHOO.util.Connect.setForm(document.inbox_form);
        YAHOO.util.Connect.asyncRequest('POST', '/t_bulk_download.asp?svr=3&action=prepare&session-id=4a5a8d58297847b0a3103fd03b156d02', callback);
    }

    function checkReadsAvailableForBulk() {

        if(!isAnObjectBoxChecked()) {
            Tii.cms.Utils.notify('No students were selected for download. Please select at least one student for download.');
            return;
        }


        var callback = {
            success: function(o) {
                var response = YAHOO.lang.JSON.parse(o.responseText);

                if (response.error) {
                    // error responses will already come back localized
                    Tii.cms.Utils.notify(response.error);
                    return;
                }
                else if (response.unavailable_reads === 0) {
                    var message = [
                        'This action will compress the selected files into a zip file. You will be notified in your Turnitin Messages tab when the zip file is available for download.',
                        'Do you wish to continue?'
                    ].join("\n\n");
                    if(confirm(message)) {
                        prepareBulkDownload();
                    }
                }
                else if(response.unavailable_reads > 0) {
                    var message = [
                        'This action will compress the selected files into a zip file. You will be notified in your Turnitin Messages tab when the zip file is available for download.',
                        'You have selected {#} student(s) whose paper has not been graded using GradeMark.'.replace('{#}', response.unavailable_reads),
                        'Do you wish to continue?'
                    ].join("\n\n");
                    if(confirm(message)) {
                         prepareBulkDownload();
                     }
                }
                else if(response.unavailable_reads === -1) {
                    var message = [
                        'The compression process cannot begin because the students you selected do not have GradeMark files.',
                    ].join("\n\n");

                    alert(message);
                }
                else {
                    Tii.cms.Utils.notify('There was an error processing your request');
                }
            },
            failure: function(o) {
                Tii.cms.Utils.notify('There was an error processing your request');
            }
        };

        YAHOO.util.Connect.setForm(document.inbox_form);
        YAHOO.util.Connect.asyncRequest('POST', '/t_bulk_download.asp?svr=3&action=check_for_reads&session-id=4a5a8d58297847b0a3103fd03b156d02', callback);
    }

    function getCookie(name) {
        var dc = document.cookie;
        var prefix = name + "=";
        var begin = dc.indexOf("; " + prefix);
        if (begin == -1) {
            begin = dc.indexOf(prefix);
            if (begin != 0) {
                return null;
            }
        } else {
            begin += 2;
        }
        var end = document.cookie.indexOf(";", begin);
        if (end == -1) {
            end = dc.length;
        }
        return unescape(dc.substring(begin + prefix.length, end));
    }

    function toggleReportBreakdown(element) {
        var tCells = YAHOO.util.Dom.getElementsByClassName('report_breakdown_hide');
        var cellsLength = tCells.length;
        if (cellsLength) {
            YAHOO.util.Dom.replaceClass(element,'view_report_breakdown', 'hide_report_breakdown');
            for (i=0; i < cellsLength; i++) {
                YAHOO.util.Dom.replaceClass(tCells[i], 'report_breakdown_hide', 'report_breakdown_show');
            }
        } else {

            tCells = YAHOO.util.Dom.getElementsByClassName('report_breakdown_show');
            cellsLength = tCells.length;
            if (cellsLength) {
                YAHOO.util.Dom.replaceClass(element,'hide_report_breakdown', 'view_report_breakdown');
                for (i=0; i < cellsLength; i++) {
                    YAHOO.util.Dom.replaceClass(tCells[i], 'report_breakdown_show', 'report_breakdown_hide');
                }
            }
        }
        return false;
    }

    var deleteMenuButton;
    function initDeleteMenu () {

        deleteMenuButton = new YAHOO.widget.Button("delete_menu_button_container", {
                                                type: "menu",
                                                menu: "delete_menu_select",
                                                disabled: false });

        deleteMenuButton.getMenu().subscribe("click", onDeleteMenuClick);
    }

    var scrollPosition = 0;
    //    Click event listener for the Delete Button's Menu instance
    function onDeleteMenuClick (p_sType, p_aArgs) {

        var event = p_aArgs[0],    //    DOM event
            menuItem = p_aArgs[1];    //    MenuItem instance that was the target of the event

        if (menuItem.value == '0') {
            confirmDelete();
        }
        else if (menuItem.value == '1') {
            var size = jQuery('.inbox_table input:checked').not('#check_all').size();
            if (size != 1) {
                openTooManyPapersModal();
            } else {
                var checked_item    = jQuery('.inbox_table input:checked').not('#check_all')[0];
                var paperId         = checked_item.value;
                var paperTitle      = checked_item.title;
                var submitterName   = checked_item.getAttribute("submitter_name");
                var alreadyPending  = checked_item.getAttribute("pending_deletion");
                var alreadyRejected = checked_item.getAttribute("already_rejected_deletion");
                var alreadyRestored = checked_item.getAttribute("restored_deletion");
                var gradingTemplate = checked_item.getAttribute("grading_template");
                var sid             = checked_item.getAttribute("sid");
                var unsupportedIntegration = checked_item.getAttribute("unsupported_integration");

                $('deletion_paper_title').innerHTML    = paperTitle;
                $('deletion_paper_id').innerHTML       = paperId
                $('deletion_submitter_name').innerHTML = submitterName;
                if (unsupportedIntegration == 1) {
                    openUnsupportedIntegrationModal();
                } else if (gradingTemplate == 1 || sid == null) {   // sid is null when user just created new grading template
                    openGradingTemplateModal();
                } else if (alreadyPending == 1) {
                    openAlreadyPendingModal();
                } else if (alreadyRejected == 1) {
                    openAlreadyRejectedModal();
                } else if (alreadyRestored == 1) {
                    document.getElementById('recovered_paper_title').innerHTML=paperTitle;
                    document.getElementById('recovered_paper_id').innerHTML=paperId;
                    openAlreadyRestoredModal();
                } else {
                    openDeletionModal();
                }
            }
            $('overlay').classList.add("active");
            scrollPosition = document.documentElement.scrollTop || document.body.scrollTop;
            window.scrollTo(0,0);
        }

    }

    var reviewMenuButton;
    function closeReviewMenu(domId) {
        var closeElement = document.getElementById('close-popover');
        if (typeof closeElement !== 'undefined' && closeElement !== null) {
            closeElement.click();
            setReviewMenuAriaExpanded(domId, "false");
            reviewMenuButton.focus();
        }
    }

    function setReviewMenuAriaExpanded(domId, value=null) {
        reviewMenuButton = document.getElementById(domId);
        if (typeof reviewMenuButton !== 'undefined' && reviewMenuButton !== null) {
            var expanded = /(.)*popover-trigger(.)*/.test(reviewMenuButton.classList) ? "false" : "true";   // looks at current value (before click/press)
            if (value !== null) { expanded = value; }
            reviewMenuButton.setAttribute('aria-expanded', expanded);
            if (expanded === "true") {
                // find and set focus on menu link, which can be closed with an Esc
                setReviewMenuNavigation(reviewMenuButton);
            } else {
                reviewMenuButton.focus();
            }
        }
    }

    function enableDeleteMenuItem (itemIndex) {
        var menu = deleteMenuButton.getMenu();
        var menuItem = menu.getItem(itemIndex);
        if (menuItem) {
            menuItem.cfg.setProperty('disabled', false);
        }
    }
    function disableDeleteMenuItem (itemIndex) {
        var menu = deleteMenuButton.getMenu();
        var menuItem = menu.getItem(itemIndex);
        if (menuItem) {
            menuItem.cfg.setProperty('disabled', true);
        }
    }
    YAHOO.util.Event.onDOMReady(initDeleteMenu);

    var downloadMenuButton;
    function initDownloadMenu () {

        downloadMenuButton = new YAHOO.widget.Button("download_menu_button_container", {
                                                type: "menu",
                                                menu: "download_menu_select",
                                                disabled: isGeneratingFile });

        downloadMenuButton.getMenu().subscribe("click", onDownloadMenuClick);

    }

    //    Click event listener for the Download Button's Menu instance
    function onDownloadMenuClick (p_sType, p_aArgs) {

        var event = p_aArgs[0],    //    DOM event
            menuItem = p_aArgs[1];    //    MenuItem instance that was the target of the event


        if (menuItem.value == '0') {
            confirmZipDownload();
        }
        else if (menuItem.value == '2') {
            confirmZipDownload(1);
        }
        else if (menuItem.value == '1') {
            checkReadsAvailableForBulk();
        }

    }

    function disableDownloadMenuItem (itemIndex) {
        var menu = downloadMenuButton.getMenu();
        var menuItem = menu.getItem(itemIndex);
        menuItem.cfg.setProperty('disabled', true);
    }
    YAHOO.util.Event.onDOMReady(initDownloadMenu);

    function submitNothing (event, el) {
        event.preventDefault();

        el = el ? el : this;

        var studentID = jQuery(el).attr('sid');
        var draft = jQuery(el).attr('draft');

        draft = (draft == "") ? '0': draft;
        // disable button
        jQuery(el).hide();

        // get parent row and child cells we need to swap out content for.
        var studentRow = jQuery('.student-' + studentID);

        var spinnerSpan = jQuery(studentRow).find('span.nothing-submission-spinner');
        jQuery(spinnerSpan).show();

        if (!jQuery.cookie('submit-nothing-modal-viewed')) {
            jQuery('.submit-nothing-first-time').dialog({
                autoOpen: true,
                modal: true,
                width: 560,
                closeOnEscape: true,
                buttons: [
                    {
                        text: "OK",
                        "class": 'button primary',
                        click: function (event, ui) {
                        
                            jQuery.cookie('submit-nothing-modal-viewed', 'true', { path: "/;SameSite=none", secure: true });
                        
                            jQuery(this).dialog('close');
                            submitNothing(event, el);
                        }
                    },
                    {
                        text: "Cancel",
                        "class": 'button',
                        click: function (event, ui) {
                            jQuery(spinnerSpan).hide();
                            jQuery(el).show();
                            jQuery(this).dialog('close');
                        }
                    }
                ],
                // need to do this to add the right class to the footer button container.
                create:function () {
                    jQuery(this).closest(".ui-dialog").find(".ui-dialog-buttonpane").addClass("ft");
                }
            });
            return;
        }

        
        var attemptingLateSubmission = true;
        

        
        var isAfterDueDate = true;
        

        
        var reportGenSpeed = 1
        

        if (reportGenSpeed && (!isAfterDueDate || attemptingLateSubmission) && !confirm("Any and all marks will be deleted when or if the student submits to this assignment. Would you like to continue?")) {
            jQuery(spinnerSpan).hide();
            jQuery(el).show();
            return;
        }

        var paperIDCell = jQuery(studentRow).find('td.pid');
        var dvCell = jQuery(studentRow).find('td.ibox_grademark');
        var responseCell = jQuery(studentRow).find('td.gmr');
        var titleCell = jQuery(studentRow).find('td.ibox_title');
        var checkboxCell = jQuery(studentRow).find('td.ibox_checkbox');
        var dateElement = jQuery(studentRow).find('td.class_status').find('span').html() ? jQuery(studentRow).find('td.class_status').find('span') : jQuery(studentRow).find('td.class_status');

        // create ajax call, sending student ID, and creating a "nothing submission"
        // needs to return an object ID, to then refresh the page?
        var xhrUrl = '/paper/submission/grading_template';

        jQuery.ajax({
            url: xhrUrl,
            dataType: 'json',
            type: 'POST',
            data: {
                assignment_id: '134561979',
                author_id: studentID,
                submitter: '9277090',
                type: 'nothing'
            },
            success: function (data) {
                var paperID = data.submission;
                var submitterID = '9277090';

                // replace this with the data.title from server.
                titleCell.html('');
                var gradingTemplateTitle = '[Grading Template]';
                var titleLink = jQuery("<a>" + gradingTemplateTitle + "</a>")
                        .attr('href', 'javascript:void(0);')
                        .attr('onClick', 'Tii.cms.Utils.openDocumentViewer(' + paperID + ',' + submitterID + ', {service:3, draft: ' + draft + ', dprStatus: null, evBetaAccountEnabled: true, accountHidingDvReturnLink: true, ro: 0});')
                        .attr('class', 'gm_active');
                titleCell.append(titleLink);

                paperIDCell.html(paperID);
                // replace this date with data.date from server.
                var date = new Date();

                // need localized date format.
                
                var lang = 'en_us';
                

                var format = '%d-%b-%Y';

                var dateString = YAHOO.util.Date.format(date, {format: format}, lang);
                dateElement.html(dateString);

                checkbox = jQuery("<input>")
                    .attr('tabindex', 3)
                    .attr('type', 'checkbox')
                    .attr('name', 'object_checkbox')
                    .val(paperID)
                    .click(uncheck_checkall);

                checkboxCell.append(checkbox);
                jQuery(studentRow).find('button.submit-nothing-btn').hide();

                if (dvCell) {
                    var dvLink = jQuery("<a></a>")
                        .attr('href', 'javascript:void(0);')
                        .attr('onClick', 'Tii.cms.Utils.openDocumentViewer(' + paperID + ',' + submitterID + ', {service:3, draft: 0, dprStatus: null, evBetaAccountEnabled: true, accountHidingDvReturnLink: true, ro: 0});')
                        .attr('class', 'gm_active');

                    var responseLink = dvLink.clone();
                    responseLink.attr('title', 'The student has not viewed')

                    var dvIcon = jQuery("<img>")
                        .attr('src', '/r/build/images/icons/cms/turnitin/GM-inbox/c2bf8e55e1cec1bff1aa4db5ffe4aaf0cb_icon-edit.png' )
                        .attr('width', 16)
                        .attr('height', 16)
                        .attr('alt', 'GradeMark')
                        .attr('title', 'This paper has not been graded');

                    dvLink.append(dvIcon);
                    dvCell.append(dvLink);

                    var responseIcon = jQuery("<img>")
                        .attr('src', '/r/build/images/icons/cms/turnitin/GM-inbox/8fd9b5937be0da634e1d281301b1aebfcb_icon-dot.png' )
                        .attr('class', 'unread')
                        .attr('width', 5)
                        .attr('height', 5);

                    responseLink.append(responseIcon);
                    responseCell.append(responseLink);
                }
                jQuery(spinnerSpan).hide();

            },
            error: function(xhr, status, error) {
                console.error(xhr, status, error);
                // if there was an error, return the row to it's original state
                jQuery(spinnerSpan).hide();
                jQuery(el).show();
            }
        });
        return false;
    }

</script>

<script type="text/javascript">
    // refresh EV auth periodically
    YAHOO.util.Event.onDOMReady(function() {
        // 5 minutes
        const duration = 5 * 60 * 1000;
        setInterval(function() {
            Tii.cms.Utils.refreshEvAuth();
        }, duration);
    });
</script>



<!--<script type="text/javascript">
    win=window.open('class_expired.asp?r=63.5302762845843&svr=30&lang=en_us&svr=30&session-id=4a5a8d58297847b0a3103fd03b156d02&enddate=&classID=38565707','WindowName','toolbar=0,location=no,resizable=yes,width=400,height=180,scrollbars=yes');
    win.focus();
</script>-->


<div class="submit-nothing-first-time" style="display: none;">
    <div class="hd">Grading without a submission</div>
    <div class="bd">Clicking on the gray pen for a student who hasn't submitted a file creates a grading template, which will allow you to give the student GradeMark feedback for the assignment. A grading template takes the place of a submission and will prevent the student from submitting to assignments where resubmission is not allowed.</div>
</div>
<form method="post" name="inbox_form" id="inbox_form" class="nopad" accept-charset="utf-8">
    <input type="hidden" name="perform_delete" value="0">
    <input type="hidden" name="do_zip_download" value="0">
    <input type="hidden" name="use_pdfs" value="0">
    <input type="hidden" name="folder" value="0">

    <!-- IBOX START-->
    <div class="ibox" id="assign_inbox">
        <div class="ibox_header_wrapper">
            <div class="ibox_header">
                <div class="ibox_header_inner">
                    <!-- ###### Title of Account ########## -->

                    
                    <h2>
                        Assessment-02
                        <div class="clear"></div>
                        <em>Inbox</em>

                        <!-- NEW VIEW OPTIONS
                        ==========================================================================-->
                        
                        <em> | Now Viewing: <span id="now_viewing"><a href="#" onclick="return false;">
                            new papers
                            <span class="downarrow">▼</span>
                        </a></span></em>

                        <div id="now_viewing_menu" class="yui-module yui-overlay yuimenu yui-overlay-hidden" style="z-index: 2; position: absolute; visibility: hidden;">
                            <div class="bd">
                                <ul id="now_viewing_dropdown" class="first-of-type" role="menu" tabindex="-1">
                                    <li class="yuimenuitem first-of-type" id="yui-gen23" groupindex="0" index="0" role="none"><a class="yuimenuitemlabel" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=" role="menuitem" tabindex="-1">New papers</a></li>
                                    <li class="yuimenuitem" id="yui-gen24" groupindex="0" index="1" role="none"><a class="yuimenuitemlabel" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=1&amp;pg=" role="menuitem" tabindex="-1">Viewed papers</a></li>
                                    <li class="yuimenuitem" id="yui-gen25" groupindex="0" index="2" role="none"><a class="yuimenuitemlabel" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=2&amp;pg=" role="menuitem" tabindex="-1">Marked papers</a></li>
                                    <li class="yuimenuitem" id="yui-gen26" groupindex="0" index="3" role="none"><a class="yuimenuitemlabel" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=3&amp;pg=" role="menuitem" tabindex="-1">Pending deletion</a></li>
                                    <li class="yuimenuitem" id="yui-gen27" groupindex="0" index="4" role="none"><a class="yuimenuitemlabel" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=folder&amp;pg=" role="menuitem" tabindex="-1">All papers</a></li>
                                </ul>
                            </div>
                        </div>

                        
                    </h2>

                    <div id="controls" class="clear">
                        <!-- SUBMIT BUTTON
                        ==========================================================================-->
                    
                        <a class="matte_button" tabindex="3" href="t_submit_bulk.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979"><strong><span>Submit File</span></strong></a>


                        
                            <a tabindex="3" href="t_grademark_report.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979"><strong><span>Online Grading Report</span></strong></a> |
                        
                    

                    
                        
                            <a href="t_modify_assignment.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;referrer=inbox"><strong><span>Edit assignment settings</span></strong></a> |
                        
                        <!-- email nonsubmitters link -->
                        
                      <strong><span class="disabled_link">Email non-submitters</span></strong>
                       
                    

                    </div> <!-- end #controls -->

                    <div class="clear"></div>
                </div>
            </div>
        </div>

        <!-- IBOX BODY WRAPPER START -->
        <div class="ibox_body_wrapper yui-skin-sam">
            <!-- INBOX TOOLBAR
            ==========================================================================-->
            <div class="ibox_toolbar">
                <em id="ibox_notification"> </em>

                <div class="buttons">
                    <span id="delete_menu_button_container" class="matte_button yui-button yui-menu-button">
                        <span id="delete_menu_button" class="first-child">
                            <button type="button" tabindex="3" id="delete_menu_button_container-button">Delete</button>
                        </span>
                    </span>

                    

                    
                    <span id="download_menu_button_container" class="matte_button yui-button yui-menu-button">
                        <span id="download_menu_button" class="first-child">
                            <button type="button" tabindex="3" id="download_menu_button_container-button">Download</button>
                        </span>
                    </span>

                    
                    

                    
                        <span class="matte_button yui-button yui-menu-button">
                            <span class="first-child">
                                <input type="submit" value="move to..." tabindex="3" name="inbox_move_to" alt="move">
                            </span>
                        </span>
                    
                </div>

                <div class="clear"></div>
            </div>

            <!-- TABLE HEADER
            ==========================================================================-->
            <div class="clear"></div>

            <table class="inbox_table">
                <tbody><tr class="inbox_header">
                    <!-- CHECK ALL BOX -->
                    <th><input id="check_all" tabindex="3" type="checkbox" name="check_all" onclick="check_all_boxes();"></th>

                    <!-- AUTHOR TH -->
                    <th class="ibox_author" title="Name of the paper's author">
                    
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=4">Author</a>
                    
                    </th>

                    <!-- TITLE TH-->
                    <th class="ibox_title" title="Title entered for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=2">Title</a>
                    </th>

                    <!-- REPORT TH-->
                    <!--<td width="60" align="center">search</td>-->
                    <th class="" title="Similarity Report and Similarity Index for the paper">
                        <a tabindex="3" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=1">Similarity</a>
                        <!-- <br><a href="#" onclick="return toggleReportBreakdown(this);" class="view_report_breakdown">view detail</a>-->
                    </th>

                    <th class=" report_breakdown_hide" title="Originality Report and Similarity Index for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=5">web</a>
                    </th>

                    <th class=" report_breakdown_hide" title="Originality Report and Similarity Index for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=6">publication</a>
                    </th>
                    <th class=" report_breakdown_hide" title="Originality Report and Similarity Index for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=7">student papers</a>
                    </th>

                    <!--GRADE TH-->
                    <!--
                    
                    -->

                    <!--GRADEMARK TH-->
                    
                    <th class="" title="Grade and Online Grading for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=8">Grade</a>
                    </th>

                    <!--ELSE NOTHING-->
                    

                    <!-- RESPONSE TH -->
                    
                    <th class="" title="Has the student viewed feedback">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=9">response</a>
                    </th>

                    <!--ELSE NOTHING-->
                    

                    <!--FILE TH-->
                    <th class="" title="Downloadable original file for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=10">File</a>
                    </th>

                    <!--PAPER ID-->
                    <th class="" title="Turnitin paper id for the paper">
                        <a href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=11">Paper ID</a>
                    </th>

                    <!--DATE TH-->
                    <th class="" title="Date the paper was submitted">
                    <a tabindex="3" href="t_inbox.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;aid=134561979&amp;fo=0&amp;pg=1&amp;ro=3">Date</a>
                    </th>
                </tr>
                <!-- END TABLE HEADER
                ==========================================================================-->

                
                


<tr class="student--1">
    <!-- NO CHECKBOX -->
    
    <td class="ibox_checkbox"><input tabindex="3" type="checkbox" name="object_checkbox" onclick="uncheck_checkall()" value="2086560201" title="Verificacion" sid="-1" author_name="Anonimo Anonimo" submitter_name="Jacki Garcia" pending_deletion="0" already_rejected_deletion="0" restored_deletion="0" unsupported_integration="" grading_template=""></td>
    

    <!-- AUTHOR -->
    <td class="ibox_author ">Anonimo Anonimo</td>

    <td class="ibox_title">
        <!-- REMEDIATION TITLE -->
        
        
        <!-- TITLE -->
        
            


            
                <a tabindex="3" href="javascript:void(0);" onclick="window.open('paper_frameset.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;oid=2086560201&amp;pbd=2&amp;ro=0','paper_viewer','location=0,menubar=0,resizable=1,scrollbars=1,titlebar=0,toolbar=0,status=0');">Verificacion</a>
            
      	
        
    </td>

    <td class="or_report_cell">
        <!-- OR REPORT -->
        
        <span class="or_full_version"><a href="javascript:void(0);" class="or-link" onclick="window.open('/newreport.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;oid=2086560201&amp;pbd=2&amp;ft=1&amp;ro=','paper_viewer','location=no,menubar=no,resizable=yes,scrollbars=yes,titlebar=no,toolbar=no').focus();"><span class="or-percentage">24%</span> <span class="or-flag green">&nbsp;</span></a></span> <span class="or_print_version"><a class="green" href="javascript:void(0);" onclick="window.open('/newreport_printview.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;oid=2086560201&amp;ft=1','rview','height=768,width=1024,location=no,menubar=no,resizable=yes,scrollbars=yes,titlebar=no,toolbar=no,status=no');"><span class="white">24%</span></a></span>
        
    </td>

    <td class="or_report_cell report_breakdown_hide">22%</td>
    <td class="or_report_cell report_breakdown_hide">7%</td>
    <td class="or_report_cell report_breakdown_hide">4%</td>

    <!-- GRADEMARK -->
    
    <td class="ibox_grademark clickable">
    

        
            <a title="GradeMark" class="gm_active" tabindex="3" href="javascript:void(0);" onclick="Tii.cms.Utils.openDocumentViewer(2086560201,9277090,{service: 3, draft:0, dprStatus:2, evBetaAccountEnabled: true, accountHidingDvReturnLink: true, ro: 0});">
        		<!-- actual score indicator -->
        		<span class="score-indicator">
        	    
        		
        			<img src="/r/build/images/icons/cms/turnitin/GM-inbox/c2bf8e55e1cec1bff1aa4db5ffe4aaf0cb_icon-edit.png" alt="GradeMark" title="This submission has not been graded" width="16" height="16">
        		
        		</span>
    		</a>
    	
    
    <script>
    jQuery('.sid_-1').click(submitNothing);
    </script>
    </td>
    

    <!-- GM RESPONSE -->
    
    <td class="clickable gmr">
        

            
        <a title="The student has not viewed" class="gm_active" tabindex="3" href="javascript:void(0);" onclick="Tii.cms.Utils.openDocumentViewer(2086560201,9277090,{readonly:0, draft:0, dprStatus:2, service:3, evBetaAccountEnabled: true, accountHidingDvReturnLink: true, ro: 0});">
                
            <img class="unread" src="/r/build/images/icons/cms/turnitin/GM-inbox/8fd9b5937be0da634e1d281301b1aebfcb_icon-dot.png" width="5" height="5">
                
        </a>
    	   
        
    </td>
    

    <!-- DOWNLOAD PAPER -->
    
    <td class="">
        
            
                <a class="dl_file" title="Download (Verificacion.txt)" tabindex="3" href="javascript:win=window.open('/download_file.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;type=paper&amp;oid=2086560201&amp;p=','', 'toolbar=0,location=no,resizable=yes,width=370,height=140,scrollbars=yes');win.focus();">download paper</a>
            
        
    </td>

    

    <td class="pid">2086560201</td>
    <td class="class_status" nowrap="nowrap"><span class="late">07-May-2023</span></td>
</tr>
</tbody></table>


		
</div>


    <!-- JS for Assignment Inbox -->
    <script type="text/javascript">
        nowViewingMenu = new YAHOO.widget.Menu('now_viewing_menu', {context: ['now_viewing', 'tl', 'bl']});
        nowViewingMenu.render();
        $E.on('now_viewing', 'click', function(){ nowViewingMenu.cfg.refresh('position'); nowViewingMenu.show(); });
    </script>



<!-- IBOX BODY WRAPPER End -->



<div class="clear"></div>
</div>
<!-- IBOX END -->

    


<!-- Main Section Closed -->
</form></div>
<!-- Main Section Close -->


<!-- Main Content Closed -->
<div class="clear"></div>
</div>
<!-- Main Content Closed -->


<div id="footer_container">
	<div id="footer">
        
        <p>Copyright © 1998 – 2023 <a href="http://www.turnitin.com" target="_blank">Turnitin, LLC</a>. All rights reserved.</p>
        

        <ul>
            

            
                <li><a tabindex="0" target="_policy" href="https://help.turnitin.com/Privacy_and_Security/Privacy_and_Security.htm#Privacy_Policy">Privacy Policy</a></li>
                <li><a tabindex="0" target="_pledge" href="https://help.turnitin.com/Privacy_and_Security/Privacy_and_Security.htm#Privacy_Pledge">Privacy Pledge</a></li>
                <li><a tabindex="0" target="_termsofservice" href="https://help.turnitin.com/Privacy_and_Security/Privacy_and_Security.htm#Terms_of_Service">Terms of Service</a></li>
                <li><a tabindex="0" target="_eudataprotectioncompliance" href="https://help.turnitin.com/Privacy_and_Security/Privacy_and_Security.htm#EU_Data_Protection_and_GDPR_Compliance">EU Data Protection Compliance</a></li>
                <li><a tabindex="0" target="_copyrightprotection" href="https://help.turnitin.com/Privacy_and_Security/Privacy_and_Security.htm#Copyright_Protection">Copyright Protection</a></li>
                <li><a tabindex="0" target="_legalfaqs" href="https://help.turnitin.com/Privacy_and_Security/Privacy_and_Security.htm#Legal_FAQs">Legal FAQs</a></li>
                

                
                    <li class="help_button"><a tabindex="0" target="_helpdesk" href="/help/helpdesk.asp?r=63.5302762845843&amp;svr=30&amp;lang=en_us&amp;">Helpdesk</a></li>
                

                
                    <li><a tabindex="0" href="http://www.plagiarism.org" target="new">Research Resources</a></li>
                

            
        </ul>
	</div>
</div>

<div id="invis">
    
    
    
</div>

<!-- Wrapper Content Closed -->
<div class="clear"></div>
</div>
<!-- Wrapper Content Closed -->

<script type="text/javascript">
    var _gaq = _gaq || [];
    _gaq.push(['_setAccount', 'UA-145472-24']);
    _gaq.push(['_trackPageview']);

    (function() {
        var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
        ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
    })();
</script>


    <div class="yui-panel-container yui-overlay-hidden" id="timeoutDialog_c" style="visibility: hidden; left: 690px; top: 403px; z-index: 2;"><div id="timeoutDialog" class="modal-dialog yui-module yui-overlay yui-panel" role="alertdialog" tabindex="-1" aria-live="assertive" aria-describedby="alertText" aria-label="timeoutDialog" style="visibility: inherit; width: 500px;">
        <h2 class="hd" style="cursor: auto;">Timeout Warning</h2>
        <p id="alertText" class="bd">
            For security reasons, this page will expire in exactly <b>30 seconds.</b> If you would like to continue working on this page without timing out, click "extend session" below.
        </p>
        <div class="ft"><span id="extend-timer" class="yui-button yui-link-button"><span class="first-child"><a tabindex="0" href="#" id="extend-timer-button">Extend session</a></span></span></div>
    </div></div>


<!-- Pull the Wootric Snippet -->
<script type="text/javascript" src="https://cdn.wootric.com/wootric-sdk.js"></script>
<script type="text/javascript">

    // window.wootric_time_delay = 10;           // uncomment for testing
    // window.wootric_survey_immediately = true; // uncomment for testing
    // window.wootric_no_surveyed_cookie = true; // uncomment for testing

    window.wootricSettings = {
        email: '9277090',
        created_at: '1179955221',
        account_token: 'NPS-8984eeea',
        properties: {
            language: 'en_us',
            role: 'instructor',
            mode: 'production'
        }
    };

    // Request a survey only if window.wootric is callable
    if ( window.wootric ) {
        window.wootric('run');
    }

</script>



<div id="tiptip_holder" style="max-width:500px;"><div id="tiptip_arrow"><div id="tiptip_arrow_inner"></div></div><div id="tiptip_content"></div></div></body></html>

                             

Screenshot: