var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051052&x=4532',
		'title': '',
		'imageId': '69051052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051054&x=4532',
		'title': '',
		'imageId': '69051054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051055&x=4532',
		'title': '',
		'imageId': '69051055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051056&x=4532',
		'title': '',
		'imageId': '69051056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051057&x=4532',
		'title': '',
		'imageId': '69051057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051058&x=4532',
		'title': '',
		'imageId': '69051058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051062&x=4532',
		'title': '',
		'imageId': '69051062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051063&x=4532',
		'title': '',
		'imageId': '69051063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051064&x=4532',
		'title': '',
		'imageId': '69051064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971425&docid=69051065&x=4532',
		'title': '',
		'imageId': '69051065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971425';

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