var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991917&x=4717',
		'title': '',
		'imageId': '71991917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991906&x=4717',
		'title': '',
		'imageId': '71991906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991913&x=4717',
		'title': '',
		'imageId': '71991913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991908&x=4717',
		'title': '',
		'imageId': '71991908',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991921&x=4717',
		'title': '',
		'imageId': '71991921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991909&x=4717',
		'title': '',
		'imageId': '71991909',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991919&x=4717',
		'title': '',
		'imageId': '71991919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991923&x=4717',
		'title': '',
		'imageId': '71991923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991916&x=4717',
		'title': '',
		'imageId': '71991916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991912&x=4717',
		'title': '',
		'imageId': '71991912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991910&x=4717',
		'title': '',
		'imageId': '71991910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991907&x=4717',
		'title': '',
		'imageId': '71991907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991914&x=4717',
		'title': '',
		'imageId': '71991914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991911&x=4717',
		'title': '',
		'imageId': '71991911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991920&x=4717',
		'title': '',
		'imageId': '71991920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991915&x=4717',
		'title': '',
		'imageId': '71991915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991918&x=4717',
		'title': '',
		'imageId': '71991918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091829&docid=71991922&x=4717',
		'title': '',
		'imageId': '71991922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4091829';

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