var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876029&x=404',
		'title': '',
		'imageId': '68876029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876032&x=404',
		'title': '',
		'imageId': '68876032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876035&x=404',
		'title': '',
		'imageId': '68876035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876038&x=404',
		'title': '',
		'imageId': '68876038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876042&x=404',
		'title': '',
		'imageId': '68876042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876045&x=404',
		'title': '',
		'imageId': '68876045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876048&x=404',
		'title': '',
		'imageId': '68876048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876051&x=404',
		'title': '',
		'imageId': '68876051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876060&x=404',
		'title': '',
		'imageId': '68876060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876063&x=404',
		'title': '',
		'imageId': '68876063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962838&docid=68876066&x=404',
		'title': '',
		'imageId': '68876066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962838';

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