var theTop = 75;var old = theTop;window.onload = function() {		hidearticletools();		hidecontent();		hiddenlayers();}function hidearticletools(){	if (document.getElementById('emailtoolbox')) {			document.getElementById('emailtoolbox').style.display = "none";			}	if (document.getElementById('ratingtoolbox')) {			document.getElementById('ratingtoolbox').style.display = "none";			}	if (document.getElementById('emailconfirmation')) {			document.getElementById('emailconfirmation').style.display = "none";			}	if (document.getElementById('ratingthanks')) {			document.getElementById('ratingthanks').style.display = "none";			}	if (document.getElementById('ratingthanks2')) {			document.getElementById('ratingthanks2').style.display = "none";			}	if (document.getElementById('synonymskeywords')) {			document.getElementById('synonymskeywords').style.display = "none";			}}function hidecontent(){	if (document.getElementById('references')) {			document.getElementById('references').style.display = "none";			document.getElementById('references').style.top = '75px';			document.getElementById('references').style.left = '150px';			document.getElementById('references').style.position = "absolute";			document.getElementById('references').style.zIndex = 500;			}	if (document.getElementById('suggestedreading')) {			document.getElementById('suggestedreading').style.display = "none";			document.getElementById('suggestedreading').style.top = '75px';			document.getElementById('suggestedreading').style.left = '150px';			document.getElementById('suggestedreading').style.position = "absolute";			document.getElementById('suggestedreading').style.zIndex = 500;						}	if (document.getElementById('relatedlinkswin')) {			document.getElementById('relatedlinkswin').style.display = "none";			document.getElementById('relatedlinkswin').style.top = '75px';			document.getElementById('relatedlinkswin').style.left = '150px';			document.getElementById('relatedlinkswin').style.position = "absolute";			document.getElementById('relatedlinkswin').style.zIndex = 500;									}	if (document.getElementById('cmeinformation')) {			document.getElementById('cmeinformation').style.display = "none";			document.getElementById('cmeinformation').style.top = '75px';			document.getElementById('cmeinformation').style.left = '150px';			document.getElementById('cmeinformation').style.position = "absolute";			document.getElementById('cmeinformation').style.zIndex = 500;									}	if (document.getElementById('authordisclosures')) {			document.getElementById('authordisclosures').style.display = "none";			document.getElementById('authordisclosures').style.top = '75px';			document.getElementById('authordisclosures').style.left = '150px';			document.getElementById('authordisclosures').style.position = "absolute";			document.getElementById('authordisclosures').style.zIndex = 500;									}}/* Utility Function For Showing Hidden Layer */function newshowcontent(state, layerid) {	if (document.getElementById) {		if (state == "active") {			document.getElementById(layerid).style.display = "block";			var contentlayer = document.getElementById(layerid);			setElementClass(contentlayer, state);			movelayers(layerid);		}		else {			document.getElementById(layerid).style.display = "none";			var contentlayer = document.getElementById(layerid);			setElementClass(contentlayer, state);			movelayers(layerid);		}	}}function showcontent(tent, layerid) {	if ((tent == "active") || (tent == "inactive")) {		newshowcontent(tent, layerid);	}	else {		if ((document.getElementById(tent).style.display == "none") || (document.getElementById(tent).style.display == "")) {			document.getElementById(tent).style.display = "none";			document.getElementById(tent).style.top = '100px';			document.getElementById(tent).style.position = "absolute";			document.getElementById(tent).style.zIndex = 500;				document.getElementById(tent).style.display = "block";			document.getElementById(tent).style.height = "auto";			movelayers(tent);		} else {			document.getElementById(tent).style.display = "none";		}	}}function movecontent(tent){	if (window.innerHeight)	{		pos = window.pageYOffset	}	else if (document.documentElement && document.documentElement.scrollTop)	{		pos = document.documentElement.scrollTop	}	else if (document.body)	{		pos = document.body.scrollTop	}		if (pos < theTop)		{		pos = theTop;		}	else		{		pos += 75;		}		if (pos == old)	{		document.getElementById(tent).style.top = (pos + 'px');		document.getElementById(tent).style.left = '150px';	}	else	{		old = pos;		movelayers(tent);	}}function hiddenlayers() {	var displaystr = null;	var stylestr = null;	for(n =1; n < 100; n++){		if(n <10)			displaystr = 'hiddenlayer0' + n;		else			displaystr = 'hiddenlayer' + n;			stylestr =  document.getElementById(displaystr);		if(stylestr != null) {			stylestr.style.display = "none";			stylestr.style.top = '75px';			stylestr.style.left = '150px';			stylestr.style.position = "absolute";			stylestr.style.zIndex = 500;			}					else			break;	}}function showlayers(num) {	if (document.getElementById(num).style.display == "none") {		hiddenlayers();		document.getElementById(num).style.display = "block";		document.getElementById(num).style.height = "auto";		movelayers(num);	} else {		document.getElementById(num).style.display = "none";	}}function movelayers(num){	if (window.innerHeight)	{		pos = window.pageYOffset	}	else if (document.documentElement && document.documentElement.scrollTop)	{		pos = document.documentElement.scrollTop	}	else if (document.body)	{		pos = document.body.scrollTop	}		if (pos < theTop)		{		pos = theTop;		}	else		{		pos += 75;		}		if (pos == old)	{		document.getElementById(num).style.top = (pos + 'px');		document.getElementById(num).style.left = '150px';	}	else	{		old = pos;		movelayers(num);	}}function showemailtoolbox(){	if (document.getElementById('emailtoolbox').style.display == "none")		{		document.getElementById('emailtoolbox').style.display = "block";		if (document.getElementById('ratingtoolbox')) {				document.getElementById('ratingtoolbox').style.display = "none";				}		}	else		{		document.getElementById('emailtoolbox').style.display = "none";		}		}function confirmsent(){	if (document.getElementById('emailconfirmation').style.display == "none")		{		document.getElementById('emailconfirmation').style.display = "block";		document.getElementById('emailform').style.display = "none";		return false;		}}function showratingtoolbox(){	if (document.getElementById('ratingtoolbox').style.display == "none")		{		document.getElementById('ratingtoolbox').style.display = "block";		if (document.getElementById('emailtoolbox')) {				document.getElementById('emailtoolbox').style.display = "none";				}		}	else		{		document.getElementById('ratingtoolbox').style.display = "none";		}		}/* Multi Nav Btn */function togglearticlelist(state) {	if (document.getElementById) {		var multiarticlebtn = document.getElementById("multiarticlebtn");		multiarticlebtn.setAttribute("href", "#"); // get rid of the href		var menu = document.getElementById("multiarticlelist").firstChild;// Make sure the firstChild is an HTML tag and nothing else		while (menu.nodeType != 1) { //nodeType 1 is HTML element			menu = menu.nextSibling; // assign next sibling instead		}		setElementClass(multiarticlebtn, state);		setElementClass(menu, state);		if (document.getElementById("searchType")) {			if (state == "active") { 				document.getElementById("searchType").style.visibility = "hidden";			} else {				document.getElementById("searchType").style.visibility = "visible";			}		}	}}function getElementClass(element) {	if (element.getAttribute("class")) {		return element.getAttribute("class");	} else if (element.getAttribute("className")) {		return element.getAttribute("className");	}}function setElementClass(element, classValue) {	if (element.setAttribute("class", classValue)) {		element.setAttribute("class", classValue);	} else if (element.setAttribute("className", classValue)) {		element.setAttribute("className", classValue);	}}/* Script For Rate Form 1 */function overstars1(){	document.getElementById('star1').style.backgroundPosition='0px -16px';}function offstars1(){	document.getElementById('star1').style.backgroundPosition='0px 0px';}function overstars2(){	document.getElementById('star1').style.backgroundPosition='0px -16px';	document.getElementById('star2').style.backgroundPosition='0px -16px';}function offstars2(){	document.getElementById('star1').style.backgroundPosition='0px 0px';	document.getElementById('star2').style.backgroundPosition='0px 0px';}function overstars3(){	document.getElementById('star1').style.backgroundPosition='0px -16px';	document.getElementById('star2').style.backgroundPosition='0px -16px';	document.getElementById('star3').style.backgroundPosition='0px -16px';}function offstars3(){	document.getElementById('star1').style.backgroundPosition='0px 0px';	document.getElementById('star2').style.backgroundPosition='0px 0px';	document.getElementById('star3').style.backgroundPosition='0px 0px';}function overstars4(){	document.getElementById('star1').style.backgroundPosition='0px -16px';	document.getElementById('star2').style.backgroundPosition='0px -16px';	document.getElementById('star3').style.backgroundPosition='0px -16px';	document.getElementById('star4').style.backgroundPosition='0px -16px';}function offstars4(){	document.getElementById('star1').style.backgroundPosition='0px 0px';	document.getElementById('star2').style.backgroundPosition='0px 0px';	document.getElementById('star3').style.backgroundPosition='0px 0px';	document.getElementById('star4').style.backgroundPosition='0px 0px';}function overstars5(){	document.getElementById('star1').style.backgroundPosition='0px -16px';	document.getElementById('star2').style.backgroundPosition='0px -16px';	document.getElementById('star3').style.backgroundPosition='0px -16px';	document.getElementById('star4').style.backgroundPosition='0px -16px';	document.getElementById('star5').style.backgroundPosition='0px -16px';}function offstars5(){	document.getElementById('star1').style.backgroundPosition='0px 0px';	document.getElementById('star2').style.backgroundPosition='0px 0px';	document.getElementById('star3').style.backgroundPosition='0px 0px';	document.getElementById('star4').style.backgroundPosition='0px 0px';	document.getElementById('star5').style.backgroundPosition='0px 0px';}function ratingthankyou(){	if (document.getElementById('ratingthanks').style.display == "none")		{		document.getElementById('ratingthanks').style.display = "inline";		document.getElementById('ratearticleform').style.display = "none";		return false;		}}/* Script For Rate Form 2 */function overstars1two(){	document.getElementById('star1two').style.backgroundPosition='0px -16px';}function offstars1two(){	document.getElementById('star1two').style.backgroundPosition='0px 0px';}function overstars2two(){	document.getElementById('star1two').style.backgroundPosition='0px -16px';	document.getElementById('star2two').style.backgroundPosition='0px -16px';}function offstars2two(){	document.getElementById('star1two').style.backgroundPosition='0px 0px';	document.getElementById('star2two').style.backgroundPosition='0px 0px';}function overstars3two(){	document.getElementById('star1two').style.backgroundPosition='0px -16px';	document.getElementById('star2two').style.backgroundPosition='0px -16px';	document.getElementById('star3two').style.backgroundPosition='0px -16px';}function offstars3two(){	document.getElementById('star1two').style.backgroundPosition='0px 0px';	document.getElementById('star2two').style.backgroundPosition='0px 0px';	document.getElementById('star3two').style.backgroundPosition='0px 0px';}function overstars4two(){	document.getElementById('star1two').style.backgroundPosition='0px -16px';	document.getElementById('star2two').style.backgroundPosition='0px -16px';	document.getElementById('star3two').style.backgroundPosition='0px -16px';	document.getElementById('star4two').style.backgroundPosition='0px -16px';}function offstars4two(){	document.getElementById('star1two').style.backgroundPosition='0px 0px';	document.getElementById('star2two').style.backgroundPosition='0px 0px';	document.getElementById('star3two').style.backgroundPosition='0px 0px';	document.getElementById('star4two').style.backgroundPosition='0px 0px';}function overstars5two(){	document.getElementById('star1two').style.backgroundPosition='0px -16px';	document.getElementById('star2two').style.backgroundPosition='0px -16px';	document.getElementById('star3two').style.backgroundPosition='0px -16px';	document.getElementById('star4two').style.backgroundPosition='0px -16px';	document.getElementById('star5two').style.backgroundPosition='0px -16px';}function offstars5two(){	document.getElementById('star1two').style.backgroundPosition='0px 0px';	document.getElementById('star2two').style.backgroundPosition='0px 0px';	document.getElementById('star3two').style.backgroundPosition='0px 0px';	document.getElementById('star4two').style.backgroundPosition='0px 0px';	document.getElementById('star5two').style.backgroundPosition='0px 0px';}function ratingthankyou2(){	if (document.getElementById('ratingthanks2').style.display == "none")		{		document.getElementById('ratingthanks2').style.display = "inline";		document.getElementById('ratearticleform2').style.display = "none";		return false;		}}function showsynonyms(){	if (document.getElementById('synonymskeywords').style.display == "none")		{		document.getElementById('synonymskeywords').style.display = "block";		}	else		{		document.getElementById('synonymskeywords').style.display = "none";		}		}
