var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778840&x=3943',
		'title': '',
		'imageId': '67778840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778842&x=3943',
		'title': '',
		'imageId': '67778842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778846&x=3943',
		'title': '',
		'imageId': '67778846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778841&x=3943',
		'title': '',
		'imageId': '67778841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778845&x=3943',
		'title': '',
		'imageId': '67778845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778843&x=3943',
		'title': '',
		'imageId': '67778843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67778844&x=3943',
		'title': '',
		'imageId': '67778844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67851687&x=3943',
		'title': '',
		'imageId': '67851687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67851688&x=3943',
		'title': '',
		'imageId': '67851688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67851689&x=3943',
		'title': '',
		'imageId': '67851689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67851686&x=3943',
		'title': '',
		'imageId': '67851686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3915449&docid=67851690&x=3943',
		'title': '',
		'imageId': '67851690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3915449';

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