var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386913&x=5625',
		'title': '',
		'imageId': '67386913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386915&x=5625',
		'title': '',
		'imageId': '67386915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386916&x=5625',
		'title': '',
		'imageId': '67386916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386917&x=5625',
		'title': '',
		'imageId': '67386917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386918&x=5625',
		'title': '',
		'imageId': '67386918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386919&x=5625',
		'title': '',
		'imageId': '67386919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386920&x=5625',
		'title': '',
		'imageId': '67386920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386921&x=5625',
		'title': '',
		'imageId': '67386921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386922&x=5625',
		'title': '',
		'imageId': '67386922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386923&x=5625',
		'title': '',
		'imageId': '67386923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386924&x=5625',
		'title': '',
		'imageId': '67386924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386925&x=5625',
		'title': '',
		'imageId': '67386925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386926&x=5625',
		'title': '',
		'imageId': '67386926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386927&x=5625',
		'title': '',
		'imageId': '67386927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386928&x=5625',
		'title': '',
		'imageId': '67386928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3932912&docid=67386929&x=5625',
		'title': '',
		'imageId': '67386929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3932912';

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