var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125385&x=1213',
		'title': '',
		'imageId': '68125385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125382&x=1213',
		'title': '',
		'imageId': '68125382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125383&x=1213',
		'title': '',
		'imageId': '68125383',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125384&x=1213',
		'title': '',
		'imageId': '68125384',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125386&x=1213',
		'title': '',
		'imageId': '68125386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125388&x=1213',
		'title': '',
		'imageId': '68125388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125390&x=1213',
		'title': '',
		'imageId': '68125390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125381&x=1213',
		'title': '',
		'imageId': '68125381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125387&x=1213',
		'title': '',
		'imageId': '68125387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125391&x=1213',
		'title': '',
		'imageId': '68125391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3929822&docid=68125389&x=1213',
		'title': '',
		'imageId': '68125389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3929822';

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