//document.domain="lasell.edu";
function getCookieVal (offset) {var endstr = document.cookie.indexOf (";", offset);if (endstr == -1){endstr = document.cookie.length;};return unescape(document.cookie.substring(offset, endstr));}
function GetCookie (name) {var arg = name + "=";var alen = arg.length;var clen = document.cookie.length;var i = 0;while (i < clen) {var j = i + alen;if (document.cookie.substring(i, j) == arg){return getCookieVal (j);};i = document.cookie.indexOf(" ", i) + 1;if (i == 0) {break}};return null;}
function SetCookie (name,value,expires,path,domain,secure) {document.cookie = name + "=" + escape (value) + ((expires) ? "; expires=" + expires.toGMTString() : "") + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") + ((secure) ? "; secure" : "");}
function DeleteCookie (name,path,domain) {if (GetCookie(name)) {document.cookie = name + "=" + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : "") +"; expires=Thu, 01-Jan-70 00:00:01 GMT";}}
var usr;var pw;var sv;
function callcookie(){usr = document.forms("Form1").txtUserName;pw = document.forms("Form1").txtPassword;sv = document.forms("Form1").save;if (GetCookie('n8j1') != null){usr.value = raw(GetCookie('n8j1'));pw.value = raw(GetCookie('c9s3_n'));if (GetCookie('g8s-') == cookier('true')){sv.checked = true;}}};
function cookier(name) {var str;var a=1;str=name.substring(0,1);while(a<name.length){str+=String.fromCharCode(str.charCodeAt(a-1)^name.charCodeAt(a));a+=1;}return str;}
function raw(name) {var sta;var a=1;sta=name.substring(0,1);while(a<name.length){sta+=String.fromCharCode(name.charCodeAt(a-1)^name.charCodeAt(a));a+=1;}return(sta);}
function saveme(){if (sv.checked){if (usr.value.length != 0 && pw.value.length != 0){expdate = new Date();expdate.setTime(expdate.getTime()+(365 * 24 * 60 * 60 * 1000));SetCookie("n8j1", cookier(usr.value), expdate);SetCookie("c9s3_n", cookier(pw.value), expdate);SetCookie("g8s-", cookier("true"), expdate)}}else{DeleteCookie("n8j1");DeleteCookie("c9s3_n");DeleteCookie("g8s-")}};
function FillOWA(){document.forms("OWA").username.value=document.forms("Form1").txtUserName.value;document.forms("OWA").password.value=document.forms("Form1").txtPassword.value;}
function fix(){if(document.body.clientHeight>550){refill.height=(document.body.clientHeight-530)};var rc=eval("typeof(iexp)" );if (""+rc!= "undefined") {if(document.body.clientHeight>618){iexp.style.position= "absolute"}else{iexp.style.position=""}}}//same numbers as below

