var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519644&x=367',
		'title': '',
		'imageId': '67519644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519645&x=367',
		'title': '',
		'imageId': '67519645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519646&x=367',
		'title': '',
		'imageId': '67519646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519647&x=367',
		'title': '',
		'imageId': '67519647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519648&x=367',
		'title': '',
		'imageId': '67519648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519649&x=367',
		'title': '',
		'imageId': '67519649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519650&x=367',
		'title': '',
		'imageId': '67519650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519651&x=367',
		'title': '',
		'imageId': '67519651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519652&x=367',
		'title': '',
		'imageId': '67519652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009087&docid=67519653&x=367',
		'title': '',
		'imageId': '67519653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009087';

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