var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940848&x=4011',
		'title': '',
		'imageId': '68940848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940843&x=4011',
		'title': '',
		'imageId': '68940843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940840&x=4011',
		'title': '',
		'imageId': '68940840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940842&x=4011',
		'title': '',
		'imageId': '68940842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940850&x=4011',
		'title': '',
		'imageId': '68940850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940849&x=4011',
		'title': '',
		'imageId': '68940849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940846&x=4011',
		'title': '',
		'imageId': '68940846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940845&x=4011',
		'title': '',
		'imageId': '68940845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940844&x=4011',
		'title': '',
		'imageId': '68940844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940847&x=4011',
		'title': '',
		'imageId': '68940847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965621&docid=68940841&x=4011',
		'title': '',
		'imageId': '68940841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965621';

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