var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826966&x=1535',
		'title': '',
		'imageId': '67826966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826969&x=1535',
		'title': '',
		'imageId': '67826969',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826971&x=1535',
		'title': '',
		'imageId': '67826971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826961&x=1535',
		'title': '',
		'imageId': '67826961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826962&x=1535',
		'title': '',
		'imageId': '67826962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826965&x=1535',
		'title': '',
		'imageId': '67826965',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826960&x=1535',
		'title': '',
		'imageId': '67826960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826967&x=1535',
		'title': '',
		'imageId': '67826967',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826963&x=1535',
		'title': '',
		'imageId': '67826963',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826970&x=1535',
		'title': '',
		'imageId': '67826970',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826964&x=1535',
		'title': '',
		'imageId': '67826964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3916975&docid=67826968&x=1535',
		'title': '',
		'imageId': '67826968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3916975';

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