hs.onSetClickEvent = function ( sender, e ) {
   // set the onclick for the element
   if (e.type == 'iframe') {e.element.onclick = function () {
      return hs.htmlExpand(this, {objectType: 'iframe', width:720 });
   }
   }else if (e.type == 'ajax' || e.type == 'swf') {e.element.onclick = function (){
      return hs.htmlExpand(this, { objectType: 'ajax', width: 300 });
   }
   }else {e.element.onclick = function () {
      return hs.expand(this, { });
	}
   }
   // return false to prevent the onclick being set once again
   return false;
} 
