// JavaScript Document
$(document).ready(function(){
$('body').append('<div id="loadingDiv" style="visibility:none"></div><div id="mainCon" style="visibility:none"></div><div id="badgeCon" style="position:fixed;top:30px;right:5px;"><img src="http://www.monkeytooth.net/mm/mmb.png" id="badgeImg" alt="Mafia Monkey Tools" /></div><div id="mainConX" style="visibility:none"></div>');
$('#badgeImg').live('click', function(e){
									  e.preventDefault();
									  $('#badgeCon').hide();
									  $('#mainCon').show();
									  mainConDefault();
									      /*var $lefty = $('#mainCon').next();
											$lefty.animate({
											  left: parseInt($lefty.css('left'),10) == 450 ?
												-$lefty.outerWidth() :
												0
											});*/
									  });

$('#loadingDiv').ajaxStart(function() {loadLoading();}).ajaxStop(function() {disableLoading();});
$('#closeMe').live('click', function(e){e.preventDefault();$('#mainCon').hide();$('#badgeCon').show();});
$('#support').live('click', function(e){e.preventDefault();$('#mtp_body').html(loadSupportArea());});
$('#contact').live('click', function(e){e.preventDefault();$('#mtp_body').html(loadContactForm());});
$('#viewlist').live('click', function(e){e.preventDefault();$('#mtp_body').html(loadList());});
$('#addremove').live('click', function(e){e.preventDefault();$('#mtp_body').html(loadControlForm());});
//$('#selectList').live('click', function(e){e.preventDefault();SelectText('listPopulate');});
$('#addremove2').live('click', function(e){e.preventDefault();$('#mtp_body').html(loadControlForm());});//loadList();
$('.listPopulateMsg').live('click', function(e){e.preventDefault();
		$('.listPopulateMsg').remove();
		$('.listCon').append('<div class="listPopulate"></div><div style="font-family:Verdana, Geneva, sans-serif;font-size:0.925em;color:#FFF;text-align:center"><a href="http://www.facebook.com/reqs.php#!/friends/?filter=ifp" target="_blank">Facebook Invite Friends Page</a> (Must be logged in to FB)</div>');
		$('#paginize').css('text-align','right');$('.listPopulate').css({"width":"437px","height":"140px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000","background-color":"#C7DC92", "border":"solid 2px #000", "overflow-x":"hidden", "overflow-y":"scroll", "white-space":"normal"});
		$('#mtp_body').html(loadListFromDB("zero"));})
$('.pgLink').live('click', function(e){e.preventDefault();var lrel = $(this).attr('rel'); loadListFromDB(lrel);})
$('#addme2list').live('click', function(e){e.preventDefault();
		$('#addme2list').attr('disabled','disabled');
		showOtherMsg('normal', 'Processing, please wait');
		var mypassword = $('#mypassword').val();
		var myemail =  $('#myemail').val();
		$.getJSON("http://www.monkeytooth.net/mm/listingme.php?mp="+mypassword+"&em="+myemail+"&callback=?", function(chkMe){
			var yesno = chkMe.status; var theword = chkMe.messg;
			if(yesno == "good"){showOtherMsg('normal', theword);setTimeout(function(){hideOtherMsg();mainConDefault();Set_Cookie( 'IhazList', 'toRecent', 60, '/', '', '' );}, 4500);}
			else if(yesno == "bad"){showOtherMsg('error', theword);setTimeout(function(){hideOtherMsg();$('#sendcontact').removeAttr('disabled');}, 2500);}
			else {showOtherMsg('error', 'An unexpected error occured please try again.');setTimeout(function(){hideOtherMsg();$('#sendcontact').removeAttr('disabled');}, 2500);}
		});//end getJSON							 
//	$('#mtp_body').html(loadContactForm());
});
$('#sendcontact').live('click', function(e){e.preventDefault();
		$('#sendcontact').attr('disabled','disabled');
		showOtherMsg('normal', 'Processing, please wait');
		var myname = $('#myname').val();
		var myemail =  $('#myemail').val();
		var message =  $('#messagebody').val();
		$.getJSON("http://www.monkeytooth.net/mm/contact.php?nm="+myname+"&em="+myemail+"&msg="+message+"&callback=?", function(chkMe){
			var yesno = chkMe.status; var theword = chkMe.messg;
			if(yesno == "good"){showOtherMsg('normal', theword);setTimeout(function(){hideOtherMsg();mainConDefault();Set_Cookie( 'contacted', 'within15', 15, '/', '', '' );}, 4500);}
			else if(yesno == "bad"){showOtherMsg('error', theword);setTimeout(function(){hideOtherMsg();$('#sendcontact').removeAttr('disabled');}, 2500);}
			else {showOtherMsg('error', 'An unexpected error occured please try again.');setTimeout(function(){hideOtherMsg();$('#sendcontact').removeAttr('disabled');}, 2500);}
		});//end getJSON							 
//	$('#mtp_body').html(loadContactForm());
});


});

