var themesArray = {"Actualite" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "actualite","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"Presse" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "presse","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"Produit" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "produit","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"Projet" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "projet","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"RD" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "RD","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"Salon" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "salon","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"Vie" : {"widget_height" : 40,"img_path" : "public/comment/","img_baseN" : "vie","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 35,"img_width" : 35,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"default" : {"widget_height" : 30,"img_path" : "comment/","img_baseN" : "buz","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 25,"img_width" : 25,"tooltip_time" : 2000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-colla',"icon_html" : '',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"elearningBuz" : {"widget_height" : 30,"img_path" : "public/comment/","img_baseN" : "buz","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 25,"img_width" : 25,"tooltip_time" : 3000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"elearningGds" : {"widget_height" : 30,"img_path" : "public/comment/","img_baseN" : "gds","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 25,"img_width" : 25,"tooltip_time" : 3000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"elearningLv" : {"widget_height" : 30,"img_path" : "public/comment/","img_baseN" : "lv","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 25,"img_width" : 25,"tooltip_time" : 3000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"elearningSjj" : {"widget_height" : 30,"img_path" : "public/comment/","img_baseN" : "sjj","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 25,"img_width" : 25,"tooltip_time" : 3000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'},"elearningTmg" : {"widget_height" : 30,"img_path" : "public/comment/","img_baseN" : "tmg","commented_msg" : "Vous avez dÃ©jÃ  commentÃ©","img_height" : 25,"img_width" : 25,"tooltip_time" : 3000,"tooltip_CloseT" : 200,"tooltip_html" : '<img src="<Images_path>/bubble_pointer.gif" alt="" style="padding:0px; margin:0px; display:block; border:none;position:absolute; z-index:1000; left:10px;bottom:-15px" /><table id="cc_bubble_frame" style="width: auto; border: none;padding:0px; border-collapse:collapse; font:bold 11px Verdana, Arial, Helvetica;position:relative; z-index:20"><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_ul.gif" alt=""/></td><td style="font-size: 1px; padding:0px;background-image: url(<Images_path>/bubble_t.gif); background-repeat: repeat-x;"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none; display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ur.gif" alt="" /></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_l.gif);"></td><td style="color: #616161;padding:2px; margin: 0px; font: bold 11px Verdana, Arial, Helvetica;background-image: url(<Images_path>/bubble_bg.gif);" id="tooltip_content"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px; background-image: url(<Images_path>/bubble_r.gif);"></td></tr><tr><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block; padding:0px;margin:0px;" src="<Images_path>/bubble_ll.gif" alt="" /></td><td style="font-size: 1px;padding:0px;background-image: url(<Images_path>/bubble_b.gif);"></td><td style="margin:0px; padding: 0px; width: 4px; height: 4px;font-size: 1px;"><img style="border:none;display:block;padding:0px;margin:0px;" src="<Images_path>/bubble_lr.gif" alt="" /></td></tr></table>',"icon_html" : '<img class="sym_wimg" style="width:<ICON_W>px; height:<ICON_H>px;" id="<iconName>" src="<ImgId>"/>',"logo_html" : '',"msg_html" : '',"init_html" :'en chargement...'}};var typeArray = {"1" : "TrÃ¨s bon sujet, j'en veux encore !","2" : "Sujet intÃ©ressant mais j'aurais aimÃ© en savoir plus !","3" : "C'est quoi ce sujet !","4" : "Sympa la vie chez Symetrix ! Vous embauchez ?","5" : "Et Ã  part Ã§a, vous faites quoi dÃ©jÃ  ?! Du e-learning ?","6" : "Il vous arrive de bosser des fois ?!","7" : "IntÃ©ressant ! Vivement la suite !","8" : "PÃ©dagogique et utile ! Merci !","9" : "J'ai pas tout compris mais c'est sans doute intÃ©ressant !","10" : "BoÃ®te sÃ©rieuse. Je recommande !","11" : "Vous l'avez payÃ©(e) combien pour dire Ã§a ??","12" : "Trop fort ! Je fais tourner le buzz tout de suite !","13" : "Ca c'est un buzz utile Ã  rappeler ! Merci.","14" : "Euh, vous Ãªtes sÃ»rs que c'est un buzz ?","15" : "Jâ€™ai hÃ¢te dâ€™en lire plus","16" : "Pas sÃ»r dâ€™avoir tout compris mais câ€™est intÃ©ressant","17" : "Ce sujet ne mâ€™intÃ©resse pas trop","18" : "Jâ€™y Ã©tais : super rencontre, merci !","19" : "Jâ€™y serai : je ne veux pas rater Ã§Ã ","20" : "Jâ€™y Ã©tais : câ€™Ã©tait pas terrible comme Ã©vÃ¨nementâ€¦","21" : "TrÃ¨s intÃ©ressant. Je veux en savoir plus !","22" : "Un peu enjoliveur comme article mais intÃ©ressant.","23" : "Rien de nouveau sur la planÃ¨te Mars.","24" : "Sympa la vie chez Sym ! Vous embauchez ?","25" : "Et Ã  part Ã§Ã  vous faites quoi dÃ©jÃ  ?! Du e-Learning ?","26" : "Ca vous arrive de bosser parfois ?","27" : "Trop fort ! Je fais tourner lâ€™info tout de suite !","28" : "Utile Ã  savoir ! Merci !","29" : "KeSaKo ?!","30" : "Super nouvelle ! Il est oÃ¹ le bon de commande ?","31" : "Je suis curieux de tester tout Ã§Ã .","32" : "Ah enfin ! Câ€™est pas trop tÃ´t !","33" : "FÃ©licitations ! Projet trÃ¨s intÃ©ressant","34" : "IntÃ©ressant. A suivre.","35" : "Jâ€™aurais aimÃ© en savoir davantage"};var catConfArray = { "1" : {theme_name : "sym au jour le jour", icon_list : [4,5,6]},"2" : {theme_name : "buz de la semaine", icon_list : [12,13,14]},"3" : {theme_name : "lu et vu", icon_list : [1,2,3]},"4" : {theme_name : "temoignages", icon_list : [10,11]},"5" : {theme_name : "grains de savoirs", icon_list : [7,8,9]},"6" : {theme_name : "RD", icon_list : [15,16,17]},"7" : {theme_name : "salon", icon_list : [18,19,20]},"8" : {theme_name : "presse", icon_list : [21,22,23]},"9" : {theme_name : "vie chez sym", icon_list : [24,25,26]},"10" : {theme_name : "actualites", icon_list : [27,28,29]},"11" : {theme_name : "produit", icon_list : [30,31,32]},"12" : {theme_name : "projet", icon_list : [33,34,35]}};var widgetBaseName = "Symetrix_cc";var targetUrl = "ComSymetrix.php?";       var timeouts = new Array();

