var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288577&x=1332',
		'title': '',
		'imageId': '68288577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288578&x=1332',
		'title': '',
		'imageId': '68288578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288580&x=1332',
		'title': '',
		'imageId': '68288580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288579&x=1332',
		'title': '',
		'imageId': '68288579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288582&x=1332',
		'title': '',
		'imageId': '68288582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288584&x=1332',
		'title': '',
		'imageId': '68288584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288581&x=1332',
		'title': '',
		'imageId': '68288581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288583&x=1332',
		'title': '',
		'imageId': '68288583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288586&x=1332',
		'title': '',
		'imageId': '68288586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288587&x=1332',
		'title': '',
		'imageId': '68288587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953855&docid=68288585&x=1332',
		'title': '',
		'imageId': '68288585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953855';

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