function get(theId) {
	it = document.getElementById(theId);
	return it;
}

$(document).ready(function(){
	stop = false;
	function tidy() {
		if($(document).height() > $('#wrap').height() && stop == false) {
			$('#wrap').height( $(document).height() );
		}
		stop = true;
		setTimeout('stop = false', 100);
	}
	tidy();
	$(window).resize( tidy );
	
	

	try {
	$('.light a').lightBox();	
	} catch(err) {
		//Nothing!
	}
	
	// submit hover
	
	$('#submit').hover(function(){
			$(this).css({background: "#ffeef6", cursor: "pointer"});	
	
	}, function() {
			$(this).css({background: "#fff", cursor: "arrow"});
					
	});
	
	$('#submitSound').hover(function(){
			$(this).css({background: "#dbdaeb", cursor: "pointer"});	
	
	}, function() {
			$(this).css({background: "#fff", cursor: "arrow"});
					
	});
	
	// form value remover
	
	$(':text,textarea').focus(function(){
		if(this.value == "required") {
			this.value = "";
		}
	});
	
});