
function scaleFont( val ) {
	
	var content = document.getElementById("articleBody");
	var font_size = content.style.fontSize;
	
	if( font_size == "" ) {
		font_size = "11";
	}
	else {
		font_size = font_size.replace	("pt","" );		
	}

	if ( val > 0 ) {
		if( font_size < 17 ) {
			content.style.fontSize = String( Number( font_size ) + 1 ) + "pt";
		}
	}
	else {
		if ( font_size > 11 ) {
			content.style.fontSize = String( Number( font_size ) - 1 ) + "pt";
		}
	}
}

function PrintOpen ( srcurl ) {
	printurl = "/article/print/"+srcurl;
	window.open(printurl, '','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,left=100,top=10,width=700,height=758');
}
function EmailOpen ( srcurl ) {
	emailurl = "/article/send/"+srcurl;
	window.open(emailurl, '','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,left=100,top=10,width=700,height=600');
}

function goback() {
	history.back();
}
