var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594248&x=825',
		'title': '',
		'imageId': '71594248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594240&x=825',
		'title': '',
		'imageId': '71594240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594246&x=825',
		'title': '',
		'imageId': '71594246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594243&x=825',
		'title': '',
		'imageId': '71594243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594242&x=825',
		'title': '',
		'imageId': '71594242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594241&x=825',
		'title': '',
		'imageId': '71594241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594247&x=825',
		'title': '',
		'imageId': '71594247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594249&x=825',
		'title': '',
		'imageId': '71594249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594245&x=825',
		'title': '',
		'imageId': '71594245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594239&x=825',
		'title': '',
		'imageId': '71594239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075440&docid=71594244&x=825',
		'title': '',
		'imageId': '71594244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075440';

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