var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530513&x=4718',
		'title': '',
		'imageId': '69530513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530514&x=4718',
		'title': '',
		'imageId': '69530514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530517&x=4718',
		'title': '',
		'imageId': '69530517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530518&x=4718',
		'title': '',
		'imageId': '69530518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530519&x=4718',
		'title': '',
		'imageId': '69530519',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530520&x=4718',
		'title': '',
		'imageId': '69530520',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530521&x=4718',
		'title': '',
		'imageId': '69530521',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530522&x=4718',
		'title': '',
		'imageId': '69530522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530523&x=4718',
		'title': '',
		'imageId': '69530523',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991947&docid=69530524&x=4718',
		'title': '',
		'imageId': '69530524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991947';

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