function animate(elementID, newLeft, newTop, newWidth, newHeight, time, callback){
  var el = document.getElementById(elementID);
  if(el == null)
    return;
 
  var cLeft = parseInt(el.style.left);
  var cTop = parseInt(el.style.top);
  var cWidth = parseInt(el.style.width);
  var cHeight = parseInt(el.style.height);
 
  var totalFrames = 1;
  if(time> 0)
    totalFrames = time/40;

  	
  var fLeft = (newLeft != null) ? (newLeft - cLeft) : 0;
  if(fLeft != 0)
    fLeft /= totalFrames;
 
  var fTop = (newTop != null) ? (newTop - cTop) : 0; 
  if(fTop != 0)
    fTop /= totalFrames;
 
  var fWidth = (newWidth != null) ? (newWidth - cWidth) : 0; 
  if(fWidth != 0)
    fWidth /= totalFrames;
 
  var fHeight = (newHeight != null) ? (newHeight - cHeight) : 0; 
  if(fHeight != 0)
    fHeight /= totalFrames;
   
  //doFrame(elementID, cLeft, newLeft, fLeft,
    //  cTop, newTop, fTop, cWidth, newWidth, fWidth,
      //cHeight, newHeight, fHeight, callback);
	  
  doFrame(elementID, cLeft, cLeft, fLeft,
      cTop, cTop, fTop, cWidth,cWidth, fWidth,
      cHeight, newHeight, fHeight, callback);
}

