function checktext(inp, event) {

	if (event == 'focus') {
		if (inp.value == 'Catalogue Search') {
      inp.value = '';
    }
	}

	if (event == 'blur') {
		if (inp.value == '') {
      inp.value = 'Catalogue Search';
    }
	}

}

var status1 =0 ;
var status2 =0 ;
var status3 =0 ;

function showHero(hId,nMode) {

  if (hId==1 || hId==2 || hId==3) {
    myVar = eval('status'+hId)
    //alert('myVar = '+myVar)
  }

  if (myVar!=nMode) {
    sHero     = 'hero'+hId ;
    sHeroText = 'herotext'+hId ;
    sDisp = nMode==1 ? 'block' : 'none';
    document.getElementById(sHero).style.display = sDisp;
    document.getElementById(sHeroText).style.display = sDisp;
  } else {
    return;
  }

  if (hId==1) {
    status1 = nMode
  }

  if (hId==2) {
    status2 = nMode
  }

  if (hId==3) {
    status3 = nMode
  }

}
