var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759343&x=1742',
		'title': '',
		'imageId': '68759343',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759352&x=1742',
		'title': '',
		'imageId': '68759352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759346&x=1742',
		'title': '',
		'imageId': '68759346',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759351&x=1742',
		'title': '',
		'imageId': '68759351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759347&x=1742',
		'title': '',
		'imageId': '68759347',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759344&x=1742',
		'title': '',
		'imageId': '68759344',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759349&x=1742',
		'title': '',
		'imageId': '68759349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759350&x=1742',
		'title': '',
		'imageId': '68759350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759348&x=1742',
		'title': '',
		'imageId': '68759348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957397&docid=68759345&x=1742',
		'title': '',
		'imageId': '68759345',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957397';

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