var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364777&x=2252',
		'title': '',
		'imageId': '67364777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364770&x=2252',
		'title': '',
		'imageId': '67364770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364773&x=2252',
		'title': '',
		'imageId': '67364773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364776&x=2252',
		'title': '',
		'imageId': '67364776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364780&x=2252',
		'title': '',
		'imageId': '67364780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364785&x=2252',
		'title': '',
		'imageId': '67364785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364788&x=2252',
		'title': '',
		'imageId': '67364788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364791&x=2252',
		'title': '',
		'imageId': '67364791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364803&x=2252',
		'title': '',
		'imageId': '67364803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883676&docid=67364804&x=2252',
		'title': '',
		'imageId': '67364804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3883676';

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