var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727460&x=4151',
		'title': '',
		'imageId': '68727460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727468&x=4151',
		'title': '',
		'imageId': '68727468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727461&x=4151',
		'title': '',
		'imageId': '68727461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727466&x=4151',
		'title': '',
		'imageId': '68727466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727467&x=4151',
		'title': '',
		'imageId': '68727467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727463&x=4151',
		'title': '',
		'imageId': '68727463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727465&x=4151',
		'title': '',
		'imageId': '68727465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727459&x=4151',
		'title': '',
		'imageId': '68727459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727462&x=4151',
		'title': '',
		'imageId': '68727462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955970&docid=68727464&x=4151',
		'title': '',
		'imageId': '68727464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955970';

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