function randomBackground(backgrounds)
{
  if(backgrounds === undefined) 
    backgrounds ='2,3,4,5,6,7,8,9,10,11,12,13,14,15,16'
 theSplit =backgrounds.split(',')
  backgroundNumber=theSplit[Math.floor(Math.random()*theSplit.length)]
  $('.innerMain').css('backgroundImage','URL(\''+jQueryFilesPath+'/global/images/footers/footerBg'+backgroundNumber+'.jpg\')')

}




$(document).ready(function(){

  $('#q').focus(function(){ 
    $(this).css({'background-color':'#FFFFFF'})
  })

  $('#q').blur(function(){
    if($(this).val()=='')
$(this).css({'background-color':'transparent'})
  })

 $('#q').each(function(){
   if($(this).val()!='')
    $(this).css({'background-color':'#FFFFFF'})
  })

 $('#q').keypress(function(){
   if($(this).val()!='')
    $(this).css({'background-color':'#FFFFFF'})
  })

 $('#q').change(function(){
   if($(this).val()!='')
    $(this).css({'background-color':'#FFFFFF'})
  })

 $('#q').change(function(){
   if($(this).val()!='')
    $(this).css({'background-color':'#FFFFFF'})
  })

});


$(document).ready(function(){

$("#enqButton").click(function(){
  
    var enqText = "";
   if (jQueryMicrositeObjName == 'en')
       enqText = "I would like to receive more information about: " + $("h1").text();

   if (jQueryMicrositeObjName == 'es')
       enqText = "Deseo recibir más información sobre: " + $("h1").text();

   if (jQueryMicrositeObjName == 'pt')
       enqText = "I would like to receive more information about: " + $("h1").text();

 
 
    $.cookies.set( 'enqValue', enqText );
  });
});




