Show images for: ' + subject + '
' ci.newSubject=subject; ci.newAppendText = newbody; } function aspire_imageCommand(commandname, linkText, linkUrl, ci , completesubjectline , completeBody) { dalert(linkText); dalert(linkUrl); if (linkText == "") { this.errorMessage = "Subject is empty"; return; } if (linkUrl == "") { this.errorMessage = "A image url is required for a image command"; return; } var finalBody = ''; dalert(finalBody); ci.newAppendText = finalBody; ci.newSubject = linkText; } function aspire_gquestionCommand(commandname, subject, body, ci , completesubjectline , completeBody) { var appendText = '' + subject + '
'; var baseurl="http://www.google.com/search?hl=en&q=" + escape(subject); //body exists var googleSearchUrl = '' ci.newSubject=subject; ci.newAppendText = appendText + "\n" + googleSearchUrl; }