function menu(z) {
document.write('<body onresize="fix()";>');
//document.write('<script>document.write(document.domain);</script>');
document.write('<table width="100%" cellspacing="0" border="0"><tr><td align="center" rowspan="3" style="background-color:#FFFFFF" height="86">')
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="https://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="763" height="86" id="ITbanner" align="middle"><param name="allowScriptAccess" value="sameDomain" /><param name="movie" value="https://technology.lasell.edu/ITbanner.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#FFFFFF" /><embed src="https://technology.lasell.edu/ITbanner.swf" quality="high" bgcolor="#FFFFFF" width="763" height="86" name="ITbanner" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="https://www.macromedia.com/go/getflashplayer" /></object>');
document.write('</td><td style="background-color:#FFFFFF" width="100%" height="35pt"></td></tr><tr><td style="background-color:#ABD8FF" height="45pt"></td></tr><tr><td style="background-color:#FFFFFF" height="6"></td></tr><tr><td colspan="2" style="background-color:#D7D7D7" height="6"></td></tr></table>')
document.write('<div style="Right:30px; Top:52px; POSITION: absolute"><FONT face="Verdana" color="black" size="1"><b>Welcome!</b></font></div>')
document.write('<table class="std" cellpadding=0><tr><td class="cleft" rowspan="')
if(z==8) {document.write('5">')} else {document.write('2">')};
document.write('<style type="text/css">');
document.write('td.menu,a.menu {font:Bold 8pt arial; cursor:hand; text-decoration:none}');
document.write('</style>');
document.write('<script>');
document.write('imageon1=new Image();');
document.write('imageon1.src="https://technology.lasell.edu/botones3.gif";');
document.write('imageoff1=new Image();');
document.write('imageoff1.src="https://technology.lasell.edu/botones2.gif";');
document.write('imageon1a=new Image();');
document.write('imageon1a.src="https://technology.lasell.edu/botones3a.gif";');
document.write('imageoff1a=new Image();');
document.write('imageoff1a.src="https://technology.lasell.edu/botones2a.gif";');
document.write('</script>');
document.write('<table border=0 cellpadding=0 cellspacing=0 width=136>');
document.write('<tr><td height="2"></td></tr>');
show('http://technology.lasell.edu/welcome.htm','Home','Information Technology Home Page',(1==z));
show('http://technology.lasell.edu/about%20us.htm','About Us','About Information Technology',(2==z));
show('http://technology.lasell.edu/instructions/FAQ.htm','FAQ','Frequently Asked Questions',(3==z));
show('http://technology.lasell.edu/instructions/surviving.htm','Surviving@Lasell','Helpful Guides for a Better Life at Lasell',(4==z));
show('http://technology.lasell.edu/AV%20Equipment.htm','AV Equipment','Multimedia Equipment',(5==z));
show('http://technology.lasell.edu/Lab%20hours2.htm','Computer Lab Hours','Computer Lab Schedules',(6==z));
show('http://technology.lasell.edu/instructions/email.htm','Email','Lasell College Email',(7==z));
show('http://technology.lasell.edu/Support.htm','Help Desk','Our Working Hours',(8==z));
show('http://technology.lasell.edu/Forms.htm','Forms','Employee Forms',(9==z));
show('http://technology.lasell.edu/Mapping%20Drives/Network%20Connection.htm','Network Instructions','Email, VoiceMail, Network Drives instructions',(10==z));
show('http://technology.lasell.edu/selfhelp.htm','Self Help','Problems with your PC?',(11==z));
//show('http://technology.lasell.edu/instructions/Instructional%20Tools.htm','Software Guides','Windows and Office Guides',(12==z));
show('http://technology.lasell.edu/instructions/Cable%20&%20Telephone.htm','Telephone & Cable','VoiceMail and PhoneCalls',(13==z));
//show('http://technology.lasell.edu/virus3.htm','Virus & Security Info','Keep your viri away',(14==z));
show('http://webdrive.lasell.edu/coursepages/default.aspx','Course Webpages','Go to your Course webpages SP2009',(17==z));
show('https://webmail.lasell.edu/owa','My Email','Go to My Email',(15==z));
show('https://my.lasell.edu/','My Lasell','Go to My Lasell',(16==z));
document.write('<tr><td height="10"></td></tr>');
if (false){
document.write('<tr><td><form name="Form1" method="post" action="https://my.lasell.edu/logon.aspx?ReturnUrl=%2findex.aspx" id="Form1" onsubmit="return saveme();">');
document.write('<input type="hidden" name="__VIEWSTATE" value="dDwxNzA5ODI3MzAyOztsPHNhdmU7Pj67zq6kZYhx5g1tJwDpqkqHq+zOWg==" />');
document.write('User name:<br><INPUT type="text" name="txtUserName" id="txtUserName" style="width:128px;"><br>');
document.write('Password:<br><INPUT type="password" name="txtPassword" id="txtPassword" style="width:128px;">');
document.write('<br><input type="checkbox" value="ON" name="save">Remember Me<br>');
document.write('</td></tr><tr><td height="10"></td></tr><tr><td>');
document.write('<input type="submit" name="btnLogon" value="Go to MyLasell" id="btnLogon" style="width:128px;" /></form>');
document.write('<form action="https://webmail.lasell.edu/exchweb/bin/auth/owaauth.dll" method="post" name="OWA" onsubmit="return saveme();">');
document.write('<INPUT type="hidden" name="destination" value="https://webmail.lasell.edu/exchange"><INPUT type="hidden" name="flags" value="0"><INPUT type="hidden" name="forcedownlevel" value="0"><INPUT type="hidden" name="trusted" value="4"><INPUT type="hidden" name="username"><INPUT type="hidden" name="password"><INPUT type="submit" value="Go to MyEMail" id="SubmitCreds" name="SubmitCreds" style="width:128px;" onclick="FillOWA();"></form>');
document.write('<script language="JavaScript">callcookie();</script></td></tr>')};
document.write('<tr><td id="refill" name="refill" height="');
var hh; hh=document.body.clientHeight;
if (hh > 550) {document.write(hh-530)}else{document.write('20')};//725,705//if(hh>(130+28*#buttons)) {write(hh-110+28*#buttons)}else...
document.write('"></td><td width="8"></td></tr>');
document.write('</table>');
document.write('</td><td valign="top"><img src="https://technology.lasell.edu/arc.gif" border=0></td></tr><tr>')}

function show(a,b,c,d) {
if (d) {
document.write('<tr><td class="menu" align="center" width=128 height=28 background="https://technology.lasell.edu/botones2a.gif" onmouseover="this.background=imageon1a.src; window.status=\'',c,'\';" onmouseout="this.background=imageoff1a.src; window.status=\'\';" onmousedown=this.background=imageoff1a.src; onmouseup=this.background=imageon1a.src; onClick="location.href=\'',a,'\'";><font color="black">',b)
} else {
document.write('<tr><td class="menu" align="center" width=128 height=28 background="https://technology.lasell.edu/botones2.gif" onmouseover="this.background=imageon1.src; window.status=\'',c,'\';" onmouseout="this.background=imageoff1.src; window.status=\'\';" onmousedown=this.background=imageoff1.src; onmouseup=this.background=imageon1.src; onClick="location.href=\'',a,'\'";><font color="#000088">',b)
};}

function deprecated() {
document.write('<b><font size="7" face="Viner Hand ITC" color="#DDFFDD">Information Technology</font></b><hr>');
document.write('<tr><td class="menu" align="center" width=128 height=28 background="https://technology.lasell.edu/botones2.gif" onmouseover="this.background=imageon1.src; window.status=\'',c,'\';" onmouseout="this.background=imageoff1.src; window.status=\'\';" onmousedown=this.background=imageoff1.src; onmouseup=this.background=imageon1.src; onClick="location.href=\'',a,'\'";>',b)
document.write('<tr><td height="8"></td></tr>')


document.write('var str=mid(name,1,1);var stn=name;var a=1;')
document.write('while(stn!=""){')
document.write('str+=Chr(Asc(stn.substring(0,1))Xor(Asc(mid(str,a,1))));')
document.write('stn=stn.substring(1,100);a+=1;')
}