function mainConDefault(){	
$('#mainCon').css({"width": "450px", "height":"300px","position":"fixed","top":"30px","right":"5px","background-image":"url(http://www.monkeytooth.net/mm/mafiamonkey.png)", "background-repeat":"no-repeat", "z-index":"9997"});

$('#mainCon').html(				
	'<div id="topXf"><img src="http://www.monkeytooth.net/mm/xx.png" border="0" alt="close" id="closeMe" /></div>'+
	'<div id="topXI"><strong>Active members:</strong>&nbsp;<span id="listCount">00,000</span>&nbsp;</div>'+
	'<div id="topXMenuW"><a href="#" class="mtp_link" id="viewlist">VIEW LIST</a> | <a href="#" class="mtp_link" id="addremove">ADD/REMOVE</a> | <a href="#" class="mtp_link" id="support">SUPPORT</a> | <a href="#" class="mtp_link" id="contact">CONTACT</a> | <a href="http://topmafia.info/" class="mtp_link" target="_blank" title="Top Mafia">TOP MAFIA INFO</a></div>'+
	'<div id="mtp_body"><font style="font-family:Verdana, Geneva, sans-serif;font-size:0.625em">Thank you for your on going support!! As mentioned on the main landing page the "ADD/REMOVE" funciton is not currently working. That is the only non working piece of the puzzle. As soon as that is complete everyone will be able to add themselves no problem. Sorry for the delay. Those of you who have recently attempted to add youself and failed, this is the reason why. I will manually add as many of you as I can soon. If you happen across this first then please wait longer. The add &amp; remove function should be up soon. Again sorry for the delay</font></div>'
);
$('#topXf').css({"margin":"0","padding":"0","width":"450px","height":"25px","text-align":"right"});
$('#topXI').css({"margin":"0","padding":"17px 0 0 0","width":"450px","height":"13px","text-align":"right","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#000"});
$('#topXMenuW').css({"margin":"0","padding":"13px 5px 0 0","width":"445px","height":"23px","text-align":"right","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('#mtp_body').css({"margin":"0","padding":"5px 5px 0 5px","width":"440px","height":"204px","text-align":"left","color":"#FFF"});	
$('.mtp_link').css({"color":"#FFF","text-decoration":"none"});	
$('.mtp_link').live('mouseover', function() {$(this).css({"color":"#F00","text-decoration":"none"});})
     	      .live('mouseout', function() {$(this).css({"color":"#FFF","text-decoration":"none"});})
showCountofList();

}
function loadContactForm() {
$('#mtp_body').html(
	'<div class="contactFullL"><strong>Got a question, comment or concern? Express it here.</strong></div>'+
	'<div class="contactLeft">Name:</div><div class="contactRight"><input type="text" id="myname" /></div>'+
	'<br clear="all" />'+
	'<div class="contactLeft">Email Address:</div><div class="contactRight"><input type="text" id="myemail" /></div>'+
	'<br clear="all" />'+
	'<div class="contactFullL">Your message:</div>'+
	'<div class="contactFullC"><textarea id="messagebody"></textarea></div>'+
	'<div class="contactFullR"><input type="button" id="sendcontact" value="Contact Monkey Mafia" /></div>'
	);
var contactcookie = Get_Cookie('contacted');
if(contactcookie == "within15"){$('#mtp_body').append('<input type="hidden" id="contactedme" value="within15" />');$('#sendcontact').attr('disabled','disabled');}else{$('#mtp_body').append('<input type="hidden" id="contactedme" value="'+randomString(25)+'" />');}
$('.contactLeft').css({"margin":"0","padding":"1px 0 0 0","width":"150px","height":"20px","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.contactRight').css({"margin":"0","padding":"1px 0 0 0","width":"290px","height":"20px","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.contactFullL').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"20px","text-align":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.contactFullC').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"80px","text-align":"center","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.contactFullR').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"20px","text-align":"right","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('#messagebody').css({"width":"420px","height":"70px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000"});
$('#myname').css({"width":"270px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000"});
$('#myemail').css({"width":"270px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000"});
}
function loadSupportArea(){
$('#mtp_body').html('<div class="contactFullL">Hey!! Want to show some support? Theres several ways. From advertising to donations and trades inbetween. Contact us for more information.</div>');
$('.contactFullL').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"20px","text-align":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
}
function showOtherMsg(theType, theMessage){
if(theType == "normal"){$('#mainConX').css({"margin":"0","padding":"5px","width":"426px","height":"151px","position":"fixed","top":"125px","right":"10px","background-color":"#C9DD95", "z-index":"9998", "border":"solid 2px #000","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.725em","color":"#000"}).show();}
if(theType == "error"){$('#mainConX').css({"margin":"0","padding":"5px","width":"426px","height":"151px","position":"fixed","top":"125px","right":"10px","background-color":"#F7CBCA", "z-index":"9998", "border":"solid 2px #000","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.725em","color":"#000"}).show();}
$('#mainConX').html(theMessage);
}
function hideOtherMsg(){
$('#mainConX').hide();
$('#mainConX').html('');
}
function loadLoading(){
$('#loadingDiv').css({"margin":"0","padding":"0","width":"220px","height":"19px","position":"fixed","top":"195px","right":"110px","background-color":"#C9DD95", "z-index":"9999","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.725em","color":"#000"});	
$('#loadingDiv').show();
$('#loadingDiv').html('<img src="http://www.monkeytooth.net/mm/load.gif" id="loadingImg" border="0" alt="loading..." />');
}
function disableLoading(){
$('#loadingDiv').hide();
}
var firstShown = "no";
function loadList() {
var list2view = Get_Cookie('viewablelist');
if(list2view == "clickthru"){
		$('#mtp_body').html('<div id="paginize" style="text-align:right"></div><div class="listCon"><div class="listPopulate">Gathering list, please wait.</div></div>');
		$('.listPopulate').css({"width":"437px","height":"140px","font-family":"Verdana, Geneva, sans-serif","font-size":"0.725em","color":"#000","background-color":"#C7DC92", "border":"solid 2px #000", "overflow-x":"hidden", "overflow-y":"scroll", "white-space":"normal"});
		setTimeout(function(){$('#mtp_body').append('<div style="font-family:Verdana, Geneva, sans-serif;font-size:0.625em;color:#FFF;text-align:center"><a href="http://www.facebook.com/reqs.php#!/friends/?filter=ifp" target="_blank">Facebook Invite Friends Page</a> (Must be logged in to FB)</div>');}, 4500);
		if(firstShown == "yes"){}else{loadListFromDB("zero")}
		}else{
		$('#mtp_body').html('<div id="paginize"></div><div class="listCon"><div class="listPopulateMsg">For you\'re protection and other members of the list please click this box to initialize the list.</div></div>');
		$('.listCon').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"80px","text-align":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
		$('.listPopulateMsg').css({"width":"437px","height":"180px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000","background-color":"#F7CBCA", "border":"solid 2px #000"});
	}
}
function loadListFromDB(WhatWhere){
	if(WhatWhere == "zero"){var sc = 1;}else{var sc = WhatWhere;}
		var firstShown = "yes";
		Set_Cookie( 'viewablelist', 'clickthru', 60, '/', '', '' );
		$.getJSON("http://www.monkeytooth.net/mm/calllistout.php?page="+sc+"&callback=?", function(chkMe){
			var yesno = chkMe.status; var theword = chkMe.messg;
			//alert(yesno);
			if(yesno == "good"){
			var paginFirst = chkMe.firstpg;
			var paginLast = chkMe.lastpg;
			var paginNext = chkMe.nextpg;
			var paginPrev = chkMe.prevpg;
			var paginL1 = chkMe.l1;
			var paginL2 = chkMe.l2;
			var paginL3 = chkMe.l3;
			var paginL4 = chkMe.l4;
			var paginL5 = chkMe.l5;
			var displayNav = '';
			if(paginFirst == "none"){}else{displayNav = displayNav  + '<a href="#" rel="'+paginFirst+'" class="pgLink">First</a> ';}
			if(paginPrev == "none"){}else{displayNav = displayNav  + ' <a href="#" rel="'+paginPrev+'" class="pgLink">&lt;&lt;</a> ';}
			if(paginL1 == "none"){}else if(paginL1 == sc){displayNav = displayNav  + ' ['+paginL1+'] ';}else{displayNav = displayNav  + ' [<a href="#" rel="'+paginL1+'" class="pgLink">'+paginL1+'</a>] ';}
			if(paginL2 == "none"){}else if(paginL2 == sc){displayNav = displayNav  + ' ['+paginL2+'] ';}else{displayNav = displayNav  + ' [<a href="#" rel="'+paginL2+'" class="pgLink">'+paginL2+'</a>] ';}
			if(paginL3 == "none"){}else if(paginL3 == sc){displayNav = displayNav  + ' ['+paginL3+'] ';}else{displayNav = displayNav  + ' [<a href="#" rel="'+paginL3+'" class="pgLink">'+paginL3+'</a>] ';}
			if(paginL4 == "none"){}else if(paginL4 == sc){displayNav = displayNav  + ' ['+paginL4+'] ';}else{displayNav = displayNav  + ' [<a href="#" rel="'+paginL4+'" class="pgLink">'+paginL4+'</a>] ';}
			if(paginL5 == "none"){}else if(paginL5 == sc){displayNav = displayNav  + ' ['+paginL5+'] ';}else{displayNav = displayNav  + ' [<a href="#" rel="'+paginL5+'" class="pgLink">'+paginL5+'</a>] ';}
			if(paginNext == "none"){}else{displayNav = displayNav  + ' <a href="#" rel="'+paginNext+'" class="pgLink">&gt;&gt;</a> ';}
			if(paginLast == "none"){}else{displayNav = displayNav  + ' <a href="#" rel="'+paginLast+'" class="pgLink">Last</a>';}
			var paginList = chkMe.listed;
			//$('#paginize').html('<span id="selectList">Select All</span>&nbsp;&nbsp;'+displayNav);
			$('#paginize').html(displayNav);
			$('.listPopulate').html(paginList);
			}
			else if(yesno == "bad"){
				//var theErrType = chkMe.errord;
				if(theword == "noone"){
				showOtherMsg('error', 'There are currently no active email address\'s on the list, be the first <a href="#" class="mtp_link" id="addremove2">click here</a>.');setTimeout(function(){hideOtherMsg();}, 4500);
				$('.listPopulate').html('There are currently no active email address\'s on the list, be the first <a href="#" class="mtp_link" id="addremove2">click here</a>.');
				} else if(theword == "emptycount"){
				showOtherMsg('error', 'Missing Variable #001.');setTimeout(function(){hideOtherMsg();}, 4500);
				$('.listPopulate').html('Missing Variable #001.');
				} else if(theword == "emptycall"){
				showOtherMsg('error', 'Missing Variable #002.');setTimeout(function(){hideOtherMsg();}, 4500);
				$('.listPopulate').html('Missing Variable #002.');
				} else if(theword == "noconnect"){
				showOtherMsg('error', 'Unable to connect to DB.');setTimeout(function(){hideOtherMsg();}, 4500);
				$('.listPopulate').html('Unable to connect to DB.');
				}  else if(theword == "nodb"){
				showOtherMsg('error', 'Unable to find DB.');setTimeout(function(){hideOtherMsg();}, 4500);
				$('.listPopulate').html('Unable to find DB.');
				} else {
				showOtherMsg('error', 'Hmm, well that was unexpected, there was an error try again.');setTimeout(function(){hideOtherMsg();}, 4500);
				$('.listPopulate').html('Hmm, well that was unexpected, there was an error try again.');
				}
			
			} else {showOtherMsg('error', 'An unexpected error occured please try again.');setTimeout(function(){hideOtherMsg();}, 2500);}
		});//end getJSON
		//$('.listPopulate').css({"font-family":"Verdana, Geneva, sans-serif","color":"#FFF"});

//loadList();
}
//////////////////////
//////////////////////
function Set_Cookie( name, value, expires, path, domain, secure )
{
// set time, it's in milliseconds
var today = new Date();
today.setTime( today.getTime() );

/*
if the expires variable is set, make the correct
expires time, the current script below will set
it for x number of days, to make it for hours,
delete * 24, for minutes, delete * 60 * 24
*/
if ( expires )
{
//expires = expires * 1000 * 60 * 60 * 24; //days
expires = expires * 1000 * 60; //minutes
}
var expires_date = new Date( today.getTime() + (expires) );

document.cookie = name + "=" +escape( value ) +
( ( expires ) ? ";expires=" + expires_date.toGMTString() : "" ) +
( ( path ) ? ";path=" + path : "" ) +
( ( domain ) ? ";domain=" + domain : "" ) +
( ( secure ) ? ";secure" : "" );
}

// with this test document.cookie.indexOf( name + "=" );
function Get_Cookie( check_name ) {
	// first we'll split this cookie up into name/value pairs
	// note: document.cookie only returns name=value, not the other components
	var a_all_cookies = document.cookie.split( ';' );
	var a_temp_cookie = '';
	var cookie_name = '';
	var cookie_value = '';
	var b_cookie_found = false; // set boolean t/f default f

	for ( i = 0; i < a_all_cookies.length; i++ )
	{
		// now we'll split apart each name=value pair
		a_temp_cookie = a_all_cookies[i].split( '=' );


		// and trim left/right whitespace while we're at it
		cookie_name = a_temp_cookie[0].replace(/^\s+|\s+$/g, '');

		// if the extracted name matches passed check_name
		if ( cookie_name == check_name )
		{
			b_cookie_found = true;
			// we need to handle case where cookie has no value but exists (no = sign, that is):
			if ( a_temp_cookie.length > 1 )
			{
				cookie_value = unescape( a_temp_cookie[1].replace(/^\s+|\s+$/g, '') );
			}
			// note that in cases where cookie is initialized but no value, null is returned
			return cookie_value;
			break;
		}
		a_temp_cookie = null;
		cookie_name = '';
	}
	if ( !b_cookie_found )
	{
		return null;
	}
}
//////////////////////
//////////////////////
function randomString(length) {
    var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXTZabcdefghiklmnopqrstuvwxyz'.split('');    
    if (! length) {
        length = Math.floor(Math.random() * chars.length);
    }    
    var str = '';
    for (var i = 0; i < length; i++) {
        str += chars[Math.floor(Math.random() * chars.length)];
    }
    return str;
}
function number_format( number, decimals, dec_point, thousands_sep ) {
    // http://kevin.vanzonneveld.net
    // +   original by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)
    // +   improved by: Kevin van Zonneveld (http://kevin.vanzonneveld.net)
    // +     bugfix by: Michael White (http://crestidg.com)
    // +     bugfix by: Benjamin Lupton
    // +     bugfix by: Allan Jensen (http://www.winternet.no)
    // +    revised by: Jonas Raoni Soares Silva (http://www.jsfromhell.com)    
    // *     example 1: number_format(1234.5678, 2, '.', '');
    // *     returns 1: 1234.57     
 
    var n = number, c = isNaN(decimals = Math.abs(decimals)) ? 2 : decimals;
    var d = dec_point == undefined ? "," : dec_point;
    var t = thousands_sep == undefined ? "." : thousands_sep, s = n < 0 ? "-" : "";
    var i = parseInt(n = Math.abs(+n || 0).toFixed(c)) + "", j = (j = i.length) > 3 ? j % 3 : 0;
    
    return s + (j ? i.substr(0, j) + t : "") + i.substr(j).replace(/(\d{3})(?=\d)/g, "$1" + t) + (c ? d + Math.abs(n - i).toFixed(c).slice(2) : "");
}
//////////////////////
//////////////////////
function addCommas(nStr)
{
	nStr += '';
	x = nStr.split('.');
	x1 = x[0];
	x2 = x.length > 1 ? '.' + x[1] : '';
	var rgx = /(\d+)(\d{3})/;
	while (rgx.test(x1)) {
		x1 = x1.replace(rgx, '$1' + ',' + '$2');
	}
	return x1 + x2;
}
function showCountofList(){
	$.getJSON("http://www.monkeytooth.net/mm/getlistcount.php?callback=?", function(data){
		var theCountis = addCommas(data.listsize);
		$('#listCount').text(theCountis);
		});//end getJSON
}
///////////////////////////
///////////////////////////
function SelectText(element) {
    var text = document.getElementById(element);
    if ($.browser.msie) {
        var range = document.body.createTextRange();
        range.moveToElementText(text);
        range.select();
    } else if ($.browser.mozilla || $.browser.opera) {
        var selection = window.getSelection();
        var range = document.createRange();
        range.selectNodeContents(text);
        selection.removeAllRanges();
        selection.addRange(range);
    } else if ($.browser.safari) {
        var selection = window.getSelection();
        selection.setBaseAndExtent(text, 0, text, 1);
    }
}
function loadControlForm(){
	$('#mtp_body').html(
	'<div class="add2listFullL"><strong>Enter your Email address and a password.</strong>It is advised that you use a temporary email address that you set as your Facebook email address. While you are on the list. <a href="http://www.sizlopedia.com/2007/05/27/top-20-temporary-and-disposable-email-services/" target="_blank">Read More</a>.<br /><br />Already verified? <a href="#none" id="signin">Sign in</a>.</div>'+
	'<br clear="all" />'+
	'<div class="add2listLeft">Email Address:</div><div class="add2listRight"><input type="text" id="myemail" /></div>'+
	'<br clear="all" />'+
	'<div class="add2listLeft">Password:</div><div class="add2listRight"><input type="password" id="mypassword" /><br /><strong>Note: Passwords are Case-SeNsiTivE</strong><br /></div>'+
	'<br clear="all" />'+
	'<br clear="all" />'+
	'<br clear="all" />'+
	'<div class="add2listFullR"><input type="button" id="addme2list" value="Add Me" /></div>'
	);
var add2listcookie = Get_Cookie('IhazList');
if(add2listcookie == "toRecent"){$('#mtp_body').append('<input type="hidden" id="addingme" value="toRecent" />');$('#addme2list').attr('disabled','disabled');}else{$('#mtp_body').append('<input type="hidden" id="addingme" value="'+randomString(25)+'" />');}
$('.add2listLeft').css({"margin":"0","padding":"1px 0 0 0","width":"150px","height":"20px","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.add2listRight').css({"margin":"0","padding":"1px 0 0 0","width":"290px","height":"20px","text-align":"left","float":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.add2listFullL').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"60px","text-align":"left","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.add2listFullC').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"80px","text-align":"center","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('.add2listFullR').css({"margin":"0","padding":"1px 0 0 0","width":"440px","height":"20px","text-align":"right","font-family":"Verdana, Geneva, sans-serif","font-size":"0.625em","color":"#FFF"});
$('#mypassword').css({"width":"270px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000"});
$('#myemail').css({"width":"270px","font-family":"Verdana, Geneva, sans-serif","font-size":"1.0em","color":"#000"});

}