function bookmark() {
	var ver = navigator.appName; 
	var num = parseInt(navigator.appVersion); 
	var txt = "bookmark this site"; 
	var url = document.location // get location of the site
	var who = document.title // get title of the site
	
	// only work in IE
	if ((ver == "Microsoft Internet Explorer")&&(num >= 4)) 
	{ 
		window.external.AddFavorite(url,who);
	}
	else
	{ 
	// if its netscape then pop up a alert message for the time being
		txt += "using (Ctrl+D)"; 
		window.alert(txt);
	} 
}

function popWindowOpener(url,winName,width,height,isScroll){
	var screenW = 0;
	var screenH = 0;
	var scroll = 'scrollbars = yes';
	if(screen.width){
		screenW = screen.width;
		screenH = screen.height;
	}else{
		screenW = 800;
		screenH = 600;
	}
	if(isScroll){
	}else{
		scroll = 'scrollbars = no';
	}
	var boxWidth = width;
	var boxHeight = height;
	// 12 and 52 values are for the bars on the newwindow
	// note: only ie has constant bars, netscape 4+ adds as necc
	var windowLeft = ((screenW - boxWidth)/2-10);
	var windowTop = ((screenH - boxHeight)/2-52);
	window.open(url,winName,'' + scroll + ',resizable=yes,status=no,width=' + width + ',height=' + height + ',left=' + windowLeft + ',top=' + windowTop);
}