var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501542&x=5558',
		'title': '',
		'imageId': '69501542',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501550&x=5558',
		'title': '',
		'imageId': '69501550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501548&x=5558',
		'title': '',
		'imageId': '69501548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501541&x=5558',
		'title': '',
		'imageId': '69501541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501554&x=5558',
		'title': '',
		'imageId': '69501554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501540&x=5558',
		'title': '',
		'imageId': '69501540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501547&x=5558',
		'title': '',
		'imageId': '69501547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501544&x=5558',
		'title': '',
		'imageId': '69501544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501545&x=5558',
		'title': '',
		'imageId': '69501545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501549&x=5558',
		'title': '',
		'imageId': '69501549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501551&x=5558',
		'title': '',
		'imageId': '69501551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501552&x=5558',
		'title': '',
		'imageId': '69501552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501553&x=5558',
		'title': '',
		'imageId': '69501553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501555&x=5558',
		'title': '',
		'imageId': '69501555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501546&x=5558',
		'title': '',
		'imageId': '69501546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3990625&docid=69501543&x=5558',
		'title': '',
		'imageId': '69501543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3990625';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
