
<!-- hide from old browsers
var allcookies = document.cookie; // get all cookies
var pos = allcookies.indexOf("clickbankID2=");  // get position of bankid2 cookie
if (pos != -1) {                                // if the cookie does exsist
	var start = pos + 13;                     // starting point of the value
	var end = allcookies.indexOf(";", start); // ending point of the value
	if (end == -1) end = allcookies.length;   
	var value = allcookies.substring(start, end);  // extract value
	value = unescape(value);                       //decode the value
	if (value.length >= 6) {
		location = "http://www.ais-usa.net/index2.html";
	}
}
if (pos == -1) {                                // if the cookie does not exsist
	// Get the parameter part of the URL
	var query = location.search.substring(1);
	// Parse out the bankID 2 string
	var bankID2 = query.substring(query.indexOf('=')+1,query.indexOf('.'));
	if (bankID2.length >= 6) {   // if its more than 6 chars save it to cookie and redirect to index2
		var cookie_name = "clickbankID2";
		var date = new Date();
	        date.setFullYear(date.getFullYear()+1);
	      		var expires = date.toGMTString();
	        document.cookie=cookie_name+"="+bankID2+"; expires=" + expires;
	     	location = "http://www.ais-usa.net/index2.html";
	}
}

// end script hiding -->