var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365375&x=599',
		'title': '',
		'imageId': '67365375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365379&x=599',
		'title': '',
		'imageId': '67365379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365382&x=599',
		'title': '',
		'imageId': '67365382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365385&x=599',
		'title': '',
		'imageId': '67365385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365380&x=599',
		'title': '',
		'imageId': '67365380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365384&x=599',
		'title': '',
		'imageId': '67365384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365378&x=599',
		'title': '',
		'imageId': '67365378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365377&x=599',
		'title': '',
		'imageId': '67365377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365376&x=599',
		'title': '',
		'imageId': '67365376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365381&x=599',
		'title': '',
		'imageId': '67365381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3939119&docid=67365383&x=599',
		'title': '',
		'imageId': '67365383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3939119';

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