function printTooit(imageUrl, width, height){
	var code =
	  '\n<div style="width:'+width+'px;height:'+height+'px;">'
	+ '\n  <div id="tooit_logo" style="width:'+width+'px;height:'+height+'px;">'
	+ '\n    <a onClick="javascript:showTooit();" href="javascript:;"><img src="'+imageUrl+'" border="0"></a>'
	+ '\n  </div>'
	+ '\n</div>'
	+ '\n<script type="text/javascript">'
	+ '\n  var width=screen.width;'
	+ '\n  var height=screen.height;'
	+ '\n  var top=(screen.height-height)/2;'
	+ '\n  var left=(screen.width-width)/2;'
	+ '\n  function showTooit(){'
	+ '\n    this.blur();'
	+ '\n    $("div#tooit_logo").slideUp();'
	+ '\n    window.open("http://www.tooit.com","tooit","top="+top+",left="+left+",width="+width+",height="+height+",scrollbars=1,resizable=1");'
	+ '\n    $("div#tooit_logo").slideDown();'
	+ '\n  }'
	+ '\n  setInterval(\'$("div#tooit_logo").fadeOut(2000).fadeIn(2000);\', 10000);'
	+ '\n</script>'
	//alert(code);
	document.write(code);
}

