var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112768&x=2241',
		'title': '',
		'imageId': '70112768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112769&x=2241',
		'title': '',
		'imageId': '70112769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112776&x=2241',
		'title': '',
		'imageId': '70112776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112785&x=2241',
		'title': '',
		'imageId': '70112785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112786&x=2241',
		'title': '',
		'imageId': '70112786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112787&x=2241',
		'title': '',
		'imageId': '70112787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112788&x=2241',
		'title': '',
		'imageId': '70112788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112789&x=2241',
		'title': '',
		'imageId': '70112789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112790&x=2241',
		'title': '',
		'imageId': '70112790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112791&x=2241',
		'title': '',
		'imageId': '70112791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112792&x=2241',
		'title': '',
		'imageId': '70112792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015945&docid=70112793&x=2241',
		'title': '',
		'imageId': '70112793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015945';

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