function writeCookies(Name, value) {var date = new Date((new Date()).getTime() + 3600000*24*365);date = ";expires=" + date.toGMTString();document.cookie = Name + "=" + escape(value) + date + ";path=/";}
$(function(){
    $("#CloseNote").html("[Close]");
    $("#NoteLink").click(function(){window.open($("#NoteLink").attr("name"));}).attr("style","margin-top:8px; width:900px; float:left; color:#ffffff; font-size:14px; word-spacing:3px; font-weight:bold; font-family:Arial;");
    var c;
    $(".note").mouseover(function(){
        c=$("#NoteLink").css("color");;
        $(this).css({"background-color":"#fffccc"});
        $("#NoteLink").css({"color":"#cc0000","cursor":"pointer"});
    }).mouseout(function(){
        $(this).css({"background-color":"#cc0000"});
        $("#NoteLink").css({"color":c});
    }).attr("style","margin-top:2px; border:1px solid #cc0000; height:30px; background-color:#cc0000; text-align:center;");
    $("#CloseNote").click(function(){writeCookies("gemwonNote","Hidden");$("#note").css({"display":"none"});}).attr("style","float:left; margin-top:8px; cursor:pointer; background-color:#CC0000; color:#ffffff;");
});
