this.landingskip = function(){
	var d = document;
	var obj = d.getElementById("landingskip");
	
	if(obj){
		obj.onclick = function(){
			var val = 'false';
			if(this.checked) val = 'true';
			
			if(typeof Ajax != 'undefined'){
				new Ajax.Request('/landing/set_landingskip/' + val, {method: "get"});
			}else if(typeof jQuery != 'undefined'){
				jQuery.get('/landing/set_landingskip/' + val);
			}
		}
	}
}

if(window.attachEvent){
	window.attachEvent('onload', landingskip);
}else{
	window.addEventListener('load', landingskip, false);
}