function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'");
}

function MM_changeProp(objId,x,theProp,theValue) { //v9.0
  var obj = null; with (document){ if (getElementById)
  obj = getElementById(objId); }
  if (obj){
    if (theValue == true || theValue == false)
      eval("obj.style."+theProp+"="+theValue);
    else eval("obj.style."+theProp+"='"+theValue+"'");
  }
}

(document.layers) ? layerobject=true : layerobject=false;
(document.all) ? allobject = true: allobject = false;
(document.getElementById) ? dom = true : dom = false;+

function moveDiv(id,x,y) {
	id = document.getElementById(id);
	id.style.position = 'absolute';
	id.style.top = y+'px';
	id.style.left = x+'px';
	document.body.appendChild(id);
}

function move_subtree(source_id, dest_id)
{
	var sourcenode = document.getElementById(source_id);
	var destnode = document.getElementById(dest_id);
	var copynode = sourcenode.cloneNode(true);
	while (copynode.hasChildNodes())
		destnode.appendChild(copynode.removeChild(copynode.firstChild));
		sourcenode.parentNode.removeChild(sourcenode);
}

/* AddThis config */
var addthis_config = {
          services_compact: 'email, twitter, livejournal, facebook, blogger, digg, myspace, delicious, wordpress, linkedin, favourites, print, more',
}
