var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643636&x=5457',
		'title': '',
		'imageId': '68643636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643629&x=5457',
		'title': '',
		'imageId': '68643629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643630&x=5457',
		'title': '',
		'imageId': '68643630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643628&x=5457',
		'title': '',
		'imageId': '68643628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643633&x=5457',
		'title': '',
		'imageId': '68643633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643632&x=5457',
		'title': '',
		'imageId': '68643632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643637&x=5457',
		'title': '',
		'imageId': '68643637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643631&x=5457',
		'title': '',
		'imageId': '68643631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643635&x=5457',
		'title': '',
		'imageId': '68643635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952652&docid=68643634&x=5457',
		'title': '',
		'imageId': '68643634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952652';

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