var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848806&x=2314',
		'title': '',
		'imageId': '67848806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848810&x=2314',
		'title': '',
		'imageId': '67848810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848811&x=2314',
		'title': '',
		'imageId': '67848811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848817&x=2314',
		'title': '',
		'imageId': '67848817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848818&x=2314',
		'title': '',
		'imageId': '67848818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848820&x=2314',
		'title': '',
		'imageId': '67848820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848807&x=2314',
		'title': '',
		'imageId': '67848807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848808&x=2314',
		'title': '',
		'imageId': '67848808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67848809&x=2314',
		'title': '',
		'imageId': '67848809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67849336&x=2314',
		'title': '',
		'imageId': '67849336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917770&docid=67849335&x=2314',
		'title': '',
		'imageId': '67849335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917770';

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