function favorites(){
	var url = 'http://adultweblogger.com/';
	var title = 'Adult Weblogger';
	var chr = 'CTRL-D';
	var agt = navigator.userAgent.toLowerCase();
	if(agt.indexOf("opera") != -1)
		chr = 'CTRL-T';
  else 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 "+chr+" to Bookmark "+title+"!");
	return false;
}

function DoIt(){
	window.status = '';
	return true;
}

function ShowIt(show){
	if(show){
		window.status = show;
  		return true;
	}else
  		return false;
}

var WindowObjectReferenceOfRequestedPopup;

function PopIt(strUrl, strTarget){
	var windowWidth, windowHeight, windowLeft, windowTop;
	windowWidth = 320;
	windowHeight = 240;
	windowLeft = (screen.width - windowWidth) / 2;
	windowTop = (screen.height - windowHeight) / 2;
	if (WindowObjectReferenceOfRequestedPopup == null || WindowObjectReferenceOfRequestedPopup.closed)
		WindowObjectReferenceOfRequestedPopup = window.open(strUrl, strTarget, "top=" + windowTop + ",left=" + windowLeft + ",width=" + windowWidth + ",height=" + windowHeight + ",menubar=no,toolbar=no,location=no,resizable=no,scrollbars=no,status=no,directories=no");
	else
		WindowObjectReferenceOfRequestedPopup.focus();
	return false;
}

