   var closecolor = "#05f20d";
// Usually a bright color (white, yellow etc)
    var fcolor = "#f0f8ff";
// Border color and color of caption
     var backcolor = "#336699";
// Text color
     var textcolor = "#000fff";
// Color of the caption text
     var capcolor = "#FFFFFF";
// Width of the popups in pixels
// 100-300 pixels is typical
   var width_h = "200";
// How thick the border should be in pixels
// 1-3 pixels is typical
    var border = "1";
// How many pixels to the right/left of the cursor to show the popup
// Values between 3 and 12 are best
    var offsetx = 10 + document.body.scrollLeft;
// How many pixels to the below the cursor to show the popup
// Values between 3 and 12 are best
   var offsety = 10 + document.body.scrollTop;
    ns4 = (document.layers)? true:false
    ie4 = (document.all)? true:false
// Microsoft Stupidity Check.
if (ie4) {
	if (navigator.userAgent.indexOf('MSIE 5')>0) {
		ie5 = true;
	} else {
		ie5 = false; }
} else {
	ie5 = false;
}
var x = 0;
var y = 0;
var snow = 0;
var sw = 0;
var cnt = 0;
var dir = 1;

function help_tip(x)
 { var msg=new Array;
   var title=new Array;
    msg[1]="Web hosting refers to the process of publishing a web site so that it is available to the world on the Web. Paid web hosting also involves getting a domain name and not having forced ads displayed on your site. ";title[1]="FAQ..";
    msg[2]="A domain name is a sequence of letters and numbers which determine the address of your site. This site's domain name is (yourname.com.) You need to register a domain name before your web site becomes accessible at this address. ";title[2]="FAQ..";
    msg[3]="Shared (or virtual) web hosting is the most fitting way of hosting for 99% of web sites. It means that a web hosting company will have one or more servers that will be running multiple web sites (it will be shared).";title[3]="FAQ..";
    msg[4]="Yes. We recommend that you register your domain name with a separate registrar before getting a hosting plan Then, when you need to move to another host, you just need to point your domain's name servers to this new host.";title[4]="FAQ..";
    msg[5]="No. This will only make a difference if you develop scripts that you want to use without changes on your web site. FrontPage extensions can also be done on Unix (or Linux) servers.";title[5]="FAQ..";
    msg[6]="Add-on Domain is a secondary Domain name Point to a folder within the main domain. It can be added directly from your Cpanel, using one FTP account allowing you to create full email addresses. Moreover, Add-on Domain's Price listed does NOT include domain name registration fees.";title[6]="FAQ..";
    msg[7]="Domain pointer is an additional domain name point to the main domain name homepage. It can NOT point to a folder on the main domain. Additionally, it does not have any FTP or Mail features. Moreover, Domain Pointer's price listed does not include domain name registration fees.";title[7]="FAQ..";
    msg[8]="Full-service can refer to a variety of services offered in addition to providing web space, transfer, and emails for a web site. For example, it could be 24/7 toll free phone support, web design services, or web site content maintenance services.";title[8]="FAQ..";
    msg[9]="The methods of payment which are accepted depend on each individual host. Almost everybody accepts credit cards such as Visa and MasterCard. Vast majority of plans require periodic (usually monthly up to yearly) payments.";title[9]="FAQ..";
    msg[10]="Using FTP. When you sign up with a host, you will get an FTP account. Then you can use a built-in Windows or Internet Explorer FTP client, or some other software that supports FTP such as CuteFTP, WS_FTP to transfer files from your hard drive to your account. If you don't get an FTP account or if you prefer a Web interface, you can use your account control panel's File Manager instead.";title[10]="FAQ..";
    msg[11]="Uptime is the percentage of time that a web site is working. For example, if some host has an uptime average of 99.86%, this means that your site will be down for a total about 1 hour each month.";title[11]="FAQ..";
    msg[12]="Yes. Those are client-side technologies, so the host doesn't have to do anything to support or enable them. Any browser (such as Internet Explorer or Netscape) that supports them is enough, so any host will do. It doesn't matter whether Java or Flash are listed among the plan's features, they are supported by default.";title[12]="FAQ..";
    msg[13]="your decition should depend on what features you need. For example, if you are already using IIS, ASP, VBScript, Microsoft Access or Microsoft SQL Server,  you'll have to choose a Windows based host. You may notice that Linux-based operating systems and Apache Web servers are most common among web hosting companies.";title[13]="FAQ..";
    msg[14]="Due to Apache's many shared-hosting features, a good track record of stability and performance, and because Linux and Apache are free.";title[14]="FAQ..";
    msg[15]="You can figure out how much data transfer you will require by estimating your average page size (including graphics!) and multiplying it by the number of page views you expect to have in a month. For example: with an average page size of 50 KB, and around 2000 page views per day, you will transfer an average of 3 GB per month. In this case, you should get a plan with 4 to 5 GB of data transfer limit per month.";title[15]="FAQ..";
    msg[16]="This depends on a web host and a plan. Most plans will allow running scripts in languages such as Perl or PHP. Some plans will also allow you to compile program in C/C++ and run them. However to get a full control over all aspects of your server, you will need a dedicated server instead of a shared plan.";title[16]="FAQ..";
    msg[17]="Maybe. There are some advantages to having a unique IP for your site. When you change servers, you can point your users to a new IP, so they don't have to wait for the domain name change to propagate. With a static IP, it can also be simpler to upload and test your site before transferring the domain name to a new server. Setting up SSL is also much simpler.";title[17]="FAQ..";
    msg[18]="Usually yes. Try to optimize all the graphics on your site. Don't duplicate graphics files, let the browser cache them. Try to clean up your HTML by using relative paths, short filenames, less extras, and reducing the number of spaces and new lines. If your site is mainly text-based, ask your host about using an HTTP compression module like mod_gzip.";title[18]="FAQ..";
    msg[19]="Yes, you'll need to get a digital certificate from a Certificate Authority such as VeriSign , Thawte or Equifax Secure.";title[19]="FAQ..";

   builderTip_h(msg[x],title[x]); 
}
 function sts_txt(x)
 {   var title=new Array;
	 
   title[1]="FAQ";
   window.status=title[x];
 }
