			var sUp = {
				"p":"<div id='poem'>The time has come,<br \/>\r\nand no longer will you see,<br \/>\r\nopen signups at speed.cd<br \/>\r\n<br \/>\r\nNow you must pray,<br \/>\r\nwith all your might,<br \/>\r\nthat one of your friends has an invite<br \/>\r\n<br \/>\r\nIt's time for us to see,<br \/>\r\nif the cheaters will learn,<br \/>\r\nthat a good ratio is something you have to earn<br \/>\r\n<br \/>\r\nIf your friend has an invite,<br \/>\r\nthen call them right now,<br \/>\r\nwe won't do it for you. Not later, not now<br \/>\r\n<br \/>\r\nIf you have an invite to give,<br \/>\r\nthen choose your friends wisely,<br \/>\r\nif you invite a cheater we'll ban you both, and we don't do it nicely!<br \/>\r\n<br \/>\r\nIf you've got no friends that are members,<br \/>\r\nbut you really want to join,<br \/>\r\nthen we may be able to help in exchange for some coin<br \/>\r\n<br \/>\r\nFor only US$10,<br \/>\r\nYou'll be able to see,<br \/>\r\nwhat it's like to be a VIP on speed.cd<br \/>\r\n<br \/>\r\nIn exchange for your kindness,<br \/>\r\nyou will get from us,<br \/>\r\n10GB upload credit, one invite, and much more with no fuss<br \/>\r\n<br \/>\r\nSo what are you waiting for?<br \/>\r\nDon't delay, where are your wits?<br \/>\r\nJoin us right now and Push Your Speed To The Limits!!<br \/>\r\n<a href='#' onclick='$.vpbox(sUp.d); return false;'><img src='\/pic\/donate_btn.gif' border='0' alt='Make payments with PayPal - it's fast, free and secure!'><\/a> Or <label class='uiButton uiButtonRed' style='vertical-align:bottom'><button type='button' onclick='$.vpbox(sUp.e);'>Talk to us? =)<\/button><\/label><\/div>",
				"d":"<p style='background-color:#F00;color:#FFF;font-weight:bold;text-decoration:blink;margin:0;text-align:center;'><nobr>After you completed the donation proccess you will recieve an email by system.<br \/>\r\nso please provide a valid email address. or you won't reiceve the account activation link.<\/nobr><\/p>\r\n<div class='shade'>\r\n\t<form method='post' id='don' action='#'>\r\n\t\t<table cellpadding='0' border='0' align='center' class='sign' style='width:300px;'>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><label for='useremail'>Email address:<\/label><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><input type='text' id='useremail' class='uiInput' size='40' name='donateemail'><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='right'><label id='donatego' class='uiButton uiButtoncolor'><button type='button' id='jxlin=2&' onclick='don(this);'>Do it!<\/button><\/label><img src='\/pic\/extention\/v3\/boogie.gif' border='0' style='display:none;' class='boogie' width='30' \/><\/td>\r\n\t\t\t<\/tr>\r\n\t\t<\/table>\r\n\t<\/form>\r\n<\/div>",
				"e":"<p style='background-color:#F00;color:#FFF;font-weight:bold;text-decoration:blink;margin:0;text-align:center;'><nobr>You will not get a second chance! So think before you Submit.<\/nobr><\/p><div class='shade'>\r\n\t<form method='post' id='jxlin=3&' action='#' onsubmit=\"$.API(this.id+$(this).serialize());$('#emailgo').hide();$('.boogie').show();return false;\">\r\n\t\t<table cellpadding='0' border='0' align='center' class='sign'>\r\n\t\t   <tr>\r\n\t\t\t\t<td align='left'><label for='useremail'>Email address:<\/label><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><input type='text' name='email' id='useremail' class='uiInput'><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><label for='cuz'>Why should we let you in:<\/label><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><textarea name='reason' class='uiInput' id='cuz' style='min-height: 150px; max-width: 290px; min-width: 290px; width: 290px; height: 150px;'><\/textarea><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='right'><label class='uiButton uiButtoncolor' id='emailgo'><button type='submit'>Do it!<\/button><\/label><img width='30' border='0' class='boogie' style='display:none;' src='\/pic\/extention\/v3\/boogie.gif'><\/td>\r\n\t\t\t<\/tr>\r\n\t\t<\/table>\r\n\t<\/form>\r\n<\/div>",
				"r":"<div class='shade'>\r\n\t<form method='post' action='./recover.php'>\r\n\t\t<table cellpadding='0' border='0' align='center' class='sign'>\r\n\t\t   <tr>\r\n\t\t\t\t<td align='left'><label for='useremail'>Email address:<\/label><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><input type='text' size='40' name='email' /><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><label for='useremail'>Enter the numbers you see:<\/label><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><img class='cimage' src='captcha/GD_Security_image.php?'.time().'' alt='Oops,missing ATM' /><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='left'><input class='field' type='text' size='23' maxlength='6' name='captcha' id='captcha' onblur='checks(); return false;'/><\/td>\r\n\t\t\t<\/tr>\r\n\t\t\t<tr>\r\n\t\t\t\t<td align='right'><label id='recovergo' class='uiButton uiButtoncolor'><button type='submit'>Do it!<\/button><\/label><\/td>\r\n\t\t\t<\/tr>\r\n\t\t<\/table>\r\n\t<\/form>\r\n<\/div>"			};
			var decrypted = {
				a:"contact",
				b:"&#46;",
				c:"us",
				d:"&#64;",
				e:"egytorrent",
				f:"net",
				g:function(){
					$('#mil').html("If you need help please contact us at <font>"+decrypted.a+decrypted.b+decrypted.c+decrypted.d+decrypted.e+decrypted.b+decrypted.f+"</font>");
				}

			};
			$.extend($.api,{
							login:function(){
								$("#useremail").css("border-color","#FF0000");
								$.vpbox._();
								$('#ltab').hide();
								$('#stab,#logintab').show();
							},
							donate:function(_){
								window.open("/donate.php?useremail="+_,"_self");
							},
							email:function(){
								$("#useremail").css("border-color","#FF0000");
								$('#emailgo').show();
								$('#donatego').show();
								$('#recovergo').show();
								$('.boogie').hide();
							},
							dir:function(_){
								window.open(_,"_self");
							},
							opensearch:function(_){
								$(_.cs).appendTo("head");
								$('body').addClass('woodbody');
								$('#logintab').slideUp(function(){
									$('#foot .mil').fadeOut(function(){$(this).remove()});
									$(this).parent().html(_.ht).animate({height:'50%'},0,function(){
										$('#searchtab').slideDown('fast',function(){
											$('#search').focus();$('#logoimg').animate({marginBottom:'0px'},function(){
												$('#bg').fadeOut(500,function(){
													$(this).remove();
													$('#powered').delay(2000).fadeIn('slow');
												});
											});
										});
									});
								});
							},
							openresult:function(_){
								backbutton = '<label class="uiButton uiButtoncolor searchback"><button type="button" onclick="$.api.backsearch();">Search</button></label>'
								$(_.cs).appendTo("head");
								$('#logoimg').animate({marginBottom:'-112px'},function(){
									$('#searchtab').slideUp(function(){
										$(this).parent().append(backbutton).find('.searchback').slideDown('slow',function(){
											$('#maincontain').animate({height:'10%'},'slow',function(){
												$('#foot').slideUp(function(){
													$('body').append(_.res).find('.search-box').slideDown(function(){$(this).addClass('search-box-open');});
												});
											});
										});
									});
								});
							},
							page:function(_){
								$('body').append(_.res);
								$('.search-box-open').slideUp(function(){$(this).removeClass('search-box-open');$('#search-p-'+_.p).slideDown(function(){$(this).addClass('search-box-open');});});
							},
							backsearch:function(){
								$('.search-box').slideUp(function(){
									$('.search-box').remove();$('#maincontain').animate({height:'50%'},function(){
										$('.searchback').slideUp(function(){$(this).remove();
											$('#searchtab').slideDown('slow',function(){
												$('#logoimg').animate({marginBottom:'0px'});
												$('#foot').slideDown()
											})
										});
									});
								});
							},
							game:function(_){
								if(_.s){
									$('#logintab').removeClass('shade');
									$('.gnfo').fadeOut(function(){$(this).remove();
										$('#_mess').empty().show().html('Pay attention on the background picture!').fadeOut('fast').delay(500).fadeIn('fast').delay(500).fadeOut('fast').delay(500).fadeIn('fast',function(){
											$('#logintab').delay(5000).fadeOut(500,function(){
												$('#logintab').empty().css({'width':'300px','margin-left':'-170px'}).addClass('shade').append(_.q).fadeIn();
											});
										});
									});
								}else{
									$('#_mess,#foot').fadeOut();
									$('#logintab').fadeOut(function(){$(this).css({'width':'500px','margin-left':'-270px'}).append(_.q).fadeIn();$('#loginform').remove();});
									$('#powered').delay(2000).fadeIn('slow');
								}
							}
						});
						
			function don(_){$.API(_.id+$('#don').serialize());$('#donatego').hide();$('.boogie').show();}
			function reload(){$('.reload').attr("src","VPsec.php?i=6&"+(new Date()).getTime());}
			var done = false;
    		pimg = new Image();
    		pimg.src = "/pic/extention/quickseach/wood.jpg";
			pimg.onload=function(){if(!done){done=true;this.src="/pic/logo_.png";}};
			$('.pageit').live('click',function(){var p=this.id;if($('#search-p-'+p).length)$('.search-box-open').slideUp(function(){$(this).removeClass('search-box-open');$('#search-p-'+p).slideDown(function(){$(this).addClass('search-box-open');});});else $.API('jxt=2&jxw=b&p='+p);});
			$(document).ready(function() {
				$('#ltab').hide();
				$('#nick').focus();
			});

			var _time = 40;
			function timer_(){
				_time--;
				$('.timer_tick').text(_time);
			}
			
			document.addEventListener("DOMContentLoaded", function snow() {
				for (var
					offsetHeight = document.documentElement.offsetHeight,
					offsetWidth = document.documentElement.offsetWidth,
					F = document.createDocumentFragment(),
					random = Math.random,
					Int = parseInt,
					i = Math.max(Math.min((offsetWidth * offsetHeight / 15000) >> 0, 40), 10),
					radius = 6,
					p, width, border, style, top, left;
					i--;
				){
					p = document.createElement("p");
					p.style.cssText = "".concat(
						"position:absolute;",
						"top:", (random() * offsetHeight) >> 0, "px;",
						"left:", (random() * offsetWidth) >> 0, "px;",
						"width:", width = ((random() * radius) >> 0) + 1, "px;",
						"height:", width, "px;",
						"z-index:", width, ";",
						"-moz-border-radius:", border = (width / 2) >> 0, "px;",
						"-webkit-border-radius:", border, "px;",
						"border-radius:", border, "px;",
						"font-size:", (random() * (radius / 2)) >> 0, "px;"
					);
					F.appendChild(p).className = "snow";
				};
				document.body.appendChild(F);
				window.addEventListener("resize", function () {
					offsetHeight = document.documentElement.offsetHeight;
					offsetWidth = document.documentElement.offsetWidth;
				}, false);
				radius = radius / 2;
				setTimeout(function snow(p) {
					for(i = p.length; i--;) {
						style = p[i].style;
						width = Int(style.width, 10);
						top = Int(style.top, 10) + width;
						left = Int(style.left, 10) + (border = width + Int(style.fontSize, 10));
						if ((style.top =  (top + width < offsetHeight ? top : 0) + "px") === "0px") {
							style.left = ((random() * offsetWidth) >> 0) + "px";
							style.fontSize = ((random() * (radius / 2)) >> 0) + "px";
						} else {
							style.left =  (left + border < offsetWidth ? left : 0) + "px";
						};
					};
					setTimeout(snow, 32, p);
				}, 15, $('p.snow'));
			}, false);
