var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438715&x=5658',
		'title': '',
		'imageId': '69438715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438716&x=5658',
		'title': '',
		'imageId': '69438716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438717&x=5658',
		'title': '',
		'imageId': '69438717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438718&x=5658',
		'title': '',
		'imageId': '69438718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438719&x=5658',
		'title': '',
		'imageId': '69438719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438720&x=5658',
		'title': '',
		'imageId': '69438720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438721&x=5658',
		'title': '',
		'imageId': '69438721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438722&x=5658',
		'title': '',
		'imageId': '69438722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438723&x=5658',
		'title': '',
		'imageId': '69438723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438724&x=5658',
		'title': '',
		'imageId': '69438724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438725&x=5658',
		'title': '',
		'imageId': '69438725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987537&docid=69438726&x=5658',
		'title': '',
		'imageId': '69438726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987537';

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