flippingBook.pages = [
{% for image in cover_pages %}
  "{{ MEDIA_URL }}sections/{{ image }}",
{% endfor %}

{% for image in images %}
  "{{ MEDIA_URL }}sections/{{ image }}"{% if forloop.revcounter0 %},{% endif %}
{% endfor %}
];

flippingBook.contents = [
{% for item in contents %}
	[ "{{ item.0 }}", {{ item.1 }} ]{% if forloop.revcounter0 %},{% endif %}
{% endfor %}    
];

// define custom book settings here
flippingBook.settings.zoomPath = "{{ MEDIA_URL }}sections/large/",
flippingBook.settings.bookWidth = {{ sizes.normal.0 }} * 2;
flippingBook.settings.bookHeight = {{ sizes.normal.1 }};
flippingBook.settings.zoomImageWidth = {{ sizes.large.0 }};
flippingBook.settings.zoomImageHeight = {{ sizes.large.1 }};
flippingBook.settings.downloadURL = "{{ pdf_url }}";
flippingBook.settings.url_prefix = "{{ MEDIA_URL }}/binder/flip_book/";
flippingBook.settings.pageBackgroundColor = 0x5b7414;
flippingBook.settings.backgroundColor = 0x83a51c;
flippingBook.settings.zoomUIColor = 0x919d6c;
flippingBook.settings.useCustomCursors = false;
flippingBook.settings.dropShadowEnabled = false,

flippingBook.settings.flipSound = ""; 
flippingBook.settings.flipCornerStyle = "first page only";
flippingBook.settings.zoomHintEnabled = true;

// default settings can be found in the flippingbook.js file
flippingBook.create();



