|
', end) + 1;
var theScript = theCode.substring(start2,end);
var newScript = document.createElement('script');
newScript.text = theScript;
theHead.appendChild(newScript);
var part1 = theCode.substring(0,start);
var part2 = theCode.substring(end2, theCode.length);
theCode = part1.concat(part2);
start = end + 9;
}
}
document.getElementById("contentDiv").innerHTML = theCode;
window.location.hash = "!sub=" + theID;
theTitle = searchByID_5037(theID);
document.title = originalTitle + ' - ' + theTitle;
if(FB){
FB.init({appId: '156151101088787', status: true, cookie: true, xfbml: true, href:window.location.href });
}
if( theScript && theScript.indexOf('goFlash') > 0){
goFlash();
}
}
connectIt2();
function rollOverList_5037( theID ){
var listTitle = document.getElementById( "5037_" + theID + "_title");
var listDate = document.getElementById( "5037_" + theID + "_date");
listTitle.bgColor = "e5f2ff";
listDate.bgColor = "e5f2ff";
}
function rollOutList_5037( theID ){
var listTitle = document.getElementById( "5037_" + theID + "_title");
var listDate = document.getElementById( "5037_" + theID + "_date");
listTitle.bgColor = "F5F5F5";
listDate.bgColor = "F5F5F5";
}
listItems_5037 = new Array();
listItems_5037[1] = {title:"The U.S. Food and Drug Administration has approved teriflunomide once-daily pills", id:115, date:"Sun, Oct 07, 2012"};
listItems_5037[2] = {title:"NIH researchers implicate unique cell type in multiple sclerosis", id:110, date:"Thu, Aug 09, 2012"};
listItems_5037[3] = {title:"Blood test that detects antibodies to the JC virus, the virus responsible for PML", id:78, date:"Wed, Jan 25, 2012"};
listItems_5037[4] = {title:"Test to Detect Virus Which Causes PML", id:76, date:"Sat, Jan 07, 2012"};
listItems_5037[5] = {title:"Researchers confirm link between MS and a gene linked to vitamin D", id:73, date:"Wed, Jan 04, 2012"};
listItems_5037[6] = {title:"Botox Gets FDA Approval for Treatment of Urinary Incontinence", id:58, date:"Fri, Sep 23, 2011"};
listItems_5037[7] = {title:"(CCSVI) Studies in 2011 Could Decide MS Theory\'s Validity", id:57, date:"Thu, Sep 22, 2011"};
listItems_5037[8] = {title:"Cinnamon Subject of Rush University Medical Center Research Study", id:51, date:"Tue, Sep 06, 2011"};
listItems_5037[9] = {title:"Update on Tysabri and PML", id:48, date:"Fri, Jul 15, 2011"};
listItems_5037[10] = {title:"Initial Studies on CCSVI and MS", id:46, date:"Fri, Jul 15, 2011"};
function searchIt_5037( searchString ){
var matches = 0;
for(var j = 1; j < listItems_5037.length; j++){
var mySearch = new RegExp(searchString, "i");
isMatch = listItems_5037[j]['title'].search(mySearch);
var theItem = document.getElementById( "contentList5037_" + listItems_5037[j].id );
if(isMatch != -1){
matches += 1;
theItem.className = "show";
}else{
theItem.className = "hide";
}
}
var theError = document.getElementById( "noMatch" );
if(matches == 0){
theError.innerHTML = "There are no articles available that match the keyword '" + searchString + "'. Please try a different search.";
}else{
theError.innerHTML = "";
}
}
function startSearch_5037(){
var theInput = document.getElementById("searchInput_5037");
searchIt_5037(theInput.value);
}
function searchByID_5037(theID){
for(var j = 1; j < listItems_5037.length; j++){
if(listItems_5037[j].id == theID){
return listItems_5037[j].title;
}
}
}
window.onload = function() {
initialiseStateFromURL();
}
function initialiseStateFromURL() {
var theHash = window.location.hash;
if(theHash.indexOf('=')){
var theNumber = theHash.substring(theHash.indexOf('=')+1, theHash.length);
selectList(theNumber);
}
}
//-->
|
Select a topic from the list above.
|
|
|
|
|
|