function embedX()
{
	var tempval = eval("document.embed.code");
	tempval.focus();
	tempval.select();
	var therange = tempval.createTextRange();
	therange.execCommand("Copy");
	return false;
}

function displayPost()
{
	if (document.getElementById)
	{
		if (document.getElementById("divShowPost").style.display=="none")
		{
			document.getElementById("divShowPost").style.display = "block";
			document.getElementById("divCancelPost").style.display = "none";
		}
	}
	else if (document.all && !document.getElementById)
	{
		if (document.divShowEmail.display=="none")
		{
			document.getElementById("divShowPost").style.display = "block";
			document.getElementById("divCancelPost").style.display = "none";
		}	
	}
}

function cancelPost()
{
	if (document.getElementById)
	{
		if (document.getElementById("divCancelPost").style.display=="none")
		{
			document.getElementById("divCancelPost").style.display = "block";
			document.getElementById("divShowPost").style.display = "none";
		}
	}
	else if (document.all && !document.getElementById)
	{
		if (document.divShowEmail.display=="none")
		{
			document.getElementById("divCancelPost").style.display = "block";
			document.getElementById("divShowPost").style.display = "none";
		}	
	}
}

var newwindow;
function popWin(url)
{
	newwindow=window.open(url,'name','height=400,width=700,scrollbars=yes');
	if (window.focus) 
	{
		newwindow.focus()
	}
}
