|
', 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_1150(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_1150( theID ){
var listTitle = document.getElementById( "1150_" + theID + "_title");
var listDate = document.getElementById( "1150_" + theID + "_date");
listTitle.bgColor = "e5f2ff";
listDate.bgColor = "e5f2ff";
}
function rollOutList_1150( theID ){
var listTitle = document.getElementById( "1150_" + theID + "_title");
var listDate = document.getElementById( "1150_" + theID + "_date");
listTitle.bgColor = "F5F5F5";
listDate.bgColor = "F5F5F5";
}
listItems_1150 = new Array();
listItems_1150[1] = {title:"Is there much latency?", id:444, date:"Thu, Apr 16, 2009"};
listItems_1150[2] = {title:"Can the G2M play chords?", id:434, date:"Wed, Apr 15, 2009"};
listItems_1150[3] = {title:"How do I connect the G2M?", id:432, date:"Wed, Apr 15, 2009"};
listItems_1150[4] = {title:"What is the G2M?", id:433, date:"Wed, Apr 15, 2009"};
listItems_1150[5] = {title:"Configuring pitch bend settings", id:431, date:"Wed, Apr 15, 2009"};
listItems_1150[6] = {title:"What are some common uses for the G2M?", id:437, date:"Wed, Apr 15, 2009"};
listItems_1150[7] = {title:"Can I use the G2M for bass guitar?", id:439, date:"Wed, Apr 15, 2009"};
listItems_1150[8] = {title:"How do I operate the G2M\'s tuner?", id:440, date:"Wed, Apr 15, 2009"};
listItems_1150[9] = {title:"Why does the G2M work better with different patches?", id:441, date:"Thu, Apr 16, 2009"};
listItems_1150[10] = {title:"Do I need a Hex pickup with the G2M?", id:442, date:"Thu, Apr 16, 2009"};
listItems_1150[11] = {title:"Can I use the G2M with a microphone?", id:445, date:"Thu, Apr 16, 2009"};
listItems_1150[12] = {title:"What about soft synths/computers and the G2M?", id:446, date:"Thu, Apr 16, 2009"};
listItems_1150[13] = {title:"What is the expected battery life?", id:447, date:"Thu, Apr 16, 2009"};
listItems_1150[14] = {title:"Can I use the G2M with a drum machine?", id:448, date:"Thu, Apr 16, 2009"};
listItems_1150[15] = {title:"Where can I buy a G2M?", id:436, date:"Wed, Apr 15, 2009"};
listItems_1150[16] = {title:"Tips and Tricks", id:435, date:"Wed, Apr 15, 2009"};
listItems_1150[17] = {title:"Playing technique suggestions", id:438, date:"Wed, Apr 15, 2009"};
function searchIt_1150( searchString ){
var matches = 0;
for(var j = 1; j < listItems_1150.length; j++){
var mySearch = new RegExp(searchString, "i");
isMatch = listItems_1150[j]['title'].search(mySearch);
var theItem = document.getElementById( "contentList1150_" + listItems_1150[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_1150(){
var theInput = document.getElementById("searchInput_1150");
searchIt_1150(theInput.value);
}
function searchByID_1150(theID){
for(var j = 1; j < listItems_1150.length; j++){
if(listItems_1150[j].id == theID){
return listItems_1150[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.
|
|
|