var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131959&x=5157',
		'title': '',
		'imageId': '71131959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131964&x=5157',
		'title': '',
		'imageId': '71131964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131962&x=5157',
		'title': '',
		'imageId': '71131962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131963&x=5157',
		'title': '',
		'imageId': '71131963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131961&x=5157',
		'title': '',
		'imageId': '71131961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131968&x=5157',
		'title': '',
		'imageId': '71131968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131967&x=5157',
		'title': '',
		'imageId': '71131967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131966&x=5157',
		'title': '',
		'imageId': '71131966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131965&x=5157',
		'title': '',
		'imageId': '71131965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131960&x=5157',
		'title': '',
		'imageId': '71131960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069783&docid=71131958&x=5157',
		'title': '',
		'imageId': '71131958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069783';

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