/*
    MIRANDA Code
    ------------------
    M_menu.js - This file contains all the elments of the main menu on left side.
    Please change the sitename and edit the code included in editable zone.
*/

function M_menu() {

    //----------------------
    // CHANGE THE SITENAME
    var M_SITENAME = 'MIRANDA';
    //----------------------
    
    if(document.getElementById('M_ORGID'))
        var M_ORGID = document.getElementById('M_ORGID').value;
    if(document.getElementById('M_SESID'))
        var M_SESID = document.getElementById('M_SESID').value;
    
    
    if(!M_SESID) {
    
        document.write('                                   ');
    
        //MENU WITHOUT SESSION
        //-------------------------------
        //start editable zone
		
document.write('<table width="213" border="0" cellspacing="0" cellpadding="0">  <tr>    <');
document.write('td width="213"><a href="/jobtools/JnCustomLogin.Login?in_organid='+M_ORGID+'"');
document.write(' onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image1\',\'\',\'');
document.write('/M_images/careershomeX.png\',1)"><img src="/M_images/careershome.png" name="');
document.write('Image1" width="213" height="40" border="0" id="Image1" /></a></td>  </tr>');
document.write('  <tr>    <td><a href="/jobtools/jncustomsearch.jobsearch?in_organid=');
document.write(''+M_ORGID+'" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image2\'');
document.write(',\'\',\'/M_images/jobsearchX.png\',1)"><img src="/M_images/jobsearch.png" name=');
document.write('"Image2" width="213" height="40" border="0" id="Image2" /></a></td>  </tr>');
document.write('  <tr>    <td><a href="/jobtools/jncustomlogin.JobSeekerToolBoxAction?in_');
document.write('organId='+M_ORGID+'&in_create_account_button=Register=" onmouseout="MM_swap');
document.write('ImgRestore()" onmouseover="MM_swapImage(\'Image3\',\'\',\'/M_images/registerX.pn');
document.write('g\',1)"><img src="/M_images/register.png" name="Image3" width="213" height="');
document.write('40" border="0" id="Image3" /></a></td>  </tr>  <tr>    <td><a href="../whyj');
document.write('.html" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image4\',');
document.write('\'\',\'/M_images/whyjoinusX.png\',1)"><img src="/M_images/whyjoinus.png" name="');
document.write('Image4" width="213" height="40" border="0" id="Image4" /></a></td>  </tr>');
document.write('  <tr>    <td><a href="../whatwe.html" onmouseout="MM_swapImgRestore()" onmou');
document.write('seover="MM_swapImage(\'Image5\',\'\',\'/M_images/whatwedoX.png\',1)"><img src="/M');
document.write('_images/whatwedo.png" name="Image5" width="213" height="40" border="0" id="');
document.write('Image5" /></a></td>  </tr>  <tr>    <td><a href="../whatyou.html" onmouseou');
document.write('t="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image6\',\'\',\'/M_images/wh');
document.write('atyoucanX.png\',1)"><img src="/M_images/whatyoucan.png" name="Image6" width=');
document.write('"213" height="40" border="0" id="Image6" /></a></td>  </tr>  <tr>    <td');
document.write('><a target="_blank" href="../privacy_policy.html" onmouseout="MM_swap');
document.write('ImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'/M_images/privacyX.png');
document.write('\',1)"><img src="/M_images/privacy.png" name="Image7" width="213" height="40');
document.write('" border="0" id="Image7" /></a></td>  </tr></table>');

        //end editable zone
        //---------------------------
    

    
    } else {
        
        // MENU WITH SESSION
        //---------------------------
        //start editable zone


document.write('<table width="213" border="0" cellspacing="0" cellpadding="0">  <tr>    <');
document.write('td width="213"><a href="/jobtools/JnCustomLogin.usermenu?in_organid='+M_ORGID+'&in_sessionid='+ M_SESID+'"');
document.write(' onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image1\',\'\',\'');
document.write('/M_images/careershomeX.png\',1)"><img src="/M_images/careershome.png" name="');
document.write('Image1" width="213" height="40" border="0" id="Image1" /></a></td>  </tr>');
document.write('  <tr>    <td><a href="/jobtools/jncustomsearch.jobsearch?in_organid=');
document.write(''+M_ORGID+'&in_sessionid='+ M_SESID+'" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image2\'');
document.write(',\'\',\'/M_images/jobsearchX.png\',1)"><img src="/M_images/jobsearch.png" name=');
document.write('"Image2" width="213" height="40" border="0" id="Image2" /></a></td>  </tr>');
document.write('  <tr>    <td><a href="/jobtools/apCustomAppMgr.DisplayApplicationSummary');
document.write('?in_organId='+M_ORGID+'&in_site='+M_SITENAME+'&in_sessionid='+ M_SESID+'&i');
document.write('n_template_orgid='+M_ORGID+'" onmouseout="MM_swapImgRestore()" onmouseover=');
document.write('"MM_swapImage(\'Image14\',\'\',\'/M_images/myappsX.png\',1)"><img src="/M_images/');
document.write('myapps.png" name="Image14" width="213" height="40" border="0" id="Image14" ');
document.write('/></a></td>  </tr>  <tr>    <td><a href="/jobtools/cmcustomaa.Intro?in_o');
document.write('rganId='+M_ORGID+'&in_sessionid=' + M_SESID+'" onmouseout="MM_swapImgRestor');
document.write('e()" onmouseover="MM_swapImage(\'Image15\',\'\',\'/M_images/profileX.png\',1)"><i');
document.write('mg src="/M_images/profile.png" name="Image15" width="213" height="40" borde');
document.write('r="0" id="Image15" /></a></td>  </tr>  <tr>    <td><a href="/jobtools/Jn');
document.write('CustomDailyEmail.UserEmailProfile?in_organid='+M_ORGID+'&in_sessionid=');
document.write('' + M_SESID+'" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image');
document.write('16\',\'\',\'/M_images/jobalertsX.png\',1)"><img src="/M_images/jobalerts.png" na');
document.write('me="Image16" width="213" height="40" border="0" id="Image16" /></a></td>  ');
document.write('</tr>  <tr>    <td><a href="/jobtools/JnCustomLogin.UpdateSettings?in_org');
document.write('anId='+M_ORGID+'&in_sessionid=' + M_SESID+'" onmouseout="MM_swapImgRestore(');
document.write(')" onmouseover="MM_swapImage(\'Image117\',\'\',\'/M_images/updatedetailsX.png\',1)');
document.write('"><img src="/M_images/updatedetails.png" name="Image117" width="213" height=');
document.write('"40" border="0" id="Image117" /></a></td>  </tr>  <tr>    <td><a href="/j');
document.write('obtools/jncustomlogin.LogOut?in_organId='+M_ORGID+'&in_sessionid=');
document.write('' + M_SESID+'" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image18\',\'');
document.write('\',\'/M_images/logoutX.png\',1)"><img src="/M_images/logout.png" name="Image18');
document.write('" width="213" height="40" border="0" id="Image18" /></a></td></tr>');
document.write('  <tr>    <td><a target="_blank" href="../privacy_policy.html" onmou');
document.write('seout="MM_swapImgRestore()" onmouseover="MM_swapImage(\'Image7\',\'\',\'/M_image');
document.write('s/privacyX.png\',1)"><img src="/M_images/privacy.png" name="Image7" width="2');
document.write('13" height="40" border="0" id="Image7" /></a></td></tr></table>');
			   
			   
			   
			   
			   
			   
			   
		
		
		
		
		
		
        //end editable zone
        //---------------------------
        
    }
    
}