var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981790&x=157',
		'title': '',
		'imageId': '69981790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981789&x=157',
		'title': '',
		'imageId': '69981789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981782&x=157',
		'title': '',
		'imageId': '69981782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981787&x=157',
		'title': '',
		'imageId': '69981787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981786&x=157',
		'title': '',
		'imageId': '69981786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981791&x=157',
		'title': '',
		'imageId': '69981791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981784&x=157',
		'title': '',
		'imageId': '69981784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981783&x=157',
		'title': '',
		'imageId': '69981783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981785&x=157',
		'title': '',
		'imageId': '69981785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010761&docid=69981788&x=157',
		'title': '',
		'imageId': '69981788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010761';

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