<!--

//************ Cufon ************ 
Cufon.replace('h1.pagetitle', { fontFamily: 'helvneue' });
Cufon.replace('h1.lighttitle', { fontFamily: 'euphemia' });
Cufon.replace('h1.paneltitle', { fontFamily: 'helvneue' });
Cufon.replace('.panel_form h1', { fontFamily: 'helvneue' });
Cufon.replace('.form_title h1', { fontFamily: 'helvneue' });
Cufon.replace('.box_content h1', { fontFamily: 'helvneue' });
Cufon.replace('.box_content h2.price', { fontFamily: 'helvneue' });
Cufon.replace('.box_content h1.light', { fontFamily: 'euphemia' });
Cufon.replace('.sliderblock h2 span', { fontFamily: 'helvneue' });
Cufon.replace('.shade_content h1', { fontFamily: 'helvneue' });
Cufon.replace('.shade_content h2', { fontFamily: 'helvneue' });
Cufon.replace('.shade_content h3', { fontFamily: 'helvneue' });
Cufon.replace('.hostingcolumn h1', { fontFamily: 'helvneue' });
Cufon.replace('.hostingcolumn h2.price', { fontFamily: 'helvneue' });
Cufon.replace('table.packages td.price', { fontFamily: 'helvneue' });

//********* jQuery **********
function loadImageNav(){
  if($('#image_nav').children('img').height() > 0){
    var h = ($('#image_nav').children('img').height());
    var w = ($('#image_nav').children('img').width());
    var hpos = Math.round(h/2)-15;
    var wpos = Math.round(w/2);

    $('#image_nav .arrow').css({'margin-top':hpos+'px','display':'block'})
    $('#next').css('margin-left',((wpos+311)+10)+'px');
    $('#prev').css('margin-left',((311-wpos)-36)+'px');
  }
}

$(document).ready(function(){
  $('#image_nav ul li').last().css({'border':'0','margin-right':'0','padding-right':'0'});
  $('#page_header ul.global li').last().css({'border':'0','margin-right':'4px'});
  $('#page_footer ul.nav li').last().css({'border':'0'});
  $('#page_footer ul.logos li').last().css({'padding':'0'});
  $('.hostingcolumn').last().css({'margin':'0'});

  $('.box_content').each(function(){ $(this).children('p').first().css('padding-top','5px') });
  var c=0; $('.box_content').each(function(){ c++; if((c%3) === 0){ $(this).css({'margin-right':'0'}); } });

  $('.morelink').click(function(){
    var id = $(this).attr('id') + "_details";
    var txt = $(this).attr('name');

    if($('#' + id).css('display') == "none"){
      $(this).addClass('selmorelink').html('Less ' + txt);
      $('#' + id).slideDown('fast');
    } else {
      $(this).removeClass('selmorelink').html('More ' + txt);
      $('#' + id).slideUp('fast');
    }
  });

  $('.showlink').click(function(){
    var id = $(this).attr('id') + "_details";
    var txt = $(this).attr('name');

    if($('#' + id).css('display') == "none"){
      $(this).addClass('selshowlink').html('Hide ' + txt);
      $('#' + id).slideDown('fast');
    } else {
      $(this).removeClass('selshowlink').html('Show ' + txt);
      $('#' + id).slideUp('fast');
    }
  });
  
  $('table.packages tr').last().children('td').each(function(){ $(this).css({'border':'0'}) })

});

//-->
