var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68681004&x=1332',
		'title': '',
		'imageId': '68681004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68681008&x=1332',
		'title': '',
		'imageId': '68681008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68681011&x=1332',
		'title': '',
		'imageId': '68681011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68680986&x=1332',
		'title': '',
		'imageId': '68680986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68680988&x=1332',
		'title': '',
		'imageId': '68680988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68680989&x=1332',
		'title': '',
		'imageId': '68680989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68680990&x=1332',
		'title': '',
		'imageId': '68680990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68680999&x=1332',
		'title': '',
		'imageId': '68680999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68681000&x=1332',
		'title': '',
		'imageId': '68681000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68681003&x=1332',
		'title': '',
		'imageId': '68681003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68681007&x=1332',
		'title': '',
		'imageId': '68681007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954304&docid=68680987&x=1332',
		'title': '',
		'imageId': '68680987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954304';

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