var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737578&x=361',
		'title': '',
		'imageId': '68737578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737579&x=361',
		'title': '',
		'imageId': '68737579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737580&x=361',
		'title': '',
		'imageId': '68737580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737583&x=361',
		'title': '',
		'imageId': '68737583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737584&x=361',
		'title': '',
		'imageId': '68737584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737585&x=361',
		'title': '',
		'imageId': '68737585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737586&x=361',
		'title': '',
		'imageId': '68737586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737587&x=361',
		'title': '',
		'imageId': '68737587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737581&x=361',
		'title': '',
		'imageId': '68737581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956477&docid=68737582&x=361',
		'title': '',
		'imageId': '68737582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956477';

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