var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317313&x=434',
		'title': '',
		'imageId': '68317313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317316&x=434',
		'title': '',
		'imageId': '68317316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317312&x=434',
		'title': '',
		'imageId': '68317312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317320&x=434',
		'title': '',
		'imageId': '68317320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317319&x=434',
		'title': '',
		'imageId': '68317319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317314&x=434',
		'title': '',
		'imageId': '68317314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317317&x=434',
		'title': '',
		'imageId': '68317317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317315&x=434',
		'title': '',
		'imageId': '68317315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317318&x=434',
		'title': '',
		'imageId': '68317318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937611&docid=68317321&x=434',
		'title': '',
		'imageId': '68317321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937611';

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