var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174388&x=420',
		'title': '',
		'imageId': '67174388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174389&x=420',
		'title': '',
		'imageId': '67174389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174390&x=420',
		'title': '',
		'imageId': '67174390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174391&x=420',
		'title': '',
		'imageId': '67174391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174392&x=420',
		'title': '',
		'imageId': '67174392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174393&x=420',
		'title': '',
		'imageId': '67174393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174394&x=420',
		'title': '',
		'imageId': '67174394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174395&x=420',
		'title': '',
		'imageId': '67174395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174396&x=420',
		'title': '',
		'imageId': '67174396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174397&x=420',
		'title': '',
		'imageId': '67174397',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891150&docid=67174398&x=420',
		'title': '',
		'imageId': '67174398',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891150';

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