
function writeBC(sText,sID) {
//document.write('<style>#bcdiv{font-size:70%;} #bcdiv a:link, a:visited,a:hover.a:active{color:#2D7AD2;text-decoration:underline;}</style>');

//sID = getURLParam('in_sessionid');
lvl1 = '';
lvl2 = '';
lvl3 = '';

// If sessionID exists, then make sure home link has sessionID
if (sID) { lvl1 = '<a href="/jobtools/JnCustomLogin.usermenu?in_organid=14667&in_sessionid=' + sID + '">Home</a>&nbsp;';}
else { lvl1 = '<a href="/jobtools/JnCustomLogin.Login?in_organid=14667">Home</a>&nbsp;'; }

// If Search,apps,profile,build link for level 2
if (sText == 'Advanced job search' || sText == 'Job search results' || sText == 'Job search details' || sText == 'Email a Friend') {
  if (sID) {lvl2 = '&gt;&nbsp;<a href="/jobtools/jncustomsearch.jobsearch?in_organid=14667&in_sessionid=' + sID + '">Job search</a>&nbsp;';}
  else {lvl2 = '&gt;&nbsp;<a href="/jobtools/jncustomsearch.jobsearch?in_organid=14667">Job search</a>&nbsp;';}
  lvl3 = '&gt;&nbsp;' + sText;
} 

else if (/*sText == 'My applications' || */ sText == 'Application') {
  lvl2 = '&gt;&nbsp;<a href="/jobtools/apCustomAppMgr.DisplayApplicationSummary?in_organId=14667&in_site=DMR%20Website&in_template_orgid=14667&in_sessionid=' + sID + '">My applications</a>&nbsp;';
  lvl3 = '&gt;&nbsp;' + sText;
}

/*else if (sText == 'My profile' || sText == 'My profile summary') {
  lvl2 = '&gt;&nbsp;<a href="/jobtools/cmcustomaa.Intro?in_organId=14667&in_sessionid=' + sID + '">My profile</a>&nbsp;';
  lvl3 = '&gt;&nbsp;' + sText;
}*/

else {lvl2 = '&gt;&nbsp;' + sText;}

bcText = lvl1 + lvl2 + lvl3;

/*
LIST OF PAGES

Home > Career Centre
Home > My Job Alert
Home > Change your Login Details
Home > Forgot your Password?
Home > Register

Home > My Applications > My Applications
Home > My Applications > Application

Home > Job Search > Advanced Job Search
Home > Job Search > Job Search Summary
Home > Job Search > Job Search details
Home > Job Search > Email a Friend

Home > My Profile > Update your Job Profile
Home > My Profile > My Profile Summary
*/



parentID = null;
ID = 'bcdiv';
 if (document.layers) {
   var oLayer;
   if(parentID){
     oLayer = eval('document.' + parentID + '.document.' + ID + '.document');
   }else{
     oLayer = document.layers[ID].document;
   }
   oLayer.open();
   oLayer.write(bcText);
   oLayer.close();
 }
 else if (parseInt(navigator.appVersion)>=5&&navigator.
appName=="Netscape") {
   document.getElementById(ID).innerHTML = bcText;
 }
 else if (document.all) document.all[ID].innerHTML = bcText
}
