<!--
// replace addToFavorites.js, security_logo.js, popup.js, show_hide.js

 var urlAddress = "http://www.thetwistergroup.com";
 var pageName = "The Twister Group - Electronics Store";

 function addToFavorites()
 {
  if (window.external)
  {
   window.external.AddFavorite(urlAddress,pageName)
  }
  else
  { 
   alert("Sorry! Your browser doesn't support this function");

  }
 }

var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.com/trustlogo/javascript/cot.js" :
"http://www.trustlogo.com/trustlogo/javascript/cot.js";
document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');


function popup (url,mode) {
if (mode=='ship')
open (url,'','width=360,height=240,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0');
else if (mode=='stock')
open (url,'','width=300,height=150,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0');
else if (mode=='stock_admin')
open (url,'','width=350,height=200,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0');
else if (mode=='emailproduct')
open (url,'','width=400,height=350,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0');
else if (mode=='chat')
open (url,'','width=500,height=300,height=150,toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0');
else if (mode=='ship_pref')
open (url,'','width=700,height=530,scrollbars,resizable');
else if (mode=='hack')
open (url,'','width=400,height=350,scrollbars,resizable');
else if (mode=='crossref')
open (url,'','width=340,height=220,scrollbars,resizable');
else if (mode=='ca_ship')
open (url,'','toolbar=no,scrollbars=yes,resizable=no,width=400,height=600,top=120,left=150');
else if (mode=='issues')
open (url,'','toolbar=no,scrollbars="+scroll+",resizable=no,menubar=no,width=500,height=500,top=120,left=150');
else 
open (url,'','');
}

function show(object) {
  if (document.getElementById) {
    document.getElementById(object).style.visibility = 'visible';
  }
  else if (document.layers && document.layers[object]) {
    document.layers[object].visibility = 'visible';
  }
  else if (document.all) {
    document.all[object].style.visibility = 'visible';
  }
}

function hide(object) {
  if (document.getElementById) {
    document.getElementById(object).style.visibility = 'hidden';
  }
  else if (document.layers && document.layers[object]) {
    document.layers[object].visibility = 'hidden';
  }
  else if (document.all) {
    document.all[object].style.visibility = 'hidden';
  }
}
// -->

// packer: http://dean.edwards.name/packer/