var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987435&x=30',
		'title': '',
		'imageId': '71987435',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987434&x=30',
		'title': '',
		'imageId': '71987434',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987427&x=30',
		'title': '',
		'imageId': '71987427',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987428&x=30',
		'title': '',
		'imageId': '71987428',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987425&x=30',
		'title': '',
		'imageId': '71987425',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987426&x=30',
		'title': '',
		'imageId': '71987426',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987440&x=30',
		'title': '',
		'imageId': '71987440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987430&x=30',
		'title': '',
		'imageId': '71987430',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987436&x=30',
		'title': '',
		'imageId': '71987436',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987432&x=30',
		'title': '',
		'imageId': '71987432',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987429&x=30',
		'title': '',
		'imageId': '71987429',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987431&x=30',
		'title': '',
		'imageId': '71987431',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987437&x=30',
		'title': '',
		'imageId': '71987437',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987433&x=30',
		'title': '',
		'imageId': '71987433',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987438&x=30',
		'title': '',
		'imageId': '71987438',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987439&x=30',
		'title': '',
		'imageId': '71987439',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987441&x=30',
		'title': '',
		'imageId': '71987441',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987442&x=30',
		'title': '',
		'imageId': '71987442',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091475&docid=71987443&x=30',
		'title': '',
		'imageId': '71987443',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4091475';

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