/* ThinkQuest International 2006
	The DReaMers - DRM: Two Sides of the Story
	tools.js
	--------------------------------------------
	Copyright: You may use this script for non-commercial purposes,
	but must acknowledge the team.
	--------------------------------------------
	Last Revised: 01/04/06
*/

function bookmark()
{
	var url = "http://preview.thinkquest.org/05aug/00623/";
	var title = "DRM - Two Sides of the Story";
	var browserName = navigator.appName;
	
	if(browserName == "Netscape")
	{
		if (window.sidebar) window.sidebar.addPanel(title, url,""); 
		else if( document.all ) window.external.AddFavorite( url, title);
		else if( window.opera && window.print ) return true;
	}
	else window.external.AddFavorite(url,title);
}

function printPage()
{
	window.print();
}

function tellFriend()
{
	var initialsubj = "Your Friend Wants You To Check Out This Site!";
	var initialmsg = "Your friend would like you to visit our comprehensive digital rights management (DRM) site at: http://preview.thinkquest.org/05aug/00623/";
	window.location = "mailto:" + "?subject=" + initialsubj + "&body=" + initialmsg;
}