// JavaScript Document
function getCookie(c_name)
{
if (document.cookie.length>0)
  {
  c_start=document.cookie.indexOf(c_name + "=");
  if (c_start!=-1)
    {
    c_start=c_start + c_name.length+1;
    c_end=document.cookie.indexOf(";",c_start);
    if (c_end==-1) c_end=document.cookie.length;
    return unescape(document.cookie.substring(c_start,c_end));
    }
  }
return "";
}

function setCookie(c_name,value,expiredays,path,domain)
{
var exdate=new Date();
exdate.setDate(exdate.getDate()+expiredays);
document.cookie=c_name+ "=" +escape(value)+
((expiredays==null) ? "" : ";expires="+exdate.toGMTString()) +
((path) ? "; path=" + path : "") +
((domain) ? "; domain=" + domain : "");
}

function checkCookie()
{
var params=ParseParams();
var CLICK=params['CLICK'];
   if(CLICK.indexOf('http://')!=0) 
  { 
  userid=CLICK;
} 
username=getCookie('username');
username=ParseParams().username=userid;              //username=prompt('Please enter your name:',"");
  if (username!=null && username!="")
    {
    setCookie('username',username,365);
    }
}

function ParseParams() 
{ 
		  var res=new Array();
	      var href=new String(window.location.href);
	      var qi=href.indexOf('?');
	      if(qi!=-1) {
			
		  var tail=new String(href.substr(qi+1));
		  var params=tail.split('&');
		  for(var i=0;i<params.length;i++) {
					
			if(params[i].indexOf('=')!=-1) {
				var split=params[i].split('=');
				res[split[0].toUpperCase()]=split[1];
				} else {
					res[params[i].toUpperCase()]='';
			  }
		    }
	      }
	     return res;		
}

// iVo Technology Site Navigation Links 

