function addbookmark(url,desc){

	var nonie = 'Sorry, only Internet Explorer supports this method to add a bookmark/favourite\n But please feel free to visit the site\'s home page to add a bookmark manually';

	if(!url && !desc){
		var bookmarkurl		= "http://www.petrpg.com/";
		var bookmarktitle	= "PetRPG.com - Virtual Pets";
	}else{
		var bookmarkurl		= url;
		var bookmarktitle	= desc;
	}
	

	if (window.sidebar) { // Mozilla Firefox Bookmark
		alert('Due to security restrictions placed in Firefox, we are unable to automatically add a bookmark.\nPlease navigate to the home page and press: CTRL+D to add one manually.');
	} else if(document.all){ // IE Favourites
		window.external.AddFavorite(bookmarkurl,bookmarktitle);
	} else {
		alert(nonie);
	}
}



function bookmarksite(title,url){

	if(!url && !title){
		var urll		= "http://www.petrpg.com/";
		var title	= "PetRPG.com - Virtual Pets";
	}

if (window.sidebar) // firefox
	window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
	var elem = document.createElement('a');
	elem.setAttribute('href',url);
	elem.setAttribute('title',title);
	elem.setAttribute('rel','sidebar');
	elem.click();
} 
else if(document.all)// ie
	window.external.AddFavorite(url, title);
}
