<!-- hide from old browsers...
// 
// Copyright 2003 AZC, Inc.  All rights reserved.  The following code is
// either for internal use, or on a royalty-free basis, for AZC's hosting
// customers only.  Redistribution in any form to a third party is
// prohibited without prior written permission from AZC, Inc.
//
// $Id: cp.js,v 1.7 2003/10/23 16:56:31 fangchin Exp $
//

function get_domain(nm)
{
    if (nm != null) return(nm); // If a name is given, just return and be done
                                // with it.  Otherwise, do more work below.
   
    var hn = /^\w+\.([\w.]+)/;  // Match the hostname per se, a period, and
                                // rest of the fully qualified domain name
                                // if available.
    var dn = document.domain; 
    var results = dn.match(hn);
    if (results != null) {
	return results[1];
    } else {
	return "Domain name unavailable";
    }
}

function print_copyright_statement(initial_year, label)
{
    var now = new Date();
    var current_year = now.getFullYear();
    if (initial_year == null) {
	initial_year = current_year;
    }
    var year_span = (current_year == initial_year) ? 
	initial_year : 
	initial_year + 
	"-" + 
	current_year;

    if (label == null) {
	label = get_domain();
	label = label + ".";  // so that the result is grammatically correct.
    }

    // A style sheet can be used to control the look and feel of the
    // printed results below.  The argument 'label' is introduced to add
    // more flexibility to the printed results.

    return "Copyright &copy; " + 
	   year_span + 
           " " +
	   label + 
	   " " +

           "All Rights Reserved.";
}
//-->
<!-- hide from old browsers...
// 
// Copyright 2003 AZC, Inc.  All rights reserved.  The following code is
// either for internal use, or on a royalty-free basis, for AZC's hosting
// customers only.  Redistribution in any form to a third party is
// prohibited without prior written permission from AZC, Inc.
//
// $Id: auto_path.js,v 1.3 2003/12/23 23:01:02 fangchin Exp $
//
// This piece of JavaScript code use the document.URL property to
// help other JavaScript codes to adjust some of their internal
// relative path for images.  With this script, all one needs to
// do in any JavaScript, regardless at which level of the document
// hierarchy, is to say ... = imgp + "image_name", where "image_name"
// could be something like "help.gif".
//
// Note that the code is written specifically for the web document 
// hierarchy employed by AZC, Inc.
//
// The path regexp accomodates both UNIX, MacOS, and MS Windows.
//
// Prerequisites: the var label in cp.js, which must be placed ahead
// of this script for it to work.
//
var d2a = [ 
	{dn:"azc.com",
	 idir:"/icons/www/"},
	{dn:"aplus-domain.com",
	 idir:"/icons/aplus/"},
	{dn:"instant-domain.com",
	 idir:"/icons/instant/"},
	{dn:"instantdomainname.com",
	 idir:"/icons/instant1/"},
	{dn:"speedyregistration.com",
	 idir:"/icons/speedy/"},
	{dn:"fasterwhois.com",
	 idir:"/icons/faster/"},
	{dn:"domainnameexpert.com",
	 idir:"/icons/expert1/"},
	{dn:"123-free-domain-name-search.com",
	 idir:"/icons/freedom/"},
	{dn:"domainsforbeginners.com",
	 idir:"/icons/beginner/"},
	{dn:"businessdomainnameregistration.com",
	 idir:"/icons/bizreg/"},
	{dn:"easydomainnameregistration.com",
	 idir:"/icons/easy/"},
	{dn:"express-domain.com",
	 idir:"/icons/express/"},
	{dn:"freedomainnamesearch.com",
	 idir:"/icons/search/"},
	{dn:"domainname-registration.com",
	 idir:"/icons/domain1/"},
	{dn:"domain-nameregistration.com",
	 idir:"/icons/domain2/"},
	{dn:"quickdomainnameregistration.com",
	 idir:"/icons/quick/"},
	{dn:"domainnamesregistrationcenter.com",
	 idir:"/icons/dregcent/"}
       ];
// simulatin a hash table for fast array lookup
for (var i = 0; i < d2a.length; i++) 
{
    d2a[d2a[i].dn] = d2a[i];
}

function pdir(dn)
{
    return d2a[dn].idir;
}

