// Javascript for the Bone Density Web Site on the MGH web site
// October 2002 -- Domani Software

// Function to display the rollover image in the side menu when mouse moves over
function swapImage( name, img )
{
	document.images[ name ].src = img
}

// Function to redisplay the original image in the side menu when mouse moves out
function restoreImage( name, img )
{
	document.images[ name ].src = img
}

// Function to display a larger size image in new window
function enlargeImage( url )
{
	window.open(url,"ViewLargeImage","alwaysRaised,scrollbars,width=400,height=325,resizable,left=5,top=5");
}

// Function to display the driving directions in a print window
function printWindow1( url )
{
	window.open(url,"ViewLargeImage","alwaysRaised,scrollbars,toolbar,width=700,height=500,resizable,left=5,top=5");
}

// Function to display the interpretation guidelines in a print window
function printWindow2( url )
{
	window.open(url,"ViewLargeImage","alwaysRaised,scrollbars,toolbar,width=800,height=650,resizable,left=5,top=5");
}
