var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320505&x=3652',
		'title': '',
		'imageId': '69320505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320502&x=3652',
		'title': '',
		'imageId': '69320502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320507&x=3652',
		'title': '',
		'imageId': '69320507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320508&x=3652',
		'title': '',
		'imageId': '69320508',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320503&x=3652',
		'title': '',
		'imageId': '69320503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320509&x=3652',
		'title': '',
		'imageId': '69320509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320506&x=3652',
		'title': '',
		'imageId': '69320506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320504&x=3652',
		'title': '',
		'imageId': '69320504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320501&x=3652',
		'title': '',
		'imageId': '69320501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320497&x=3652',
		'title': '',
		'imageId': '69320497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320498&x=3652',
		'title': '',
		'imageId': '69320498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982640&docid=69320499&x=3652',
		'title': '',
		'imageId': '69320499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982640';

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