var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279290&x=845',
		'title': '',
		'imageId': '71279290',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279291&x=845',
		'title': '',
		'imageId': '71279291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279292&x=845',
		'title': '',
		'imageId': '71279292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279293&x=845',
		'title': '',
		'imageId': '71279293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279294&x=845',
		'title': '',
		'imageId': '71279294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279304&x=845',
		'title': '',
		'imageId': '71279304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279306&x=845',
		'title': '',
		'imageId': '71279306',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279307&x=845',
		'title': '',
		'imageId': '71279307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279308&x=845',
		'title': '',
		'imageId': '71279308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279310&x=845',
		'title': '',
		'imageId': '71279310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279312&x=845',
		'title': '',
		'imageId': '71279312',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279317&x=845',
		'title': '',
		'imageId': '71279317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279318&x=845',
		'title': '',
		'imageId': '71279318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279321&x=845',
		'title': '',
		'imageId': '71279321',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279328&x=845',
		'title': '',
		'imageId': '71279328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71339505&x=845',
		'title': '',
		'imageId': '71339505',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4060898&docid=71279289&x=845',
		'title': '',
		'imageId': '71279289',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4060898';

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