/* This script is to provide some protection from SPAMbots */
/* It is based in part on code from
 * http://www.ssi-developer.net/design/avoid-spam-email.shtml
 * and http://www.joemaller.com/js-mailer.shtml
 *
 * SPAMbots have become much more intelligent. This should be replaced with an email
 * contact <form> using Formmail.
*/
function nospamemail() {
var name=('info');
var domain=('pikproducts.com');

emailaddr= name + '@' + domain;
document.write('<a href="mailto:' + emailaddr + '">' + emailaddr + '</a>');
}

/* Thanks to Technorealm -- http://www.technorealm.co.uk/scripts/mouseovershowtext.html */
/* Cross-browser script to show/hide divs. */

function toggleDiv(id,flagit) {
if (flagit=="1"){
if (document.layers) document.layers[''+id+''].visibility = "show"
else if (document.all) document.all[''+id+''].style.visibility = "visible"
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
}
else
if (flagit=="0"){
if (document.layers) document.layers[''+id+''].visibility = "hide"
else if (document.all) document.all[''+id+''].style.visibility = "hidden"
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
}
}
 