var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077723&x=5848',
		'title': '',
		'imageId': '68077723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077724&x=5848',
		'title': '',
		'imageId': '68077724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077725&x=5848',
		'title': '',
		'imageId': '68077725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077726&x=5848',
		'title': '',
		'imageId': '68077726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077727&x=5848',
		'title': '',
		'imageId': '68077727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077728&x=5848',
		'title': '',
		'imageId': '68077728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077730&x=5848',
		'title': '',
		'imageId': '68077730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077731&x=5848',
		'title': '',
		'imageId': '68077731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077732&x=5848',
		'title': '',
		'imageId': '68077732',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945318&docid=68077733&x=5848',
		'title': '',
		'imageId': '68077733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945318';

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