|
', 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_6576(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_6576( theID ){
var listTitle = document.getElementById( "6576_" + theID + "_title");
var listDate = document.getElementById( "6576_" + theID + "_date");
listTitle.bgColor = "e5f2ff";
listDate.bgColor = "e5f2ff";
}
function rollOutList_6576( theID ){
var listTitle = document.getElementById( "6576_" + theID + "_title");
var listDate = document.getElementById( "6576_" + theID + "_date");
listTitle.bgColor = "F5F5F5";
listDate.bgColor = "F5F5F5";
}
listItems_6576 = new Array();
listItems_6576[1] = {title:"StroboStomp™ 2 Virtual Strobe™ Tuner Active DI", id:16, date:"Tue, Apr 10, 2007"};
listItems_6576[2] = {title:"StroboFlip™ Compact Virtual Strobe™ Tuner", id:21, date:"Fri, Apr 13, 2007"};
listItems_6576[3] = {title:"V-SAM™ Virtual Strobe™ / Audio Tuner with Metronome", id:72, date:"Wed, May 16, 2007"};
listItems_6576[4] = {title:"BodyBeat™ BB-1 Compact Pulsing Metronome", id:322, date:"Thu, Dec 13, 2007"};
function searchIt_6576( searchString ){
var matches = 0;
for(var j = 1; j < listItems_6576.length; j++){
var mySearch = new RegExp(searchString, "i");
isMatch = listItems_6576[j]['title'].search(mySearch);
var theItem = document.getElementById( "contentList6576_" + listItems_6576[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_6576(){
var theInput = document.getElementById("searchInput_6576");
searchIt_6576(theInput.value);
}
function searchByID_6576(theID){
for(var j = 1; j < listItems_6576.length; j++){
if(listItems_6576[j].id == theID){
return listItems_6576[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.
|
|
|