function showdemo()
{username=getCookie('username');
   if (username!=null && username!="")
    {url="http://www.ivotechnology.com/demo-pro.php?Click="+username+"&ivey&url=" + document.demo.url.value; parent.location.href = url;}
	else {url="http://www.ivotechnology.com/demo-pro.php?Click=1&ivey&url=" + document.demo.url.value; parent.location.href = url;}  
}
function shopNav() 
{username=getCookie('username');
   if (username!=null && username!="")
    {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?&Click="+username;}
	else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?&Click=1";}  
}
function loginNav() 
{username=getCookie('username');
   if (username!=null && username!="")
    {window.location.href = "http://shop.ivotechnology.com/?Click="+username;}
	else {window.location.href = "http://shop.ivotechnology.com/?Click=1";}  
}
function homeNav() 
{username=getCookie('username');
   if (username!=null && username!="")
    {window.location.href = "http://www.ivotechnology.com/?Click="+username;}
	else {window.location.href = "http://www.ivotechnology.com/?Click=1";}  
}
function tvnNav() 
{username=getCookie('username');
   if (username!=null && username!="")
    {window.location.href = "http://www.thevirtualnetworker.com/?Click="+username;}
	else {window.location.href = "http://www.thevirtualnetworker.com/?Click=1";}  
}

//iVo Pro Models Links to Volusion - Add to Cart Pro 2 And Pro 4 

function Aly2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Aly&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Aly&Click=1";}
}
function Aly4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Aly&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Aly&Click=1";}
}
//----------------------------------------------------------------
function Ashley2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Ashley&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Ashley&Click=1";}
}
function Ashley4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Ashley&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Ashley&Click=1";}
}
//----------------------------------------------------------------
function Casey2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Casey&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Casey&Click=1";}
}
function Casey4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Casey&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Casey&Click=1";}
}
//----------------------------------------------------------------
function Chris2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Chris&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Chris&Click=1";}
}
function Chris4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Chris&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Chris&Click=1";}
}
//----------------------------------------------------------------
function Darrell2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Darrell&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Darrell&Click=1";}
}
function Darrell4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Darrell&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Darrell&Click=1";}
}
//----------------------------------------------------------------
function Eric2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Eric&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Eric&Click=1";}
}
function Eric4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Eric&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Eric&Click=1";}
}
//----------------------------------------------------------------
function Gisella2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Gisella&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Gisella&Click=1";}
}
function Gisella4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Gisella&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Gisella&Click=1";}
}
//----------------------------------------------------------------
function Ivey2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Ivey&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Ivey&Click=1";}
}
function Ivey4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Ivey&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Ivey&Click=1";}
}
//----------------------------------------------------------------
function Jessica2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Jessica&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Jessica&Click=1";}
}
function Jessica4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Jessica&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Jessica&Click=1";}
}
//----------------------------------------------------------------
function Jim2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Jim&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Jim&Click=1";}
}
function Jim4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Jim&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Jim&Click=1";}
}
//----------------------------------------------------------------
function Joe2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Joe&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Joe&Click=1";}
}
function Joe4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Joe&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Joe&Click=1";}
}
//----------------------------------------------------------------
function Larry2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Larry&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Larry&Click=1";}
}
function Larry4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Larry&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Larry&Click=1";}
}
//----------------------------------------------------------------
function Lichen2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Lichen&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Lichen&Click=1";}
}
function Lichen4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Lichen&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Lichen&Click=1";}
}
//----------------------------------------------------------------
function Lori2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Lori&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Lori&Click=1";}
}
function Lori4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Lori&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Lori&Click=1";}
}
//----------------------------------------------------------------
function Maya2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Maya&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Maya&Click=1";}
}
function Maya4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Maya&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Maya&Click=1";}
}
//----------------------------------------------------------------
function Sofia2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Sofia&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Sofia&Click=1";}
}
function Sofia4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Sofia&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Sofia&Click=1";}
}
//----------------------------------------------------------------
function Suzanne2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Suzanne&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Suzanne&Click=1";}
}
function Suzanne4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Suzanne&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Suzanne&Click=1";}
}
//----------------------------------------------------------------
function Tom2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Tom&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Tom&Click=1";}
}
function Tom4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Tom&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Tom&Click=1";}
}
//----------------------------------------------------------------
function Traci2Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Traci&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=210-Traci&Click=1";}
}
function Traci4Nav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Traci&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=215-Traci&Click=1";}
}
//----------------------------------------------------------------

//iVo Elite 2 and 4

function ElitetwoNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=220&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=220&Click=1";}
}
function ElitefourNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=225&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=225&Click=1";}
}

//iVo Featured 30 Day Free Classic Links to Volusion Add to Cart

function Feature1aNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-a&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-a&Click=1";}
}
function Feature1bNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-b&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-b&Click=1";}
}
function Feature1cNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-c&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-c&Click=1";}
}
function Feature1dNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-d&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=101-d&Click=1";}
}
function Feature2aNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-a&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-a&Click=1";}
}
function Feature2bNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-b&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-b&Click=1";}
}
function Feature2cNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-c&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-c&Click=1";}
}
function Feature2dNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-d&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=102-d&Click=1";}
}
function Feature3aNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-a&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-a&Click=1";}
}
function Feature3bNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-b&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-b&Click=1";}
}
function Feature3cNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-c&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-c&Click=1";}
}
function Feature3dNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-d&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=103-d&Click=1";}
}

//iVo Service Plans Pay-Per-Play aka CPC

function SPoneNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0001&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0001&Click=1";}
}
function SPtwoNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0002&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0002&Click=1";}
}
function SPthreeNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0003&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0003&Click=1";}
}
function SPfourNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0004&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0004&Click=1";}
}
function SPfiveNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0005&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0005&Click=1";}
}
function SPsixNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0006&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0006&Click=1";}
}
function SPsevenNav() 
{username=getCookie('username');
   if (username!=null && username!="")
   {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0007&Click="+username;} 
   else {window.location.href = "http://shop.ivotechnology.com/ShoppingCart.asp?ProductCode=430-0007&Click=1";}
}