// Check Form

function checkLogin(form) {

var cookieEnabled=(navigator.cookieEnabled)? true : false

if (typeof navigator.cookieEnabled=="undefined" && !cookieEnabled){ 
document.cookie="testcookie"
cookieEnabled=(document.cookie.indexOf("testcookie")!=-1)? true : false
}

	if (cookieEnabled)
	{
	// alert("cookies are enabled!");
	} else {
	alert("We are sorry, but you will need to enable cookies on your Browser to login.");
	window.location="http://www.teambuildingproject.com/cookies.html";
	return false;
	}

var re = /^(([A-Za-z0-9]+_+)|([A-Za-z0-9]+\-+)|([A-Za-z0-9]+\.+)|([A-Za-z0-9]+\++))*[A-Za-z0-9]+@((\w+\-+)|(\w+\.))*\w{1,63}\.[a-zA-Z]{2,6}$/;
if(!re.test(form.email.value))
	{
	alert("Please enter valid e-mail address.");
	form.email.focus();  return false;
	}	

var re = /^\w{5,}$/;
if(!re.test(form.pwd1.value)) {
       alert("Password must be at least 5 characters long (letters and numbers only - no spaces).");
	   form.pwd1.focus(); return false;
    }
form.password.value = form.pwd1.value;
form.cookieexists.value ="true";
return true;
}

