var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618369&x=1946',
		'title': '',
		'imageId': '69618369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618370&x=1946',
		'title': '',
		'imageId': '69618370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618373&x=1946',
		'title': '',
		'imageId': '69618373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618371&x=1946',
		'title': '',
		'imageId': '69618371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618374&x=1946',
		'title': '',
		'imageId': '69618374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618368&x=1946',
		'title': '',
		'imageId': '69618368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618372&x=1946',
		'title': '',
		'imageId': '69618372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618375&x=1946',
		'title': '',
		'imageId': '69618375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618377&x=1946',
		'title': '',
		'imageId': '69618377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3994381&docid=69618376&x=1946',
		'title': '',
		'imageId': '69618376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3994381';

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