var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638519&x=2734',
		'title': '',
		'imageId': '68638519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638521&x=2734',
		'title': '',
		'imageId': '68638521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638522&x=2734',
		'title': '',
		'imageId': '68638522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638517&x=2734',
		'title': '',
		'imageId': '68638517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638525&x=2734',
		'title': '',
		'imageId': '68638525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638524&x=2734',
		'title': '',
		'imageId': '68638524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638523&x=2734',
		'title': '',
		'imageId': '68638523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638518&x=2734',
		'title': '',
		'imageId': '68638518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638526&x=2734',
		'title': '',
		'imageId': '68638526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952170&docid=68638520&x=2734',
		'title': '',
		'imageId': '68638520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952170';

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