var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898245&x=1217',
		'title': '',
		'imageId': '69898245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898240&x=1217',
		'title': '',
		'imageId': '69898240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898243&x=1217',
		'title': '',
		'imageId': '69898243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898248&x=1217',
		'title': '',
		'imageId': '69898248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898241&x=1217',
		'title': '',
		'imageId': '69898241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898254&x=1217',
		'title': '',
		'imageId': '69898254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898239&x=1217',
		'title': '',
		'imageId': '69898239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898255&x=1217',
		'title': '',
		'imageId': '69898255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898252&x=1217',
		'title': '',
		'imageId': '69898252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898244&x=1217',
		'title': '',
		'imageId': '69898244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898250&x=1217',
		'title': '',
		'imageId': '69898250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898247&x=1217',
		'title': '',
		'imageId': '69898247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898242&x=1217',
		'title': '',
		'imageId': '69898242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898251&x=1217',
		'title': '',
		'imageId': '69898251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898246&x=1217',
		'title': '',
		'imageId': '69898246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898253&x=1217',
		'title': '',
		'imageId': '69898253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007608&docid=69898249&x=1217',
		'title': '',
		'imageId': '69898249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007608';

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