var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886385&x=838',
		'title': '',
		'imageId': '66886385',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886391&x=838',
		'title': '',
		'imageId': '66886391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886390&x=838',
		'title': '',
		'imageId': '66886390',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886389&x=838',
		'title': '',
		'imageId': '66886389',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886386&x=838',
		'title': '',
		'imageId': '66886386',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886392&x=838',
		'title': '',
		'imageId': '66886392',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886395&x=838',
		'title': '',
		'imageId': '66886395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886396&x=838',
		'title': '',
		'imageId': '66886396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886397&x=838',
		'title': '',
		'imageId': '66886397',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886388&x=838',
		'title': '',
		'imageId': '66886388',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3880301&docid=66886398&x=838',
		'title': '',
		'imageId': '66886398',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3880301';

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