startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("menublock");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="DIV") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace(" over", "");
   }
   }
  }
 }
}

window.onload=startList;


function getcode(codeblockbox)
{
  var textbloc = eval("document."+codeblockbox)
  textbloc.focus()
  textbloc.select()
  
  if (document.all)
  {
    therange = textbloc.createTextRange()
    therange.execCommand("Copy")
    alert("Glitter HTML copied successfully!")
  }
}

function openNewWindow(windowurl)
{
  popupWin = window.open(windowurl, 'open_window', 'scrollbars,resizable,dependent,width=440,height=305,left=0,top=0')
}

function openNewWindowst(windowurl, xx, yy)
{
  popupWin = window.open(windowurl, 'open_window', 'scrollbars,resizable,dependent,width=' + xx + ',height=' + yy + ',left=0,top=0')
}


function addbookmark()
{
  var urlAddress = "http://www.addglitter.com";
  var pageName = "AddGlitter.com - Custom Glitter Graphics";
  if(window.external)
    window.external.AddFavorite(urlAddress,pageName)
  else
   alert("Sorry! We could not bookmark AddGlitter.com automatically.");
}


var newwindow;
	function poptastic(url)
	{
	newwindow=window.open(url,'name','height=420,width=200,left=20,top=20,toolbar=no,menubar=no,directories=no,location=no,scrollbars=yes,status=no,resizable=yes,fullscreen=no');
	if (window.focus)
	  {newwindow.focus()}
	}
	
function mess() 
{
  var a,b,c,d,e


  a='glit'
  a+='ter'
  b='@'
  c='addglitt'
  c+='er.com'
  document.write(a+b+c)

}
	