var userID="",userSN=null;function validateSNMC(){haveIDandSN=getUserIDandUserSNMC();if(haveIDandSN){valCookie=validateCookieMC(userID,userSN);if(valCookie){window.location.href="AA_Download.htm?lockMC=0"}else{alert("Your UserID and Serial Number are not valid for this product. \nPlease be sure you typed them correctly. \nYour UserID and Serial Number are different for each product. \nPlease be sure you are using the correct UserID and Serial Number for Mimi's Annie Agnes.");self.close()}}else{alert("Your UserID and Serial Number are not valid for this product. \nPlease be sure you typed them correctly. \nYour UserID and Serial Number are different for each product. \nPlease be sure you are using the correct UserID and Serial Number for Mimi's Annie Agnes.");self.close()}}function getUserIDandUserSNMC(){var a=false,b=false;a=getUserID();if(!a){return false;self.close()}else{b=getUserSN();if(!b){return false;self.close()}else{return true}}}function getUserID(){username=prompt("Please enter your User ID \nexactly as shown on your confirmation email:","");if(username!==null&&username!==""){userID=username;return true}else{return false;self.close()}}function getUserSN(){password=prompt("Please enter your Serial# \nexactly as shown on your confirmation email:","");if(password!=null&&password!=""){userSN=password;return true}else{return false;self.close()}}function validateCookieMC(n,a){var g=new Array(140),h=new Array(0,0,0,0,0),f=0,e=0,d="",c="",b="",m=0,l=0,j=0;g[0]="X";g[1]=21;g[2]="t";g[3]=25;g[4]="$";g[5]=26;g[6]="o";g[7]=38;g[8]="E";g[9]=64;g[10]="C";g[11]=73;g[12]="Y";g[13]=44;g[14]="R";g[15]=72;g[16]="m";g[17]=42;g[18]="Z";g[19]=39;g[20]="c";g[21]=60;g[22]="p";g[23]=55;g[24]="4";g[25]=79;g[26]="l";g[27]=11;g[28]="5";g[29]=69;g[30]="W";g[31]=32;g[32]="j";g[33]=40;g[34]="x";g[35]=23;g[36]="1";g[37]=31;g[38]="w";g[39]=62;g[40]="9";g[41]=13;g[42]="b";g[43]=16;g[44]="&";g[45]=66;g[46]="e";g[47]=19;g[48]="y";g[49]=17;g[50]="k";g[51]=50;g[52]="s";g[53]=34;g[54]="M";g[55]=27;g[56]="V";g[57]=12;g[58]="#";g[59]=74;g[60]="z";g[61]=77;g[62]="f";g[63]=14;g[64]="_";g[65]=24;g[66]="3";g[67]=68;g[68]="r";g[69]=48;g[70]="L";g[71]=37;g[72]="a";g[73]=43;g[74]="K";g[75]=76;g[76]=" ";g[77]=20;g[78]="U";g[79]=65;g[80]="G";g[81]=29;g[82]="i";g[83]=59;g[84]="v";g[85]=47;g[86]="A";g[87]=15;g[88]="d";g[89]=18;g[90]="g";g[91]=58;g[92]="q";g[93]=53;g[94]="J";g[95]=33;g[96]="Q";g[97]=75;g[98]="u";g[99]=22;g[100]="D";g[101]=54;g[102]="8";g[103]=67;g[104]=".";g[105]=41;g[106]="H";g[107]=78;g[108]="n";g[109]=49;g[110]="6";g[111]=70;g[112]="S";g[113]=71;g[114]="*";g[115]=30;g[116]="B";g[117]=63;g[118]="0";g[119]=45;g[120]="T";g[121]=46;g[122]="h";g[123]=56;g[124]="I";g[125]=51;g[126]="N";g[127]=28;g[128]="-";g[129]=35;g[130]="7";g[131]=57;g[132]="F";g[133]=80;g[134]="P";g[135]=61;g[136]="O";g[137]=52;g[138]="2";g[139]=36;for(f=0;f<15;f+=3){d=n.charAt(f+0);c=n.charAt(f+1);b=n.charAt(f+2);m=0;l=0;j=0;for(e=0;e<=139;e+=2){if(d==""||d==null){m=0}else{if(d==g[e]){m=g[e+1]}}if(c==""||c==null){l=0}else{if(c==g[e]){l=g[e+1]}}if(b==""||b==null){j=0}else{if(b==g[e]){j=g[e+1]}}}h[f/3]=10000*m+100*l+j}computedSerial=h[0]+h[1]+h[2]+h[3]+h[4];computedSerial=computedSerial%1000000;if(computedSerial==a){return true}else{return false}}function killCookiesMC(){delCookie("MCusername");delCookie("MCpassword")};
