var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929830&x=295',
		'title': '',
		'imageId': '71929830',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929828&x=295',
		'title': '',
		'imageId': '71929828',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929821&x=295',
		'title': '',
		'imageId': '71929821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929833&x=295',
		'title': '',
		'imageId': '71929833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929834&x=295',
		'title': '',
		'imageId': '71929834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929824&x=295',
		'title': '',
		'imageId': '71929824',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929831&x=295',
		'title': '',
		'imageId': '71929831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929820&x=295',
		'title': '',
		'imageId': '71929820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929832&x=295',
		'title': '',
		'imageId': '71929832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929838&x=295',
		'title': '',
		'imageId': '71929838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929826&x=295',
		'title': '',
		'imageId': '71929826',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929837&x=295',
		'title': '',
		'imageId': '71929837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929825&x=295',
		'title': '',
		'imageId': '71929825',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929836&x=295',
		'title': '',
		'imageId': '71929836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929829&x=295',
		'title': '',
		'imageId': '71929829',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929827&x=295',
		'title': '',
		'imageId': '71929827',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929823&x=295',
		'title': '',
		'imageId': '71929823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929822&x=295',
		'title': '',
		'imageId': '71929822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089741&docid=71929835&x=295',
		'title': '',
		'imageId': '71929835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089741';

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