var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326090&x=3424',
		'title': '',
		'imageId': '71326090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326086&x=3424',
		'title': '',
		'imageId': '71326086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326085&x=3424',
		'title': '',
		'imageId': '71326085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326088&x=3424',
		'title': '',
		'imageId': '71326088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326221&x=3424',
		'title': '',
		'imageId': '71326221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326089&x=3424',
		'title': '',
		'imageId': '71326089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326097&x=3424',
		'title': '',
		'imageId': '71326097',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326102&x=3424',
		'title': '',
		'imageId': '71326102',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326101&x=3424',
		'title': '',
		'imageId': '71326101',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326107&x=3424',
		'title': '',
		'imageId': '71326107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326115&x=3424',
		'title': '',
		'imageId': '71326115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326119&x=3424',
		'title': '',
		'imageId': '71326119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326145&x=3424',
		'title': '',
		'imageId': '71326145',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326156&x=3424',
		'title': '',
		'imageId': '71326156',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326143&x=3424',
		'title': '',
		'imageId': '71326143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326121&x=3424',
		'title': '',
		'imageId': '71326121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326137&x=3424',
		'title': '',
		'imageId': '71326137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4063274&docid=71326129&x=3424',
		'title': '',
		'imageId': '71326129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4063274';

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