var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263183&x=1922',
		'title': '',
		'imageId': '7263183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263184&x=1922',
		'title': '',
		'imageId': '7263184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263187&x=1922',
		'title': '',
		'imageId': '7263187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263191&x=1922',
		'title': '',
		'imageId': '7263191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263199&x=1922',
		'title': '',
		'imageId': '7263199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263209&x=1922',
		'title': '',
		'imageId': '7263209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263202&x=1922',
		'title': '',
		'imageId': '7263202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263193&x=1922',
		'title': '',
		'imageId': '7263193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263196&x=1922',
		'title': '',
		'imageId': '7263196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=912993&docid=7263182&x=1922',
		'title': '',
		'imageId': '7263182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #912993';

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