function reqArticle(AID)
	{
		var CommentWindow=open('../common/reqarticle.asp?AID='+AID,'ArticleWindow','toolbar=no,width=200,height=200, scrollbars=yes');
		CommentWindow.focus();
	}

function PRWindow()
	{
		var PRWindow=open('../mmpresrels/PRLink.asp?ArtID='+DocID,'CommentWindow','toolbar=no,width=440,height=250, scrollbars=yes');
		PRWindow.focus();
	}

function commentEdit()
	{
		var CommentWindow=open('../common/editcomment.asp?AID='+DocID,'CommentWindow','toolbar=no,width=440,height=250, scrollbars=yes');
		CommentWindow.focus();
	}

function reqArt(ArtID)
	{
		var RequestWindow=open('../common/ReqArticle.asp?AID='+DocID,'CommentWindow','toolbar=no,width=300,height=300, scrollbars=no');
		RequestWindow.focus();
	}

function commentView()
	{
		var CommentWindow=open('../common/vwcomment.asp?AID='+DocID,'CommentWindow','toolbar=no,width=440,height=250, scrollbars=yes');
		CommentWindow.focus();
	}

function showSoftCopy(FName)
	{
		var CommentWindow=open('../common/vwSCopy.asp?FN='+FName,'CommentWindow','toolbar=no,width=440,height=250, scrollbars=yes');
		CommentWindow.focus();
	}
	
function getImgSize(){
	img_w=document.artpic.width;
	img_h=document.artpic.height;
	firsttime=0;
	}

function chZoom(zLevel){
	if (firsttime==1){
		getImgSize();
	}
	document.artpic.width=parseInt(img_w*zLevel);
	document.artpic.height=parseInt(img_h*zLevel);
	}

function movePic(dir){
	curr_x=document.artpic.style.top;
	curr_y=document.artpic.style.left;
	if (dir=="up"){
		document.artpic.x=curr_x;
		document.artpic.y=curr_y-movinc;
		}
	if (dir=="dn"){
		document.artpic.x=curr_x;
		document.artpic.y=curr_y+movinc;
		};
	if (dir=="lt"){
		document.artpic.x=curr_x-movinc;
		document.artpic.y=curr_y;
		}
	if (dir=="rt"){
		document.artpic.x=curr_x+movinc;
		document.artpic.y=curr_y;
		}
	}

function showAuthor(AuthID)
	{
		var newWindow = window.open('/myjournos/journdetails.asp?A='+AuthID, '_blank');
		newWindow.focus();
	}