
function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}


function purchase_persomal() 
{

if (window.document.form_per.question.checked == true) 
	{
	document.location.href = "https://www.2checkout.com/2co/buyer/purchase?sid=147016&quantity=1&product_id=2";
	}
else 
	{ 
	alert("Please Check the Box to Signify Agreement of Our Terms of Use."); 
	} 
}


function purchase_server() 
{

if (window.document.form_per.question.checked == true) 
	{
	document.location.href = "https://www.2checkout.com/2co/buyer/purchase?sid=147016&quantity=1&product_id=3";
	}
else 
	{ 
	alert("Please Check the Box to Signify Agreement of Our Terms of Use."); 
	} 
}

function purchase_monthly() 
{

if (window.document.form_month.question.checked == true) 
	{
	document.location.href = "https://www.2checkout.com/cgi-bin/ccbuyers/purchase.2c?sid=123709&product_id=11&quantity=1";
	}
else 
	{ 
	alert("Please Check the Box to Signify Agreement of Our Terms of Use."); 
	} 
}


function legal_disclaimer()
{
nw = open("legal_disclaimer.htm","mac" , "scrollbars=yes" , "left=" + (screen.width - 400)/2  + "height=400, width=400");
nw.focus();
}

function purchase_license()
{
nw = open("purchase_license.htm","mac", "scrollbars=yes" , "left=" + (screen.width - 400)/2  + "height=400, width=400");
nw.focus();
}

function tour()
{
nw = open("tour/merchant_tour_slide1.htm","mac","height=400,width=600");
nw.focus();
}

function lang()
{
nw = open("language.htm","mac","height=180,width=400");
nw.focus();
}

function afftour()
{
nw = open("tour/affiliate_tour_slide1.htm","mac","height=400,width=600");
nw.focus();
}

function mertour()
{
nw = open("tour/merchant_tour_slide1.htm","mac","height=400,width=600");
nw.focus();
}



function personal_aff_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;

nw = open("http://www.partnersmanager.com/afflogin.php?userID=demo@demo.com&password=aaaa","mac","top=0,left=0,height=" + ht + ",width=" + wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}

function personal_mer_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;

nw = open("http://www.partnersmanager.com/merlogin.php?userID=merchant@demo.com&password=aaaa","mac","top=0,left=0,height=" + ht +  ",width=" + wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}

function server_aff1_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;	

nw = open("http://www.partnersmanager.com/server/afflogin.php?userID=yav@yav.com&password=aaaa","mac","top=0,left=0,height=" + ht + ",width=" + wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}

function server_aff2_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;

nw = open("http://www.partnersmanager.com/server/afflogin.php?userID=john@dirde.de&password=1674dd","mac","top=0,left=0,height=" + ht  + ",width=" + wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}

function server_mer1_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;

nw = open("http://www.partnersmanager.com/server/merlogin.php?userID=demo@demo.com&password=demo","mac","top=0,left=0,height=" + ht + ",width=" + wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}

function server_mer2_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;

nw = open("http://www.partnersmanager.com/server/merlogin.php?userID=info@slae.com&password=yavor","mac","top=0,left=0,height=" + ht  + ",width=" + wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}

function server_admin_demo()
{
var ht= screen.height -10;
var wt= screen.width - 10;
nw = open("http://www.partnersmanager.com/server/super_login.php?userID=super@super.com&password=aaaa","mac","scrollbars=yes","top=2,left=2,height=" + ht + ",width=" +  wt + ", toolbar=yes,location=yes,status=yes,scrollbars=yes,resizable=yes,menubar=yes");
nw.focus();
}