var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686201&x=939',
		'title': '',
		'imageId': '71686201',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686202&x=939',
		'title': '',
		'imageId': '71686202',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686220&x=939',
		'title': '',
		'imageId': '71686220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686219&x=939',
		'title': '',
		'imageId': '71686219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686200&x=939',
		'title': '',
		'imageId': '71686200',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686221&x=939',
		'title': '',
		'imageId': '71686221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686156&x=939',
		'title': '',
		'imageId': '71686156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686164&x=939',
		'title': '',
		'imageId': '71686164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686162&x=939',
		'title': '',
		'imageId': '71686162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686165&x=939',
		'title': '',
		'imageId': '71686165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686186&x=939',
		'title': '',
		'imageId': '71686186',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686187&x=939',
		'title': '',
		'imageId': '71686187',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686188&x=939',
		'title': '',
		'imageId': '71686188',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686189&x=939',
		'title': '',
		'imageId': '71686189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686205&x=939',
		'title': '',
		'imageId': '71686205',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686206&x=939',
		'title': '',
		'imageId': '71686206',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686207&x=939',
		'title': '',
		'imageId': '71686207',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686214&x=939',
		'title': '',
		'imageId': '71686214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686159&x=939',
		'title': '',
		'imageId': '71686159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4079292&docid=71686160&x=939',
		'title': '',
		'imageId': '71686160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4079292';

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