defaultStatus = document.title;

//function handleContextMenuClick() { return false; }
//document.oncontextmenu = handleContextMenuClick;

function addBookmark(varURL, varTitle) { window.external.AddFavorite(varURL, varTitle); }

function showBookmark(varLeader) {
				 if(window.external) {
				 				document.write(varLeader + "<a href=\"JavaScript:window.external.AddFavorite(document.URL, document.title);\" accesskey=\"K\">Bookmark</a>");
				 }
}

function openPopup(varURL) {
var goHeight = screen.availHeight;
var goLeft = (screen.availWidth / 2) - 512;

window.open(varURL, "CashakMagazine", "channelmode=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,status=0,toolbar=0,scrollbars=1,titlebar=1,width=1024,height=" + goHeight + ",left=" + goLeft + ",top=0", false);
}

function showPopupButton(varLeader) {
				 if(screen) {
				 				document.write(varLeader + "<a href=\"JavaScript:openPopup(document.URL);\" accesskey=\"L\">Popup</a>");
				 }
}

function echoCopyButton() {
				 if(document.all) {
				 document.write("<input type=\"button\" value=\"Copy\" onclick=\"copyToClipboard(textLinkCode);\" class=\"formStyle3\" />");
				 }
}

function copyToClipboard(textToCopy) {
				 textRange = textToCopy.createTextRange();
				 textRange.execCommand('copy');
}
