<!-- This script insures desired contents of frames
//
// Script Name:  proper.js
// Companion Component:  referit.js
//
// Copyright @1998-2000 FXtra, Inc.
// 
// This SOFTWARE SCRIPT and its associated components are owned by FXtra, Inc.
// and are protected by United States Copyright Laws and international treaty
// provisions.  Therefore, you must comply with such laws and treaties in your
// use of this SOFTWARE SCRIPT.  You MAY NOT duplicate, publish, sublicense,
// distribute or modify this SOFTWARE SCRIPT or any accompanying documentation.
// Use of this SOFTWARE SCRIPT is provided by authorization through special
// limited license(s) from FXtra, Inc. only.  It is not available to the
// public domain, nor is it permissible to use this script without the
// explicit consent by license from FXtra. Inc.
//
// Please direct inquiries to:
// FXtra, Inc.
// Marketing & Sales Dept.
// 7803 Manorford Drive
// Parma, OH  44129
//
// E-MAIL:  sales@fxtra.com
// PHONE:  (888) 834-3845
//
// * LICENSE TYPE:  This SOFTWARE SCRIPT is provided through a special limited site
// license.
// * LICENSE:  #f00000000
// * LICENSEE:  Affordable Computers, Ohio
// * AUTHORIZED FOR DOMAIN:  www.acisystem.com ONLY.
// * RESTRICTED TO DOMAIN DIRECTORY:  www.acisystem.com/codebase.
// * CHILD SITE/SUB WEB AUTHORIZATION:  Callable as installed by FXtra, Inc.
// * OTHER AUTHORIZATIONS:  Domain support and backup or archival purposes only.
// * DURATION:  Life of the above authorized domain.
// * WARRANTY:  This SOFTWARE SCRIPT has been tested and certified by FXtra, Inc.
// to meet or exceed performance of its original specifications and scope of its
// intended purposes.  Licensee assumes all risks associated with use of this
// SOFTWARE SCRIPT by virtue of installation on any computer hardware device.  
// FXtra, Inc. provide or implies any liability or remedy for damages incurred
// through use of this SOFTWARE SCRIPT.  In no event shall FXtra, Inc. or its
// suppliers be liable for any damages whatsoever (including, without limitation,
// direct damages, consequential damages and other pecuniary loss) arising out of
// the use or inability to use this FXtra, Inc. SOFTWARE SCRIPT product, even if
// FXtra, Inc. has be advised of the possibility of such damages.
// This SOFTWARE SCRIPT license warranty statement constitutes the entire
// agreements between the licensee and FXtra, Inc. regarding this SOFTWARE
// SCRIPT, its accompanying components and materials.  If any provision is found
// to be invalid by a court competent jurisdiction, the balance of the
// provisions shall remain in full force  and effect.  THIS AGREEMENT IS
// GOVERNED BY THE LAWS OF THE STATE OF OHIO, U.S.A., BUT NOT INCLUDING THE
// 1980 U.N. CONVENTION ON CONTRACTS FOR INTERNATIONAL SALES OF GOODS.
// * SPECIAL NOTE:  Any updates to this software script by FXtra, Inc. will be
// available free of charge to valid licensees.  To request information on
// availability of any updates, please contact tech@fxtra.com.
//
// To purchase a site license for this script, please contact sales@fxtra.com.
//
// Check for offsite entry and redirect
var ftest = "x" + parent.mywin;
if (ftest != "xpce849230032948")  {
    top.location.href = thisloc;
}
// Insure site at top of food chain
var fxcrcd = "pce849230032948";
var remote = parent.frames.length;
if (remote == 0)  {
    top.location.href = thisloc;
}
// Check for proper content frame
if (remote == 4)  {
    var current = parent.frames[3].location.pathname;
    if (error = true)  {
        top.location.href = thisloc;
    }
    var content = parent.rootdir + correct;
    if (current != content)  {
        parent.frames[3].location = content;
    }
}
// Disable Mouse Button Right Click
var message="© Affordable Computers - affordable@acisystem.com";
function click(cevent) {
   if (document.all) {
       if (event.button ==2) {
           alert(message);
           return false;
       }
   }
   if (document.layers) {
       if (cevent.which ==3) {
           alert(message);
           return false;
       }
   }
}
if (document.layers)  {
    document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;
// Print Function
function printit()  {
  window.print();
  return false;
}
// Bookmark function
function addus()  {
  var bookmarkurl = window.location.href;
  var bookmarktitle = "Affordable Computers - " + document.title;
  // Netscape Alert Display
  var netscape= "NETSCAPE USER >>> please CLICK on [OK] and then hold down your [Ctrl] key and press the [d] key to complete adding a bookmark for Affordable Computers.";
  if (navigator.appName == "Microsoft Internet Explorer")  {
      window.external.AddFavorite(bookmarkurl,bookmarktitle);
  }
  else if (navigator.appName=='Netscape')  {
  alert(netscape);
  }
}
// Page Top Function
function gotop()  {
  parent.frames[1].scrollTo(0,0);
  return false;
}
// Page Bottom Function
function gobottom()  {
  parent.frames[1].scrollTo(0,20000);
  return false;
}
//-->