function doFrame(eID, cLeft, nLeft, fLeft,
      cTop, nTop, fTop, cWidth, nWidth, fWidth,
      cHeight, nHeight, fHeight, callback)
{
   var el = document.getElementById(eID);
   if(el == null)
     return;

  cLeft = moveSingleVal(cLeft, nLeft, fLeft);
  cTop = moveSingleVal(cTop, nTop, fTop);
  cWidth = moveSingleVal(cWidth, nWidth, fWidth);
  cHeight = moveSingleVal(cHeight, nHeight, fHeight);

  el.style.left = Math.round(cLeft) + 'px';
  el.style.top = Math.round(cTop) + 'px';
  el.style.width = Math.round(cWidth) + 'px';
  el.style.height = Math.round(cHeight) + 'px';
 
  if(cLeft == nLeft && cTop == nTop && cHeight == nHeight
    && cWidth == nWidth)
  {
    if(callback != null)
      callback();
    return;
  }
   
  setTimeout( 'doFrame("'+eID+'",'+cLeft+','+nLeft+','+fLeft+','
    +cTop+','+nTop+','+fTop+','+cWidth+','+nWidth+','+fWidth+','
    +cHeight+','+nHeight+','+fHeight+','+callback+')', 40);
}

function moveSingleVal(currentVal, finalVal, frameAmt)
{
  if(frameAmt == 0 || currentVal == finalVal)
    return finalVal;
 
  currentVal += frameAmt;
  if((frameAmt> 0 && currentVal>= finalVal)
    || (frameAmt <0 && currentVal <= finalVal))
  {
    return finalVal;
  }
  return currentVal;
}



