// AMR: updated June 2006 to extract the server name, path for a WCM page so Login can be set to SSL. <!--var htmlText="<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td></td>"document.write(htmlText);var thisURL = document.location;	thisHost = thisURL.host;	thisPathname = thisURL.pathname;    lastSlash = thisPathname.lastIndexOf("/");    if ((lastSlash > 7) && (thisPathname.substring(lastSlash - 7, lastSlash)== "Content")) {		ServerPath = thisHost + thisPathname.substring(0,lastSlash);}    else{		ServerPath = "www2.agsm.edu.au/agsm/web.nsf/Content";}var allcookies = document.cookie;  var pos = allcookies.indexOf("ADVISER=");  if (pos != -1) {    var start = pos + 8;    var end = allcookies.indexOf(";", start);    if (end == -1) end = allcookies.length;    var value = allcookies.substring(start, end);    value = unescape(value);    if (value == "MBA") 	{		var htmlText="<td><a href=\"/agsm/web.nsf/Content/MBAStudentHome\" OnMouseOver=\"turnOn(\'image7\'); window.status=\'My Menu\'; return true;\" OnMouseOut=\"turnOff(\'image7\'); window.status=\'\';\"><img height=\"45\" alt=\"MBA Home\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/MBAStudentHome\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\'); window.status=\'\';\"><img height=\"45\" alt=\"MBA Home\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText); }else if (value =="EMBA")   	{var htmlText="<td><a href=\"/agsm/web.nsf/Content/EMBAStudentHome\" OnMouseOver=\"turnOn(\'image7\'); window.status=\'My Menu\'; return true;\" OnMouseOut=\"turnOff(\'image7\');window.status=\'\';\"><img height=\"45\" alt=\"EMBA Home\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/EMBAStudentHome\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\');window.status=\'\';\"><img height=\"45\" alt=\"EMBA Home\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText); }else if (value =="HKMBA")   	{var htmlText="<td><a href=\"/agsm/web.nsf/Content/HKMBAStudentHome\" OnMouseOver=\"turnOn(\'image7\'); window.status=\'My Menu\'; return true;\" OnMouseOut=\"turnOff(\'image7\');window.status=\'\';\"><img height=\"45\" alt=\"HKMBA Home\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/HKMBAStudentHome\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\');window.status=\'\';\"><img height=\"45\" alt=\"HKMBA Home\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText); }else if (value =="AdjunctFaculty")   	{var htmlText="<td><a href=\"/agsm/web.nsf/Content/AdjunctFaculty\" OnMouseOver=\"turnOn(\'image7\'); window.status=\'My Menu\'; return true;\" OnMouseOut=\"turnOff(\'image7\');window.status=\'\';\"><img height=\"45\" alt=\"Adjunct Faculty\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/AdjunctFaculty\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\');window.status=\'\';\"><img height=\"45\" alt=\"Adjunct Faculty\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText); }else if (value =="FacultyAndStaff")   	{var htmlText = "<td><a href=\"/agsm/web.nsf/Content/FacultyandStaffHome\" OnMouseOver=\"turnOn(\'image7\'); window.status=\'My Menu\'; return true;\" OnMouseOut=\"turnOff(\'image7\'); window.status=\'\';\"><img height=\"45\" alt=\"My Menu\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/FacultyandStaffHome\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\'); window.status=\'\';\"><img height=\"45\" alt=\"Faculty and Staff\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText); }else if (value =="Alumni")   	{var htmlText="<td><a href=\"/agsm/web.nsf/Content/AlumniHome\" OnMouseOver=\"turnOn(\'image7\')\" OnMouseOut=\"turnOff(\'image7\');window.status=\'\';\"><img height=\"45\" alt=\"Alumni Home\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/AlumniHome\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\');window.status=\'\';\"><img height=\"45\" alt=\"Alumni Home\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText); }  else if (value =="PhD")   	{var htmlText="<td><a href=\"/agsm/web.nsf/Content/Students-PHDProgram\" OnMouseOver=\"turnOn(\'image7\')\" OnMouseOut=\"turnOff(\'image7\');window.status=\'\';\"><img height=\"45\" alt=\"Alumni Home\" name=\"image7\" src=\"/agsm/web.nsf/images/tools_mymenu.gif\" align=\"top\" border=\"0\"></a></td>"htmlText += "<td><a href=\"/agsm/web.nsf/Content/Students-PHDProgram\" OnMouseOver=\"turnOn(\'image8\'); window.status=\'My Homepage\'; return true;\" OnMouseOut=\"turnOff(\'image8\');window.status=\'\';\"><img height=\"45\" alt=\"Alumni Home\" name=\"image8\" src=\"/agsm/web.nsf/images/tools_myhomepage.gif\" align=\"top\" border=\"0\"></a></td>"htmlText= htmlText + "<td><a href=\"javascript:myopen(\'https://signon.agsm.edu.au/?SSOCMD=GETLOGINVARS&LOGINURL=TANGO_WEB\', \'MyDetails\',\'resizable=yes,width=700,height=500,scrollbars=yes\')\"  OnMouseOver=\"turnOn(\'image6\'); window.status=\'My Details\'; return true;\"\" OnMouseOut=\"turnOff(\'image6\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image6\" src=\"/agsm/web.nsf/images/tools_mydetails.gif\" align=\"top\" border=\"0\"></a></td>"document.write(htmlText);}else if (value =="Recruiter")   	{ //intentionally left blank}else if (value =="AGSMMember")   	{ //intentionally left blank	}} else { var htmlText="<td><a href=\"https://" + ServerPath + "/Login\" OnMouseOver=\"turnOn(\'image1\'); window.status=\'Log in\'; return true;\" OnMouseOut=\"turnOff(\'image1\');window.status=\'\';\"><img height=\"45\" alt=\"Log In\" name=\"image1\" src=\"/agsm/web.nsf/images/tools_login.gif\" width=\"37\" align=\"top\" border=\"0\" alt=\"Login\"></a></td>" document.write(htmlText); }var htmlText="</tr></table>"document.write(htmlText);// -->