var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110808&x=4345',
		'title': '',
		'imageId': '70110808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110799&x=4345',
		'title': '',
		'imageId': '70110799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110803&x=4345',
		'title': '',
		'imageId': '70110803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110801&x=4345',
		'title': '',
		'imageId': '70110801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110806&x=4345',
		'title': '',
		'imageId': '70110806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110810&x=4345',
		'title': '',
		'imageId': '70110810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110805&x=4345',
		'title': '',
		'imageId': '70110805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110802&x=4345',
		'title': '',
		'imageId': '70110802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110809&x=4345',
		'title': '',
		'imageId': '70110809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110804&x=4345',
		'title': '',
		'imageId': '70110804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110807&x=4345',
		'title': '',
		'imageId': '70110807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015897&docid=70110800&x=4345',
		'title': '',
		'imageId': '70110800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015897';

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