unterminated string literal

Hello,

I am not able to solve this problem on my own.

I have a nested Div tag like this:
<div id="training" >
<div id="daytraining" >Training
</div>

Some other elements should insert content here by:
<%= content_tag("div" ,"Training",:id => "#{training.date.day}" ,
    :onmouseover => update_daytraining(training)) %>
ApplicationHelper has a method like this:
def update_daytraining(training)

update_page do |page|
page.insert_html :bottom, 'daytaining',
"<br>Test:#{training.date}</br>"
    end

I get now following javascripterror :
Error: unterminated string literal
} catch (e) { alert('RJS error:

Source Code is:
<div onmouseover="try { new Insertion.Bottom("daytaining", "
Test:2006-12-07"); } catch (e) { alert('RJS error: ' + e.toString());
alert('new Insertion.Bottom("daytaining", "
Test:2006-12-07");'); throw e }" id="7" style="background-image: none;
background-color: transparent;">Training</div

What is going wrong here???
Has anyone solved anything like this???

Holger