var l3 = /htmls(\/|\\)faqs/;
var l2 = /htmls/;
var lcb = /cgi-bin/; // used in whois for instance ...
var ldb = /\/db\//;  // used on the secure server for instance ...
var l = document.URL;
var imgp = "images/";  // image path ...
var r3 = l.match(l3);
var r2 = l.match(l2);
if (r3 != null && r2 != null) {
    imgp = "../../images/";
} 
if (r3 == null && r2 != null) {
    imgp = "../images/";
}  
var rcb = l.match(lcb);
if (rcb != null) {
    imgp = "/images/";
}
var rdb = l.match(ldb);
if (rdb != null) {
    imgp = pdir(get_domain());
}
//-->
<!-- hide from old browsers...

// 

// Copyright 2003 AZC, Inc.  All rights reserved.  The following code is

// either for internal use, or on a royalty-free basis, for AZC's hosting

// customers only.  Redistribution in any form to a third party is

// prohibited without prior written permission from AZC, Inc.

//

// $Id: since.js,v 1.3 2003/10/21 19:07:43 fangchin Exp $

//

// starting_year : 4 digit year, e.g. 2003.

// starting_month: a number between 1 and 12 inclusive.

// starting_date : a number between 1 and 31 inclusive.



function print_since(starting_year, starting_month, starting_date, label)

{

    var now = new Date();

    var current_year = now.getFullYear();

    var current_month = now.getMonth();

    current_month++; // So that we count from 1 to 12 instead of 0 to 11.

    var current_date = now.getDate();

    if (starting_year == null) {

alert("Starting year not specified");

    }

    if (starting_month == null) {

alert("Starting month not specified");

    }

    if (starting_date == null) {

alert("Starting date not specified");

    }

    var year_diff = current_year - starting_year;

    var month_diff = current_month - starting_month;

    var date_diff = current_date - starting_date;

    if (date_diff < 0) {

date_diff = current_date;

    }

    if (month_diff < 0) {

year_diff--;

month_diff = current_month;

    }

    

    var ylabel = " year ";

    var mlabel = " month ";

    var dlabel = " day";

    if ( year_diff > 1 ) ylabel = " years ";

    if ( month_diff > 1 ) mlabel = " months ";

    if ( date_diff > 1 ) dlabel = " days";



    if (label == null) {

label = "In business for ";

    }



    // A style sheet can be used to control the look and feel of the

    // printed results below.  The argument 'label' is introduced to add

    // more flexibility to the printed results.



    return label +

   year_diff + 

           ylabel +

   month_diff +

   mlabel +

   date_diff + 

   dlabel +

           ".";

}

//-->

<!-- Hide from old browsers
// a set of utility functions for pop up window management
// $Id: popwm.js,v 1.8 2003/10/14 23:52:42 fangchin Exp $


// the following wrapper function of window.open() allows a user to specify
//
// o url  : the destination URL,
// o wname: the window's name (e.g. for target) 
// o w    : window width, 
// o h    : window hight, 
// o loff : offset from left edge of the display, 
// o toff : offset from the top edge of the display, and 
// o aoff : auto close the window (optional)
// o ctime: a given wait time before window closure (optional)
//
// if aoff is not given, then ctime shouldn't be given either.

function winopen(url,wname,w,h,loff,toff,aoff,ctime) {
    var windowFeatures = 
	"scrollbars=yes" +
	",toolbar=yes" +
	",copyhistory=yes," +
	",width=" + w +
	",height=" + h +
	",screenX=" + loff +
	",screenY=" + toff;
    win = window.open(url, wname, windowFeatures);
    if (aoff == "y") {
	start_time(ctime);
    }
}

function start_time(x) {
    var time= new Date();
    hours = time.getHours();
    mins = time.getMinutes();
    secs = time.getSeconds();
    closeTime = hours*3600+mins*60+secs;
    closeTime += x; // Amount of time that the window stays open in seconds
    timer();
}

function timer() {
    var time = new Date();
    hours = time.getHours();
    mins = time.getMinutes();
    secs = time.getSeconds();
    curTime = hours*3600+mins*60+secs;
    if (curTime >= closeTime){
	if (win.closed == false) {
	    win.close();
	}
    } else {
	window.setTimeout("timer()",1000);
    }
}
// -->   
function mailpage()

{

  mail_str = "mailto:?subject= Hi, you may wish to review: " + document.title;

  mail_str += "&body= I ran across this great site: " + 

              document.title + ".\n";

  mail_str += "You may wish to check it out at, " + location.href; 

  location.href = mail_str;

}

