var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092471&x=382',
		'title': '',
		'imageId': '70092471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092476&x=382',
		'title': '',
		'imageId': '70092476',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092474&x=382',
		'title': '',
		'imageId': '70092474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092480&x=382',
		'title': '',
		'imageId': '70092480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092472&x=382',
		'title': '',
		'imageId': '70092472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092478&x=382',
		'title': '',
		'imageId': '70092478',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092477&x=382',
		'title': '',
		'imageId': '70092477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092479&x=382',
		'title': '',
		'imageId': '70092479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092475&x=382',
		'title': '',
		'imageId': '70092475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4015321&docid=70092473&x=382',
		'title': '',
		'imageId': '70092473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4015321';

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