var user;
var thedomain = "HigherEndInstruments";
var suffix;
var thecom = "com"

function baseDL() {
  return "http://www.skzimmelman.com/Downloads/" ;
}

function heiInfoMail(){
document.write('<a href="' + 'mailto:' + 'info' + '@' + thedomain + '.' + thecom+ '">' + 'info' + '@' + thedomain + '.' + thecom+ '</a>');
}

function jemailclick(user, domain, suffix){
document.write('<a href="' + 'mailto:' + user+domain + '@' + thedomain + '.' + thecom+ '">' + user+domain + '@' + thedomain + '.' + thecom+ '</a>');
document.write('&nbsp;&nbsp;<a href="' + 'mailto:' + user+domain + '@' + thedomain + '.' + thecom+ '">'+'(click to send email) </a>');
}

function jemailimg(user, domain, suffix){
document.write('&nbsp;&nbsp;<a href="' + 'mailto:' + user+domain + '@' + thedomain + '.' + thecom+ '"><img border="0" src="envelope1.gif" width="20" height="11"> </a>');
}

function doe(user, domain, suffix){
document.write('<a href="' + 'mailto:' + user+domain+ '@' + thedomain + '.' + thecom+ '">' + user+domain + '@' + thedomain + '.' + thecom+ '</a>');
}

function jem_ail(user, domain, suffix){
document.write('<a href="' + 'mailto:' + user+domain+ '@' + thedomain + '.' + thecom+ '">' + user+domain + '@' + thedomain + '.' + thecom+ '</a>');
}

function insertmail(user, domain, suffix){
document.write('email:<a href="' + 'mailto:' + user+domain+ '@' + thedomain + '.' + thecom+ '">' + user+domain + '@' + thedomain + '.' + thecom+ '</a>');
}

function insertmailname(name, user, domain, suffix){
document.write('<a href="' + 'mailto:' + user+domain+ '@' + thedomain + '.' + thecom+ '">' +name+ '</a>');
}

function FP_preloadImgs() {//v1.0
 var d=document,a=arguments; if(!d.FP_imgs) d.FP_imgs=new Array();
 for(var i=0; i<a.length; i++) { d.FP_imgs[i]=new Image; d.FP_imgs[i].src=a[i]; }
}

function FP_swapImg() {//v1.0
 var doc=document,args=arguments,elm,n; doc.$imgSwaps=new Array(); for(n=2; n<args.length;
 n+=2) { elm=FP_getObjectByID(args[n]); if(elm) { doc.$imgSwaps[doc.$imgSwaps.length]=elm;
 elm.$src=elm.src; elm.src=args[n+1]; } }
}

function FP_getObjectByID(id,o) {//v1.0
 var c,el,els,f,m,n; if(!o)o=document; if(o.getElementById) el=o.getElementById(id);
 else if(o.layers) c=o.layers; else if(o.all) el=o.all[id]; if(el) return el;
 if(o.id==id || o.name==id) return o; if(o.childNodes) c=o.childNodes; if(c)
 for(n=0; n<c.length; n++) { el=FP_getObjectByID(id,c[n]); if(el) return el; }
 f=o.forms; if(f) for(n=0; n<f.length; n++) { els=f[n].elements;
 for(m=0; m<els.length; m++){ el=FP_getObjectByID(id,els[n]); if(el) return el; } }
 return null;
}

function Include25ftCable() {
document.write('<table border="0">');
document.write('    <tbody>');
document.write('        <tr valign="middle">');
document.write('            <td valign="middle"><font color="red">');
document.write('            <strong>All microphones ship with a 20 foot<br>Hot Wires XLR cable</strong></font>');
document.write('            </td>');
document.write('            <td>');
// document.write('            <a href="http://www.higherendinstruments.com/shop/index.php?_a=viewProd&amp;productId=45">');
document.write('            <img border="0" width="45" height="51" alt="" src="http://www.higherendinstruments.com/shop/images/uploads/thumbs/thumb_HotWire25MicCable.jpg" />');
document.write('            </td>');
document.write('        </tr>');
document.write('    </tbody>');
document.write('</table>');
}

function mp3Link(url,txt) {
document.write('<table border="0" CELLSPACING=0 CELLPADDING=0>');
document.write('     <tr valign="middle">');
document.write('       <td>');
document.write('         <a href="'+url+'"><img src="http://www.HigherEndInstruments.com/HEIImages/mp3_18x24.jpg" border="0"></a>&nbsp;');
document.write('       </td>');
document.write('       <td valign="middle"><font size=2>');
document.write('         <a href="'+url+'">'+txt+'</a> </font>');
document.write('       </td>');
document.write('     </tr>');
document.write('</table>');
// document.write('<a href="'+url+'"> <img src="http://www.HigherEndInstruments.com/HEIImages/mp3_18x24.jpg"> '+txt+'</a> ');
}

function baseurl() {
return "http://www.HigherEndInstruments.com/";
}

function prodlinks() {
  document.write('<Table border="0" cellspacing="1" width="99%" bgcolor=silver>');
    document.write('<TR>');
    document.write('<TD BGCOLOR="#FFFFFF">');
        //document.write('<a href="'+baseurl()+'products.htm">Vogel Guitars</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_rks.htm">RKS Guitars</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_kksound.htm">K & K Sound</a><br>');
        //document.write('<a href="'+baseurl()+'products.htm">Vogel Guitars</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_rks.htm">RKS Guitars</a><br>');
        // document.write('<a href="'+baseurl()+'products.htm">Vogel Guitars</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_rks.htm">RKS Guitars</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_kksound.htm">K & K Sound</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_lrbaggs.htm">L.R. Baggs</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_monstercable.htm">Monster Cable</a>&nbsp;&nbsp;&nbsp;Artec<br>');
        document.write('<a href="'+baseurl()+'products.htm">Vogel Guitars</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_kksound.htm">K & K Sound</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_lrbaggs.htm">L.R. Baggs</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_monstercable.htm">Monster Cable</a>&nbsp;&nbsp;&nbsp;<a href="'+baseurl()+'products_VAM.htm">VAM Acoustics</a><br>');
        document.write('Coming Soon: Artec<br>');
    document.write('</TD>');
    document.write('<TR>');
  document.write('</Table>');
}

function cpywrite() {
document.write('&copy; 2006-2009, Higher-End Instruments');
}

function insertphone() {
// document.write('Ph: 978-633-3518');
document.write('Ph: 978-433-9317');
}

function insertbullet(){
document.write('•');
}
function insertspace() {
document.write('&nbsp;');
}

function OpenBob(){
   var nTop = 0 ;
   var nLeft = 0 ;

var mwindow3 = open("Ayala.htm","Bob_window","resizable=yes, scrollbars=Yes, toolbar=no,location=no, directories=no, status=no, menubar=no,width=600,height=600, top="+nTop+", left="+nLeft);

}
