// JavaScript Document
$(document).ready(function() {
	$('.fadeThis').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 0);
	  $(this).hover(function () {
	    $span.stop().fadeTo(800, 1);
	  }, function () {
	    $span.stop().fadeTo(800, 0);
	  });
	});
	$('.fadeThis1').append('<span class="hover"></span>').each(function () {
	  var $span = $('> span.hover', this).css('opacity', 0);
	  $(this).hover(function () {
	    $span.stop().fadeTo(800, 1);
	  }, function () {
	    $span.stop().fadeTo(800, 0);
	  });
	});
});



function showme(secid, tabid, cnt)
{
//for(i=1; i<=2; i++)
//{	
    i=cnt;
	ovsecid="ov"+i;
	document.getElementById(ovsecid).style.display="none";
	srsecid="sr"+i;
	document.getElementById(srsecid).style.display="none";
	ofsecid="of"+i;
	document.getElementById(ofsecid).style.display="none";
	prsecid="pr"+i;
	document.getElementById(prsecid).style.display="none";
//}

document.getElementById(secid).style.display="block";
setclass(i);
getClass=document.getElementById(tabid).className;

document.getElementById(tabid).className=getClass+"-active";

}
function setclass(j)
{
  novtab="ovtab"+j;
  document.getElementById(novtab).className="prod-detail-btn-overview";
   nsrtab="srtab"+j;
  document.getElementById(nsrtab).className="prod-detail-btn-system";
  // noftab="oftab"+j;
  //document.getElementById(noftab).className="prod-detail-btn-offer";
   //nprtab="prtab"+j;
  //document.getElementById(nprtab).className="prod-detail-btn-price";
}
