/*jQuery.expr[':'].regex = function(elem, index, match) {
    var matchParams = match[3].split(','),
        validLabels = /^(data|css):/,
        attr = {
            method: matchParams[0].match(validLabels) ? 
                        matchParams[0].split(':')[0] : 'attr',
            property: matchParams.shift().replace(validLabels,'')
        },
        regexFlags = 'ig',
        regex = new RegExp(matchParams.join('').replace(/^\s+|\s+$/g,''), regexFlags);
    return regex.test(jQuery(elem)[attr.method](attr.property));
}
*/
$(document).ready(function() {
  // equal hights
   var els = $('.eqheight');
   var maxHeight = 0;
   els.each(function() {
      if ($(this).height() > maxHeight)
      {
        maxHeight = $(this).height();
      }
   });
    els.each(function() {
      $(this).height(maxHeight);
    });
  
  var isMSIE = /*@cc_on!@*/false;

  // rounded corners
  $('.rounded').each(function() {
    if (isMSIE && ($(this).height() % 2))
    { 
      $(this).height($(this).height() + 1);
    }
    
    $(this).append("<img src=\"/si/c-lt.gif\" alt=\"\" class=\"c-lt\" /><img src=\"/si/c-rt.gif\" alt=\"\" class=\"c-rt\" /><img src=\"/si/c-rb.gif\" alt=\"\" class=\"c-rb\" /><img src=\"/si/c-lb.gif\" alt=\"\" class=\"c-lb\" />");
    });   
});