var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773463&x=2037',
		'title': '',
		'imageId': '69773463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773460&x=2037',
		'title': '',
		'imageId': '69773460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773462&x=2037',
		'title': '',
		'imageId': '69773462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773465&x=2037',
		'title': '',
		'imageId': '69773465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773459&x=2037',
		'title': '',
		'imageId': '69773459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773455&x=2037',
		'title': '',
		'imageId': '69773455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773458&x=2037',
		'title': '',
		'imageId': '69773458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773457&x=2037',
		'title': '',
		'imageId': '69773457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773464&x=2037',
		'title': '',
		'imageId': '69773464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773466&x=2037',
		'title': '',
		'imageId': '69773466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773461&x=2037',
		'title': '',
		'imageId': '69773461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002537&docid=69773456&x=2037',
		'title': '',
		'imageId': '69773456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002537';

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";
	})
}
