// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

function checkit() {
	if ((document.body.clientHeight+140) < document.documentElement.clientHeight) {
		document.getElementById("footertile").style.height = 400 + (document.documentElement.clientHeight - document.body.clientHeight - 140) + "px";
	}
}

$(document).ready(function(){
	checkit();
});

$(function() {
    $('a.lightbox').lightBox();
});

function ClearMe(obj) {
	obj.value = '';
	//txt = document.getElementById('search_for');
	//if (txt)
	//	txt.value = '';
}