var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963551&x=1438',
		'title': '',
		'imageId': '68963551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963544&x=1438',
		'title': '',
		'imageId': '68963544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963552&x=1438',
		'title': '',
		'imageId': '68963552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963554&x=1438',
		'title': '',
		'imageId': '68963554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963553&x=1438',
		'title': '',
		'imageId': '68963553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963547&x=1438',
		'title': '',
		'imageId': '68963547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963548&x=1438',
		'title': '',
		'imageId': '68963548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963546&x=1438',
		'title': '',
		'imageId': '68963546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963549&x=1438',
		'title': '',
		'imageId': '68963549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963545&x=1438',
		'title': '',
		'imageId': '68963545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963550&x=1438',
		'title': '',
		'imageId': '68963550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966563&docid=68963543&x=1438',
		'title': '',
		'imageId': '68963543',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966563';

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