var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181895&x=5556',
		'title': '',
		'imageId': '70181895',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181890&x=5556',
		'title': '',
		'imageId': '70181890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181888&x=5556',
		'title': '',
		'imageId': '70181888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181896&x=5556',
		'title': '',
		'imageId': '70181896',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181892&x=5556',
		'title': '',
		'imageId': '70181892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181889&x=5556',
		'title': '',
		'imageId': '70181889',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181893&x=5556',
		'title': '',
		'imageId': '70181893',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181891&x=5556',
		'title': '',
		'imageId': '70181891',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181897&x=5556',
		'title': '',
		'imageId': '70181897',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181898&x=5556',
		'title': '',
		'imageId': '70181898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018084&docid=70181894&x=5556',
		'title': '',
		'imageId': '70181894',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018084';

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