var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173721&x=1719',
		'title': '',
		'imageId': '67173721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173722&x=1719',
		'title': '',
		'imageId': '67173722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173723&x=1719',
		'title': '',
		'imageId': '67173723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173724&x=1719',
		'title': '',
		'imageId': '67173724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173725&x=1719',
		'title': '',
		'imageId': '67173725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173726&x=1719',
		'title': '',
		'imageId': '67173726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173727&x=1719',
		'title': '',
		'imageId': '67173727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173728&x=1719',
		'title': '',
		'imageId': '67173728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173729&x=1719',
		'title': '',
		'imageId': '67173729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173730&x=1719',
		'title': '',
		'imageId': '67173730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891114&docid=67173731&x=1719',
		'title': '',
		'imageId': '67173731',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891114';

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