var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514443&x=3427',
		'title': '',
		'imageId': '68514443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514447&x=3427',
		'title': '',
		'imageId': '68514447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514446&x=3427',
		'title': '',
		'imageId': '68514446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514442&x=3427',
		'title': '',
		'imageId': '68514442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514450&x=3427',
		'title': '',
		'imageId': '68514450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514449&x=3427',
		'title': '',
		'imageId': '68514449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514454&x=3427',
		'title': '',
		'imageId': '68514454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514453&x=3427',
		'title': '',
		'imageId': '68514453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514455&x=3427',
		'title': '',
		'imageId': '68514455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514448&x=3427',
		'title': '',
		'imageId': '68514448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947176&docid=68514456&x=3427',
		'title': '',
		'imageId': '68514456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947176';

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