var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447329&x=1412',
		'title': '',
		'imageId': '68447329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447331&x=1412',
		'title': '',
		'imageId': '68447331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447332&x=1412',
		'title': '',
		'imageId': '68447332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447334&x=1412',
		'title': '',
		'imageId': '68447334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447333&x=1412',
		'title': '',
		'imageId': '68447333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447335&x=1412',
		'title': '',
		'imageId': '68447335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447336&x=1412',
		'title': '',
		'imageId': '68447336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447337&x=1412',
		'title': '',
		'imageId': '68447337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447338&x=1412',
		'title': '',
		'imageId': '68447338',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447330&x=1412',
		'title': '',
		'imageId': '68447330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3944329&docid=68447339&x=1412',
		'title': '',
		'imageId': '68447339',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3944329';

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