$(document).ready(function(){$("#viewNewsContent").height($("#viewNews").height()-30);$(window).resize(function(){$("#viewNewsContent").height($("#viewNews").height()-30)});$("#viewNewsHeader a.close").click(function(a){a.preventDefault();location.href=$("#newsFrame").attr("src")});$("#viewNewsHeader a.later").click(function(b){b.preventDefault();var a=$(this).attr("id");$(this).fadeOut("slow");$.post(webappDir+"/actions/ajax/actionsAjax.php",{newsItemId:a,readLater:true},function(c){if(c==true){}})});$("a.tweet").click(function(a){var b=$(this).attr("name");$.post(webappDir+"/actions/ajax/actionsAjax.php",{newsItemId:b,tweet:true},function(c){if(c==true){}});return true})});