function runSymetrix(){

	/**
	*	Fonction qui permet de récuperer un element par sa classe
	**/
	function getElementsByClassName(className, tag, elm){
		var testClass = new RegExp("(^|\\\\s)" + className + "(\\\\s|$)");
		var tag = tag || "*";
		var elm = elm || document;
		var elements = (tag == "*" && elm.all)? elm.all : elm.getElementsByTagName(tag);
		var returnElements = [];
		var current;
		var length = elements.length;
		for(var i=0; i<length; i++){
			current = elements[i];
			if(testClass.test(current.className)){
				returnElements.push(current);
			}
		}
		return returnElements;
	};
	
	var tooltip = null;
	var tooltipClose = null;
	var loadingCode = '<img src="./images/loader.gif">Chargement...';
	
	/**
	*	Informations sur le navigateur, et fonctions ajax
	**/
	var Nav={name:null};if(window.opera){Nav.name='Opera';}else if (navigator.userAgent){var str=navigator.userAgent;if(str.indexOf("Firefox")!=-1){Nav.name='Firefox';}else if(str.indexOf("Netscape")!=-1){Nav.name='Netscape';}else if(str.indexOf("MSIE")!=-1){Nav.name='MSIE';}else if(str.indexOf("Gecko")!=-1){Nav.name='Mozilla';}}
		//Recupere l'objet Xhr pour ajax
	function getXhr(){return (window.XMLHttpRequest)?new XMLHttpRequest : (window.ActiveXObject)?new ActiveXObject("Microsoft.XMLHTTP"):null;}
	function AjaxCall(params,type){	//Fonction de communication
		xhr = getXhr();	xhr.onreadystatechange = function() { if (xhr.readyState == 4 && xhr.status == 200){resobj = eval('(' + xhr.responseText + ')') ;}};xhr.open("GET", targetUrl+params, type);xhr.send(null);}


	/**
	*	Fonctions de gestion des cookies
	**/
	function setCookie(nom,valeur) {
	var expDate = new Date();expDate.setTime(expDate.getTime() + (365 * 24 * 3600 * 1000));document.cookie = nom+"="+escape(valeur)+"; expires="+expDate;}

	function getCookieVal(offset){
	var endstr=document.cookie.indexOf (";", offset);if (endstr==-1) endstr=document.cookie.length;return unescape(document.cookie.substring(offset, endstr));}
	
	function getCookie(nom)	{
		var arg=nom+"=";var alen=arg.length;var clen=document.cookie.length;var i=0;while (i<clen){var j=i+alen;if (document.cookie.substring(i, j)==arg) {return getCookieVal(j);}i=document.cookie.indexOf(" ",i)+1;if (i==0) break;}return null;}
	
	/**
	*	Fonction qui affiche la tooltip du widget
	**/
	function tooltip_show(obj, x, y, html, block, closetime, onclose) {

		var Images_path = themesArray[obj.widgetNode.data.theme].img_path+'/bulle';
		tooltip_halt_close();  
		if(!tooltip) {
			tooltip = document.createElement('div');
			tooltip.style.position="absolute";
			tooltip.style.overflow = "visible" ;	
			var mhtml = themesArray[obj.widgetNode.data.theme].tooltip_html;
			myhtml = mhtml.replace(/<Images_path>/g,Images_path);
			tooltip.innerHTML  = myhtml;
			tooltip.onmouseover = function(e) {
				tooltip_halt_close();
			};
			tooltip.onmouseout = function(e) {
					tooltip_hide(100);
			};
			document.body.appendChild(tooltip);
		}
		var tt = tooltip;
		var h = tooltip_h(obj);
		var w = tooltip_w(obj);
		//bouge(tt,100,100);
		bouge(tt,w+x-10,y-h+(-10));
		obj.parentNode.appendChild(tt);
		var msg = document.createElement('div');
		//msg.style.font = TOOLTIP_FONT;
		msg.style.fontVariant = 'normal'; 
		msg.style.textTransform = 'none';
		msg.style.whiteSpace = 'nowrap';
		msg.innerHTML = html;
		var tmp = document.getElementById('tooltip_content');
		//alert(tmp);
		clear(tmp,msg);
		nodehide(tt, 0);
		h = tooltip_h(obj);
		//alert(obj.widgetNode.offsetLeft + " / " + obj.offsetLeft) ;
		bouge(tooltip, obj.offsetLeft-5, obj.offsetTop-h+(-10));
	}
	
	
	/**
	*	Fonctions utilitaires du widget 
	**/
	function tooltip_h(o) {
		var curtop = 0;
		if (o.offsetParent) {
			curtop = o.offsetHeight;
		}
		return curtop;
	}
	
	function tooltip_w(o) {
		var curleft = 0;
		if (o.offsetParent) {
			curleft = o.offsetWidth;
		}
		return curleft;
	}
	
	function tooltip_hide(delay) {
		var t = new Date().getTime();
		var d = (delay ? t+delay : null);
		tooltip_halt_close();
		if(tooltip) {	
			if(!d || d < t)
				nodehide(tooltip,1);
			else {
				tooltipClose = setTimeout( 	function() {	
												nodehide(tooltip,1);
											}, d-t);
			}
		}
	}
	
	function tooltip_halt_close() {
		if(tooltipClose)
			tooltipClose = clearTimeout(tooltipClose);
	}
	
	function info_halt_close(node) {
		if(node.timeout)
			node.timeout = clearTimeout(node.timeout);
	}
	
	function bouge(obj,x,y){
		if(!obj.style)return;
		if(!isNaN(x)&&x !==null)obj.style.left=x+'px';
		if(!isNaN(y)&&y !==null)obj.style.top=y+'px';
	}	
	
	function abs_x(node,Parent){
		if(!node)return null;
		var n=node,x=0;
		while(n&&n.parentNode&&n.parentNode.style&&(!Parent||Parent !=n)){
			x+=n.offsetLeft;
			if(n.style.left==='')n=n.offsetParent;
			else n=n.parentNode;
		}
		return x;	
	}
	
	function abs_y(node,Parent){
		if(!node)return null;
		var n=node,y=0;
		while(node&&node.parentNode&&node.parentNode.style&&(!Parent||Parent !=node)){
			y+=node.offsetTop;
			if(node.style.top==='')node=node.offsetParent;
			else node=node.parentNode;
		}
		return y;
	}
	
	function eventTarget(e) {
		var targ;
		if (!e) var e = window.event;
		if (e.target) targ = e.target;
		else if (e.srcElement) targ = e.srcElement;
		if (targ.nodeType == 3) // defeat Safari bug
			targ = targ.parentNode;
		return targ;
	}		
		
	function nodehide(node,hide){
		if(node){
			node.style.visibility=(hide ? 'hidden':'');
		}
	};

	function clear(rnode,node){
		while(rnode.childNodes[0])
			rnode.removeChild(rnode.childNodes[0]);
		if(node)rnode.appendChild(node);
	};
	
	function node_v(nodeId,val){
		document.getElementById(nodeId).style.visibility=val;
	}
	
	function imageMouseOver(e) { //Evenement onmouseover
		var capt = "infos_"+this.widgetNode.data.PostId;
		clearTimeout(this.widgetNode.data.infoTimeout);
		if(themesArray[this.widgetNode.data.theme].msg_html != ''){
			animate("infos_"+this.widgetNode.data.PostId, null, null, this.widgetNode.data.info_w, this.widgetNode.data.info_h, 150,null);				
		}
		var ind = this.typid ;
		var txt = this.src;
		this.src = txt.replace(/(_out)|(_hover)/,'_hover');
		var ttmsg = '';
		var cook = getCookie(this.widgetNode.data.BlogId+'_'+this.widgetNode.data.catId+'_'+this.widgetNode.data.PostId);
		if(cook)
		{
			this.widgetNode.data.commented = true;
		}
		if(!this.widgetNode.data.commented){
			ttmsg = typeArray[ind];
		} else {
			ttmsg = themesArray[this.widgetNode.data.theme].commented_msg+' : '+typeArray[cook] ;
		}
		
		//console.log("tooltip");
		//console.log( this, this.widgetNode.offsetLeft, this.widgetNode.offsetTop - 5, ttmsg) ;
		
		tooltip_show(this, this.widgetNode.offsetLeft, this.widgetNode.offsetTop - 5, ttmsg);
		tooltip_hide(themesArray[this.widgetNode.data.theme].tooltip_time);
	}
	
	function imageMouseOut(e) { //Evenement onmouseout
		var capt = "infos_"+this.widgetNode.data.PostId;
		if(themesArray[this.widgetNode.data.theme].msg_html != ''){
			this.widgetNode.data.infoTimeout = window.setTimeout("animate(\""+capt+"\", null, "+this.widgetNode.data.info_w+", null, 0, 150,null);",2000);
		}
		var txt = this.src ;
		var light = false ;
		for(var i = 0 ; i<this.widgetNode.data.isLight.length ; i++){
			if(this.widgetNode.data.isLight[i] == this.typid)
				light = true;
		}
		if(light){
			this.src = txt.replace(/(_out)|(_hover)/,'_hover');
		} else {
			this.src = txt.replace(/(_out)|(_hover)/,'_out');
		}
		tooltip_hide(themesArray[this.widgetNode.data.theme].tooltip_closeT);
	}
	
	function imageClick(e) {	//Gère le click
		var w = this.widgetNode;
		
		if(getCookie(w.data.BlogId+'_'+w.data.catId+'_'+w.data.PostId)){
			return;
		} else {
			if(w.data.voting){ return; }
			w.data.voting = true ;
			for(var i = 0 ; i < w.data.cptIndices.length ; i++){
				var item = document.getElementById('symicon_'+w.data.BlogId+'_'+w.data.PostId+'_'+w.data.cptIndices[i]);
				item.style.cursor = 'not-allowed';
				item.onclick = item.ondblclick = null;
			}
			var capt = document.getElementById("infos_"+this.widgetNode.data.PostId);
			
			var ind = this.typid ;
			var XHR = this.xhr;
			
			num = parseInt(this.name.substr(8,9));
			if(!getCookie(w.data.BlogId+'_'+w.data.catId+'_'+w.data.PostId))
			{
				if(!this.widgetNode.data.commented){
					//on définit l'appel de la fonction au retour serveur
					XHR.onreadystatechange = function(e) { 
						if (XHR.readyState == 4 && XHR.status == 200)
						{
							ret = eval('(' + XHR.responseText + ')') ;
							w.data.commented = true ;
							w.data.setCompteur(ret.values);
							capt.firstChild.innerHTML = themesArray[w.data.theme].msg_html;
							w.data.refresh();
							for(var i = 0 ; i <w.data.cptIndices.length ; i++){
								var item = document.getElementById('symicon_'+w.data.BlogId+'_'+w.data.PostId+'_'+w.data.cptIndices[i]);
								item.style.cursor = 'pointer';
								item.onclick = item.ondblclick = imageClick ;
							}
							w.data.voting = false;
						} else {
							capt.childNodes[0].innerHTML = loadingCode;
							capt.style.width = w.firstChild.offsetWidth;
						}
					};
					params = 'd='+(new Date()).getTime()+'&type=upd&bid='+w.data.BlogId+'&pid='+
											w.data.PostId+'&cid='+w.data.catId+'&ct='+ind;
					XHR.open("GET", targetUrl+params, true);
					XHR.send(null);
				}
			}
		}
		this.widgetNode.data.refresh();
		
	}

	function infoMouseOver(e){
		clearTimeout(this.widgetNode.data.infoTimeout);
	}
	
	function infoMouseOut(e){
		animate("infos_"+this.widgetNode.data.PostId, null, this.widgetNode.data.info_w, null, 0, 150,null);
	}
	
	/**
	*Fonctions du widget à completer
	**/
	
	//Fonction qui sert a creer les widgets		
	function createWidget(node, indice,icons){
		
		/**
		*	Prototype de l'objet widget
		**/
		var wobj = 	{
				noeud : node,
				compteurs : [],
				info_h : 0,
				info_w : 0,
				info_x : 0,
				info_y : 0,
				infoTimeout : null,
				cptIndices : [],
				commented : false,
				BlogId : null,
				PostId : null,
				theme : "default" ,
				isLight : [-1] ,
				catId : 0 ,
				xhr : null,
				refresh : function(){
					for(var i = 0 ; i < this.cptIndices.length ; i++){
						var item = document.getElementById('valueCell_'+this.BlogId+'_'+this.PostId+'_'+this.cptIndices[i]);
						item.innerHTML = this.compteurs[i];
						var item2 = document.getElementById('symicon_'+this.BlogId+'_'+this.PostId+'_'+this.cptIndices[i]);
						var txt = item2.src;
						item2.setAttribute('src',item2.src.replace(/(_out)|(_hover)/,'_out'));
					}
					for(var i = 0 ; i<this.isLight.length ; i++){

						if(this.isLight[i] >= 0){
							var lighten = document.getElementById('symicon_'+node.data.BlogId+'_'+node.data.PostId+'_'+this.isLight[i]);
							var txt = lighten.src;
							lighten.setAttribute('src',lighten.src.replace(/(_out)|(_hover)/,'_hover'));
							//lighten.onmouseover();
						}
					}
					
				},
				setCompteur : function(tableau){
					
					this.compteurs = tableau;
					var max = 0;
					var tabl = new Array(this.compteurs[0]) ;
					
					for(var i=0;i<this.cptIndices.length;i++){
						
							if(this.compteurs[i] > this.compteurs[max]){
								max=i; tabl = [this.cptIndices[i]];	
							} else if(this.compteurs[i] == this.compteurs[max]){
								tabl.push(this.cptIndices[i]);
							}
					}
					//alert(tabl);
					if( max>=0 && this.compteurs[max] > 0){ this.isLight = tabl; } else {this.isLight = [-1];}
					this.refresh();
				},
				initialize : function() {
						params = 'd='+(new Date()).getTime()+'&type=getv&bid='+this.BlogId+'&pid='+
									this.PostId+'&cid='+this.catId;
						var myXHR = this.xhr = getXhr();
						var myres = this;
						var th = this.theme;
						var infon = document.getElementById("infos_"+this.PostId);
						myXHR.onreadystatechange = function(e) { 
							if (myXHR.readyState == 4 && myXHR.status == 200)
							{
								ret = eval('(' + myXHR.responseText + ')') ;
								myres.commented = ret.commented;
								myres.setCompteur(ret.values);
								infon.childNodes[0].innerHTML = themesArray[th].msg_html;
								myres.refresh();
							} else {
								infon.childNodes[0].innerHTML = '<img src="./images/loader.gif"> Loading...';
								infon.style.width = infon.parentNode.offsetWidth;
							}
						};
						myXHR.open("GET", targetUrl+params, true);
						myXHR.send(null);
						this.refresh();
				},
				initWidget : function(){
					var nid = this.noeud.id;
					var nums = nid.match(/(\d+)+/g);
					var sptab = nid.match(/([a-zA-Z0-9]+)/g);
					this.theme = sptab[0];
					this.BlogId = sptab[1];
					this.catId = nums[0];
					this.PostId = nums[1];
					this.cptIndices = catConfArray[this.catId].icon_list ;
					for(var i=0 ; i<this.cptIndices.length;i++){
						this.compteurs.push(0);
					}
					var nid = this.noeud.id;
					if(getCookie(this.BlogId+'_'+this.catId+'_'+this.PostId) != null ){
						this.commented = true;
					}
				}
				
			};
		


		node.data = wobj ;
		node.data.initWidget();
		node.innerHTML = '';
		clear(node,'');
		
		/**
		*	On créé le tableau qui contient le logo, les icones et les cases
		**/
		var tmp = document.createElement('div') ;
		var wtable = document.createElement('table') ;
		var gtable = document.createElement('table') ;
		var ictable = document.createElement('table') ;
		var grow1 = document.createElement('tr') ;
		var grow2 = document.createElement('tr') ;
		var wrow1 = document.createElement('tr') ;
		var icrow1 = document.createElement('tr') ;
		var icrow2 = document.createElement('tr') ;
		var icCell = document.createElement('td') ;
		var gcell1 = document.createElement('td') ;
		
		node.appendChild(gtable) ;
		gtable.setAttribute('class','sym_wcont') ;
		gtable.appendChild(grow1) ;
		gtable.appendChild(grow2) ;
		grow1.appendChild(gcell1) ;
		
		
		//node.appendChild(tmp);
		gcell1.appendChild(wtable) ;
		wtable.appendChild(wrow1) ;
	
		
		/**
		*	propriétés du tableau
		**/
		gtable.style.borderCollapse = "collapse"  ;
		wtable.style.borderCollapse = "collapse" ;
		ictable.style.borderCollapse = "collapse" ;		
		
		
		//node.style.border = "1px solid red";
		//wtable.style.border = "1px solid black";
		//grow2.style.border = "2px solid blue";
		grow2.position = "absolute" ;
		grow2.setAttribute('id','slider_'+node.data.Post_Id) ;
		
		
		/**
		*	on cree et on affecte le bloc logo si on en a definit un
		**/
		if(themesArray[node.data.theme].logo_html != ''){
			var wLogo = document.createElement('td') ;
			wrow1.appendChild(wLogo) ;
			wLogo.setAttribute('class','sym_wlogo') ;
			wLogo.setAttribute('id','sym_wlogo_'+node.data.PostId) ;
			wLogo.innerHTML = themesArray[node.data.theme].logo_html ;	
		}
		
		/**
		*	On cree les bloc icones du widget et on les assigne au widget
		**/
		wrow1.appendChild(icCell) ;
		icCell.appendChild(ictable) ;
		ictable.appendChild(icrow1) ;
		ictable.appendChild(icrow2) ;
		icrow1.setAttribute('class','sym_wicog') ;
		
		for( var i=0 ; i<node.data.cptIndices.length;i++){
			/* On cree et on affecte les cellues des icones et des valeurs associées */	
			var ico = document.createElement('td') ;
			var icodiv = document.createElement('div');
			var valcell = document.createElement('td') ;
			icrow1.appendChild(ico) ;
			icrow2.appendChild(valcell) ;

			
			var ich = themesArray[node.data.theme].img_height ;
			var icw = themesArray[node.data.theme].img_width ;
			var iconName = 'symicon_'+node.data.BlogId+'_'+node.data.PostId+'_'+node.data.cptIndices[i] ;
			var valueCell = 'valueCell_'+node.data.BlogId+'_'+node.data.PostId+'_'+node.data.cptIndices[i] ;
			var imgId = themesArray[node.data.theme].img_path+'/'+
				themesArray[node.data.theme].img_baseN+'_'+node.data.cptIndices[i]+"_out.png" ;
			var html = themesArray[node.data.theme].icon_html ;
			
			html = html.replace(/<ICON_H>/g,ich) ;
			html = html.replace(/<ICON_W>/g,icw) ;
			html = html.replace(/<iconName>/g,iconName) ;
			html = html.replace(/<ImgId>/g,imgId) ;
			html = html.replace(/<valueCell>/g,valueCell) ;
			
			//bloc icone
			/*ico.setAttribute('class','sym_wimg') ;
			ico.innerHTML = html ;
			*/
			ico.setAttribute('class','sym_wimg') ;
			ico.appendChild(icodiv); 
			icodiv.setAttribute('style', 'position:relative;');
			icodiv.innerHTML = html ;
			
			//Bloc valeur 
			valcell.setAttribute('class','sym_wval') ;
			valcell.setAttribute('id',valueCell) ;
		}
		node.style.overflow = "visible" ;
		node.style.height = themesArray[node.data.theme].widget_height ;
		node.style.width = "0" ;
		
		node.data.info_w = grow2.offsetWidth ;
		if(Nav.name=='MSIE'){
			node.data.info_y = parseInt(abs_y(grow2,document))+parseInt(node.offsetHeight)+11 ;
		} else {
			//node.data.info_y = abs_y(grow2,document)+11;
			node.data.info_y = parseInt(abs_y(node,document))+parseInt(node.offsetHeight)+11 ;
		}
		
		//node.data.info_x = abs_x(grow2,document);
		if(Nav.name=='MSIE'){
			node.data.info_x = abs_x(wtable,document.body.firstChild) ;
		} else {
			node.data.info_x = node.offsetLeft ;
		}
		/**
		*	On cree le bloc infos
		**/
		var winfo = '<div class="sym_winfo" id="infos_'+node.data.PostId+'" style="margin:0;z-index:3;position:absolute;height:0;left:'+node.data.info_x+'px;top:'+node.data.info_y+'px;width:'+node.data.info_w+'px;overflow:hidden;">' ;
		if(themesArray[node.data.theme].msg_html != ''){
			winfo += '<div style="background-color:#ffffff;">'+themesArray[node.data.theme].msg_html+'</div>' ;
		} else {
			winfo += '<div style="background-color:#ffffff;"></div>' ;
		}
		winfo += '</div>' ;
		
		node.innerHTML += winfo ;
		var gr = document.getElementById('slider_'+node.data.Post_Id) ;
		var wi = document.getElementById('infos_'+node.data.PostId) ;
		wi.widgetNode = node ;
		//wi.style.left = node.data.info_x+'px';
		
		node.data.info_h = wi.firstChild.offsetHeight+2 ;
		animate('infos_'+node.data.PostId, null, null, null, 0, 5,null);
		wi.onmouseout = infoMouseOut ;
		wi.onmouseover = infoMouseOver ;
		gr.style.overflow = "visible";
		gr.style.height = "0px";
		
		//var lo = document.getElementById('sym_wlogo_'+node.data.PostId);
		//lo.innerHTML = node.data.info_x+' '+node.data.info_y+' '+node.data.info_w+' '+node.data.info_h;
		node.data.initialize();
		
		for( var i=0 ; i<node.data.cptIndices.length;i++){
			var iconName = 'symicon_'+node.data.BlogId+'_'+node.data.PostId+'_'+node.data.cptIndices[i];
			//image
			var icoimg = document.getElementById(iconName);
			icoimg.widgetNode = node ;
			icoimg.style.cursor = 'pointer' ;
			icoimg.style.display = 'block' ;
			icoimg.style.position = 'relative' ;
			icoimg.typid = node.data.cptIndices[i] ;
			icoimg.xhr = getXhr() ;
			icoimg.onmouseover = imageMouseOver ;
			icoimg.onmouseout = imageMouseOut ;
			icoimg.onclick = imageClick ;
		}
		
		
		node.data.refresh() ;
	}
		
	/**
	*	C'est ici que l'on lance la création des widgets
	**/
	var w = getElementsByClassName(widgetBaseName,"div",document);
	for( var i=0 ; i< w.length ; i++ ){
		
		createWidget(w[i],i, new Array(4,5));
	}
}




//
// addLoadEvent()
// Adds event to window.onload without overwriting currently assigned onload functions.
// Function found at Simon Willison's weblog - http://simon.incutio.com/
//
function addLoadEvent(func) {	
	var oldonload = window.onload;
	if (typeof window.onload != 'function'){
    	window.onload = func;
	} else {
		window.onload = function(){
		oldonload();
		func();
		}
	}

}

addLoadEvent(runSymetrix);	// run runSymetrix onLoad
