var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575587&x=1934',
		'title': '',
		'imageId': '68575587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575595&x=1934',
		'title': '',
		'imageId': '68575595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575590&x=1934',
		'title': '',
		'imageId': '68575590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575586&x=1934',
		'title': '',
		'imageId': '68575586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575588&x=1934',
		'title': '',
		'imageId': '68575588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575589&x=1934',
		'title': '',
		'imageId': '68575589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575591&x=1934',
		'title': '',
		'imageId': '68575591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575584&x=1934',
		'title': '',
		'imageId': '68575584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575585&x=1934',
		'title': '',
		'imageId': '68575585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575594&x=1934',
		'title': '',
		'imageId': '68575594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3949558&docid=68575583&x=1934',
		'title': '',
		'imageId': '68575583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3949558';

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