function breadcrumbs(){
	sURL = new String;
	bits = new Object;
	var x = 0;
	var stop = 0;
	var output = "";
	var UrlOut = "";
	sURL = location.href;
	bits = sURL.split('#')[0].split("/");
	stop = bits.length - 1;
	if (stop > 3) {
		if (bits[stop].indexOf("index") > -1 || bits[stop].length < 3) {
			stop--;
		}
		for (x = 2; x < stop; x++) {
			if (x == 2) {
				output += "<a href=\"/\">Home</a>  <img src='/images/breakcrumb-arrow.jpg' />";
			} else {
				UrlOut += bits[x] + "/";
				output += "<a href=\"/" + UrlOut + "\">" + bits[x] + "</a>  <img src='/images/breakcrumb-arrow.jpg' />";
			}
		}
	}
	document.write(output + document.title);
}

function copy(text2copy) {
  if (window.clipboardData) {
    window.clipboardData.setData("Text",text2copy);
  } else {
    var flashcopier = 'flashcopier';
    if(!document.getElementById(flashcopier)) {
      var divholder = document.createElement('div');
      divholder.id = flashcopier;
      document.body.appendChild(divholder);
    }
    document.getElementById(flashcopier).innerHTML = '';
    var divinfo = '<embed src="/_swf/_clipboard.swf" FlashVars="clipboard='+escape(text2copy)+'" width="0" height="0" type="application/x-shockwave-flash"></embed>';
    document.getElementById(flashcopier).innerHTML = divinfo;
  }
}

function CopyToClipboard(inValue) {
	copy(inValue);
}
