var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820000&x=3328',
		'title': '',
		'imageId': '69820000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820001&x=3328',
		'title': '',
		'imageId': '69820001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820002&x=3328',
		'title': '',
		'imageId': '69820002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820003&x=3328',
		'title': '',
		'imageId': '69820003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820010&x=3328',
		'title': '',
		'imageId': '69820010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820012&x=3328',
		'title': '',
		'imageId': '69820012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820013&x=3328',
		'title': '',
		'imageId': '69820013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820015&x=3328',
		'title': '',
		'imageId': '69820015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69820018&x=3328',
		'title': '',
		'imageId': '69820018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013965&docid=69819999&x=3328',
		'title': '',
		'imageId': '69819999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013965';

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