var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015687&x=3533',
		'title': '',
		'imageId': '67015687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015688&x=3533',
		'title': '',
		'imageId': '67015688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015689&x=3533',
		'title': '',
		'imageId': '67015689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015690&x=3533',
		'title': '',
		'imageId': '67015690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015691&x=3533',
		'title': '',
		'imageId': '67015691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015692&x=3533',
		'title': '',
		'imageId': '67015692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015693&x=3533',
		'title': '',
		'imageId': '67015693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015694&x=3533',
		'title': '',
		'imageId': '67015694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015698&x=3533',
		'title': '',
		'imageId': '67015698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015695&x=3533',
		'title': '',
		'imageId': '67015695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015696&x=3533',
		'title': '',
		'imageId': '67015696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3885768&docid=67015697&x=3533',
		'title': '',
		'imageId': '67015697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3885768';

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