var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675723&x=1235',
		'title': '',
		'imageId': '69675723',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675724&x=1235',
		'title': '',
		'imageId': '69675724',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675725&x=1235',
		'title': '',
		'imageId': '69675725',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675726&x=1235',
		'title': '',
		'imageId': '69675726',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675727&x=1235',
		'title': '',
		'imageId': '69675727',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675728&x=1235',
		'title': '',
		'imageId': '69675728',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675729&x=1235',
		'title': '',
		'imageId': '69675729',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675730&x=1235',
		'title': '',
		'imageId': '69675730',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675731&x=1235',
		'title': '',
		'imageId': '69675731',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675732&x=1235',
		'title': '',
		'imageId': '69675732',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998795&docid=69675733&x=1235',
		'title': '',
		'imageId': '69675733',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998795';

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