var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151511&x=3731',
		'title': '',
		'imageId': '68151511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151510&x=3731',
		'title': '',
		'imageId': '68151510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151512&x=3731',
		'title': '',
		'imageId': '68151512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151514&x=3731',
		'title': '',
		'imageId': '68151514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151518&x=3731',
		'title': '',
		'imageId': '68151518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151523&x=3731',
		'title': '',
		'imageId': '68151523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151529&x=3731',
		'title': '',
		'imageId': '68151529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151530&x=3731',
		'title': '',
		'imageId': '68151530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151513&x=3731',
		'title': '',
		'imageId': '68151513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931336&docid=68151509&x=3731',
		'title': '',
		'imageId': '68151509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931336';

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