function popUP(mypage, myname, w, h, scroll)
	{
	var winl = (screen.width - w) / 2;
	var wint = (screen.height - h) / 2;
	winprops = 'height='+h+',width='+w+',top='+wint+',left='+winl+',scrollbars='+scroll+',resizable'
	win = window.open(mypage, myname, winprops)
	if (parseInt(navigator.appVersion) >= 4) { win.window.focus(); }
	}
function linkEm(dom,use,extra,linktext)
	{
	document.write('<a href="' + 'mail' + 'to:' + use + '[AT]' + dom + '&amp;Body=Replace \'[AT]\' with \'@\' to send me an e-mail." ' + extra + '>' + linktext + '</a>')
	}
function clearBOX(data,newvalue)
	{
	if (data.defaultValue==data.value)
		{
		data.value = newvalue;
		data.style.color='#000000';
		data.style.fontStyle='normal';
		}
	}
//Written by Joel Grimes - He'd da man - http://joelgrimes.net/
function copy2clipboard(url2copy)
	{
	var browserName = navigator.appName
	if (browserName == "Microsoft Internet Explorer")
		{
		if(window.confirm("To link to this entry, click OK and the URL will be copied to your clipboard."))
			{copied =	window.clipboardData.setData('Text', url2copy);}
		}
	else
		{window.prompt("To link to this entry, copy the link below:", url2copy);}
	}
//NSFW
function nsfw()
{
	return confirm('This link has been flagged as NSFW (Not Safe For Work/Not Safe For Wife).\n\nThe content of this link (or content of links found on the this page) could possible contain one or more of the following: profanity, nudity, racism, sexism, gore, violence or other content that may be unsuitable for children or in a the workplace/home.\n\nDo you wish to continue?');
}
