// Change Bg
function b(p) {
//document.body.style.backgroundImage = "url(/gfx/"+p+")";
}

function c(e)
	{
	for(var i=1; i<8; i++)
		{
		document.getElementById("m"+i).style.color = "#6B7073";
		}
		
		document.getElementById(""+e+"").style.color = "#00C39B";
		}

// Bookmark
function bookmark(url,title){
  if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
  window.external.AddFavorite(url,title);
  } else if (navigator.appName == "Netscape") {
    window.sidebar.addPanel(title,url,"");
  } else {
    alert("Press CTRL-D (Netscape) or CTRL-T (Opera) to bookmark");
  }
}

function metaChange(p) {
document.title = ""+p+"";
//metatags = document.getElementsByTagName("title");

    // Iterate through the array, listing them all
    // Update only the Title meta tag
  //  for (cnt = 0; cnt < metatags.length; cnt++)
    //{
      //  var name = metatags[cnt].getAttribute("name");
        //var content = metatags[cnt].getAttribute("content");

        // List the original meta tag name=content
        //document.write(name + " = " + content + "");

        // Update the Title meta tag
        //if (metatags[cnt].getAttribute("name") == "Title")
          //    metatags[cnt].setAttribute("content", "+p+");

    //}
}
