
// load external Google analytics file
function loadScript(url) {
	document.write('<script src="', url, '" type="text/javascript"></script>');
}
loadScript("http://www.google-analytics.com/urchin.js");


// Molecule Gallery
function myjmol(mypdb,thename){
var myurl ="http://media.pearsoncmg.com/bc/bc_0media_chem/jmol/jmol.html?" ;
window.open(myurl+mypdb+'&'+thename,'pdbwin','width=900,height=700,resizable=1');
}


// Tutorials and Animation
function openMedia(filename){
var myurl ="http://media.pearsoncmg.com/ph/esm/esm_bruice_essentials_2/" ;
window.open(myurl+filename,'tutorial','width=640,height=480,resizable=1');
}