function gotoPage(page) {
   var f = document.getElementById('_pagerForm');
   var p = document.getElementById('_pagerFormPage');
   p.value = page;
   f.submit();
 }


/*// WRAPPER FOR LONG WORDS   ------Begin---------------------
 USAGE
 $j("#bodyPanelContent  div, a, span, tr, td").children().not("script, object, meta, body, link, style").each(function (i) {
 if ($j(this).children().size() == 0) {
 wrap_long_words(this);
 }
 });
 */
function wrap_long_words(obj) {
   var value = $j(obj).html();
        // MAX length of the word
   var max = 11;
   if (value.length > max) {
    var w = new Array();
    var n=0;
       w = value.split(' ');
    for (n=0; n< w.length; n++)
 {
     var k = w[n];
        if (k.length > max) {

            var val = '';
            var f = 0;
            while (ch = k.substr(f, 1)) {
                val += ch;
                f ++;
                if (f % max == 0) val += '&#8203;';
            }
            w[n] = val;

        }
 }
    $j(obj).html(w.join(' '));
   }
   return true;
}




// WRAPPER FOR LONG WORDS   ------end---------------------

  $j(document).ready(function() {

  $j("a, span").each(function (i) {
  if ($j(this).children().size() == 0) {
  wrap_long_words($j(this));
  }
  });

  $j("a").addClass("link");
  //WORD WRAPPER
  $j("#maincontent div, tr, td").children().not("script, object, meta, body, link, style, textarea").each(function (i) {
  if ($j(this).children().size() == 0) {
  wrap_long_words($j(this));
  }
  });

      //Popup hover function

              $j(".imgblk").hover(function () {
                
                  $j(this).find(".bottompopup").show();
              }, function () {
                  $j(this).find(".bottompopup").hide();
              });




  });


