			var pit = 	{
							VERSION:		'1.0.1',
							COOKIE:			'hera_postit',
							COOKIEDAYS:		30,
							container:		'postit_container',
							div:			'postit_div',
							cls:			'postit_cls',
							cls_img:		'postit_cls_img',
							img:			'postit_img',
							shadow:			'postit_shadow',
							front:			'postit_front',
							txt:			'postit_txt',								
							init:			false,
							x:				null,
							y:				null,
							DELAY:			200,
							IE_FIX:			-3,
							LOW_FIX:		-12,
							CENTERED:		-999,
							BLOCKED:		1,
							FORCEBLOCK:		0,
							minHeight:		90,
							hh:				50,
							cdh:			5,
							bWidth:			0,
							bHight:			0,
							_pos:			null,
							_ax:			null,
							_ay:			null,
							inspect:		function(o){for(var k in o){if(!confirm(k+"\n"+o[k]))break;}},
							$:				function(id) {
												if(document.getElementById(id)!='undefined') {
													return document.getElementById(id);
												}
												return null;
											},
							fx:				{
												x:				30,
												y:				460,
												mode:			'absolute',
												duration:		0.5,
												afterFinish:	function(){
																	pit.positionit();
																	pit.x=''+pit.$(pit.div).style.left;
																	pit.y=''+pit.$(pit.div).style.top;
																}
											},
							toggleEffect:	function(){												
												var xx=''+pit.$(pit.div).style.left;
												var yy=''+pit.$(pit.div).style.top;
												if (pit.init==false || (pit.init=true && !(pit.x==xx && pit.y==yy))) {
													pit.init = true;
													pit.startEffect();
													if (pit.getCookie(pit.COOKIE)==null) {
														pit.setCookie(pit.COOKIE,'1',pit.COOKIEDAYS);
														pit.FORCEBLOCK = 1;
													}
												}
											},
							startEffect:	function(){
												new Effect.Move (pit.$(pit.div),pit.fx);
											},
							setCookie:		function(sNome, sValore, iGiorni) {
												  var dtOggi = new Date();
												  var dtExpires = new Date();
												  dtExpires.setTime(dtOggi.getTime()+24*iGiorni*3600000);
												  document.cookie = sNome+'='+escape(sValore)+'; expires='+dtExpires.toGMTString();
											},
							getCookie:		function(sNome) {
												var asCookies = document.cookie.split('; ');
												for (var iCnt = 0; iCnt < asCookies.length; iCnt++){
													var asCookie = asCookies[iCnt].split('=');
													if (sNome==asCookie[0]) return unescape(asCookie[1]);
												}
												return(null);
											},
							delCookie:		function(sNome) {setCookie(sNome,'');},
							browserSize:	function() {
												var myWidth=0,myHeight=0;
												if(typeof(window.innerWidth)=='number') {
													myWidth = window.innerWidth;
													myHeight = window.innerHeight;
												}else if(document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight)) {
													myWidth = document.documentElement.clientWidth;
													myHeight = document.documentElement.clientHeight;
												}else if(document.body && ( document.body.clientWidth || document.body.clientHeight)) {
													myWidth = document.body.clientWidth;
													myHeight = document.body.clientHeight;
												}
												pit.bWidth=myWidth;
												pit.bHeight=myHeight;
											},
							isBlocked:		function(pos) {if(pos==pit.BLOCKED || pit.FORCEBLOCK==1)return true;return false;},
							positionit:		function() {
												if (pit._pos!=null)
													pit.reposition(pit._pos,pit._ax,pit._ay);
											},
							reposition:		function(pos,ax,ay) {
												pit._pos = pos;
												pit._ax = ax;
												pit._ay = ay;
												if (pit.isBlocked(pos)) {
													var b=pit.destPos();
													pit.$(pit.div).style.left=b.x+'px';
													pit.$(pit.div).style.top=b.y+'px';													
												}
												else {
													if (ax==pit.CENTERED) {pit.$(pit.div).style.left=(Math.floor(pit.bWidth/2)-Math.floor(pit.$(pit.txt).clientWidth/2))+'px';}
													else {pit.$(pit.div).style.left=ax+'px';}
													if (ay==pit.CENTERED) {pit.$(pit.div).style.top=(Math.floor(pit.bHeight/2)-Math.floor(pit.$(pit.txt).clientHeight/2))+'px';}
													else {pit.$(pit.div).style.top=ay+'px';}
												}
											},
							destPos:		function() {
												var bx,by;
												var pitc = pit.$(pit.container); 
												if (BrowserDetect.browser=='Opera') {
													by = (pitc.offsetTop);
													bx = (pitc.offsetLeft);
												} else {
													by = (pitc.offsetTop +pitc.scrollTop);
													bx = (pitc.offsetLeft +pitc.scrollLeft);
												}
												return {x:bx,y:by};
											},
							writeTpl_low:	function(bx,by,text,img_x,img_front,img_shadow){
												var s='';
												s+='<div id="postit_div" style="z-index:9999;position:absolute;top:'+by+'px;left:'+bx+'px; width:165px;">';
												s+='<img style="opacity:.15;filter:alpha(opacity=15);" id="postit_shadow" width="165" height="152" src="'+img_shadow+'" border="0" />';
												s+='<div id="postit_front" style="position:relative;left:0px;top:-170px;">';
												s+='<img id="postit_img" width="165" height="152" src="'+img_front+'" border="0" />';
												s+='<div id="postit_cls" style="position:relative;top:-150px;left:140px; width:15px;">';
												s+='<a style="text-decoration:none;" href="javascript:pit.toggleEffect()"><img id="postit_cls_img" src="'+img_x+'" width="13" height="11" border="0" /></a></div>';
												s+='<div id="postit_txt" style="position:relative;top:-150px;left:18px; width:130px;">';
												s+=text;
												s+='</div></div></div>';
												document.write(s);
											},
							init_low:		function(pos,ax,ay,text,img_x,img_front,img_shadow){
												var b=pit.destPos();
												pit.fx.x=b.x;
												pit.fx.y=b.y;
												pit.writeTpl_low(ax,ay,text,img_x,img_front,img_shadow);
												window.setTimeout(function(){
													pit.reposition(pos,ax,ay);
													var th=pit.$(pit.txt).clientHeight;
													if (th<pit.minHeight) th = pit.minHeight;
													var ih=pit.$(pit.cls_img).height;
													if (!pit.isBlocked(pos)) Drag.init(pit.$(pit.div),pit.$(pit.div));
													pit.$(pit.container).style.height = th+ih+pit.hh+pit.cdh+'px';
													pit.$(pit.div).style.height = th+ih+pit.hh+'px';
													pit.$(pit.img).style.height = th+ih+pit.hh+'px';
													pit.$(pit.shadow).style.height = (th+ih+pit.hh)+'px';
													pit.$(pit.cls).style.top = -(th+pit.hh)+'px';
													pit.$(pit.txt).style.top = -(th+pit.hh)+'px';
													var iefix = 0;
													if (document.all) iefix = pit.IE_FIX;
													pit.$(pit.front).style.top = -(th+pit.hh)+pit.LOW_FIX+iefix+'px';
												},pit.DELAY);
											},
							writeTpl_hi:	function(bx,by,text,img_x,img_full){
												var s='';
												s+='<div id="postit_div" style="z-index:9999;position:absolute;top:'+by+'px;left:'+bx+'px; width:165px;">';
												s+='<img id="postit_img" width="165" height="11" src="'+img_full+'" border="0" />';
												s+='<div id="postit_cls" style="position:relative;top:-150px;left:140px; width:15px;">';
												s+='<a href="javascript:pit.toggleEffect()"><img id="postit_cls_img" src="'+img_x+'" width="13" height="11" border="0" /></a></div>';
												s+='<div id="postit_txt" style="position:relative;top:-150px;left:18px; width:130px;">';
												s+=text;
												s+='</div></div>';
												document.write(s);
											},
							init_hi:		function(pos,ax,ay,text,img_x,img_full){
												var b=pit.destPos();
												pit.fx.x=b.x;
												pit.fx.y=b.y;
												pit.writeTpl_hi(ax,ay,text,img_x,img_full);
												window.setTimeout(function(){
													pit.reposition(pos,ax,ay);
													var th=pit.$(pit.txt).clientHeight;
													var ih=pit.$(pit.cls_img).height;
													if (!pit.isBlocked(pos)) Drag.init(pit.$(pit.div),pit.$(pit.div));
													pit.$(pit.container).style.height = th+ih+pit.hh+pit.cdh+'px';
													pit.$(pit.div).style.height = th+ih+pit.hh+'px';
													pit.$(pit.img).style.height = th+ih+pit.hh+'px';
													pit.$(pit.cls).style.top = -(th+pit.hh)+'px';
													pit.$(pit.txt).style.top = -(th+pit.hh)+'px';
												},pit.DELAY);
											},
							init:			function(pos,ax,ay,text,img_x,img_full,img_front,img_shadow){
												if (pit.getCookie(pit.COOKIE)!=null)
													pit.FORCEBLOCK = 1;
												pit.browserSize();													
												if ((''+navigator.appVersion).indexOf('MSIE 6')>=0) pit.init_low(pos,ax,ay,text,img_x,img_front,img_shadow);
												else pit.init_hi(pos,ax,ay,text,img_x,img_full);
											}
						};
window.onresize = pit.positionit;
