//-----------------------------------------------------------------------------------------------
// (c) 2007 Cupcake Kawaii
// All rights reserved.
//-----------------------------------------------------------------------------------------------


var moo = "109!131!136!137!159!207!263!367!534!799!1227!1901!3020!4823!7672!12414!20029!32344!52255!84471!136625!221002!357460!578407!935833!1514139" ;
var moo2 = "119!111!129!146!178!211!220" ;
var moo3 = "109!131!136!137!159!207!263!372!525!805!1225!1904!3007!4818!7724!12411!20032!32292!52250!84485!136636!221003!357511!578413!935830!1514076!2449851!3963893!6413643";

	function donothing(source)
	{
 	 var sentence = new String(""); 
	 var x = 10;
	 var x2 = 4;
	 var x1 = 0;

	 var blocks = new Array();

	 blocks = source.split('!');

	 for(var i=0;i<blocks.length;++i)
	 {
          sentence += String.fromCharCode(parseInt(blocks[i])-x);
	  x1 = x;
	  x  += x2;
	  x2 = x1;
	 } 	 

	 return(sentence);
	}

	function dosomething(source)
	{
	 var sentence = ""; 
	 var x = 10;
	 var x2 = 4;
	 var x1 = 0;

	 for(var i=0;i<source.length;++i)
	 {
	  sentence += (source.charCodeAt(i)+x)+'!' ;
	  x1 = x;
	  x  += x2;
	  x2 = x1;
	 } 	  

	 return(sentence);
	}

function doanything(where)
{
 var temp = donothing(moo);
 var new_a = document.createElement("a");
 new_a.setAttribute("href", donothing(moo2) + temp);
 new_a.appendChild(document.createTextNode(temp));

 document.getElementById(where).appendChild(new_a);
}

function doanything2(where)
{
 var new_a = document.createElement("a");
 new_a.setAttribute("href", donothing(moo2) + donothing(moo3) + '?subject=newsletter&body=Simply send this email without any modification and we will add you to our mailing list for future update!%0A%0AThank you from Cupcake Kawaii!');
 new_a.setAttribute("class", "sm");
 new_a.setAttribute("className", "sm");
 new_a.appendChild(document.createTextNode('Click here to join our mailing list!'));

 document.getElementById(where).appendChild(new_a);
}


