function open_window(url,width,height) 
{
mywin = window.open(url, "Window_name", 'toolbar=0,location=0,menubar=0,scrollbars=0,resizable=0,width=' + width + ',height=' + height);
}

function bookmark()
{
window.external.AddFavorite("http://www.sordselectric.com","SordsElectric.com, Electrical Components")
}

function errorsuppressor(){return true;} 
window.onerror=errorsuppressor; 
function CCop( href, windowname, features, replace ) {
    var answer;
    answer = confirm( "CookieCop\n\nClick OK to permit the pop-up, Cancel to block it.\n\n" + "\nTitle= " + windowname + "\n\nURL= " + href );
    if(answer) return( window.open(href, windowname, features, replace));
    return null;}
    
if (top.location != location) {top.location.href = window.location.href};    

function errorsuppressor(){return true;} window.onerror=errorsuppressor; function CCop( href, windowname, features, replace ) {
  var answer;
    answer = confirm( "CookieCop\n\nClick OK to permit the pop-up, Cancel to block it.\n\n" + "\nTitle= " + windowname + "\n\nURL= " + href );
    if(answer) return( window.open(href, windowname, features, replace));
    return null;
}

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);