if ( (ns4) || (ie4) ) {
	if (ns4) builder = document.builderDiv
	if (ie4) builder = builderDiv.style
	document.onmousemove = mouseMove
	if (ns4) document.captureEvents(Event.MOUSEMOVE)
}

// Caption popup center
function builderTip_h(text, title) {
	tip_pos_h(2,text,title);
}
// Non public functions. These are called by other functions etc.
function cClick() {
	hideObject(builder);
	sw=0;
}


// Simple popup
function tip_pos_h(d,text) {
	txt = "<TABLE WIDTH="+width_h+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 background=images/tableheader.jpg bgcolor=\""+backcolor+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=2 CELLSPACING=0 BGCOLOR=\""+fcolor+"\"><TR><TD><FONT FACE=\"Arial,Helvetica\" COLOR=\""+textcolor+"\" SIZE=\"-2\">"+text+"</FONT></TD></TR></TABLE></TD></TR></TABLE>"
	layerWrite(txt);
	dir = d;
	disp();
}
// Caption popup
function tip_pos_h(d,text, title) {
	sw = 1;
	 cnt = 0;
	txt = "<TABLE WIDTH="+width_h+" BORDER=0 CELLPADDING="+border+" CELLSPACING=0 background=images/tiphead.jpg bgcolor=\""+backcolor+"\"><TR><TD><TABLE WIDTH=100% BORDER=0 CELLPADDING=0 CELLSPACING=0><TR  class=tipheader><TD nowrap ><SPAN ID=\"PTT\"><i>"+title+"</SPAN></TD><TD ALIGN=RIGHT><A style=\"cursor:hand;\"onClick=\"cClick();\" ID=\"PCL\"><i>Close</i></A></TD></TR></TABLE><TABLE WIDTH=100% BORDER=1 bordercolor=#618ff1 CELLPADDING=4 CELLSPACING=0 BGCOLOR=\""+fcolor+"\"><TR  class=tipbody ><TD colspan=\"2\"><SPAN ID=\"PST\"><div align=center>"+text+"<SPAN></TD></TR></TABLE></TD></TR></TABLE>"
	layerWrite(txt);
	dir = d;
	disp();
    snow = 0;
}
// Common calls
function disp() {
	if ( (ns4) || (ie4) ) {
		if (snow == 0) 	{
			if (dir == 2) { // Center
				moveTo(builder,x+offsetx-(width_h/2),y+offsety);
			}
			if (dir == 1) { // Right
				moveTo(builder,x+offsetx,y+offsety);
			}
			if (dir == 0) { // Left
				moveTo(builder,x-offsetx-width_h,y+offsety);
			}
			showObject(builder);
			snow = 1;
		}
	}
// Here you can make the text goto the statusbar.
}
// Moves the layer
function mouseMove(e) {
	if (ns4) {x=e.pageX; y=e.pageY;}
	if (ie4) {x=event.x; y=event.y;}
	if (ie5) {x=event.x+document.body.scrollLeft; y=event.y+document.body.scrollTop;}
	if (snow) {
		if (dir == 2) { // Center
			moveTo(builder,x+offsetx-(width_h/2),y+offsety);
		}
		if (dir == 1) { // Right
			moveTo(builder,x+offsetx,y+offsety);
		}
		if (dir == 0) { // Left
			moveTo(builder,x-offsetx-width_h,y+offsety);
		}
	}
}
// Writes to a layer
function layerWrite(txt) {
        if (ns4) {
                var lyr = document.builderDiv.document
                lyr.write(txt)
                lyr.close()
        }
        else if (ie4) document.all["builderDiv"].innerHTML = txt
		}
// Make an object visible
function showObject(obj) {
        if (ns4) obj.visibility = "show"
        else if (ie4) obj.visibility = "visible"
}
// Hides an object
function hideObject(obj) {
        if (ns4) obj.visibility = "hide"
        else if (ie4) obj.visibility = "hidden"
}
// Move a layer
function moveTo(obj,xL,yL) {
        obj.left = xL
        obj.top = yL
}
