/*
 PROPRIETARY RIGHTS NOTICE:  All rights reserved. No part of the code
 (source,object,executable), screen-images, report-formats, database
 schemas, and documentation of this program may be reproduced or transmitted
 in any manner without the License or expressed written permission of
 TEDS, LLC  P.O. Box 700, Atkins, VA 24311.
 All parts of the code (source,object,executable), screen-images,
 database schemas, report-formats, and documentation of this program
 are considered proprietary information and should only be accessible
 by those identified in the License.
 */

//Checks to see if privacy policy tag is an object.  If it is an object it will be a PDF.
function adjustCSSforObjectInPrivacyPolicy (){
  var privacyPolicyTag = $('#privacyPolicy').children().children()[0];
  if($('privacyPolicyTag') && $('privacyPolicyPanel')){
    if($('#privacyPolicy').children()){
      if($('#privacyPolicy').children().children()[0]){
        if($('#privacyPolicy').children().children()[0].nodeName == "OBJECT"){
          $('#privacyPolicy').children().children().css({'min-height' : '0px'});
          $('#privacyPolicy').children().children().attr("height", $('#privacyPolicyPanel').height());
          $('#privacyPolicy').children().children().attr("width", $('#privacyPolicyPanel').width());          
        }   
      }
    }
	 
  }
}