var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983608&x=3130',
		'title': '',
		'imageId': '69983608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983606&x=3130',
		'title': '',
		'imageId': '69983606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983614&x=3130',
		'title': '',
		'imageId': '69983614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983615&x=3130',
		'title': '',
		'imageId': '69983615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983605&x=3130',
		'title': '',
		'imageId': '69983605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983611&x=3130',
		'title': '',
		'imageId': '69983611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983607&x=3130',
		'title': '',
		'imageId': '69983607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983609&x=3130',
		'title': '',
		'imageId': '69983609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983616&x=3130',
		'title': '',
		'imageId': '69983616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983612&x=3130',
		'title': '',
		'imageId': '69983612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983613&x=3130',
		'title': '',
		'imageId': '69983613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010961&docid=69983610&x=3130',
		'title': '',
		'imageId': '69983610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010961';

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