// JavaScript Document

// Bookmark Function
var urlAddress = "http://www.amyblack.co.uk";
var pageName = "Amy Black";

 function addToFavorites()
 {
  if (window.external)
  {
   window.external.AddFavorite(urlAddress,pageName)
  }
  else
  { 
   alert("Sorry! Your browser doesn't support this function.");
  }
 }

// Gallery popup function
<!--
function gallery(str_url, int_width, int_height, str_name) 
{
	var winX = (screen.width - int_width) / 2;
	var winY = (screen.height - int_height) / 2;
	str_WinParams = 'height=' + int_height +',width=' + int_width + ',top=' + winY+',left=' + winX + ',menubar=0,toolbar=0,scrollbars=0,resizable=0,status=0,toolbar=0';
	win = window.open(str_url, str_name, str_WinParams);
	if ((parseInt(navigator.appVersion) >= 4)|| (navigator.appName = 'Netscape')) { win.window.focus(); }
}
-->
