$(document).ready(function() {
		  	$("input#font").val(' ');
				var query = $("input#font").val();
				$('input#googleit').click( function() { 
					var query = $("input#font").val();
					$('input#q').val('"index of " + "fonts" + "' + query + '" -html -htm -php');
				});
		
			$("label#lblFont + input#font").each(function (type) {

		$(this).focus(function () {
			$(this).prev("label#lblFont").addClass("focus");
		});

		$(this).keypress(function () {
			$(this).prev("label#lblFont").addClass("has-text").removeClass("focus");
		});

		$(this).blur(function () {
			if($(this).val() == "") {
				$(this).prev("label#lblFont").removeClass("has-text").removeClass("focus");
			}
		});
	});
	
	
		  });
		  
		var bgcolorlist=new Array("#2f2750", "#273a50", "#429fad", "#8d0b79", "#7b0f33", "#0b756a")
		
		document.body.style.background=bgcolorlist[Math.floor(Math.random()*bgcolorlist.length)];
		


