var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67642955&x=3339',
		'title': '',
		'imageId': '67642955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67642999&x=3339',
		'title': '',
		'imageId': '67642999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643002&x=3339',
		'title': '',
		'imageId': '67643002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643009&x=3339',
		'title': '',
		'imageId': '67643009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643023&x=3339',
		'title': '',
		'imageId': '67643023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643049&x=3339',
		'title': '',
		'imageId': '67643049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643055&x=3339',
		'title': '',
		'imageId': '67643055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643058&x=3339',
		'title': '',
		'imageId': '67643058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643061&x=3339',
		'title': '',
		'imageId': '67643061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3889776&docid=67643159&x=3339',
		'title': '',
		'imageId': '67643159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3889776';

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