var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68698014&x=4453',
		'title': '',
		'imageId': '68698014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68698016&x=4453',
		'title': '',
		'imageId': '68698016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697993&x=4453',
		'title': '',
		'imageId': '68697993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697992&x=4453',
		'title': '',
		'imageId': '68697992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697997&x=4453',
		'title': '',
		'imageId': '68697997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697991&x=4453',
		'title': '',
		'imageId': '68697991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697996&x=4453',
		'title': '',
		'imageId': '68697996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697995&x=4453',
		'title': '',
		'imageId': '68697995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68697994&x=4453',
		'title': '',
		'imageId': '68697994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954944&docid=68698015&x=4453',
		'title': '',
		'imageId': '68698015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954944';

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