/* Bookmark function */
function bookmark() { 
	var pagename = "All About Back & Neck Pain";
	if (document.all) window.external.AddFavorite(bookmarkurl,pagename);
	else alert('Press CTRL-D (Command-D on a Mac) to add a bookmark to:\n"'+bookmarkurl+'".');
}

/* Print Popup */
function printwindow(id) {
window.open("/shared/print-popup.asp?id="+id,"BackAndNeckPain","height=550,width=620,TOP=10,LEFT=10,toolbar=yes,resizable=yes,scrollbars=yes,location=no"); 
}

/* Print function */
function printpage() {
	if(window.print) window.print();
	else {
		if(agt.indexOf("mac") != -1)alert("To print this page press Command-P.")
		else alert("To print this page press Control-P.")
	}
}


/* Share with a friend function */
function share(page) {
	window.open("/shared/share-popup.asp?page="+page,"Share","HEIGHT=500,WIDTH=600,TOP=0,LEFT=0,resizable=false,scrollbars=false"); 
}


/* Leaving This Site Pop-up */
function disclaimerWindow(address) {
window.open(address,"BackAndNeckPain","height=450,width=600,TOP=0,LEFT=0,toolbar=yes,resizable=yes,scrollbars=yes,location=yes"); 
	}
