var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277402&x=4628',
		'title': '',
		'imageId': '69277402',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277407&x=4628',
		'title': '',
		'imageId': '69277407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277403&x=4628',
		'title': '',
		'imageId': '69277403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277405&x=4628',
		'title': '',
		'imageId': '69277405',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277401&x=4628',
		'title': '',
		'imageId': '69277401',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277406&x=4628',
		'title': '',
		'imageId': '69277406',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277404&x=4628',
		'title': '',
		'imageId': '69277404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277409&x=4628',
		'title': '',
		'imageId': '69277409',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277408&x=4628',
		'title': '',
		'imageId': '69277408',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277411&x=4628',
		'title': '',
		'imageId': '69277411',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277412&x=4628',
		'title': '',
		'imageId': '69277412',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980601&docid=69277410&x=4628',
		'title': '',
		'imageId': '69277410',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980601';

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