|
 |
', 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 = "!profileID=" + theID;
theTitle = searchByID_9377(theID);
document.title = originalTitle + ' - ' + theTitle;
//document.title = theTitle;
if (typeof fblike !== 'undefined'){
document.getElementById("fblike").innerHTML = ''
if (typeof FB !== 'undefined') {
FB.XFBML.parse(document.getElementById('fblike'));
}
}
if( theScript && theScript.indexOf('goFlash') > 0){
goFlash();
}
}
connectIt2();
function rollOverList_9377( theID ){
var listTitle = document.getElementById( "9377_" + theID + "_title");
var listDate = document.getElementById( "9377_" + theID + "_date");
listTitle.bgColor = "e5f2ff";
listDate.bgColor = "e5f2ff";
}
function rollOutList_9377( theID ){
var listTitle = document.getElementById( "9377_" + theID + "_title");
var listDate = document.getElementById( "9377_" + theID + "_date");
listTitle.bgColor = "F5F5F5";
listDate.bgColor = "F5F5F5";
}
listItems_9377 = new Array();
function searchIt_9377( searchString ){
var matches = 0;
for(var j = 1; j < listItems_9377.length; j++){
var mySearch = new RegExp(searchString, "i");
isMatch = listItems_9377[j]['title'].search(mySearch);
var theItem = document.getElementById( "contentList9377_" + listItems_9377[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_9377(){
var theInput = document.getElementById("searchInput_9377");
searchIt_9377(theInput.value);
}
function searchByID_9377(theID){
for(var j = 1; j < listItems_9377.length; j++){
if(listItems_9377[j].id == theID){
return listItems_9377[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.
|
|
|
|