var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272126&x=5852',
		'title': '',
		'imageId': '70272126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272127&x=5852',
		'title': '',
		'imageId': '70272127',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272128&x=5852',
		'title': '',
		'imageId': '70272128',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272129&x=5852',
		'title': '',
		'imageId': '70272129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272130&x=5852',
		'title': '',
		'imageId': '70272130',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272111&x=5852',
		'title': '',
		'imageId': '70272111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272112&x=5852',
		'title': '',
		'imageId': '70272112',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272113&x=5852',
		'title': '',
		'imageId': '70272113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272114&x=5852',
		'title': '',
		'imageId': '70272114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272115&x=5852',
		'title': '',
		'imageId': '70272115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272116&x=5852',
		'title': '',
		'imageId': '70272116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272117&x=5852',
		'title': '',
		'imageId': '70272117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272118&x=5852',
		'title': '',
		'imageId': '70272118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272119&x=5852',
		'title': '',
		'imageId': '70272119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272120&x=5852',
		'title': '',
		'imageId': '70272120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272121&x=5852',
		'title': '',
		'imageId': '70272121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272122&x=5852',
		'title': '',
		'imageId': '70272122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272123&x=5852',
		'title': '',
		'imageId': '70272123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272124&x=5852',
		'title': '',
		'imageId': '70272124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4042735&docid=70272125&x=5852',
		'title': '',
		'imageId': '70272125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4042735';

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