function breadcrumbs(){

  sURL = new String;
  bits = new Object;
  var x = 0;
  var stop = 0;
  var start_root;

  var start_root_1 = "http://www.certissecurity.com/sg/";
  var start_root_2 = "http://sg.certissecurity.com/";

  sURL = location.href;
  if (sURL.indexOf(start_root_1) != -1)
	start_root = start_root_1;
  else
      start_root = start_root_2;

  var output = "<a href='"+start_root+"' class='textsize11orangeu'><b>Home</b></a>  <span class='textsize11orange'>/</span>  ";
  
  start_root_len = start_root.length
  sURL = sURL.slice(start_root_len,sURL.length);
    
  while(!stop){
    chunkStart = sURL.indexOf("/");
    if (chunkStart != -1){
      bits[x] = sURL.slice(0,chunkStart)
      sURL = sURL.slice(chunkStart+1,sURL.length);
    }else{
      stop = 1;
    }
    x++;
  }
  
  for(var i in bits){
    output += "<a href=\"";
    for(y=1;y<x-i;y++){
      output += "../";
    }
    output += bits[i] + "/\index.php?pg=1" + "\" class='textsize11orangeu'><b>" + bits[i].replace(/%20/gi, " ") + "</b></a>  <span class='textsize11orange'>/</span>  ";
	//output2 = output.replace(/%20/gi, " ");
  }
  
  document.write(output +"<span class='textsize11orangeu'><b>"+ document.getElementById('crumbtitle').innerHTML +"</b></span>");
}
