var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095418&x=3829',
		'title': '',
		'imageId': '65095418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095422&x=3829',
		'title': '',
		'imageId': '65095422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095423&x=3829',
		'title': '',
		'imageId': '65095423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095424&x=3829',
		'title': '',
		'imageId': '65095424',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095416&x=3829',
		'title': '',
		'imageId': '65095416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095415&x=3829',
		'title': '',
		'imageId': '65095415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095417&x=3829',
		'title': '',
		'imageId': '65095417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095421&x=3829',
		'title': '',
		'imageId': '65095421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095420&x=3829',
		'title': '',
		'imageId': '65095420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997336&docid=65095419&x=3829',
		'title': '',
		'imageId': '65095419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997336';

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