var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165006&x=1930',
		'title': '',
		'imageId': '68165006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165007&x=1930',
		'title': '',
		'imageId': '68165007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165008&x=1930',
		'title': '',
		'imageId': '68165008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165009&x=1930',
		'title': '',
		'imageId': '68165009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165010&x=1930',
		'title': '',
		'imageId': '68165010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165011&x=1930',
		'title': '',
		'imageId': '68165011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165012&x=1930',
		'title': '',
		'imageId': '68165012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165013&x=1930',
		'title': '',
		'imageId': '68165013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165014&x=1930',
		'title': '',
		'imageId': '68165014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165015&x=1930',
		'title': '',
		'imageId': '68165015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165016&x=1930',
		'title': '',
		'imageId': '68165016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932066&docid=68165017&x=1930',
		'title': '',
		'imageId': '68165017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932066';

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