var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896293&x=3328',
		'title': '',
		'imageId': '69896293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896294&x=3328',
		'title': '',
		'imageId': '69896294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896290&x=3328',
		'title': '',
		'imageId': '69896290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896296&x=3328',
		'title': '',
		'imageId': '69896296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896291&x=3328',
		'title': '',
		'imageId': '69896291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896297&x=3328',
		'title': '',
		'imageId': '69896297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896292&x=3328',
		'title': '',
		'imageId': '69896292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896295&x=3328',
		'title': '',
		'imageId': '69896295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896299&x=3328',
		'title': '',
		'imageId': '69896299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007549&docid=69896298&x=3328',
		'title': '',
		'imageId': '69896298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007549';

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