var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971703&x=1949',
		'title': '',
		'imageId': '68971703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971710&x=1949',
		'title': '',
		'imageId': '68971710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971707&x=1949',
		'title': '',
		'imageId': '68971707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971705&x=1949',
		'title': '',
		'imageId': '68971705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971709&x=1949',
		'title': '',
		'imageId': '68971709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971708&x=1949',
		'title': '',
		'imageId': '68971708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971712&x=1949',
		'title': '',
		'imageId': '68971712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971704&x=1949',
		'title': '',
		'imageId': '68971704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971706&x=1949',
		'title': '',
		'imageId': '68971706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965479&docid=68971711&x=1949',
		'title': '',
		'imageId': '68971711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965479';

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