var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=69071921&x=5639',
		'title': '',
		'imageId': '69071921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=69071915&x=5639',
		'title': '',
		'imageId': '69071915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=69071918&x=5639',
		'title': '',
		'imageId': '69071918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=69071924&x=5639',
		'title': '',
		'imageId': '69071924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=69071928&x=5639',
		'title': '',
		'imageId': '69071928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70485882&x=5639',
		'title': '',
		'imageId': '70485882',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70485883&x=5639',
		'title': '',
		'imageId': '70485883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70485884&x=5639',
		'title': '',
		'imageId': '70485884',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70485889&x=5639',
		'title': '',
		'imageId': '70485889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70521379&x=5639',
		'title': '',
		'imageId': '70521379',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70521383&x=5639',
		'title': '',
		'imageId': '70521383',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70521386&x=5639',
		'title': '',
		'imageId': '70521386',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70592189&x=5639',
		'title': '',
		'imageId': '70592189',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70592192&x=5639',
		'title': '',
		'imageId': '70592192',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70592210&x=5639',
		'title': '',
		'imageId': '70592210',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70592232&x=5639',
		'title': '',
		'imageId': '70592232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70592235&x=5639',
		'title': '',
		'imageId': '70592235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002849&docid=70592238&x=5639',
		'title': '',
		'imageId': '70592238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002849';

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