var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666553&x=4734',
		'title': '',
		'imageId': '68666553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666572&x=4734',
		'title': '',
		'imageId': '68666572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666577&x=4734',
		'title': '',
		'imageId': '68666577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666579&x=4734',
		'title': '',
		'imageId': '68666579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666581&x=4734',
		'title': '',
		'imageId': '68666581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666583&x=4734',
		'title': '',
		'imageId': '68666583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666586&x=4734',
		'title': '',
		'imageId': '68666586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666588&x=4734',
		'title': '',
		'imageId': '68666588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666589&x=4734',
		'title': '',
		'imageId': '68666589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666591&x=4734',
		'title': '',
		'imageId': '68666591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3953771&docid=68666596&x=4734',
		'title': '',
		'imageId': '68666596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3953771';

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