var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413837&x=5446',
		'title': '',
		'imageId': '70413837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413839&x=5446',
		'title': '',
		'imageId': '70413839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413840&x=5446',
		'title': '',
		'imageId': '70413840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413841&x=5446',
		'title': '',
		'imageId': '70413841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413842&x=5446',
		'title': '',
		'imageId': '70413842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413843&x=5446',
		'title': '',
		'imageId': '70413843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413844&x=5446',
		'title': '',
		'imageId': '70413844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413845&x=5446',
		'title': '',
		'imageId': '70413845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413846&x=5446',
		'title': '',
		'imageId': '70413846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413847&x=5446',
		'title': '',
		'imageId': '70413847',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413848&x=5446',
		'title': '',
		'imageId': '70413848',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413849&x=5446',
		'title': '',
		'imageId': '70413849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413850&x=5446',
		'title': '',
		'imageId': '70413850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413851&x=5446',
		'title': '',
		'imageId': '70413851',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413852&x=5446',
		'title': '',
		'imageId': '70413852',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413853&x=5446',
		'title': '',
		'imageId': '70413853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413854&x=5446',
		'title': '',
		'imageId': '70413854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4061488&docid=70413855&x=5446',
		'title': '',
		'imageId': '70413855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4061488';

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