function binary_report() {
	newwindow2=window.open('','name','top=200,left=500,height=320,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Binary Report</title>');
	tmp.write('</head><body>*** IMPORTANT NOTE ***<P>There are literally hundreds of network marketing compensation plans out there, and it is impossible to represent all of them here in your back office report.</p><p>This BINARY \(2x2\) downline report is presented as the simplest plan to understand and demonstrate the power of spillover \(representatives placed under you by your upline\).</p><p>If we should ultimately select a business opportunity that does not have a BINARY compensation plan, the number or partners in your downline may change however, all direct sponsoring relationships will not change.</p><p>Your \'UNILEVEL Downline Report\' contains the names of all partners that will remain in your downline no matter what business opportunity we ultimately select.<p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function unilevel() {
	newwindow2=window.open('','name','top=200,left=500,height=250,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Unilevel Report</title>');
	tmp.write('</head><body>Unilevel Plans\: <p>The unilevel is one of the simplest forms of network marketing compensation structures. In a unilevel system, you can sign up as many people you want on your first level, and everyone under you is free to do the same. Unlimited width, limited depth, and monthly payouts characterize this pay plan.</p><p>Most unilevels pay 5-8 levels with 7 being the most common depth. Most have roll-ups, compression, and/or infinity bonuses allowing top distributors to be paid temporarily on deeper levels until downline leaders catch up.<p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function leader() {
	newwindow2=window.open('','name','top=300,left=400,height=100,width=400,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Team Building Project Leader</title>');
	tmp.write('</head><body>Team Building Project Leaders are individuals who have personally sponsor a minimum of 20 partners.<p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function referral() {
	newwindow2=window.open('','name','top=300,left=400,height=100,width=400,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Referral</title>');
	tmp.write('</head><body>A unique referral visit is the result of someone clicking on your partner referral link and visiting the Team Building Project website. This number is reset every 24 hours and does not include duplicate traffic from the same IP address.<p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function placement() {
	newwindow2=window.open('','name','top=300,left=400,height=100,width=400,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Place Under</title>');
	tmp.write('</head><body>The \'Placed Under\' name represents the person under which the new partner was placed in your binary downline structure. Due to spillover, this name may be different than the \'Sponsor Name\'.<p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function eligible() {
	newwindow2=window.open('','name','top=300,left=400,height=200,width=400,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Eligible</title>');
	tmp.write('</head><body>Eligible\: <p>Eligible means the individual resides in one of the following countries where the Team Building Project is currently available.</p><p>Argentina - Australia - Austria - Brazil - Canada - China - Columbia -  - France - Germany - Ireland - Italy - Japan - Malaysia - Mexico - Netherlands - New Zealand - Norway - Poland - Portugal - Russia - South Korea - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom -United States</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function eligible_countries() {
	newwindow2=window.open('','name','top=300,left=400,height=200,width=400,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Eligible Countries</title>');
	tmp.write('</head><body>The Team Building Project is available in following countries\:<p>Argentina - Australia - Austria - Brazil - Canada - China - Columbia -  - France - Germany - Ireland - Italy - Japan - Malaysia - Mexico - Netherlands - New Zealand - Norway - Poland - Portugal - Russia - South Korea - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom -United States</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function ineligible() {
	newwindow2=window.open('','name','top=300,left=400,height=220,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Ineligible</title>');
	tmp.write('</head><body>Ineligible\:<p>Ineligible means the individual does not reside in one of the following countries where the Team Building Project is currently available.</p><p>Argentina - Australia - Austria - Brazil - Canada - China - Columbia -  - France - Germany - Ireland - Italy - Japan - Malaysia - Mexico - Netherlands - New Zealand - Norway - Poland - Portugal - Russia - South Korea - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom -United States</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}



function binary() {
	newwindow2=window.open('','name','top=300,left=400,height=250,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Binary Plan</title>');
	tmp.write('</head><body>Binary Plans\:<p>Binary plans are so named because they are built on a matrix of two. You can sign only two people onto your first level. Everyone else goes beneath those people.</p><p>Binary plans pay on a specified, maximum amount of purchases (over some period or time, often weekly). It pays on that amount regardless of how many levels down you need to look to reach that total. So the number of levels between you and a given recruit is not especially relevant. The thing that determines whether you get a commission from that person is not what level he is on, but rather how much purchase volume is generated in the levels between you and that person.</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function matrix() {
	newwindow2=window.open('','name','top=300,left=400,height=350,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Matrix Plan</title>');
	tmp.write('</head><body>Matrix Plans\:<p>The "Matrix" marketing plan or "Forced Matrix" is everything its name implies. You start with a prearranged numerical matrix similar to an organizational chart for a large corporation. Most compensation plans are designed to allow you to sponsor unlimited numbers of distributors on your first level.</p><p>With the matrix plan, you can only sponsor a certain number of people on your front line. Also, your front line distributors can only sponsor that same designated number of distributors on their front line. Distributors cannot sponsor outside the matrix and there is a limit to depth. For example, in a 2 x 9 matrix, you sponsor 2 on your first level, 4 on your second level, 8 on your third, 16 on your fourth, 32 on your fifth, and 64 on your sixth, 128 on your seventh, 256 on your eighth, and 512 on the ninth level (or last level).</p><p>In most matrix plans, distributors do not earn anything past the last pay level in the plan.</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function breakaway() {
	newwindow2=window.open('','name','top=300,left=400,height=350,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Stairstep Breakaway Plan</title>');
	tmp.write('</head><body>Stairstep Breakaway Plans\:<p>Unlike the matrix, the stairstep breakaway plan allows distributors to sponsor an unlimited number of people on their front line. This fosters a sense of unlimited, quick growth potential. When you first sign up as a distributor you will go through a process called a stairstep. As you and your new distributors purchase product volume, you systematically progress to higher and higher commission levels.</p><p>If you are doing a significant amount of retailing and are sponsoring people who retail the product, you have a chance to make good money in the stairstep right from the start. In order to earn a percentage on your breakaway\'s group volume (GV), you must fulfill a Group Volume Requirement or GVR (a fancy name for a group quota). This quota is made up of the product volume that you personally purchase and all of the product volume that your distributors purchase. However, once an individual in your downline breaks away from your organization, his or her entire downline volume no longer helps you qualify for your group volume quota.</p><p>If you do not fulfill this quota each and every month with your non-breakaway legs, you don\'t get a check on your breakaway legs (which incidentally makes up most of your income at higher levels).</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function vote() {
	newwindow2=window.open('','name','top=300,left=400,height=200,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Voting Points</title>');
	tmp.write('</head><body>Each Team Building Project member will have an opportunity to vote on which business opportunity we select to join (as a team). The weight of your vote will depend on the number of people you personally sponsor.<p>For example\; if you personally sponsor 8 new members, your vote will be worth 9 points (one point for you and one for each person you personally sponsor). This will ensure that Team Building Project members that have contributed the most have a greater say in the business opportunity selection.<p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function vote1() {
	newwindow2=window.open('','name','top=300,left=400,height=125,width=525,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Business Opportunity Selection</title>');
	tmp.write('</head><body>Two criteria must be met that will trigger our business opportunity selection vote.<p>1. A minimum of 10,000 Team Building partners.<br>2. A minimum of 3,000 Team Building Project partners must be qualified.</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

 function qualified() {
	newwindow2=window.open('','name','top=300,left=400,height=220,width=500,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Minimum Qualifications</title>');
	tmp.write('</head><body><p>To qualify your Team Building Project position you must personally sponsor a minimum of two \(2\) Team Building Project partners.</p><p>This minimum qualification is in place to ensure you are pre-positioned for success. Any business opportunity we ultimately select will most likely have a minimum sponsoring requirement in place to be eligible for compensation. So it only makes sense to position yourself accordingly as soon as possible.</p><p>Therefore, you MUST QUALIFY your Team Building Project position to be eligible to join our selected business opportunity.</p><p><a href="javascript:self.close()">close window</a></p></body></html>');
	tmp.close();
return
}

function pyramid() {
	newwindow2=window.open('','name','top=200,left=100,height=400,width=600,scrollbars=yes');
	var tmp = newwindow2.document;
	tmp.write('<html><head><title>Pyramid Scheme</title>');
	tmp.write('<link rel="stylesheet" href="/tbp.css">');
	tmp.write('</head><body>THE U.S. FEDERAL TRADE COMMISSION\:<p>What is a Pyramid Scheme and What is Legitimate Marketing?</p><p>Pyramid schemes now come in so many forms that they may be difficult to recognize immediately. However, they all share one overriding characteristic. They promise consumers or investors large profits based primarily on recruiting others to join their program, not based on profits from any real investment or real sale of goods to the public. Some schemes may purport to sell a product, but they often simply use the product to hide their pyramid structure. There are two tell-tale signs that a product is simply being used to disguise a pyramid scheme: inventory loading and a lack of retail sales. Inventory loading occurs when a company\'s incentive program forces recruits to buy more products than they could ever sell, often at inflated prices. If this occurs throughout the company\'s distribution system, the people at the top of the pyramid reap substantial profits, even though little or no product moves to market. The people at the bottom make excessive payments for inventory that simply accumulates in their basements. A lack of retail sales is also a red flag that a pyramid exists. Many pyramid schemes will claim that their product is selling like hot cakes. However, on closer examination, the sales occur only between people inside the pyramid structure or to new recruits joining the structure, not to consumers out in the general public.</p>Some people confuse pyramid schemes with legitimate multilevel marketing. Multilevel marketing programs are known as MLM\'s,(4) and unlike pyramid or Ponzi schemes, MLM\'s have a real product to sell. More importantly, MLM\'s actually sell their product to members of the general public, without requiring these consumers to pay anything extra or to join the MLM system. MLM\'s may pay commissions to a long string of distributors, but these commission are paid for real retail sales, not for new recruits.</body></html>');
tmp.close();
return
}

function presentation(url) {
	popupWindow = window.open(
		url,'popUpWindow','height=300,width=700,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no')
}

function download(url) {
	popupWindow = window.open(
		url,'popUpWindow','height=350,width=700,left=100,top=100,resizable=yes,scrollbars=yes,toolbar=no,menubar=no,location=no,directories=no,status=no')
}


