var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699046&x=4250',
		'title': '',
		'imageId': '69699046',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699055&x=4250',
		'title': '',
		'imageId': '69699055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699053&x=4250',
		'title': '',
		'imageId': '69699053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699054&x=4250',
		'title': '',
		'imageId': '69699054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699049&x=4250',
		'title': '',
		'imageId': '69699049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699047&x=4250',
		'title': '',
		'imageId': '69699047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699051&x=4250',
		'title': '',
		'imageId': '69699051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699048&x=4250',
		'title': '',
		'imageId': '69699048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699052&x=4250',
		'title': '',
		'imageId': '69699052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999583&docid=69699050&x=4250',
		'title': '',
		'imageId': '69699050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999583';

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