var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123040&x=40',
		'title': '',
		'imageId': '71123040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123031&x=40',
		'title': '',
		'imageId': '71123031',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123039&x=40',
		'title': '',
		'imageId': '71123039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123038&x=40',
		'title': '',
		'imageId': '71123038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123036&x=40',
		'title': '',
		'imageId': '71123036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123035&x=40',
		'title': '',
		'imageId': '71123035',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123033&x=40',
		'title': '',
		'imageId': '71123033',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123030&x=40',
		'title': '',
		'imageId': '71123030',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123045&x=40',
		'title': '',
		'imageId': '71123045',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123034&x=40',
		'title': '',
		'imageId': '71123034',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123043&x=40',
		'title': '',
		'imageId': '71123043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123044&x=40',
		'title': '',
		'imageId': '71123044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123037&x=40',
		'title': '',
		'imageId': '71123037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123041&x=40',
		'title': '',
		'imageId': '71123041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123046&x=40',
		'title': '',
		'imageId': '71123046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123032&x=40',
		'title': '',
		'imageId': '71123032',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052456&docid=71123042&x=40',
		'title': '',
		'imageId': '71123042',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052456';

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