var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253418&x=2723',
		'title': '',
		'imageId': '68253418',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253425&x=2723',
		'title': '',
		'imageId': '68253425',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253428&x=2723',
		'title': '',
		'imageId': '68253428',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253431&x=2723',
		'title': '',
		'imageId': '68253431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253434&x=2723',
		'title': '',
		'imageId': '68253434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253516&x=2723',
		'title': '',
		'imageId': '68253516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253519&x=2723',
		'title': '',
		'imageId': '68253519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253523&x=2723',
		'title': '',
		'imageId': '68253523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253526&x=2723',
		'title': '',
		'imageId': '68253526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935276&docid=68253530&x=2723',
		'title': '',
		'imageId': '68253530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935276';

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