function REF(refid,atitle,jtitle,vol,fpage,lpage,year) {  
	var urlcjo='/jsp/cjo/common/urlResolver.jsp';
	urlcjo=urlcjo+'?param=genreCJOEQUEALarticleCJOSEPAatitleCJOEQUEAL' + atitle + 'CJOSEPAtitleCJOEQUEAL' + jtitle + 'CJOSEPAvolumeCJOEQUEAL' + vol + 'CJOSEPAspageCJOEQUEAL' + fpage + 'CJOSEPAepageCJOEQUEAL' + lpage + 'CJOSEPAdateCJOEQUEAL' + year   +'&refid='+refid;   
   	var hnd=window.open(urlcjo,refid,'alwaysRaised=0,dependent=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500, height=420');
} 

function FIGIMAGES(wid,graphic,label,caption) {
   	var hnd=window.open('',wid,'alwaysRaised=0,dependent=0,toolbar=1,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=700,height=500');
   	hnd.document.write('<html><body><form method="submit"><table border="1"><tr><td><table cellpadding="2"><tr valign="top" align="center"><td><img src="' + graphic + '" type="gif" border="0"/></td></tr>');
   	hnd.document.write('<tr><td style="font-family:verdana,arial,sans-serif;font-size:10pt">');                                                        
   	hnd.document.write(label + " " + caption);
   	hnd.document.write('</td></tr>');
   	hnd.document.write('<tr valign="bottom"><td align="center"><input type="Button" onClick="window.close()" value="close"/></td></tr></table></td></tr></table></form></body></html>');
	hnd.document.close();
}

/*
function RightslinkPopUp ( atitle,pub_online_date,author,doi ) {       
	 var url = "https://s100.copyright.com/AppDispatchServlet"; 
     var location = url 
			+ "?publisherName=" + encodeURI ('Cambridge University Press’)
			+ "&publication=" + encodeURI ('Publication Name’)
			+ "&title=" + encodeURI (atitle) 
			+ "&publicationDate=" + encodeURI (pub_online_date) 
			+ "&author=" + encodeURI (author)
			+ "&copyright=" + encodeURI ('Copyright String')
			+ "&contentID=" + encodeURI (doi)
			
     PopUp = window.open( location,'Rightslink','location=no,toolbar=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=650,height=550');
}
*/

/*
function FIGIMAGES(wid,graphic,label,caption) {
   var hnd=window.open('',wid,'alwaysRaised=0,dependent=0,toolbar=1,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=700,height=500');
   hnd.document.write('<html><body><form method="submit"><table border="1"><tr><td><table cellpadding="2"><tr valign="top" align="center"><td><img src="' + graphic + '" type="gif" border="0"/></td></tr>');
   hnd.document.write('<tr><td style="font-family:verdana,arial,sans-serif;font-size:10pt">');                                                        
   hnd.document.write(label + " " + caption);
   hnd.document.write('</td></tr>');
   hnd.document.write('<tr valign="bottom"><td align="center"><input type="Button" onClick="window.close()" value="close"/></td></tr></table></td></tr></table></form></body></html>');
   hnd.document.close();
   }   
*/

/*
function FIGIMAGES2(wid,graphic,label,caption,path,filename) {
   var hnd=window.open('',wid,'alwaysRaised=0,dependent=0,toolbar=1,location=0,status=1,menubar=1,scrollbars=1,resizable=1,width=700,height=500');
   hnd.document.write('<html><body><form method="submit"><table border="1"><tr><td><table cellpadding="2"><tr valign="top" align="center">');
   hnd.document.write('<td><img src="' + graphic + '" type="gif" border="0"/><p><a href="displayFulltext?downloadImage=png&path='+path+'&filename='+filename+'">Download This Figure.</a></p></td></tr>');
   hnd.document.write('<tr><td style="font-family:verdana,arial,sans-serif;font-size:10pt">');                                                        
   hnd.document.write(label + " " + caption);
   hnd.document.write('</td></tr>');
   hnd.document.write('<tr valign="bottom"><td align="center"><input type="Button" onClick="window.close()" value="close"/></td></tr></table></td></tr></table></form></body></html>');
   hnd.document.close();
}
*/
  
/*                      
function REF(refid,atitle,jtitle,vol,fpage,lpage,year) {  
var urlcjo='/jsp/cjo/common/urlResolver.jsp';
urlcjo=urlcjo+'?param=genreCJOEQUEALarticleCJOSEPAatitleCJOEQUEAL.' + atitle + 'CJOSEPAtitleCJOEQUEAL' + jtitle + 'CJOSEPAvolumeCJOEQUEAL' + vol + 'CJOSEPAspageCJOEQUEAL' + fpage + 'CJOSEPAepageCJOEQUEAL' + lpage + 'CJOSEPAdateCJOEQUEAL' + year   +'&amp;refid='+refid;   
   var hnd=window.open(urlcjo,refid,'alwaysRaised=0,dependent=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=1,resizable=1,width=500, height=420');
   hnd.document.write ('<html><title>Reference ' + refid + ' - OpenURL Query String</title><body>');
   hnd.document.write('<table cellpadding="2" border="0">');
   hnd.document.write('<tr><td style="font-family:verdana,arial,sans-serif;font-size:10pt">');
   var caption = '<b>Reference ' + refid + '- OpenURL Query String</b><br/><br/>';
   caption = caption + 'genre=article&amp;atitle=.' + atitle + '&amp;title=' + jtitle + '&amp;volume=' + vol + '&amp;spage=' + fpage + '&amp;epage=' + lpage + '&amp;date=' + year;
   caption = caption + '<br/><br/>';
   caption = caption + 'Use this query data to: <ul><li style="font-family:verdana">Query your local OpenURL Resolver</li><li style="font-family:verdana">Query a public OpenURL resolver</li></ul>';
   caption = caption + 'Instructions: <ol><li style="font-family: verdana">Highlight the query with your mouse</li><li style="font-family: verdana">Press CTRL-c to copy</li><li style="font-family:verdana">Move to your query interface and select the input box or equivalent</li><li style="font-family: verdana">Press CTRL-v to paste the query</li></ol>';
   hnd.document.write(caption);
   hnd.document.write('</td></tr>');
   hnd.document.write('<tr valign="bottom"><td align="center"><form><input type="Button" onClick="window.close()" value="close"/></form></td></tr></table></body></html>');
   hnd.document.close();
   } 
*/    