var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470276&x=4955',
		'title': '',
		'imageId': '68470276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470278&x=4955',
		'title': '',
		'imageId': '68470278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470279&x=4955',
		'title': '',
		'imageId': '68470279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470280&x=4955',
		'title': '',
		'imageId': '68470280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470281&x=4955',
		'title': '',
		'imageId': '68470281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470288&x=4955',
		'title': '',
		'imageId': '68470288',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470282&x=4955',
		'title': '',
		'imageId': '68470282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470287&x=4955',
		'title': '',
		'imageId': '68470287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470285&x=4955',
		'title': '',
		'imageId': '68470285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470286&x=4955',
		'title': '',
		'imageId': '68470286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470284&x=4955',
		'title': '',
		'imageId': '68470284',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945299&docid=68470283&x=4955',
		'title': '',
		'imageId': '68470283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945299';

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