2009-06-10 12:32:24 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2009-06-07 15:03:22 +00:00
<Module >
2009-06-10 12:32:24 +00:00
<ModulePrefs title= "SVG-edit" height= "600" >
<Require feature= "rpc" />
</ModulePrefs>
2009-06-07 15:03:22 +00:00
<Content type= "html" >
2009-06-10 12:32:24 +00:00
< ![CDATA[
2009-06-07 15:03:22 +00:00
<script type= "text/javascript" src= "http://wave-api.appspot.com/public/wave.js" > </script>
<link rel= "stylesheet" href= "http://svg-edit.googlecode.com/svn/trunk/editor/jpicker/jpicker.css" type= "text/css" />
<link rel= "stylesheet" href= "http://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.css" type= "text/css" />
<script type= "text/javascript" src= "http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" > </script>
2009-06-17 20:16:08 +00:00
<script type= "text/javascript" src= "http://svg-edit.googlecode.com/svn/trunk/editor/js-hotkeys/jquery.hotkeys.min.js" > </script>
2009-08-03 16:36:50 +00:00
<script type= "text/javascript" src= "http://svg-edit.googlecode.com/svn/trunk/editor/jgraduate/jpicker-1.0.9.min.js" > </script>
<script type= "text/javascript" src= "http://svg-edit.googlecode.com/svn/trunk/editor/jgraduate/jquery.jgraduate.js" > </script>
<script type= "text/javascript" src= "http://svg-edit.googlecode.com/svn/trunk/editor/spinbtn/JQuerySpinBtn.js" > </script>
2009-06-07 15:03:22 +00:00
<script type= "text/javascript" src= "http://svg-edit.googlecode.com/svn/trunk/editor/svgcanvas.js" > </script>
<script type= "text/javascript" src= "http://svg-edit.googlecode.com/svn/trunk/editor/svg-editor.js" > </script>
<div id= "svg_editor" >
2009-08-03 16:36:50 +00:00
<div id= "workarea" >
<style id= "styleoverrides" type= "text/css" > </style>
<div id= "svgcanvas" > </div>
2009-06-07 15:03:22 +00:00
</div>
2009-08-03 16:36:50 +00:00
<div id= "tools_top" class= "tools_panel" >
<!-- File - like buttons: New, Save, Source -->
<div >
2009-08-03 16:39:06 +00:00
<img class= "tool_button" id= "tool_clear" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/clear.png" title= "New Image [N]" alt= "Clear" />
<img class= "tool_button" id= "tool_save" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/save.png" title= "Save Image [S]" alt= "Save" />
<img class= "tool_button" id= "tool_source" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/source.png" title= "Edit Source [U]" alt= "Source" />
2009-08-03 16:36:50 +00:00
</div>
2009-06-07 15:03:22 +00:00
2009-08-03 16:36:50 +00:00
<!-- History buttons -->
2009-06-17 20:16:08 +00:00
<div >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
<img class= "tool_button tool_button_disabled" id= "tool_undo" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/undo.png" title= "Undo [Z]" alt= "Undo" />
<img class= "tool_button tool_button_disabled" id= "tool_redo" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/redo.png" title= "Redo [Shift+Z/Y]" alt= "Redo" />
<img class= "tool_button" id= "tool_paste" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/paste.png" title= "Paste Element [V]" alt= "Paste" />
2009-06-17 20:16:08 +00:00
</div>
2009-06-10 12:32:24 +00:00
2009-08-03 16:36:50 +00:00
<!-- Buttons when something a single element is selected -->
2009-06-17 20:16:08 +00:00
<div id= "selected_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
<img class= "tool_button" id= "tool_copy" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/copy.png" title= "Copy Element [C]" alt= "Copy" />
<img class= "tool_button" id= "tool_delete" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/delete.png" title= "Delete Element [Delete/Backspace]" alt= "Delete" />
<img class= "tool_button" id= "tool_move_top" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/move_top.png" title= "Move to Top [Shift+Up]" alt= "Top" />
<img class= "tool_button" id= "tool_move_bottom" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/move_bottom.png" title= "Move to Bottom [Shift+Down]" alt= "Bottom" />
2009-08-03 16:36:50 +00:00
<select id= "group_opacity" class= "selected_tool" title= "Change selected item opacity" >
<option selected= "selected" value= "1" > 100 %</option>
<option value= "0.9" > 90 %</option>
<option value= "0.8" > 80 %</option>
<option value= "0.7" > 70 %</option>
<option value= "0.6" > 60 %</option>
<option value= "0.5" > 50 %</option>
<option value= "0.4" > 40 %</option>
<option value= "0.3" > 30 %</option>
<option value= "0.2" > 20 %</option>
<option value= "0.1" > 10 %</option>
</select>
</div>
<!-- Buttons when something a single element is selected -->
<div id= "multiselected_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
<img class= "tool_button" id= "tool_copy_multi" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/copy.png" title= "Copy Elements [C]" alt= "Copy" />
<img class= "tool_button" id= "tool_delete_multi" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/delete.png" title= "Delete Selected Elements [Delete/Backspace]" alt= "Delete" />
2009-06-17 20:16:08 +00:00
</div>
<div id= "rect_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
2009-06-24 04:17:35 +00:00
<label class= "rect_tool" > x:</label>
2009-08-03 16:36:50 +00:00
<input id= "rect_x" class= "rect_tool attr_changer" title= "Change rectangle X coordinate" alt= "x" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "rect_tool" > y:</label>
2009-08-03 16:36:50 +00:00
<input id= "rect_y" class= "rect_tool attr_changer" title= "Change rectangle Y coordinate" alt= "y" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "rect_tool" > width:</label>
2009-08-03 16:36:50 +00:00
<input id= "rect_w" class= "rect_tool attr_changer" title= "Change rectangle width" alt= "width" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "rect_tool" > height:</label>
2009-08-03 16:36:50 +00:00
<input id= "rect_h" class= "rect_tool attr_changer" title= "Change rectangle height" alt= "height" size= "3" />
<label class= "rect_tool" > Corner Radius:</label>
<input id= "rect_radius" size= "3" value= "0" class= "rect_tool" type= "text" title= "Change Rectangle Corner Radius" alt= "Corner Radius" />
2009-06-17 20:16:08 +00:00
</div>
2009-06-24 04:17:35 +00:00
<div id= "circle_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
2009-06-24 04:17:35 +00:00
<label class= "circle_tool" > cx:</label>
2009-08-03 16:36:50 +00:00
<input id= "circle_cx" class= "circle_tool attr_changer" title= "Change circle's cx coordinate" alt= "cx" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "circle_tool" > cy:</label>
2009-08-03 16:36:50 +00:00
<input id= "circle_cy" class= "circle_tool attr_changer" title= "Change circle's cy coordinate" alt= "cy" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "circle_tool" > r:</label>
2009-08-03 16:36:50 +00:00
<input id= "circle_r" class= "circle_tool attr_changer" title= "Change circle's radius" alt= "r" size= "3" />
2009-06-24 04:17:35 +00:00
</div>
2009-08-03 16:36:50 +00:00
2009-06-24 04:17:35 +00:00
<div id= "ellipse_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
2009-06-24 04:17:35 +00:00
<label class= "ellipse_tool" > cx:</label>
2009-08-03 16:36:50 +00:00
<input id= "ellipse_cx" class= "ellipse_tool attr_changer" title= "Change ellipse's cx coordinate" alt= "cx" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "ellipse_tool" > cy:</label>
2009-08-03 16:36:50 +00:00
<input id= "ellipse_cy" class= "ellipse_tool attr_changer" title= "Change ellipse's cy coordinate" alt= "cy" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "ellipse_tool" > rx:</label>
2009-08-03 16:36:50 +00:00
<input id= "ellipse_rx" class= "ellipse_tool attr_changer" title= "Change ellipse's x radius" alt= "rx" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "ellipse_tool" > ry:</label>
2009-08-03 16:36:50 +00:00
<input id= "ellipse_ry" class= "ellipse_tool attr_changer" title= "Change ellipse's y radius" alt= "ry" size= "3" />
2009-06-24 04:17:35 +00:00
</div>
2009-08-03 16:36:50 +00:00
2009-06-24 04:17:35 +00:00
<div id= "line_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
2009-06-24 04:17:35 +00:00
<label class= "line_tool" > x1:</label>
2009-08-03 16:36:50 +00:00
<input id= "line_x1" class= "line_tool attr_changer" title= "Change line's starting x coordinate" alt= "x1" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "line_tool" > y1:</label>
2009-08-03 16:36:50 +00:00
<input id= "line_y1" class= "line_tool attr_changer" title= "Change line's starting y coordinate" alt= "y1" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "line_tool" > x2:</label>
2009-08-03 16:36:50 +00:00
<input id= "line_x2" class= "line_tool attr_changer" title= "Change line's ending x coordinate" alt= "x2" size= "3" />
2009-06-24 04:17:35 +00:00
<label class= "line_tool" > y2:</label>
2009-08-03 16:36:50 +00:00
<input id= "line_y2" class= "line_tool attr_changer" title= "Change line's ending y coordinate" alt= "x1" size= "3" />
2009-06-24 04:17:35 +00:00
</div>
2009-06-10 12:32:24 +00:00
<div id= "text_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_sep" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/sep.png" alt= "|" />
<img class= "tool_button" id= "tool_bold" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/bold.png" title= "Bold Text [B]" alt= "Bold" />
<img class= "tool_button" id= "tool_italic" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/italic.png" title= "Italic Text [I]" alt= "Italic" />
2009-06-10 12:32:24 +00:00
<select id= "font_family" class= "text_tool" title= "Change Font Family" >
<option selected= "selected" value= "serif" > serif</option>
<option value= "sans-serif" > sans-serif</option>
<option value= "cursive" > cursive</option>
<option value= "fantasy" > fantasy</option>
<option value= "monospace" > monospace</option>
</select>
<select id= "font_size" class= "text_tool" title= "Change Font Size" >
<option value= "6pt" > 6pt</option>
<option value= "8pt" > 8pt</option>
<option value= "10pt" > 10pt</option>
<option selected= "selected" value= "12pt" > 12pt</option>
<option value= "14pt" > 14pt</option>
<option value= "16pt" > 16pt</option>
<option value= "20pt" > 20pt</option>
<option value= "24pt" > 24pt</option>
<option value= "32pt" > 32pt</option>
<option value= "48pt" > 48pt</option>
<option value= "64pt" > 64pt</option>
<option value= "72pt" > 72pt</option>
<option value= "80pt" > 80pt</option>
<option value= "96pt" > 96pt</option>
<option value= "120pt" > 120pt</option>
</select>
2009-08-03 16:36:50 +00:00
<input id= "text" class= "text_tool" type= "text" title= "Change text contents" size= "35" />
2009-06-10 12:32:24 +00:00
</div>
2009-08-03 16:36:50 +00:00
</div> <!-- tools_top -->
2009-06-10 12:32:24 +00:00
2009-08-03 16:36:50 +00:00
<div id= "tools_left" class= "tools_panel" >
2009-08-03 16:39:06 +00:00
<img class= "tool_button_current" id= "tool_select" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/select.png" title= "Select Tool [1]" alt= "Select" /> <br />
<img class= "tool_button" id= "tool_path" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/path.png" title= "Pencil Tool [2]" alt= "Pencil" /> <br />
<img class= "tool_button" id= "tool_line" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/line.png" title= "Line Tool [3]" alt= "Line" /> <br />
<img class= "tool_button" id= "tools_rect_show" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/square.png" title= "Square/Rect Tool [4/Shift+4]" alt= "Square" /> <br />
<img class= "tool_button" id= "tools_ellipse_show" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/circle.png" title= "Ellipse/Circle Tool [5/Shift+5]" alt= "Circle" /> <br />
<img class= "tool_button" id= "tool_text" src= "http://svg-edit.googlecode.com/svn/trunk/editor/images/text.png" title= "Text Tool [6]" alt= "Text" />
2009-08-13 15:42:41 +00:00
<img class= "tool_button" id= "tool_poly" src= "images/polygon.png" title= "Poly Tool [7]" alt= "Poly" />
2009-08-03 16:36:50 +00:00
</div> <!-- tools_left -->
2009-06-10 12:32:24 +00:00
2009-08-03 16:36:50 +00:00
<div id= "tools_bottom" class= "tools_panel" >
2009-06-10 12:32:24 +00:00
2009-08-03 16:36:50 +00:00
<div id= "tools_bottom_1" >
<select id= "resolution" >
<option selected= "selected" > 640x480</option>
<option > 800x600</option>
<option > 1024x768</option>
<option > 1280x960</option>
<option > 1600x1200</option>
</select>
</div>
2009-06-07 15:03:22 +00:00
2009-08-03 16:36:50 +00:00
<div id= "tools_bottom_2" >
<table >
<tr >
<td > fill:</td>
<td > <div id= "fill_color" class= "color_block" title= "Change fill color" > </div> </td>
<td > <div id= "fill_opacity" > N/A</div> </td>
</tr> <tr >
<td > stroke:</td>
<td > <div id= "stroke_color" class= "color_block" title= "Change stroke color" > </div> </td>
<td > <div id= "stroke_opacity" > 100 %</div> </td>
<td >
<input id= "stroke_width" title= "Change stroke width" alt= "Stroke Width" size= "2" value= "1" type= "text" />
</td>
<td >
<select id= "stroke_style" title= "Change stroke dash style" >
<option selected= "selected" value= "none" > ---</option>
<option value= "2,2" > ...</option>
<option value= "5,5" > - -</option>
<option value= "5,2,2,2" > - .</option>
<option value= "5,2,2,2,2,2" > - ..</option>
</select>
</td>
</tr>
</table>
</div>
2009-06-07 15:03:22 +00:00
2009-08-03 16:36:50 +00:00
<div id= "tools_bottom_3" >
<div id= "palette_holder" > <div id= "palette" title= "Click to change fill color, shift-click to change stroke color" > </div> </div>
<div id= "copyright" > Powered by <a href= "http://svg-edit.googlecode.com/" target= "_blank" > SVG-edit v2.3-preAlpha</a> </div>
</div>
2009-06-07 15:03:22 +00:00
</div>
2009-08-03 16:36:50 +00:00
<!-- hidden divs -->
<div id= "color_picker" > </div>
2009-06-07 15:03:22 +00:00
2009-08-03 16:36:50 +00:00
<div id= "tools_rect" class= "tools_flyout" >
<div id= "tool_square" class= "tool_flyout_button" title= "Square" > </div>
<div id= "tool_rect" class= "tool_flyout_button" title= "Rectangle" > </div>
<div id= "tool_fhrect" class= "tool_flyout_button" title= "Free-Hand Rectangle" > </div>
2009-06-07 15:03:22 +00:00
</div>
2009-08-03 16:36:50 +00:00
<div id= "tools_ellipse" class= "tools_flyout" >
<div id= "tool_circle" class= "tool_flyout_button" title= "Circle" > </div>
<div id= "tool_ellipse" class= "tool_flyout_button" title= "Ellipse" > </div>
<div id= "tool_fhellipse" class= "tool_flyout_button" title= "Free-Hand Ellipse" > </div>
2009-06-07 15:03:22 +00:00
</div>
2009-08-03 16:36:50 +00:00
<div id= "tools_stacking" class= "tools_flyout_v" >
<div id= "tool_stacktop" class= "tool_flyout_button" title= "Move to Top [Shift+Up]" > </div>
<div id= "tool_stackbottom" class= "tool_flyout_button" title= "Move to Bottom [Shift+Down]" > </div>
2009-06-07 15:03:22 +00:00
</div>
2009-08-03 16:36:50 +00:00
<div id= "tools_align" class= "tools_flyout_v" >
<div id= "tool_aligntop" class= "tool_flyout_button" title= "Align to Top" > </div>
<div id= "tool_alignbottom" class= "tool_flyout_button" title= "Align to Bottom" > </div>
<div id= "tool_alignmiddle" class= "tool_flyout_button" title= "Align to Middle" > </div>
<div id= "tool_alignleft" class= "tool_flyout_button" title= "Align to Left" > </div>
<div id= "tool_alignright" class= "tool_flyout_button" title= "Align to Right" > </div>
<div id= "tool_aligncenter" class= "tool_flyout_button" title= "Align to Center" > </div>
2009-06-07 15:03:22 +00:00
</div>
2009-08-03 16:36:50 +00:00
</div> <!-- svg_editor -->
2009-06-10 12:32:24 +00:00
2009-08-03 16:36:50 +00:00
<div id= "svg_source_editor" >
<div id= "svg_source_overlay" > </div>
<div id= "svg_source_container" >
<div id= "tool_source_back" class= "toolbar_button" > </div>
<form >
<textarea id= "svg_source_textarea" > </textarea>
</form>
</div>
2009-06-07 15:03:22 +00:00
</div>
<script type= "text/javascript" >
2009-06-07 15:07:57 +00:00
2009-06-10 12:32:24 +00:00
var svgCanvas = null;
function stateUpdated() {
2009-06-12 05:11:13 +00:00
// 'state' is an object of key-value pairs that map ids to JSON serialization of SVG elements
// 'keys' is an array of all the keys in the state
2009-06-10 12:32:24 +00:00
var state = wave.getState();
var keys = state.getKeys();
svgCanvas.each(function(e) {
2009-06-12 05:11:13 +00:00
// 'this' is the SVG DOM element node (ellipse, rect, etc)
// 'e' is an integer describing the position within the document
2009-06-12 12:22:56 +00:00
var k = this.id;
var v = state.get(k);
2009-06-10 12:32:24 +00:00
if (v) {
2009-06-12 12:49:18 +00:00
var ob;
eval("ob=" + v); // FIXME: Yes, I'm using eval... Dirty, dirty..
2009-06-10 12:32:24 +00:00
if (ob) {
2009-06-12 11:57:14 +00:00
svgCanvas.updateElementFromJson(ob);
2009-06-10 12:32:24 +00:00
} else {
2009-06-09 22:19:52 +00:00
var node = svgdoc.getElementById(k);
if (node) node.parentNode.removeChild(node);
}
2009-06-12 12:22:56 +00:00
keys.remove(k);
2009-06-10 12:32:24 +00:00
} else {
2009-06-12 11:57:14 +00:00
this.parentNode.removeChild(this);
2009-06-10 12:32:24 +00:00
}
});
2009-06-09 22:19:52 +00:00
2009-06-10 12:32:24 +00:00
// New nodes
for (var k in keys) {
2009-06-12 12:49:18 +00:00
var ob;
2009-06-12 11:57:14 +00:00
var v = state.get(keys[k]);
2009-06-12 12:49:18 +00:00
eval("ob=" + v); // FIXME: Yes, I'm using eval... Dirty, dirty..
2009-06-12 11:57:14 +00:00
if (ob) svgCanvas.updateElementFromJson(ob)
2009-06-10 12:32:24 +00:00
}
}
2009-06-12 12:57:35 +00:00
function myPrintJson(a, b, e) {
if(!a || typeof a.valueOf() != "object") {
if(typeof a == "string")return"'" + a + "'";
else if(a instanceof Function)return"[function]";
return"" + a
}
var c = [], f = wave.util.isArray_(a), d = f ? "[]" : "{}", h = b ? "\n" : "", k = b ? " " : "", l = 0, g = e || 1;
b || (g = 0);
c.push(d.charAt(0));
for(var i in a) {
var j = a[i];
l++ > 0 & & c.push(", ");
if(f)
c.push(myPrintJson(j, b, g + 1));
else {
c.push(h);
c.push(wave.util.toSpaces_(g));
2009-06-12 13:01:53 +00:00
c.push("'" + i + "':");
2009-06-12 12:57:35 +00:00
c.push(k);
c.push(myPrintJson(j, b, g + 1))
}
}
if(!f) {
c.push(h);
c.push(wave.util.toSpaces_(g - 1))
}
c.push(d.charAt(1));
return c.join("")
}
2009-06-07 15:03:22 +00:00
2009-06-12 04:12:33 +00:00
function sendDelta(svgCanvas, elem) {
2009-06-09 22:39:58 +00:00
if (!wave) return;
2009-06-09 22:19:52 +00:00
var delta = {};
var attrs = {};
var a = elem.attributes;
for (var i = 0; i < a.length ; i + + ) {
attrs[a.item(i).nodeName] = a.item(i).nodeValue;
2009-06-10 12:32:24 +00:00
}
var ob = { element: elem.nodeName, attr: attrs };
2009-06-12 13:01:53 +00:00
// wave.util.printJson has a bug where keys are not quoted like 'stroke-width'
2009-06-12 12:58:00 +00:00
delta[elem.id] = myPrintJson(ob, true);
2009-06-09 22:19:52 +00:00
wave.getState().submitDelta(delta);
}
2009-06-12 12:33:22 +00:00
2009-06-12 18:34:28 +00:00
function getId(objnum) {
return "svg_"+wave.getViewer().getId()+"_"+objnum;
2009-06-12 12:33:22 +00:00
}
2009-06-09 22:19:52 +00:00
2009-06-10 12:32:24 +00:00
function main() {
svgCanvas = svg_edit_setup();
if (wave & & wave.isInWaveContainer()) {
wave.setStateCallback(stateUpdated);
}
svgCanvas.bind("changed", sendDelta);
2009-06-12 12:20:48 +00:00
svgCanvas.bind("cleared", stateUpdated);
2009-06-12 18:34:28 +00:00
svgCanvas.bind("getid", getId);
2009-06-10 12:32:24 +00:00
}
2009-06-09 22:19:52 +00:00
2009-06-10 12:32:24 +00:00
gadgets.util.registerOnLoadHandler(main);
2009-06-07 15:03:22 +00:00
</script>
2009-06-10 12:32:24 +00:00
]]>
</Content>
2009-06-07 15:03:22 +00:00
</Module>