I have a web site that has pages which are generated by CGI. Once a viewer clicks on a particular category, the CGI generated page for that category is displayed. I want to show banners which are specific to that category on the particular page. We have a JS which filters the url of the query string that selects the correct banner for the CGI page for each category. We have the JS working to filter correctly, and it displays the banners correctly. We are even able to attach a href to the banners as a hyperlink to other sites. What we cannot get to work is a “mailto” attached in the script for the banner.
For instance: a href=mailto:
if(docloc==urls[0]){
document.write(“<a href=mailto:
}