var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979561&x=2127',
		'title': '',
		'imageId': '69979561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979562&x=2127',
		'title': '',
		'imageId': '69979562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979563&x=2127',
		'title': '',
		'imageId': '69979563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979564&x=2127',
		'title': '',
		'imageId': '69979564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979565&x=2127',
		'title': '',
		'imageId': '69979565',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979566&x=2127',
		'title': '',
		'imageId': '69979566',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979567&x=2127',
		'title': '',
		'imageId': '69979567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979568&x=2127',
		'title': '',
		'imageId': '69979568',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979569&x=2127',
		'title': '',
		'imageId': '69979569',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010778&docid=69979570&x=2127',
		'title': '',
		'imageId': '69979570',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010778';

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