var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203796&x=1223',
		'title': '',
		'imageId': '70203796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203797&x=1223',
		'title': '',
		'imageId': '70203797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203798&x=1223',
		'title': '',
		'imageId': '70203798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203799&x=1223',
		'title': '',
		'imageId': '70203799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203800&x=1223',
		'title': '',
		'imageId': '70203800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203802&x=1223',
		'title': '',
		'imageId': '70203802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203803&x=1223',
		'title': '',
		'imageId': '70203803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203806&x=1223',
		'title': '',
		'imageId': '70203806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203807&x=1223',
		'title': '',
		'imageId': '70203807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018956&docid=70203808&x=1223',
		'title': '',
		'imageId': '70203808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018956';

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