function pageContentServicesType(cType)
{
  var tdWidth;

  if ('wide' == cType)
    tdWidth = ' style="width: 33%"';
  else if ('normal' == cType)
    tdWidth = ' style="width: 50%"';
  else if ('narrow' == cType)
    tdWidth = '';

  code = '\
    <table class="center">\
      <tr>\
        <td'+tdWidth+' class="padded">\
          <b>Consultation & Delegation:<\/b>\
          <ul>\
            <li>Analysis & Requirements<\/li>\
            <li>Restrictions & Limitations<\/li>\
            <li>Resources & Availability<\/li>\
            <li>Hardware/Software Procurement<\/li>\
        <\/td>';

  if ('narrow' == cType)
    code = code+'<\/tr><tr>';

  code = code +'\
        <td'+tdWidth+' class="padded">\
          <b>Infrastructures:<\/b>\
          <ul>\
            <li>Information Systems<\/li>\
            <li>Systems Integration<\/li>\
            <li>Communication Channels<\/li>\
            <li>Storage & Security<\/li>\
            <li>Hardware & Software<\/li>\
          <\/ul>\
        <\/td>';

  if ('narrow' == cType || 'normal' == cType)
    code = code+'<\/tr><tr>';

  code = code +'\
        <td'+tdWidth+' class="padded">\
          <b>Mechanical Engineering:<\/b>\
          <ul>\
            <li>Structural Analysis<\/li>\
            <li>Drafting<\/li>\
            <li>Technical Drawing<\/li>\
            <li>Computer-Aided Drafting (CAD)<\/li>\
          <\/ul>\
        <\/td>';

  if ('narrow' == cType || 'wide' == cType)
    code = code+'<\/tr><tr>';

  code = code +'\
        <td'+tdWidth+' class="padded">\
          <b>Application Development:<\/b>\
          <ul>\
            <li>Software Engineering<\/li>\
            <li>Analysis<\/li>\
            <li>Specification<\/li>\
            <li>Design<\/li>\
            <li>Implementation<\/li>\
            <li>Testing<\/li>\
            <li>Integration<\/li>\
            <li>Maintenance<\/li>\
          <\/ul>\
        <\/td>';

  if ('narrow' == cType || 'normal' == cType)
    code = code+'<\/tr><tr>';

  code = code +'\
        <td'+tdWidth+' class="padded">\
          <b>Network Deployment:<\/b>\
          <ul>\
            <li>Analysis & Design<\/li>\
            <li>Development & Expansion<\/li>\
            <li>System Analysis<\/li>\
            <li>Workload Calculation<\/li>\
          <\/ul>\
        <\/td>';

  if ('narrow' == cType)
    code = code+'<\/tr><tr>';

  code = code +'\
        <td'+tdWidth+' class="padded">\
          <b>Web Design & Hosting:<\/b>\
          <ul>\
            <li>Customer Interface<\/li>\
            <li>Web Graphics<\/li>\
            <li>Layout Design<\/li>\
            <li>Archetype Analysis<\/li>\
          <\/ul>\
        <\/td>';

  if ('narrow' == cType || 'normal' == cType || 'wide' == cType)
    code = code+'<\/tr><tr>';

  if ('wide' == cType)
    code = code +'\
        <td'+tdWidth+' class="padded">\
        <\/td>';

  code = code +'\
        <td'+tdWidth+' class="padded">\
          <b>E-Commerce Solutions:<\/b>\
          <ul>\
            <li>Scope Definition<\/li>\
            <li>Location & Hosting<\/li>\
            <li>Business Model<\/li>\
            <li>Market Branding<\/li>\
            <li>Strategy Implementation<\/li>\
          <\/ul>\
        <\/td>';

  if ('normal' == cType || 'wide' == cType)
    code = code +'\
        <td'+tdWidth+' class="padded">\
        <\/td>';

  code = code +'\
      <\/tr>\
    <\/table>';

  return code;
}

function pageContentServices()
{
  if ((500 > commonResoCurrentWidth && 500 > commonResoPrevWidth) || (500 < commonResoCurrentWidth && 500 < commonResoPrevWidth))
  {}
  else
  {
    if (500 < commonResoCurrentWidth || 1 > commonResoCurrentWidth)
      document.getElementById('elServiceContent').innerHTML = pageContentServicesType('wide');
    else if (380 < commonResoCurrentWidth && 500 > commonResoCurrentWidth)
      document.getElementById('elServiceContent').innerHTML = pageContentServicesType('normal');
  }

  if ((380 > commonResoCurrentWidth && 380 > commonResoPrevWidth) || (380 < commonResoCurrentWidth && 380 < commonResoPrevWidth))
  {}
  else
  {
    if (380 < commonResoCurrentWidth && 500 > commonResoCurrentWidth)
      document.getElementById('elServiceContent').innerHTML = pageContentServicesType('normal');
    else if (380 > commonResoCurrentWidth && 1 < commonResoCurrentWidth)
      document.getElementById('elServiceContent').innerHTML = pageContentServicesType('narrow');
  }
}

