var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011010&x=3437',
		'title': '',
		'imageId': '69011010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011012&x=3437',
		'title': '',
		'imageId': '69011012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011013&x=3437',
		'title': '',
		'imageId': '69011013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011011&x=3437',
		'title': '',
		'imageId': '69011011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011019&x=3437',
		'title': '',
		'imageId': '69011019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011015&x=3437',
		'title': '',
		'imageId': '69011015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011014&x=3437',
		'title': '',
		'imageId': '69011014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69011023&x=3437',
		'title': '',
		'imageId': '69011023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69098946&x=3437',
		'title': '',
		'imageId': '69098946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969530&docid=69098945&x=3437',
		'title': '',
		'imageId': '69098945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969530';

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