/**
 * @version 1.0.0-latest
 * 
 * @copyright Copyright 2010 WnG Solutions Sarl, all rights reserved
 * @author Daniel Calderini <daniel [DOT] calderini [AT] wng [DOT] ch>
 * @package WnG Solutions
 *
 * Note: Cette librairie requiert jQuery > 1.4
 */
if(typeof WnG!='object')
WnG={};WnG.config={};WnG.init=function(){};WnG.var_dump=function(data,label,doNotPrint){if($('.wng-debug-js').size()==0){$('body').prepend($('<div></div>').addClass('wng-debug-js'));}
if(!label)
var label='-';if(typeof data=='object'){var content='<span class="wng-debug-label">'+label+' => </span><em>'+typeof data+'</em>(<span class="wng-debug-sub">';for(var i in data){content+=''+WnG.var_dump(data[i],i,true);}
content+='</span>)<br />';}else{var content='<span class="wng-debug-label">'+label+' => </span><span class="wng-debug-value"><em>'+typeof data+'</em>('+data+')</span><br />';}
if(doNotPrint)
return content;else
$('.wng-debug-js').append(content);};WnG.lib={collect:function(target,source){for(property in source)
target[property]=source[property];return target;},time:function(){return new Date().getTime();}};$('document').ready(function(){WnG.init();});
