var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69247392&x=2218',
		'title': '',
		'imageId': '69247392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69247395&x=2218',
		'title': '',
		'imageId': '69247395',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69247396&x=2218',
		'title': '',
		'imageId': '69247396',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69247393&x=2218',
		'title': '',
		'imageId': '69247393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69247394&x=2218',
		'title': '',
		'imageId': '69247394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272290&x=2218',
		'title': '',
		'imageId': '69272290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272291&x=2218',
		'title': '',
		'imageId': '69272291',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272292&x=2218',
		'title': '',
		'imageId': '69272292',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272296&x=2218',
		'title': '',
		'imageId': '69272296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272293&x=2218',
		'title': '',
		'imageId': '69272293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272294&x=2218',
		'title': '',
		'imageId': '69272294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979474&docid=69272295&x=2218',
		'title': '',
		'imageId': '69272295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979474';

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