var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927413&x=3337',
		'title': '',
		'imageId': '69927413',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927414&x=3337',
		'title': '',
		'imageId': '69927414',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927415&x=3337',
		'title': '',
		'imageId': '69927415',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927417&x=3337',
		'title': '',
		'imageId': '69927417',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927418&x=3337',
		'title': '',
		'imageId': '69927418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927419&x=3337',
		'title': '',
		'imageId': '69927419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927420&x=3337',
		'title': '',
		'imageId': '69927420',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927421&x=3337',
		'title': '',
		'imageId': '69927421',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927422&x=3337',
		'title': '',
		'imageId': '69927422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008675&docid=69927423&x=3337',
		'title': '',
		'imageId': '69927423',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008675';

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