/*  Javascript code to detect the platform &/or browser (if needed later) and then 
    assign an appropriate value to the variable.  Variable gets added to the page
    as the class of a wrapper div.  Used classes so that we could add multiple 
 */

   var agent=navigator.userAgent.toLowerCase();
   var is_iphone = (agent.indexOf('iphone') !=-1 || agent.indexOf('ipod') != -1 );
   var is_ipad = (agent.indexOf('ipad') != -1);
   var alt_display = new String('');
	var isAppleDevice = false ;
	
   if ( is_iphone ) 
	{
	   alt_display = alt_display + 'iphone';
		isAppleDevice = true ;
	}
	else 
	   if ( is_ipad ) 
		{
	      alt_display = alt_display + 'ipad';
			isAppleDevice = true ;
		}
   
   if ( alt_display.length == 0 )
	   alt_display = 'computer';      // for now this does nothing
