function upFont () {
	tmp = document.getElementById("cSize")
	tmp2 = tmp.size
	tmp2 = parseInt(tmp2)
	if(tmp2<10) {
		tmp2 = tmp2 + 1
		tmp.size = tmp2
	}
	
	tmp = document.getElementById("tSize")
	tmp2 = tmp.size
	tmp2 = parseInt(tmp2)
	if(tmp2<10) {
		tmp2 = tmp2 + 1
		tmp.size = tmp2
	}
}

function downFont () {
	tmp = document.getElementById("cSize")
	tmp2 = tmp.size
	tmp2 = parseInt(tmp2)
	if(tmp2>1) {
		tmp2 = tmp2 - 1
		tmp.size = tmp2
	}
	
	tmp = document.getElementById("tSize")
	tmp2 = tmp.size
	tmp2 = parseInt(tmp2)
	if(tmp2>1) {
		tmp2 = tmp2 - 1
		tmp.size = tmp2
	}
}


function emailLink() {
	NL = "%0A"
	SL = window.location.href
	PF = document.getElementById("pdfInfo")
	sPos = SL.indexOf("&")
	ePos = SL.indexOf("/content")
	BG = SL.substring(0, ePos)
	SL = SL.substring(0, sPos) + "%26" + SL.substring(sPos + 1, SL.length)
	tmpStr = document.getElementById("pdfInfo").innerHTML
	theHTML = tmpStr + NL + NL + "   Read the story in HTML format... "
	thePDF = NL + "   Read the story in Adobe PDF format... " + BG + PF.title + NL + "Comment:" + NL
	theFoot = "For more information please visit merckmedicus.com" + NL + "http://www.merckmedicus.com"
	window.open("mailto:?Subject=News story on MerckMedicus.com&Body=" + theHTML + SL + thePDF + NL + NL + theFoot)
}

function Register() {
	if (parseInt(navigator.appVersion)>3) {
		screenW = screen.width
		screenH = screen.height
	} else if (navigator.appName == "Netscape" && parseInt(navigator.appVersion)==3 && navigator.javaEnabled()) {
		var jToolkit = java.awt.Toolkit.getDefaultToolkit()
		var jScreenSize = jToolkit.getScreenSize()
		screenW = jScreenSize.width
		screenH = jScreenSize.height
	}
	sw = (screenW - 500) / 2
	sh = (screenH - 300) / 2
	window.open ("subscribe.asp", "", "width=500,height=300,top=" + sh + ",left=" + sw + ",toolbar=0,resizable=0")
}
