var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761031&x=2024',
		'title': '',
		'imageId': '69761031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761036&x=2024',
		'title': '',
		'imageId': '69761036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761032&x=2024',
		'title': '',
		'imageId': '69761032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761039&x=2024',
		'title': '',
		'imageId': '69761039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761035&x=2024',
		'title': '',
		'imageId': '69761035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761038&x=2024',
		'title': '',
		'imageId': '69761038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761037&x=2024',
		'title': '',
		'imageId': '69761037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761040&x=2024',
		'title': '',
		'imageId': '69761040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761033&x=2024',
		'title': '',
		'imageId': '69761033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017032&docid=69761034&x=2024',
		'title': '',
		'imageId': '69761034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017032';

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