<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>OpenSheet 0.1</title>
<link href="css/style.timesheet.inc.css" rel="stylesheet" type="text/css">
<link href="css/style.print.inc.css" rel="stylesheet" type="text/css" media="print">
<script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
<script src="js/jquery.cluetip.js" type="text/javascript"></script>
<script src="js/jquery.corner.js" type="text/javascript"></script>
<script src="js/jquery.form.js" type="text/javascript"></script>
<script type="text/javascript">
$(function(){
$('#comment').bind('click',function(){
if ( $('.comment').css('display') == 'block' ) $('.comment').css({'display':'none'})
else $('.comment').css({'display':'block'})
})
});
$(document).ready(function() {
$('#print').click(function() {
window.print();
return false;
});
});
$(function(){
$('#close').bind('click',function(){
if ( $('.comment').css('display') == 'block' ) $('.comment').css({'display':'none'})
else $('.comment').css({'display':'block'})
})
});
$(function(){
$('#u_switch').bind('click',function(){
if ( $('.u_switch').css('display') == 'block' ) $('.u_switch').css({'display':'none'})
else $('.u_switch').css({'display':'block'})
})
});
$(document).ready(function(){
$(".comment").corner("round");
});
$(document).ready(function(){
$(".u_switch").corner("round");
});
//function ajaxFunction(){
// $.get("ajax/comments.php", { "in" : $(".in").val()},
// function(data){
// $("#out").val(data);
// }, "text");
//}
$(document).ready(function(){
function showValues() {
var str = $("#form-comm").serialize();
$("#results").text(str);
}
$(":input").keyup(showValues);
// $("input").change(showValues);
showValues();
});
$(document).ready(function() {
$(function() {
$('#submit').bind('click',function() {
var str = $("#comments_form").serialize();
$.post("ajax/comments.php?random=" + Math.random()*99999,str,
function(data) {
$("#results").fadeIn();
$("#results").html(data);
}
);
});
});
});
</script>